Introduction
Elementary statistics summarises a list of numbers by a centre (mean, median, mode) and a spread (range, variance, standard deviation). Elementary probability measures how likely an event is, usually as a ratio of counts or as a product of the probabilities of successive steps. The calculations that follow are of this kind: an average that changes when an item is added or replaced, the standard deviation of a small list, the effect of adding a constant to every value, or the chance of drawing two red balls.
Watch for the median of an even-sized list, population versus sample standard deviation, sampling with versus without replacement, and "at least one", which is usually easiest through the complement.
Prerequisites
- Permutations and Combinations: counting favourable and total outcomes.
- Fractions, decimals and square roots.
Core concepts
Measures of centre and spread
| Measure | Definition for data |
|---|---|
| Mean | |
| Weighted mean | |
| Median | Middle value of the sorted list; for even , the mean of the two middle values |
| Mode | Most frequent value (there can be several, or none) |
| Range | Largest minus smallest |
| Population variance | |
| Sample variance | |
| Standard deviation | Square root of the variance |
Variance convention. These notes use the population formula (divide by ) unless a question says "sample" or "unbiased", in which case divide by . A useful identity is (mean of squares minus square of mean).
Linear transformation. If every value becomes , then , the median becomes , and the standard deviation becomes . For , the mode values transform one-to-one by the same rule. For , all observations equal , so is the unique mode. Adding a constant shifts the centre and leaves the spread unchanged.
Probability vocabulary
| Term | Meaning |
|---|---|
| Sample space | The set of all outcomes |
| Event | A subset of |
| Classical probability | when all outcomes are equally likely |
| Complement | |
| Addition rule | |
| Mutually exclusive | , so |
| Conditional probability | for |
| Independent events | |
| Expected value |
Mutually exclusive is different from independent. Two events with positive probability that cannot happen together are dependent: knowing one happened makes the other impossible.
Decision procedure
- Statistics. Sort the data first (median and range need it). For a changed average, work with totals: total = mean count.
- Spread. Decide population or sample; compute deviations from the mean, or use mean of squares minus square of mean.
- Probability. Write the sample space or its size. Check that outcomes are equally likely before dividing counts.
- "And then" steps. Multiply probabilities along the sequence, updating the counts when drawing without replacement.
- "At least one". Use .
- "Or". Use the addition rule and subtract the overlap.
- "Given that". Restrict the sample space to the given event, then count inside it.
Mathematical explanation
Totals make averages easy. If values have mean , their total is . Adding, removing or replacing values changes the total by a known amount, and the new mean is the new total over the new count. Combining groups of sizes with means gives the weighted mean .
Why . Deviations from the sample mean sum to zero, so only of them are free; dividing by makes the sample variance an unbiased estimate of the population variance. For the arithmetic of a GA question, the only point is which divisor the question wants.
Complement for "at least one". For independent trials each succeeding with probability , , so .
Binomial count. The probability of exactly successes in independent trials is : choose which trials succeed, then multiply.
Worked examples
Example 1 (centre and spread). Data: 4, 8, 6, 5, 3, 8, 9. Sorted: 3, 4, 5, 6, 8, 8, 9.
- Mean: . Median: the 4th value, 6. Mode: 8. Range: .
Example 2 (median of an even-sized list). For 3, 7, 8, 12, the median is .
Example 3 (combined mean). Class A has 30 students with mean 60; class B has 20 with mean 70. Combined mean: .
Example 4 (replacing a value). Ten numbers have mean 25, so their total is 250. One number, 40, is replaced by 10. New total ; new mean .
Example 5 (standard deviation). Data: 2, 4, 4, 4, 5, 5, 7, 9 ().
- Mean: . Squared deviations: 9, 1, 1, 1, 0, 0, 4, 16, sum 32.
- Population variance , standard deviation 2.
- Sample variance , standard deviation .
Example 6 (linear transformation). Each value of Example 5 is multiplied by 3 and then increased by 2. New mean ; new population standard deviation . The added 2 does not change the spread.
Example 7 (two dice). Two fair dice are rolled (36 equally likely ordered outcomes).
- Sum 8: , so .
- At least one six: .
Example 8 (addition rule). One card from a standard 52-card deck. ; the king of hearts is subtracted once because it was counted twice.
Example 9 (with and without replacement). A bag has 5 red and 3 blue balls; two are drawn.
- Without replacement: . By counting: .
- With replacement: .
Example 10 (at least one). Each of 4 independent shots hits with probability 0.3. .
Example 11 (conditional). A family has two children, each equally likely to be a boy or a girl, independently. Given that at least one is a boy, the sample space is , so , not .
Example 12 (binomial). Exactly 2 heads in 4 fair tosses: .
Example 13 (expected value). A game pays 10 with probability and costs 1 otherwise. per play.
Example 14 (frequency table). Marks 1 to 5 were scored by 25 students with frequencies 3, 5, 8, 6, 3.
| Mark | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Frequency | 3 | 5 | 8 | 6 | 3 |
| Cumulative | 3 | 8 | 16 | 22 | 25 |
- Mean: .
- Median: the 13th value. The cumulative frequency first reaches 13 at mark 3, so the median is 3.
- Mode: the mark with the largest frequency, 3.
- Traps: the mode is the mark (3), not the largest frequency (8); the median is the middle observation, not the middle of the list of marks; the mean is not , which ignores the frequencies.
Example 15 (grouped data). 40 values fall in the classes 0 to 10, 10 to 20, 20 to 30, 30 to 40, 40 to 50 with frequencies 5, 8, 12, 10, 5 (each class includes its lower end).
- Estimated mean from class midpoints : . It is an estimate: the true values inside each class are unknown.
- Median class: ; cumulative frequencies are , so the 20th value is in the class 20 to 30.
- Estimated median by linear interpolation inside that class: .
- Modal class: 20 to 30 (frequency 12).
- Trap: the median class is found from cumulative frequency, not by taking the middle class of the list (here they coincide only by chance; with frequencies 22, 6, 4, 4, 4 the median class would be 0 to 10, since its cumulative frequency of 22 already covers the 20th and 21st values).
Example 16 (two-stage experiment and reversed conditional). Urn I has 3 red and 2 blue balls; urn II has 1 red and 3 blue. A fair coin chooses the urn, then one ball is drawn.
- .
- Given that the ball is red, the chance it came from urn I: .
- Trap: is not .
Example 17 (table and direction of conditioning). Of 100 students, 60 took science and 45 of them passed; 40 took arts and 20 of them passed. , but . Identify the condition (the group you restrict to) before dividing.
Example 18 (several draws without replacement). Three balls are drawn without replacement from 5 red and 3 blue. . With replacement the answer would be , slightly smaller.
Important properties and observations
- Common misconceptions. The mean of two averages is the overall average (true when group sizes are equal or the group means happen to be equal; Example 3). Mutually exclusive events with positive probabilities are independent (they are not). After four heads, a tail is "due" (independent tosses have no memory).
- Effect of outliers. One extreme value moves the mean but barely moves the median; the median is the better centre for skewed data.
- Standard deviation facts. It is never negative; it is 0 only when all values are equal; it is in the same units as the data.
- Probability bounds. Every probability lies in ; the probabilities of all outcomes sum to 1.
- Equally likely check. The sums 2 to 12 of two dice are not equally likely, so .
- EDGE CASE. A list with every value distinct has no mode under the "most frequent" definition, unless a stated convention treats every value as a mode.
GATE examination perspective
- Changed-average questions. Convert to totals (Examples 3 and 4).
- Median traps. Sort first, and average the two middle values for an even count (Example 2).
- Divisor traps. Population and sample standard deviation differ; read the wording (Example 5).
- Transformation questions. Shifts change the mean but not the standard deviation; scalings change both (Example 6).
- Replacement traps. Options include both the with and without replacement answers (Example 9).
- Conditional traps. "At least one is a boy" and "the elder is a boy" give different answers, and (Example 11).
- Complement. "At least one" is (Examples 7 and 10).
- Frequency tables. Weight each value by its frequency; the mode is a value, not a frequency (Example 14).
- Grouped data. Mean from midpoints is an estimate; the median class comes from cumulative frequency (Example 15).
- Reversed conditionals. and have different denominators (Examples 16 and 17).
- Without replacement over several draws. Use the complement with combinations (Example 18).
Summary
Sources
- B. Illowsky, S. Dean et al., Introductory Statistics 2e, OpenStax, 2023, Section 2.5 Measures of the Center of the Data; Section 2.7 Measures of the Spread of the Data; Section 3.1 Terminology; Section 3.2 Independent and Mutually Exclusive Events; Section 3.3 Two Basic Rules of Probability; Section 3.4 Contingency Tables; Section 3.5 Tree and Venn Diagrams. (consulted 2026-11-11).
- D. Kirk et al., Contemporary Mathematics, OpenStax, 2023, Sections 7.5 Basic Concepts of Probability, 7.8 The Addition Rule for Probability, 7.9 Conditional Probability and the Multiplication Rule, 7.11 Expected Value, 8.3 Mean, Median and Mode, 8.4 Range and Standard Deviation. (consulted 2026-11-11).