Classical probability by counting: sample spaces, permutations and combinations, arrangements with repetition, the complement and inclusion–exclusion rules, urn and dice problems, and geometric probability, as GATE EC asks them.
Before you start
Permutations and combinations
Every classical probability is a ratio of two counts; you must count ordered and unordered selections without error.
Sets and Venn diagrams
Events are sets; union, intersection and complement map directly to 'or', 'and' and 'not'.
Areas of simple plane figures
Geometric probability questions reduce to the area of a triangle or band inside a square.
A random experiment has a set of possible outcomes called the sample space . An event is any subset of .
When all outcomes are equally likely and is finite, the classical probability is
The axioms give every other rule: , , and for mutually exclusive events . From them:
Complement: . Use it for every "at least one" question.
Addition rule: .
Three events: .
The formula is valid only if the outcomes you counted are equally likely. For two dice, the 36 ordered pairs are equally likely, but the 11 possible sums are not: a sum of 7 has 6 pairs, a sum of 2 has only 1. Always list the sample space as ordered outcomes of the basic experiment.
Mutually exclusive () is not the same as independent (). Two events with non-zero probability cannot be both.
Two fair dice give 36 equally likely ordered pairs. The six dots are the outcomes with sum 7, so P(sum = 7) = 6/36 = 1/6.
2. Counting tools
Multiplication rule: if a task has stages with choices, it can be done in ways.
Choosing items from distinct items:
Order matters
Order does not matter
No repetition
Repetition allowed
Other standard counts:
Arrangements with repeated items: objects with alike of one kind, alike of another, …: .
Circular arrangements of distinct objects: .
Identical objects into distinct boxes (stars and bars): identical balls into boxes in ways; this is also the number of non-negative integer solutions of .
Items kept together: treat the block as one item, then multiply by the internal arrangements of the block.
A useful check: and .
In a probability question, count the numerator and the denominator the same way: both ordered or both unordered. Mixing them is the most common source of wrong answers.
3. Standard problem types
Drawing without replacement (urn problems). From balls of which are red, draw at once. Then
This is the hypergeometric form. Drawing one by one without replacement gives the same answer as drawing all at once.
Drawing with replacement makes draws independent, so probabilities multiply: .
"At least one". Compute the complement "none": . For independent trials each with success probability , .
Exactly successes in independent trials: , where counts the positions of the successes.
Seating and arrangement. Two given people in a row of sit together with probability .
Clue in the question
Method
"at least one"
complement
"selected at random", "committee"
combinations
"arranged", "in a row", "code"
permutations
"with replacement"
independent, multiply
4. Geometric probability
When an outcome is a point chosen uniformly from a region (an interval, a square), probability is a ratio of sizes instead of counts:
Two numbers chosen independently and uniformly from give a point uniform in the unit square, so = area of the region (the square has area 1).
Standard regions in the unit square:
: triangle, area .
for : area .
(the meeting problem): area .
or : needs an integral or a quarter circle ().
Method: draw the square, draw the boundary line of the event, shade the event and find its area, usually as the square minus one or two corner triangles.
For the meeting problem with an interval of length and waiting time , scale to : .
A single point has zero length, so for continuous uniform choices and or give the same answer.
Meeting problem: A and B arrive uniformly in a 60-minute window and wait 15 minutes. They meet inside the shaded band |x − y| ≤ 15; the two corner triangles are misses.
Formulas to remember
Classical probabilityOnly for equally likely outcomes
Complement
Addition rule
Permutations and combinations
Arrangements with repeated items
Stars and bars identical objects into distinct boxes
Hypergeometric (without replacement)
At least one success independent trials
Meeting problemArrivals uniform over , each waits
Common mistakes
Counting the numerator as ordered and the denominator as unordered, or the other way round. Decide once and use the same method for both.
Treating unequal outcomes as equally likely, such as the 11 possible sums of two dice. List ordered outcomes of the basic experiment.
Adding probabilities for 'at least one' over overlapping events. Use 1 − P(none) instead.
Confusing mutually exclusive with independent. Mutually exclusive events with non-zero probability are always dependent.
Forgetting to subtract the overlap in P(A or B), or forgetting the triple term in three-event inclusion–exclusion.
Using with-replacement probabilities (multiplying K/N each time) when the draw is without replacement.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Two dice: sum 8 or a double
numerical
Two fair dice are thrown. Find the probability that the sum is 8 or both dice show the same number.
Step 1: Count the outcomes with sum 8.
Try it on paper first.
Example 2: Committee from men and women
numerical
A committee of 3 is chosen at random from 6 men and 4 women. Find (a) the probability that it has exactly 2 women, and (b) the probability that it has at least one woman.
Step 1: Count all committees.
Try it on paper first.
Example 3: Birthday months
numerical
Four people are chosen at random. Assume each is equally likely to be born in any of the 12 months, independently. Find the probability that at least two of them share a birth month.
Step 1: Find the total number of outcomes.
Try it on paper first.
Example 4: The meeting problem
numerical
Two friends agree to meet between 5:00 and 6:00 pm. Each arrives at a time uniformly distributed in the hour, independently, and waits 15 minutes for the other before leaving. Find the probability that they meet.
Step 1: Set up the sample space.
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.