Lesson Explainer: Operations on Events: Difference | Nagwa Lesson Explainer: Operations on Events: Difference | Nagwa

ู†ู‚ุงุท ุงู„ู…ูƒุงูุขุช

ุงูƒุณุจ ู†ู‚ุงุทู‹ุง ู…ู† ุฎู„ุงู„ ุชูุงุนู„ูƒ ู…ุน ุงู„ู…ูุฏุฑุณ ุฃุซู†ุงุก ุงู„ุญุตุฉ ูˆุฅุฌุงุจุชูƒ ุนู† ุงู„ุฃุณุฆู„ุฉุŒ ูˆุงุณุชุฎุฏู…ู‡ุง ู„ุงุญู‚ู‹ุง ู„ู„ุญุตูˆู„ ุนู„ู‰ ุฎุตู… ุนู†ุฏ ุดุฑุงุก ุญุตุต ุฃุฎุฑู‰.

Lesson Explainer: Operations on Events: Difference Statistics • Third Year of Secondary School

Join Nagwa Classes

Attend live Statistics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

In this explainer, we will learn how to find the probability of the difference of two events.

First, recall the operations on events that you have met so far.

Definition: Complement, Intersection, and Union of Events

The operations on events ๐ด and ๐ต are as follows, with the shaded area in the Venn diagram representing each operation respectively.

  • The complement of an event ๐ด is denoted by ๐ด๏Ž˜ and contains elements that are not in ๐ด.
  • The intersection of events ๐ด and ๐ต is denoted by ๐ดโˆฉ๐ต and contains elements that are in both ๐ด and ๐ต.
  • The union of events ๐ด and ๐ต is denoted by ๐ดโˆช๐ต and contains elements that are in either ๐ด or ๐ต or both.

The new operation that we will meet in this explainer is the difference between two events ๐ด and ๐ต, as detailed in the definition below.

Definition: Difference of Events

The difference between two events ๐ด and ๐ต is denoted by ๐ดโˆ’๐ต and is illustrated by the shaded area in the Venn diagram below. This contains elements that are in ๐ด but not in ๐ต.

Using our understanding of Venn diagrams, we can derive the formula for the difference between two events.

By considering the area of the shaded region for ๐ดโˆ’๐ต, this is equivalent to the area of ๐ด minus the area of ๐ดโˆฉ๐ต, as seen below.

Therefore, ๐ดโˆ’๐ต=๐ดโˆ’(๐ดโˆฉ๐ต). We can then use this to derive a formula for the probability of the difference between two events.

Rule for the Probability of the Difference between Two Events

The probability of the difference between two events ๐ด and ๐ต is ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

In the following example, we will apply the rule of probability in the definition above in order to find the probability of the difference between two events.

Example 1: Determining the Probability of the Difference between Two Events

Suppose ๐ด and ๐ต are two events. Given that ๐‘ƒ(๐ด)=0.3 and ๐‘ƒ(๐ดโˆฉ๐ต)=0.03, determine ๐‘ƒ(๐ดโˆ’๐ต).

Answer

Recall that the formula for the probability of the difference between two events ๐ด and ๐ต is ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

By substituting ๐‘ƒ(๐ด)=0.3 and ๐‘ƒ(๐ดโˆฉ๐ต)=0.03 into the formula above, we get ๐‘ƒ(๐ดโˆ’๐ต)=0.3โˆ’0.03=0.27.

Therefore, ๐‘ƒ(๐ดโˆ’๐ต)=0.27.

In the next example, we will apply the rule of probability for the difference between two events in order to determine the probability of an event, where the difference and intersection are known.

Example 2: Determining the Probability of an Event given the Difference and Intersection of Two Events

Suppose that ๐ด and ๐ต are two events. Given that ๐‘ƒ(๐ดโˆ’๐ต)=27 and ๐‘ƒ(๐ดโˆฉ๐ต)=16, determine ๐‘ƒ(๐ด).

Answer

The formula for the probability of the difference between two events ๐ด and ๐ต is ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

By substituting ๐‘ƒ(๐ดโˆ’๐ต)=27 and ๐‘ƒ(๐ดโˆฉ๐ต)=16, we get the following equation: 27=๐‘ƒ(๐ด)โˆ’16.

If we rearrange to make ๐‘ƒ(๐ด) the subject, we get 27+16=๐‘ƒ(๐ด)๐‘ƒ(๐ด)=12+742=1942.

Therefore, ๐‘ƒ(๐ด)=1942.

In the next example, we will consider how to find the probability of the difference between two events given in a context.

Example 3: Finding the Probability of the Difference between Two Events Given in a Context

A ball is drawn at random from a bag containing 12 balls each with a unique number from 1 to 12. Suppose ๐ด is the event of drawing an odd number and ๐ต is the event of drawing a prime number. Find ๐‘ƒ(๐ดโˆ’๐ต).

Answer

To find ๐‘ƒ(๐ดโˆ’๐ต), we use the formula for the probability of the difference between two events ๐ด and ๐ต, which is ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

In order to do this, we must find ๐‘ƒ(๐ด) and ๐‘ƒ(๐ดโˆฉ๐ต).

To find ๐‘ƒ(๐ด), we first identify the set ๐ด. We know that ๐ด is the event of drawing an odd number from a bag with balls numbered from 1 to 12. Therefore, ๐ด is given by the set {1,3,5,7,9,11}.

Since the number of outcomes in ๐ด is 6 and the total number of outcomes is 12 (since there are 12 balls in the bag), therefore the probability of ๐ด is given by ๐‘ƒ(๐ด)=๐ด=612=12.numberofoutcomesintotalnumberofoutcomes

In order to find ๐‘ƒ(๐ดโˆฉ๐ต), we start by identifying the sets ๐ด and ๐ต, and the set ๐ดโˆฉ๐ต. We know that ๐ด is given by the set {1,3,5,7,9,11} (as stated above). Set ๐ต is the event of drawing a prime number from a bag with balls numbered from 1 to 12. Therefore, ๐ต is given by the set {2,3,5,7,11}.

We can see that ๐ดโˆฉ๐ต, the intersection of ๐ด and ๐ต, is the set that contains the elements that occur in both ๐ด and ๐ต. In this case, ๐ดโˆฉ๐ต={3,5,7,11}. The probability of ๐ดโˆฉ๐ต is given by ๐‘ƒ(๐ดโˆฉ๐ต)=๐ด๐ต=412=13.numberofoutcomesinandtotalnumberofoutcomes

We can now substitute ๐‘ƒ(๐ด)=12 and ๐‘ƒ(๐ดโˆฉ๐ต)=13 into the formula ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต) in order to find ๐‘ƒ(๐ดโˆ’๐ต): ๐‘ƒ(๐ดโˆ’๐ต)=12โˆ’13=3โˆ’26=16.

Therefore, ๐‘ƒ(๐ดโˆ’๐ต)=16.

Next, we will consider the probability of the difference between two events, where one event is a subset of another.

Recall that if ๐ต is a subset of ๐ด, then all of the elements in ๐ต are in ๐ด and that the intersection of ๐ด and ๐ต is ๐ต, or ๐‘ƒ(๐ดโˆฉ๐ต)=๐‘ƒ(๐ต). This can be seen in the Venn diagram below:

We can then use this to find the rules of probability for the difference between two events.

Definition: Probability of the Difference between Two Events, Where One Is a Subset of Another

For two events ๐ด and ๐ต, where ๐ต is a subset of ๐ด, denoted ๐ตโŠ‚๐ด, it follows that the probability of the difference between two events is as follows:

  • ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ต), since ๐‘ƒ(๐ดโˆฉ๐ต)=๐‘ƒ(๐ต),
  • ๐‘ƒ(๐ตโˆ’๐ด)=๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ต)=0, since ๐‘ƒ(๐ดโˆฉ๐ต)=๐‘ƒ(๐ต).

In the next example, we will use the rules for the probability of the difference between two events when one is a subset of another event.

Example 4: Determining the Probability of an Event given the Difference between Two Events, Where One Is a Subset

Suppose ๐ด and ๐ต are two events. Given that ๐ตโŠ‚๐ด, ๐‘ƒ(๐ต)=49, and ๐‘ƒ(๐ดโˆ’๐ต)=15, determine ๐‘ƒ(๐ด).

Answer

For two events ๐ด and ๐ต, where ๐ตโŠ‚๐ด, we know that ๐‘ƒ(๐ดโˆฉ๐ต)=๐‘ƒ(๐ต). For the difference of two events, this gives us ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ต).

Since ๐‘ƒ(๐ดโˆ’๐ต)=15 and (๐ดโˆฉ๐ต)=๐‘ƒ(๐ต)=49, by substitution we can form the equation 15=๐‘ƒ(๐ด)โˆ’49.

Therefore, rearranging to make ๐‘ƒ(๐ด) the subject gives us ๐‘ƒ(๐ด)=15+49=9+2045=2945.

Therefore, ๐‘ƒ(๐ด)=2945.

We can use multiple rules of probability for operations on events in order to solve problems. We will next consider two of these rules of probability, the complement and the union of events. Letโ€™s recall what these rules are.

Definition: Rules of Probability for Complement and Union of Events

  • The probability of the complement of an event ๐ด is ๐‘ƒ(๐ด)=1โˆ’๐‘ƒ(๐ด).๏Ž˜
  • The probability of the union of events ๐ด and ๐ต is ๐‘ƒ(๐ดโˆช๐ต)=๐‘ƒ(๐ด)+๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

The following example uses the rules of probability for the union of two events and the difference between two events.

Example 5: Determining the Probability of the Difference of Two Events Using the Addition Rule

Suppose ๐ด and ๐ต are two events with probabilities ๐‘ƒ(๐ด)=57 and ๐‘ƒ(๐ต)=47. Given that ๐‘ƒ(๐ดโˆช๐ต)=67, determine ๐‘ƒ(๐ดโˆ’๐ต).

Answer

As we are required to find ๐‘ƒ(๐ดโˆ’๐ต), we must use the rule of probability for the difference between two events, which is stated as follows: ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

Since we do not know ๐‘ƒ(๐ดโˆฉ๐ต), we must use a further rule to determine this. As we know ๐‘ƒ(๐ดโˆช๐ต) as well as ๐‘ƒ(๐ด) and ๐‘ƒ(๐ต), we can use the addition rule for probability: ๐‘ƒ(๐ดโˆช๐ต)=๐‘ƒ(๐ด)+๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

When we substitute ๐‘ƒ(๐ด)=57, ๐‘ƒ(๐ต)=47, and ๐‘ƒ(๐ดโˆช๐ต)=67, we get an equation with ๐‘ƒ(๐ดโˆฉ๐ต): 67=57+47โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

Rearranging to solve for ๐‘ƒ(๐ดโˆฉ๐ต) gives us ๐‘ƒ(๐ดโˆฉ๐ต)+67=57+47๐‘ƒ(๐ดโˆฉ๐ต)=57+47โˆ’67=37.

Since we have found ๐‘ƒ(๐ดโˆฉ๐ต)=37, we can substitute this, along with ๐‘ƒ(๐ด)=57, into the formula ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

So, by substituting, we can solve for ๐‘ƒ(๐ดโˆ’๐ต): ๐‘ƒ(๐ดโˆ’๐ต)=57โˆ’37=27.

Therefore, ๐‘ƒ(๐ดโˆ’๐ต)=27.

The next example uses the rules of probability for the complement of an event, the union of an event, and the difference between two events.

Example 6: Determining the Probability of the Difference of Two Events Using the Addition Rule and the Complement Rule

Suppose that ๐ด and ๐ต are events in a random experiment. Given that ๐‘ƒ(๐ด)=0.71, ๐‘ƒ(๐ต)=0.47๏Ž˜, and ๐‘ƒ(๐ดโˆช๐ต)=0.99, determine ๐‘ƒ(๐ตโˆ’๐ด).

Answer

As we are required to find ๐‘ƒ(๐ตโˆ’๐ด), we must use the rule of probability for the difference between two events, which is stated as follows: ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

As events ๐ด and ๐ต are reversed in this formula, we need to rewrite this as ๐‘ƒ(๐ตโˆ’๐ด)=๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ตโˆฉ๐ด)=๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ดโˆฉ๐ต) since ๐‘ƒ(๐ตโˆฉ๐ด)=๐‘ƒ(๐ดโˆฉ๐ต).

Since we know ๐‘ƒ(๐ด), ๐‘ƒ(๐ต)๏Ž˜, and ๐‘ƒ(๐ดโˆช๐ต), but not ๐‘ƒ(๐ดโˆฉ๐ต) or ๐‘ƒ(๐ต), we need to use rules of probability for the complement of an event and the probability of the union of two events. First, we will use the rule of probability for a complement of an event to find ๐‘ƒ(๐ต).

We know that ๐‘ƒ(๐ต)=1โˆ’๐‘ƒ(๐ต).๏Ž˜

So, to find ๐‘ƒ(๐ต), we substitute ๐‘ƒ(๐ต)=0.47๏Ž˜ and rearrange for ๐‘ƒ(๐ต): 0.47=1โˆ’๐‘ƒ(๐ต)0.47+๐‘ƒ(๐ต)=1๐‘ƒ(๐ต)=1โˆ’0.47๐‘ƒ(๐ต)=0.53.

Having found ๐‘ƒ(๐ต), we can use the addition formula to find ๐‘ƒ(๐ดโˆฉ๐ต). This is ๐‘ƒ(๐ดโˆช๐ต)=๐‘ƒ(๐ด)+๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).

By substituting ๐‘ƒ(๐ด)=0.71, ๐‘ƒ(๐ต)=0.53, and ๐‘ƒ(๐ดโˆช๐ต)=0.99 and then rearranging to make ๐‘ƒ(๐ดโˆฉ๐ต) the subject, we get 0.99=0.71+0.53โˆ’๐‘ƒ(๐ดโˆฉ๐ต)0.99+๐‘ƒ(๐ดโˆฉ๐ต)=0.71+0.53๐‘ƒ(๐ดโˆฉ๐ต)=0.71+0.53โˆ’0.99=0.25.

Since we have found ๐‘ƒ(๐ดโˆฉ๐ต)=0.25, we can now use this, along with ๐‘ƒ(๐ต)=0.53, to find ๐‘ƒ(๐ตโˆ’๐ด). We do this by substituting into the formula and solving for ๐‘ƒ(๐ตโˆ’๐ด): ๐‘ƒ(๐ตโˆ’๐ด)=๐‘ƒ(๐ต)โˆ’๐‘ƒ(๐ดโˆฉ๐ต)๐‘ƒ(๐ตโˆ’๐ด)=0.53โˆ’0.25=0.28.

Therefore, ๐‘ƒ(๐ตโˆ’๐ด)=0.28.

In this explainer, we have learned about the probability rule for the difference between two events ๐ด and ๐ต. We have seen this applied to examples where only this rule is applied or where further rules, such as those for the complement of a set or the union of two sets, are used.

Key Points

  • The difference between two sets ๐ด and ๐ต is denoted by ๐ดโˆ’๐ต and is represented on the Venn diagram below:
  • The rule of probability for the difference between two events ๐ด and ๐ต is ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ดโˆฉ๐ต).
  • The rules of probability for the difference between two events, when ๐ต is a subset of ๐ด, are
    • ๐‘ƒ(๐ดโˆ’๐ต)=๐‘ƒ(๐ด)โˆ’๐‘ƒ(๐ต),
    • ๐‘ƒ(๐ตโˆ’๐ด)=0.

ุงู†ุถู… ุฅู„ู‰ ู†ุฌูˆู‰ ูƒู„ุงุณูŠุฒ

ุดุงุฑูƒ ููŠ ุงู„ุญุตุต ุงู„ู…ุจุงุดุฑุฉ ุนู„ู‰ ู†ุฌูˆู‰ ูƒู„ุงุณูŠุฒ ูˆุญู‚ู‚ ุงู„ุชู…ูŠุฒ ุงู„ุฏุฑุงุณูŠ ุจุฅุฑุดุงุฏ ูˆุชูˆุฌูŠู‡ ู…ู† ู…ุฏุฑุณ ุฎุจูŠุฑ!

  • ุญุตุต ุชูุงุนู„ูŠุฉ
  • ุฏุฑุฏุดุฉ ูˆุฑุณุงุฆู„
  • ุฃุณุฆู„ุฉ ุงู…ุชุญุงู†ุงุช ูˆุงู‚ุนูŠุฉ

ุชุณุชุฎุฏู… «ู†ุฌูˆู‰» ู…ู„ูุงุช ุชุนุฑูŠู ุงู„ุงุฑุชุจุงุท ู„ุถู…ุงู† ุญุตูˆู„ูƒ ุนู„ู‰ ุฃูุถู„ ุชุฌุฑุจุฉ ุนู„ู‰ ู…ูˆู‚ุนู†ุง. ุงุนุฑู ุงู„ู…ุฒูŠุฏ ุนู† ุณูŠุงุณุฉ ุงู„ุฎุตูˆุตูŠุฉ