PYQ Vault

NDA Maths · Probability

Classical Probability & Counting

Probability as a counting ratio — favourable outcomes over total — applied to cards, dice, coins, arrangements, and number selections.

Why this matters

Start here. Every other probability subtopic — event algebra, independence, conditional probability, Bayes — is built on the classical idea below: count the favourable outcomes, count the total, divide. This is the single largest slice of the NDA Probability bank (85 questions across dice, coins, balls, arrangements, and number-selection problems), and the easy marks live here — roughly a third of the bank is EASY. Master the counting (combinations, sample-space size, the complement trick) and the rest of the chapter becomes bookkeeping.

Test yourself — a quick 13-question Probability recall quiz, instant score.

Concept 1 of 9: What is probability? (Random experiments, sample space, events)

A random experiment is any process whose individual result you cannot predict in advance, even though you know every result that COULD occur — tossing a coin, rolling a die, drawing a card. Each possible result is an outcome; the set of all outcomes is the sample space; any collection of outcomes you care about is an event. Probability measures how much of the sample space an event covers.

Definition

Four pieces of vocabulary the whole chapter rests on:

  • A random experiment has a known set of possible results but an unpredictable individual result.
  • The sample space SS is the set of all outcomes — for one die S={1,2,3,4,5,6}S=\{1,2,3,4,5,6\}.
  • An event EE is any subset E⊆SE \subseteq S; it occurs when the actual outcome lies in EE.
  • Outcomes are equally likely when symmetry gives no reason to prefer one over another (a fair die, a fair coin) — the assumption the classical definition rests on.

Diagram · event = subset of the sample space

SE = roll ≥ 4123456
P(E) = favourable / total = 3 / 6 = 1/2

The sample space S is all six equally likely outcomes; the event E is the subset {4, 5, 6}. For equally likely outcomes, P(E) is simply the number of favourable outcomes over the total.

Worked example

Two coins are tossed together. Write the sample space SS, then write the event AA = "at least one head" and count its outcomes.
Practice this concept4 quick reps

An event is a SET of outcomes, not a single outcome

"Getting a number greater than 4" on a die is the event {5,6}\{5,6\} — two outcomes — not one. Mis-reading an event as a single outcome is the most common source of a wrong favourable-count.

Write or size the sample space before you count anything

Almost every classical-probability error is a counting error in n(S)n(S) or n(E)n(E). Fix n(S)n(S) first (it is 2n2^n for coins, 6k6^k for dice, (nr)\binom{n}{r} for unordered selections), then count favourable outcomes against it.

Concept 2 of 9: Classical (theoretical) probability

When every outcome is equally likely, probability is just a counting ratio: how many outcomes make the event happen, out of how many are possible. No experiment needed — pure counting.

Definition

For a finite sample space SS of equally likely outcomes, the probability of an event EE is P(E)=n(E)n(S)P(E) = \dfrac{n(E)}{n(S)} — favourable outcomes over total outcomes. Because 0≤n(E)≤n(S)0 \le n(E) \le n(S), every probability lies between 00 and 11. This is the classical (or theoretical) definition; it fails the moment the outcomes are not equally likely (a loaded die), where each outcome must be weighted instead.

Classical probability

P(E)=n(E)n(S)=favourable outcomestotal outcomesP(E) = \dfrac{n(E)}{n(S)} = \dfrac{\text{favourable outcomes}}{\text{total outcomes}}
  • n(E)n(E)number of outcomes that make EE occur
  • n(S)n(S)total number of equally likely outcomes

Worked example

A box contains 5 red, 4 white, and 3 black balls. One ball is drawn at random. What is the probability that it is red?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2017 · Q111Easy

Example 2 · Probability · Probability via Counting

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

The classical formula needs EQUALLY LIKELY outcomes

P=n(E)/n(S)P=n(E)/n(S) is only valid when every outcome is equally likely. A loaded die, a biased coin, or faces repeated unevenly (a die with two 4s) breaks the assumption — weight each outcome by its own probability instead of counting.

Favourable is a subset of total, so PP can never exceed 1

If a computation gives P>1P>1 or P<0P<0, the favourable or total count is wrong. Recount before trusting the answer.

Concept 3 of 9: Geometric probability (length / area / volume ratio)

When a point is chosen at random from a continuous region — a segment, a disc, a solid — there are infinitely many outcomes, so you cannot count. Probability becomes a ratio of measures: the size of the favourable region over the size of the whole region (length in 1-D, area in 2-D, volume in 3-D).

Definition

For a point chosen uniformly at random over a region, P(E)=measure of favourable regionmeasure of whole regionP(E) = \dfrac{\text{measure of favourable region}}{\text{measure of whole region}}. Use length on a line, area in a plane, volume in space. This is the continuous analogue of the classical n(E)/n(S)n(E)/n(S) ratio — counting is replaced by measuring.

Geometric probability

P(E)=favourable measuretotal measure(length / area / volume)P(E) = \dfrac{\text{favourable measure}}{\text{total measure}}\quad(\text{length / area / volume})

Worked example

A dart lands at a random point on a square board of side 44. What is the probability it lands inside the inscribed circle (radius 22)?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2017 · Q107Moderate

Example 3 · Probability · Probability via Counting

A point is chosen at random inside a circle. What is the probability that the point is closer to the centre of the circle than to its boundary?

Use the right MEASURE — "closer to the centre" is an AREA ratio, not a radius ratio

Distance from the centre <r/2< r/2 is a DISC of radius r/2r/2, whose area is π(r/2)2\pi(r/2)^2. The probability is the area ratio (r/2)2/r2=14(r/2)^2/r^2 = \tfrac14, NOT the radius ratio 12\tfrac12. Matching the measure to the dimension is the whole trap.

Concept 4 of 9: Axioms, range, complement, and odds

Probabilities live between 0 and 1; the whole sample space has probability 1; and the chance an event does NOT happen is 1 minus the chance it does. That last fact — the complement rule — is the single most useful shortcut in the chapter: when an event is messy to count directly ("at least one…"), count its opposite instead.

Definition

  • Range + axioms: for any event EE, 0≤P(E)≤10 \le P(E) \le 1, with P(S)=1P(S)=1 (certain) and P(∅)=0P(\varnothing)=0 (impossible).
  • Complement: E′E' ("EE does not occur") satisfies P(E′)=1−P(E)P(E') = 1 - P(E).
  • Odds: odds in favour of EE of a:ba:b give P(E)=aa+bP(E) = \dfrac{a}{a+b}; odds against of a:ba:b give P(E)=ba+bP(E) = \dfrac{b}{a+b}.

Complement rule and range

0≤P(E)≤1,P(S)=1,P(E′)=1−P(E)0 \le P(E) \le 1, \qquad P(S)=1, \qquad P(E') = 1 - P(E)
  • E′E'complement of EE — the event that EE does not occur
  • P(∅)P(\varnothing)probability of the impossible event, equal to 00

Worked example

The probability that it rains tomorrow is 0.30.3. (i) What is the probability it does not rain? (ii) If the odds in favour of an event are 3:23:2, what is its probability?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2021 · Q105Easy

Example 4 · Probability · Probability via Counting

In a cricket match, a batsman hits a six 8 times out of 60 balls he plays. What is the probability that on a ball played he does not hit a six?

Odds are not probability: a:ba:b in favour means aa+b\dfrac{a}{a+b}, not ab\dfrac{a}{b}

Convert odds to a probability by putting the favourable parts over the TOTAL parts. Odds in favour 3:23:2 is 35\tfrac{3}{5}; odds against 3:23:2 is 25\tfrac{2}{5}.

"At least one…" almost always means use the complement

P(at least one)=1−P(none)P(\text{at least one}) = 1 - P(\text{none}). Counting the cases directly (exactly one, exactly two, …) is slower and a frequent source of arithmetic slips.

Concept 5 of 9: Selection probability with combinations

When you draw a handful of objects "at random" and order does not matter, both the favourable and the total counts are combinations (nr)\binom{n}{r}. The probability is one combination count divided by another.

Definition

Choosing rr objects from nn where order is irrelevant has (nr)\binom{n}{r} total outcomes. If the objects split into types (say aa of one kind and bb of another) and you want kk of the first kind, the favourable count is (ak)(br−k)\binom{a}{k}\binom{b}{r-k}. Then P=(ak)(br−k)(a+br)P = \dfrac{\binom{a}{k}\binom{b}{r-k}}{\binom{a+b}{r}}.

Selection probability (combinations)

P=(ak)(br−k)(a+br)P = \dfrac{\dbinom{a}{k}\dbinom{b}{r-k}}{\dbinom{a+b}{r}}
  • a,ba, bcounts of the two types of object
  • kkhow many of the first type the event requires
  • rrtotal number drawn

Worked example

A bag has 5 red and 4 blue balls. Three balls are drawn at random. What is the probability that exactly 2 are red?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2025 · Q104Easy

Example 5 · Probability · Probability via Counting

An urn contains 10 white and 5 red balls. If two balls are drawn at random, then what is the probability that both the balls are red?

"Drawn together / selected at random" means order does NOT matter — use (nr)\binom{n}{r}, not permutations

If you accidentally use nPr{}^{n}P_r (ordered) in both numerator and denominator the ratio often still works, but mixing one ordered count with one unordered count gives the wrong answer. Keep both counts unordered.

"At least one of a type" is fastest via the complement

P(at least one red)=1−P(no red)=1−(br)(a+br)P(\text{at least one red}) = 1 - P(\text{no red}) = 1 - \dfrac{\binom{b}{r}}{\binom{a+b}{r}}. Summing exactly-one, exactly-two, … wastes time.

Concept 6 of 9: Probability with dice

Two dice produce 3636 equally-likely ordered outcomes (1,1)(1,1) through (6,6)(6,6). Most dice questions are just "count the (a,b)(a,b) pairs that satisfy the condition, divide by 36". A 6×66 \times 6 grid of pairs is the fastest way to count sums and differences.

Definition

  • One die: S={1,…,6}S=\{1,\dots,6\}, n(S)=6n(S)=6.
  • Two dice: n(S)=62=36n(S)=6^2=36 ordered pairs; the sum ranges 22 to 1212 with 77 the most likely (6 ways).
  • kk dice: n(S)=6kn(S)=6^k.
  • Non-standard or loaded die (faces repeated, or weighted) no longer has equally likely faces — weight each face by its own probability rather than using n(E)/6n(E)/6.
  • Sum of kk dice equals nn (stars and bars): the number of ordered kk-tuples of POSITIVE integers with a1+⋯+ak=na_1+\dots+a_k = n is (n−1k−1)\binom{n-1}{k-1}. It counts dice sums directly as long as no die would need to exceed 6 — e.g. three dice summing to 10: (92)=36\binom{9}{2} = 36 tuples before removing the ones with a face >6> 6 (there are 9: a 7 or 8 paired with two smaller faces), giving 27/216=1/827/216 = 1/8. For small totals (sum ≤8\le 8 on three dice) no removal is needed.
  • All different / all the same: kk dice show all different faces in 6⋅5⋯(6−k+1)6\cdot5\cdots(6-k+1) ways, so P(all different)=6⋅5⋯(6−k+1)6kP(\text{all different}) = \dfrac{6\cdot5\cdots(6-k+1)}{6^k} (two dice: 3036\tfrac{30}{36}; three: 120216\tfrac{120}{216}); P(at least two alike)=1−P(\text{at least two alike}) = 1 - that. The same product shape counts birthdays, coins and any "no repeat" event.

Two-dice sample space

n(S)=62=36,P(sum=7)=636=16n(S) = 6^2 = 36, \qquad P(\text{sum}=7) = \dfrac{6}{36} = \dfrac{1}{6}
  • (a,b)(a,b)ordered pair: aa on the first die, bb on the second

Visualization · two-dice sample space

123456123456234567345678456789567891067891011789101112
favourable = 6P(sum = 7) = 6/36 = 1/6

Each of the 36 cells is one equally-likely ordered outcome (first die, second die). The highlighted anti-diagonal is the event "sum = 7"; its size over 36 is the probability. The count peaks at 6 for a sum of 7 and tapers to 1 at sums 2 and 12.

Worked example

Two fair dice are thrown. What is the probability that the sum of the numbers is 9 or more?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2018 · Q114Easy

Example 6 · Probability · Probability via Counting

Two fair dice rolled. P(sum=7)?

Two-dice outcomes are ORDERED pairs: (2,3)(2,3) and (3,2)(3,2) are different

The sample space has 3636 outcomes, not 2121. Counting unordered pairs undercounts every non-doublet event by a factor of two.

Loaded or non-standard dice: faces are NOT equally likely

If a die has two faces showing 4, or even faces are twice as likely as odd, you cannot use n(E)/36n(E)/36. Assign each face its probability first, then add up the favourable outcomes' probabilities.

Concept 7 of 9: Probability with coins

Tossing a fair coin nn times gives 2n2^n equally-likely ordered sequences. For a biased coin with P(head)=pP(\text{head})=p, multiply pp and 1−p1-p along the sequence. "At least one head" is almost always fastest through the complement.

Definition

  • Fair coin, nn tosses: n(S)=2nn(S)=2^n, every sequence equally likely; exactly kk heads occurs in (nk)\binom{n}{k} of them.
  • Biased coin, P(H)=pP(H)=p: a specific sequence with hh heads and tt tails has probability ph(1−p)tp^{h}(1-p)^{t}.
  • At least one head in nn fair tosses: 1−(12)n1-\left(\tfrac{1}{2}\right)^{n}.

Coin tosses

n(S)=2n,P(at least one head in n)=1−(12)nn(S)=2^{n}, \qquad P(\text{at least one head in } n) = 1 - \left(\tfrac{1}{2}\right)^{n}
  • nnnumber of tosses
  • ppprobability of a head on one toss (12\tfrac{1}{2} if fair)

Diagram · two coin tosses → 2² = 4 outcomes

H · ½T · ½½½½½HH ¼HT ¼TH ¼TT ¼

Each toss branches into H or T with probability ½, and the branches multiply: every leaf is ½ × ½ = ¼. Tossing n coins gives 2ⁿ equally likely outcomes — so "at least one head" is easiest via the complement, 1 − P(all tails).

Worked example

A fair coin is tossed 3 times. What is the probability of getting at least one head?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2023 · Q103Easy

Example 7 · Probability · Probability via Counting

A biased coin with the probability of getting head equal to 14\frac{1}{4} is tossed five times. What is the probability of getting tail in all the first four tosses followed by head?

Sequences are ordered: HT≠THHT \ne TH

Count the 2n2^n ordered sequences, not the n+1n+1 "number of heads" buckets — those buckets are not equally likely ("exactly 1 head in 2 tosses" has 2 sequences, "2 heads" has 1).

Biased coin: do not use 2n2^n equally-likely counting

When P(H)≠12P(H) \ne \tfrac{1}{2}, each sequence has its own probability ph(1−p)tp^{h}(1-p)^{t}. Counting outcomes and dividing by 2n2^n is only valid for a fair coin.

Concept 8 of 9: Probability with arrangements

When people or letters are arranged in a row "at random", the total is n!n! arrangements (divided by factorials for repeats). For "XX and YY together", glue them into a single block. Probability is favourable arrangements over total arrangements.

Definition

Total arrangements of nn distinct objects: n!n!. For two specified objects to be together, treat them as one block: that block plus the other n−2n-2 objects is (n−1)!(n-1)! arrangements, times 2!2! for the block's internal order. So P(two specified together)=2 (n−1)!n!=2nP(\text{two specified together}) = \dfrac{2\,(n-1)!}{n!} = \dfrac{2}{n}. With repeated letters, divide n!n! by the factorial of each repeat count. The complement — "no two of them together" — is the GAP method, not 1−2n1 - \tfrac{2}{n} once more than two objects are involved. Arrange the nn unrestricted objects first (n!n! ways); they create n+1n+1 gaps (including both ends); place the rr restricted objects in rr DIFFERENT gaps: (n+1r) r!\binom{n+1}{r}\,r! ways. So P(no two of the r adjacent)=n! (n+1r) r!(n+r)!P(\text{no two of the } r \text{ adjacent}) = \dfrac{n!\,\binom{n+1}{r}\,r!}{(n+r)!}. For 3 boys and 3 girls with no two girls adjacent: 3! (43) 3!6!=144720=15\dfrac{3!\,\binom{4}{3}\,3!}{6!} = \dfrac{144}{720} = \dfrac{1}{5}. For exactly two objects, "not together" IS 1−2n1 - \tfrac{2}{n}.

Arrangement probability (two together)

P(two specified together)=2 (n−1)!n!=2nP(\text{two specified together}) = \dfrac{2\,(n-1)!}{n!} = \dfrac{2}{n}
  • nnnumber of objects being arranged
  • 2 (n−1)!2\,(n-1)!favourable: glue the pair ((n−1)!(n-1)!) and order them internally (2!2!)

Worked example

Five people sit in a row at random. What is the probability that two particular people, A and B, sit together?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2023 · Q114Easy

Example 8 · Probability · Probability via Counting

In a class of nn students including P and Q, what is the probability that P and Q sit together if seats assigned randomly?

"Together" = glue into a block, then multiply by the block's internal arrangements

Forgetting the 2!2! for the order within the pair halves the favourable count. For a block of kk people the internal factor is k!k!.

Repeated letters divide the total by the factorial of each repeat count

The arrangements of TIRUPATI use 8!2! 2!\dfrac{8!}{2!\,2!} (two T's, two I's), not 8!8!. Forgetting this inflates both counts unequally and breaks the ratio.

Concept 9 of 9: Choosing numbers with a property

Many PYQs choose a number (or a few numbers) at random from a finite set and ask the probability it has some property — consecutive, a multiple, satisfies an inequality. The recipe is unchanged: count the elements with the property, divide by the size of the set (or use (nr)\binom{n}{r} when several are chosen at once).

Definition

A number chosen at random from {1,…,n}\{1,\dots,n\}: P=#{x with the property}nP = \dfrac{\#\{x \text{ with the property}\}}{n}. When several numbers are chosen together, the denominator becomes (nr)\binom{n}{r}. Useful counts: multiples of dd in {1,…,n}\{1,\dots,n\} number ⌊n/d⌋\lfloor n/d\rfloor; consecutive triples among 1,…,N1,\dots,N number N−2N-2. Divisibility tests — needed when the numbers are BUILT from digits rather than listed: by 2 (last digit even), by 3 (digit sum divisible by 3), by 4 (last two digits divisible by 4), by 5 (last digit 0 or 5), by 6 (both 2 and 3), by 8 (last three digits), by 9 (digit sum), by 11 (alternating digit sum). A fixed digit set has a fixed digit sum, so "divisible by 3" is then all-or-nothing for every arrangement. Calendar counts: a 31-day month is 4 weeks + 3 days, so it has five of exactly 3 weekdays: P(5 Sundays)=37P(5 \text{ Sundays}) = \tfrac{3}{7}; a 30-day month gives 27\tfrac{2}{7}; a leap-year February (29 days) gives 17\tfrac{1}{7}; a 28-day February gives 0. A leap year has 52 weeks + 2 days, so P(53 Sundays)=27P(53 \text{ Sundays}) = \tfrac{2}{7}; an ordinary year, 17\tfrac{1}{7}. Units digit of a power cycles with period 4: 7n7^n ends in 7,9,3,17, 9, 3, 1 for n≡1,2,3,0(mod4)n \equiv 1,2,3,0 \pmod 4 (likewise 2,3,82, 3, 8; while 44 and 99 have period 2 and 0,1,5,60,1,5,6 are fixed). "7n7^n ends in 1" has probability 14\tfrac14 over a full cycle. Geometric and algebraic properties of chosen numbers: three chosen lengths form a triangle iff the two shorter ones sum to MORE than the longest; x2+bx+c=0x^2 + bx + c = 0 has real roots iff b2−4c≥0b^2 - 4c \ge 0 — enumerate the pairs (b,c)(b,c) that pass.

Counting favourable numbers

P=#{x:x has the property}nP = \dfrac{\#\{x : x \text{ has the property}\}}{n}
  • ⌊n/d⌋\lfloor n/d\rfloorhow many of 1,…,n1,\dots,n are multiples of dd

Worked example

A number is chosen at random from 1 to 20. What is the probability that it is a multiple of 3 or a multiple of 5?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2024 · Q103Easy

Example 9 · Probability · Probability via Counting

Three distinct natural numbers are chosen at random from 1 to 10. What is the probability that they are consecutive?

"Or" on number properties needs inclusion-exclusion

P(mult of 3 or 5)=P(3)+P(5)−P(15)P(\text{mult of 3 or 5}) = P(3) + P(5) - P(15). Forgetting to subtract the overlap (multiples of both) double-counts and overstates the probability.

Several numbers chosen at once: denominator is (nr)\binom{n}{r}, not nn

"Three numbers chosen from 1 to 10" has (103)=120\binom{10}{3}=120 outcomes. Only use nn in the denominator when exactly one number is picked.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (8)

  • Classical (theoretical) probability

    Classical probability

    P(E)=n(E)n(S)=favourable outcomestotal outcomesP(E) = \dfrac{n(E)}{n(S)} = \dfrac{\text{favourable outcomes}}{\text{total outcomes}}
  • Geometric probability (length / area / volume ratio)

    Geometric probability

    P(E)=favourable measuretotal measure(length / area / volume)P(E) = \dfrac{\text{favourable measure}}{\text{total measure}}\quad(\text{length / area / volume})
  • Axioms, range, complement, and odds

    Complement rule and range

    0≤P(E)≤1,P(S)=1,P(E′)=1−P(E)0 \le P(E) \le 1, \qquad P(S)=1, \qquad P(E') = 1 - P(E)
  • Selection probability with combinations

    Selection probability (combinations)

    P=(ak)(br−k)(a+br)P = \dfrac{\dbinom{a}{k}\dbinom{b}{r-k}}{\dbinom{a+b}{r}}
  • Probability with dice

    Two-dice sample space

    n(S)=62=36,P(sum=7)=636=16n(S) = 6^2 = 36, \qquad P(\text{sum}=7) = \dfrac{6}{36} = \dfrac{1}{6}
  • Probability with coins

    Coin tosses

    n(S)=2n,P(at least one head in n)=1−(12)nn(S)=2^{n}, \qquad P(\text{at least one head in } n) = 1 - \left(\tfrac{1}{2}\right)^{n}
  • Probability with arrangements

    Arrangement probability (two together)

    P(two specified together)=2 (n−1)!n!=2nP(\text{two specified together}) = \dfrac{2\,(n-1)!}{n!} = \dfrac{2}{n}
  • Choosing numbers with a property

    Counting favourable numbers

    P=#{x:x has the property}nP = \dfrac{\#\{x : x \text{ has the property}\}}{n}

Watch out for (17)

Test yourself on Probability

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes