Mada za sehemu hiiUse probability in problem solvingMada 1
- Explore the basic tenets of probability of two events (probability of an event, mutually exclusive events, dependent events, combined events using tree diagrams, tables and formulae)
Probability of Two Events
Probability measures how likely an event is to occur. It is expressed as a number between 0 and 1, where 0 means the event cannot happen and 1 means the event is certain to happen. In this topic, we explore the basic tenets of probability, including how to calculate the probability of single events, mutually exclusive events, dependent events, and combined events.
When we perform an experiment (like tossing a coin or rolling a die), all possible outcomes together form the sample space, denoted by .
An event is a specific outcome or set of outcomes we are interested in. It is a subset of the sample space, denoted by .
Example 1
A fair die is rolled once.
- Sample space:
- Event = rolling an even number:
- The complement of (not getting an even number):
The probability of an event is calculated using the formula:
Where:
- = number of favorable outcomes
- = total number of possible outcomes in the sample space
Key property:
Also, where is the complement of (the event that does not occur).
Worked Example 2
A box contains 5 red pens and 3 blue pens. One pen is drawn at random. Find the probability that the pen is red.
Solution:
- Total pens =
- Number of red pens = 5
Worked Example 3
What is the probability of NOT getting a 4 when a fair die is rolled?
Solution:
- Sample space:
- Probability of getting a 4:
- Probability of NOT getting a 4:
Two events are mutually exclusive (or disjoint) if they cannot occur at the same time. For example, when rolling a die, you cannot get both an even number and the number 3 at the same time.
If and are mutually exclusive events:
Worked Example 4
A card is drawn from a standard deck. Find the probability of drawing a king or a queen.
Solution:
- Number of kings = 4
- Number of queens = 4
- These events are mutually exclusive (a card cannot be both king and queen)
Two events are independent if the occurrence of one does not affect the occurrence of the other. For independent events and :
Dependent events occur when the outcome of the first event affects the probability of the second event (usually without replacement).
Worked Example 5 (Independent Events)
A coin is tossed and a die is rolled. Find the probability of getting a tail and a number greater than 4.
Solution:
- (numbers 5 and 6)
Worked Example 6 (Dependent Events)
A bag contains 6 green apples and 4 red apples. Two apples are drawn one after another without replacement. Find the probability that both are green.
Solution:
- First apple green:
- Second apple green (after removing one green apple):

A tree diagram helps visualize all possible outcomes of combined events. Each branch shows a step in the experiment, and we multiply probabilities along the branches.
Worked Example 7
A family has two children. Draw a tree diagram and find the probability that both children are girls. (Let G = girl, B = boy)
Solution:
Tree diagram:
- First child: G () or B ()
- Second child: for each first-child outcome, G () or B ()
Sample space:
Worked Example 8 (Tanzanian Context)
A small shop in Arusha sells mandazi (mandazi) and mkate (bread). The probability that they have mandazi in stock is , and the probability they have mkate is (these are independent). Find the probability that they have both items in stock.
Solution:
Two-way tables help organize information when two events are considered together.
Worked Example 9
In a class of 30 students, 18 like Mathematics (M), 15 like Physics (P), and 8 like both. If a student is selected at random, find the probability that the student likes Mathematics or Physics.
Solution:
Using the formula for union of two events:
| Concept | Formula |
|---|---|
| Probability of event | |
| Complement | |
| Mutually exclusive (OR) | |
| Independent (AND) |
Probability is used daily in Tanzania, for example, when shopping at a local market in Dar es Salaam. If a vendor has 20 mangoes and 5 are overripe, the probability of randomly picking a good mango is . This helps buyers make informed choices. Similarly, weather forecasts use probability to predict whether it will rain, allowing farmers to plan their planting activities accordingly.
Swali
A box contains 5 red marbles and 7 blue marbles. If one marble is drawn at random, what is the probability of drawing a red marble?
Ingia ili kuwasilisha jibu lako na lihesabiwe katika umahiri wako.
Ingia ili kufanya mazoeziMwalimu
Umekwama? Niulize chochote kuhusu mada hii.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu swali hili.
Ingia ili kuuliza