Loading

Formulas · Mathematics

Probability

9 formulas, each with worked examples. Revision sheet · Practise these formulas

Class 9

Experimental probability (relative frequency)

What each letter means
the experimental probability of the event, a number from 0 to 1
the number of times the event happened
the total number of trials

Do the experiment many times and count: the fraction of trials in which the event happened is its experimental probability, also called its relative frequency.

Why it works

Each trial either shows the event or does not, so the count f is between 0 and n, and f ÷ n is between 0 and 1. Over many trials this fraction settles down near the true likelihood of the event.

When to use it

When outcomes are not equally likely, or the likelihood is unknown: a drawing pin landing point up, a team winning, a machine making a faulty part. You need real data.

How to use it

  1. Count the trials (n).
  2. Count how many times the event happened (f).
  3. Divide f by n; write it as a fraction, a decimal or a percentage.

To remember: How often, out of how many tries.

Other forms

  • RearrangedHow many times to expect the event in n trials.
  • Same formula, another formAs a percentage, the experimental probability is 100 × f ÷ n.

Worked examples

Story

A cricket team won 18 of its last 30 matches. What is the experimental probability that it wins a match?

Answer: 0.6

Picture

A circle is drawn so that it just fits inside a square board. Darts are thrown at the board at random, and 157 of 200 darts land inside the circle. Estimate the probability of landing inside the circle.

  1. This is close to the circle's share of the square's area, π ÷ 4 ≈ 0.785.

Answer: 0.785

Direct

A die is rolled 50 times and lands on 4 exactly 8 times. What is the experimental probability of rolling a 4?

  1. That is 16%.

Answer: 0.16

Reverse

A coin shows heads with an experimental probability of 0.45, and heads came up 36 times. How many times was the coin tossed?

Try it first, then show the working

Answer: 80

Exam

A die is rolled 600 times and shows a six 94 times. Find the experimental probability of a six and compare it with the theoretical probability 1/6.

Try it first, then show the working
  1. That is about 0.157; the theoretical value 1/6 is about 0.167.
  2. They are close, and they would be expected to get closer with more rolls.

Answer: 47/300, about 0.157, close to 1/6

Common mistake: Dividing by the number of times the event did not happen, instead of by all the trials; or trusting a result from only a few trials.

Class 9

Theoretical probability

What each letter means
the probability of the event, a number from 0 to 1
the number of favourable outcomes (the outcomes where the event happens)
the number of possible outcomes, all equally likely

When every outcome is equally likely, the probability of an event is the number of outcomes that give it, out of all the outcomes.

Why it works

If n outcomes are equally likely, each one has probability 1 ÷ n, since together they must make 1 (something certainly happens). An event made of m of them has m of those shares: m ÷ n.

When to use it

Fair coins, fair dice, well-shuffled cards, spinners with equal parts, picking at random from a bag or a list: anywhere the outcomes are equally likely and can be counted.

How to use it

  1. List or count all possible outcomes (the sample space); check they are equally likely.
  2. Count the outcomes where the event happens.
  3. Divide favourable by possible.

To remember: Favourable over possible.

Other forms

  • Same formula, another formThe probability that the event does not happen is 1 − P, because the outcomes where it happens and where it does not together make up all n.
  • Special caseWhen every outcome is favourable (m = n): the event is certain.
  • Special caseWhen no outcome is favourable (m = 0): the event is impossible.

Worked examples

Story

A letter is picked at random from the word PROBABILITY. What is the probability that it is a B?

  1. PROBABILITY has 11 letters, and 2 of them are B.
  2. That is about 0.182, or 18.2%.

Answer: 2/11

Picture

A spinner is a circle divided into 8 equal sectors, and 3 of them are red. What is the probability that it stops on red?

  1. The 8 equal sectors are equally likely, and 3 are red.

Answer: 3/8

Direct

A fair die is rolled. What is the probability of getting a 4?

  1. One outcome (4) is favourable out of six (1 to 6).
  2. That is about 0.167, or 16.7%.

Answer: 1/6

Reverse

A bag holds 20 marbles. The probability of picking a blue one at random is 3/5. How many blue marbles are there?

Try it first, then show the working

Answer: 12

Exam

A fair coin is tossed twice. Find the probability of exactly one head, and of at least one head.

Try it first, then show the working
  1. The tree diagram gives 4 equally likely outcomes: HH, HT, TH and TT.
  2. Exactly one head: HT and TH, so the probability is 2 ÷ 4 = 1/2.
  3. At least one head: every outcome except TT, so it is 1 − 1/4 = 3/4.

Answer: 1/2 and 3/4

Common mistake: Counting outcomes that are not equally likely as if they were (the total of two dice has 11 values, but 7 is far likelier than 2), or dividing favourable by unfavourable.

Class 10

The probability that an event does not happen: P(not E) = 1 − P(E)

What each letter means
the probability that the event does not happen, P(not E)
the probability that the event happens, P(E)

An event and its opposite ("not E") between them cover every outcome, so their probabilities add to 1. Knowing one gives the other.

Why it works

Every outcome either makes E happen or does not, never both. The probabilities of all the outcomes add to 1, so P(E) + P(not E) = 1, and P(not E) = 1 − P(E).

When to use it

When "not E" is easier to count than E (at least one, not a six, different birthdays), or when a game has exactly two results and you know one.

How to use it

  1. Find the probability of whichever is easier: the event or its opposite.
  2. Subtract it from 1 to get the other.

To remember: Happens plus does not happen makes one.

Other forms

  • Same formula, another formThe book's form: P(E) + P(not E) = 1.
  • Special caseWhen E is certain (P = 1): its opposite is impossible.

Worked examples

Story

Sangeeta and Reshma play a tennis match, which cannot end in a draw. The probability that Sangeeta wins is 0.62. What is the probability that Reshma wins?

  1. Reshma wins exactly when Sangeeta does not.

Answer: 0.38

Picture

One card is drawn from a well-shuffled deck of 52 cards. What is the probability that it is not an ace?

  1. There are 4 aces, so P(ace) = 4/52 = 1/13.

Answer: 12/13

Direct

A die is thrown once. What is the probability of not getting a 6?

Answer: 5/6

Reverse

The probability that it will not rain tomorrow is 0.85. What is the probability that it will rain?

Try it first, then show the working

Answer: 0.15

Exam

Two dice are thrown together. What is the probability that the sum is not 7?

Try it first, then show the working
  1. There are 6 × 6 = 36 equally likely outcomes, and 6 of them add to 7: (1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1).
  2. P(sum 7) = 6/36 = 1/6.

Answer: 5/6

Common mistake: Treating two events as opposites when they are not: "not winning" includes a draw if draws are possible, so P(lose) is not always 1 − P(win).

Class 10

Probability by area (geometric probability)

What each letter means
the probability that a point chosen at random lands in the favourable part
the area (or length) of the favourable part (area)
the area (or length) of the whole region (area)

When the outcome is a point anywhere in a region, every point equally likely, the chance of landing in a part is the fraction of the region that part covers.

Why it works

Counting outcomes is impossible (infinitely many points), but equally likely points spread evenly, so equal areas get equal chances; the favourable share is area ÷ total area. For a line, use lengths instead.

When to use it

Darts and targets, a lost object in a region, a coin dropped on a floor, a random moment in a time interval (lengths of time).

How to use it

  1. Find the area (or length) of the whole region.
  2. Find the area (or length) of the favourable part, in the same units.
  3. Divide.

To remember: Favourable room over all the room.

Other forms

  • RearrangedThe favourable area, from the probability and the whole area.
  • Special caseWhen the favourable part is a circle of radius r inside a circle of radius R (π cancels).

Worked examples

Story

A bus comes every 15 minutes and Ravi arrives at a random moment. Find P(he waits less than 5 minutes).

  1. The favourable time is the last 5 minutes of the 15.

Answer: 1/3

Picture

A die is dropped at random on a 3 m by 2 m mat with a circle of diameter 1 m on it. Find P(it lands inside the circle).

  1. Mat: 6 m². Circle: π × 0.5² = π/4 m².
  2. P = (π/4) ÷ 6 = π/24.

Answer: π/24

Direct

A region has area 40.5 km², and a lake inside it has area 7.5 km². A point is chosen at random in the region. Find P(it is in the lake).

Answer: 5/27

Reverse

A dartboard has area 1600 cm², and the probability of hitting its bullseye is 77/800. Find the area of the bullseye.

Try it first, then show the working

Answer: 154

Exam

A target of radius 6 cm has a bullseye of radius 3 cm. An arrow hits the target at a random point. Find P(it hits the ring outside the bullseye).

Try it first, then show the working
  1. Ring area = 36π − 9π = 27π cm².
  2. P = 27π ÷ 36π = 3/4.

Answer: 3/4

Common mistake: Comparing radii or side lengths instead of areas, or mixing units (m² with cm²).

Class 11

Addition rule of probability

What each letter means
the probability that A or B (or both) happens (from 0 to 1)
the probability of the event A (from 0 to 1)
the probability of the event B (from 0 to 1)
the probability that A and B both happen (from 0 to 1)

The probability that A or B happens is P(A) + P(B), less the probability that both happen, which was counted twice.

Why it works

Adding P(A) and P(B) counts every outcome in A and every outcome in B. The outcomes in both A and B are counted twice, so their probability P(A ∩ B) is taken away once.

When to use it

The probability of "A or B", "at least one of the two", and finding P(A ∩ B) when the others are known.

How to use it

  1. Find P(A), P(B) and P(A ∩ B).
  2. Add the first two and take away the third.
  3. If A and B cannot happen together, P(A ∩ B) = 0 and the rule is plain adding.

To remember: Add both, take away the overlap.

Other forms

  • Special caseWhen A and B are mutually exclusive (they cannot happen together).
  • To remember itIt is the same rule as for counting a union: n(A ∪ B) = n(A) + n(B) − n(A ∩ B), divided through by the number of outcomes.

Worked examples

Story

The probability of rain on Monday is 0.3, on Tuesday 0.4, and on both days 0.1. Find the probability of rain on at least one of the two days.

Answer: 0.6

Picture

A dart hits a board. It lands in the red region with probability 0.35, in the inner circle with probability 0.25, and in the red part of the inner circle with probability 0.1. Find the probability that it lands in the red region or the inner circle.

Answer: 0.5

Direct

P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.2. Find P(A ∪ B).

Answer: 0.7

Reverse

P(A ∪ B) = 0.8, P(A) = 0.5 and P(B) = 0.6. Find P(A ∩ B).

Try it first, then show the working

Answer: 0.3

Exam

One card is drawn from a pack of 52. Find the probability that it is a king or a heart.

Try it first, then show the working
  1. P(king) = 4/52 and P(heart) = 13/52, and one card, the king of hearts, is both.

Answer: 4/13

Common mistake: Adding P(A) and P(B) when the events overlap, which can even give a probability above 1.

Taught in: Class 11 Mathematics, Chapter 14: Probability

Sources
  • NCERT: class-11/mathematics/14 section 14.2, Probability of the event "A or B"
  • OpenStax: Introductory Statistics 2e, 3.3 Two Basic Rules of Probability (the addition rule)
  • Wikidata: inclusion-exclusion principle

Class 12

Conditional probability

What each letter means
the probability of A, given that B has happened (from 0 to 1)
the probability that A and B both happen (from 0 to 1)
the probability of B (not 0) (from 0 to 1)

The probability of A given B is the share of B's probability in which A also happens.

Why it works

Once we know B has happened, the only outcomes left are those in B. Of these, the ones where A also happens make up A ∩ B, so the new probability of A is P(A ∩ B) ÷ P(B).

When to use it

Probabilities that change with new information: a card is known to be red, a test is known to be positive, a family is known to have a boy.

How to use it

  1. Find P(A ∩ B) and P(B).
  2. Divide the first by the second.
  3. With equally likely outcomes, simply count inside B: n(A ∩ B) ÷ n(B).

To remember: Given B: B becomes the whole world.

Other forms

  • RearrangedThe multiplication rule, from the other side.
  • To remember itP(A|B) and P(B|A) are usually different: a king is certainly a face card, but a face card is a king only 1 time in 3.

Worked examples

Story

In a class, 40% of the students like maths and 25% like both maths and science. A student likes maths. What is the probability that the student likes science too?

Answer: 0.625

Picture

A point is picked at random in a square. It is known to lie in the left half. What is the probability that it lies in the bottom-left quarter?

  1. The probability of the bottom-left quarter is 1/4 and of the left half 1/2.

Answer: 0.5

Direct

P(A ∩ B) = 0.2 and P(B) = 0.5. Find P(A|B).

Answer: 0.4

Reverse

P(A|B) = 0.6 and P(B) = 0.5. Find P(A ∩ B).

Try it first, then show the working

Answer: 0.3

Exam

A family has two children. Find the probability that both are boys, given that at least one is a boy.

Try it first, then show the working
  1. The outcomes BB, BG, GB and GG are equally likely. At least one boy: BB, BG, GB; both boys: BB.

Answer: 1/3

Common mistake: Dividing by P(A) instead of P(B), or mixing up P(A|B) with P(B|A).

Sources
  • NCERT: class-12/mathematics/13 section 13.2, Conditional probability
  • OpenStax: Introductory Statistics 2e, 3.1 Terminology (conditional probability)
  • Wikidata: conditional probability

Class 12

Multiplication rule of probability

What each letter means
the probability that A and B both happen (from 0 to 1)
the probability of A (from 0 to 1)
the probability of B once A has happened (from 0 to 1)

The probability that A and B both happen is the probability of A times the probability of B once A has happened.

Why it works

It is the conditional probability rule P(B|A) = P(A ∩ B) ÷ P(A), multiplied up by P(A).

When to use it

Events one after another: cards drawn without putting them back, a second test after a first, two stages of a process.

How to use it

  1. Find the probability of the first event.
  2. Find the probability of the second, allowing for what the first changed.
  3. Multiply.

To remember: First, then second given first.

Other forms

  • Special caseWhen A and B are independent: A happening does not change the chance of B, so P(B|A) = P(B).

Worked examples

Story

Two cards are drawn one after the other from a pack of 52, without putting the first back. Find the probability that both are aces.

  1. The first is an ace with probability 4/52; then 3 aces are left among 51 cards.

Answer: 1/221

Picture

A dart lands in the left half of a board with probability 0.5 and, given that, in the top half of that part with probability 0.5. Find the probability that it lands in the top-left quarter.

Answer: 0.25

Direct

P(A) = 0.5 and P(B|A) = 0.4. Find P(A ∩ B).

Answer: 0.2

Reverse

P(A ∩ B) = 0.12 and P(A) = 0.3. Find P(B|A).

Try it first, then show the working

Answer: 0.4

Exam

A bag has 5 red and 3 black balls. Two are drawn one after the other without replacement. Find the probability that the first is red and the second black.

Try it first, then show the working
  1. The first is red with probability 5/8; then 3 of the 7 balls left are black.

Answer: 15/56

Common mistake: Multiplying P(A) by the plain P(B) when the first event changes the second (drawing without replacement).

Sources
  • NCERT: class-12/mathematics/13 section 13.3, Multiplication theorem on probability
  • OpenStax: Introductory Statistics 2e, 3.3 Two Basic Rules of Probability (the multiplication rule)
  • Wikidata: chain rule (probability)

Class 12

Total probability

What each letter means
the total probability of A (from 0 to 1)
the probability of the first case, E₁ (from 0 to 1)
the probability of the second case, E₂ (the two cases cover everything, so p + q = 1) (from 0 to 1)
the probability of A in the first case (from 0 to 1)
the probability of A in the second case (from 0 to 1)

If exactly one of the cases E₁ and E₂ must happen, the chance of A is the chance of A through E₁ plus the chance of A through E₂.

Why it works

A happens either together with E₁ or together with E₂, never both. By the multiplication rule these have probabilities P(E₁)P(A|E₁) and P(E₂)P(A|E₂), and since they cannot overlap, they add.

When to use it

When an outcome can come about in several ways: a ball from one of two bags, a bolt from one of two machines, a result after one of two choices.

How to use it

  1. List the cases: they must cover everything without overlapping, so their probabilities add up to 1.
  2. For each case, multiply P(case) by P(A in that case).
  3. Add the products.

To remember: Add up the branches of the tree.

Other forms

  • Special caseWhen the two cases are equally likely (p = q = ½).
  • To remember itWith more cases, keep adding: P(A) = Σ P(Eᵢ) P(A|Eᵢ).

Worked examples

Story

Machine X makes 70% of a factory's bolts, 2% of them faulty; machine Y makes 30%, 5% of them faulty. What fraction of all the bolts is faulty?

Answer: 0.029

Picture

A coin picks one of two bags: bag 1 holds 3 red balls out of 5, bag 2 holds 1 red out of 4. Along the branches of the tree, find the probability of drawing a red ball.

Answer: 17/40

Direct

P(E₁) = 0.6, P(E₂) = 0.4, P(A|E₁) = 0.5 and P(A|E₂) = 0.25. Find P(A).

Answer: 0.4

Reverse

P(A) = 0.35, P(E₁) = P(E₂) = 0.5 and P(A|E₁) = 0.4. Find P(A|E₂).

Try it first, then show the working

Answer: 0.3

Exam

A person has two coins, one fair and one with heads on both sides. One is picked at random and tossed. Find the probability of a head.

Try it first, then show the working

Answer: 3/4

Common mistake: Using cases that overlap or leave something out, so that P(E₁) + P(E₂) is not 1.

Sources
  • NCERT: class-12/mathematics/13 section 13.5.2, Theorem of total probability
  • OpenStax: Introductory Statistics 2e, 3.5 Tree and Venn Diagrams
  • Wikidata: law of total probability

Class 12

Bayes' theorem

What each letter means
the probability of the case E₁, once A is known to have happened (from 0 to 1)
the probability of the first case, E₁ (from 0 to 1)
the probability of the second case, E₂ (p + q = 1) (from 0 to 1)
the probability of A in the first case (from 0 to 1)
the probability of A in the second case (from 0 to 1)

Bayes' theorem turns probabilities round: from the chance of A in each case, it finds the chance of each case once A has been seen.

Why it works

P(E₁|A) = P(E₁ ∩ A) ÷ P(A). The top is P(E₁)P(A|E₁) by the multiplication rule, and the bottom is the total probability of A.

When to use it

Reasoning backwards from an outcome to its cause: which machine made a faulty bolt, which bag a ball came from, how likely an illness is after a positive test.

How to use it

  1. Work out each branch: P(Eᵢ) × P(A|Eᵢ).
  2. Add the branches to get P(A).
  3. Divide the branch you want by the total.

To remember: My branch over all the branches.

Other forms

  • To remember itThe other case uses the other branch over the same total, and the two answers add up to 1.

Worked examples

Story

Machine X makes 70% of the bolts (2% faulty) and machine Y makes 30% (5% faulty). A bolt is found to be faulty. What is the probability that machine Y made it?

  1. Take E₁ to be machine Y.

Answer: 0.5172413793103449

Picture

A coin picks one of two bags: bag 1 holds 3 red balls out of 5, bag 2 holds 1 red out of 4. A red ball is drawn. Going back along the tree, what is the probability that it came from bag 1?

  1. The red branches are 3/10 (bag 1) and 1/8 (bag 2), adding up to 17/40.

Answer: 12/17

Direct

P(E₁) = 0.6, P(E₂) = 0.4, P(A|E₁) = 0.5 and P(A|E₂) = 0.25. Find P(E₁|A).

Answer: 0.75

Reverse

P(E₁) = P(E₂) = 0.5 and P(A|E₂) = 0.2. After A is seen, P(E₁|A) = 0.8. Find P(A|E₁).

Try it first, then show the working

Answer: 0.8

Exam

A test finds a disease in 99% of people who have it, and wrongly says "yes" for 0.5% of healthy people. 0.1% of people have the disease. Someone tests positive. What is the probability that they have the disease?

Try it first, then show the working
  1. Take E₁ = has the disease (0.001) and E₂ = healthy (0.999).
  2. That is only about 0.17: most positive results come from the many healthy people.

Answer: 22/133

Common mistake: Confusing P(E₁|A) with P(A|E₁): a very accurate test can still leave a small chance of illness after a positive result when the illness is rare.