πŸ“ ICSE Class 12 Mathematics

Mean and Variance

Start MCQ Practice β†’

Mean and Variance

Subject: Class 12 Mathematics Chapter: Mean and Variance Topic: 14.8 Mean and Variance – Calculate distribution mean and variance

1. Introduction

A probability distribution tells us exactly how likely each value of a random variable is, but it is often useful to summarize the whole distribution by a few numbers. The most important summaries are the mean, which measures the central location of the distribution, and the variance with its square root, the standard deviation, which measure how spread out the values are. Together these numbers give a compact description of the behaviour of the random variable.

The mean of a random variable, also called its expectation, is the probability-weighted average of its possible values. It answers the question: what value would we expect on average over many repetitions of the experiment? For example, the mean number of heads when a coin is tossed twice is 1, even though 1 is not the only possible outcome. The mean is not necessarily a value the variable can actually take; it is the balancing point of the probabilities.

The variance and standard deviation describe variability. A small variance means the values are clustered close to the mean, while a large variance means they are widely scattered. These measures are indispensable in statistics, economics and the sciences because the average alone never reveals how reliable it is. In this section we define the mean and variance of a discrete random variable, derive the standard shortcut formula for the variance, and solve worked examples that compute these quantities from a probability distribution.

2. Mean of a Random Variable

The mean or expectation of a discrete random variable X, denoted by E(X) or ΞΌ, is the weighted average of its values, where each value is weighted by its probability.

Formula: ΞΌ = E(X) = x1p1 + x2p2 + ... + xnpn = Ξ£ xi p(xi).

Key points to remember: - The mean uses probabilities as weights, so values with high probability contribute more. - The mean may be a decimal or a fraction even though the variable is discrete. - The mean is expressed in the same units as the random variable. - The mean is the centre of mass of the probability distribution.

Worked Example 1: The probability distribution of X is P(X = 0) = 0.1, P(X = 1) = 0.2, P(X = 2) = 0.4, P(X = 3) = 0.3. Find the mean of X.

Step 1: Write the formula E(X) = Ξ£ xi p(xi). Step 2: E(X) = 0(0.1) + 1(0.2) + 2(0.4) + 3(0.3). Step 3: E(X) = 0 + 0.2 + 0.8 + 0.9 = 1.9. Step 4: The mean is 1.9, which lies between the smallest and largest values as expected.

Worked Example 2: A die is thrown once. Let X be the number shown. Find the mean of X.

Step 1: P(X = k) = 1/6 for k = 1 to 6. Step 2: E(X) = (1 + 2 + 3 + 4 + 5 + 6) Γ— (1/6). Step 3: E(X) = 21/6 = 3.5. Step 4: The mean of a fair die is 3.5, the average of all faces.

3. Variance and Standard Deviation

The variance of a discrete random variable X, denoted by Var(X) or Οƒ^2, measures the expected squared deviation of X from its mean. The standard deviation, denoted by Οƒ, is the positive square root of the variance.

Formula: Var(X) = Ξ£ (xi βˆ’ ΞΌ)^2 p(xi).

Shortcut formula: Var(X) = E(X^2) βˆ’ [E(X)]^2, where E(X^2) = Ξ£ xi^2 p(xi).

Key points to remember: - The variance is always non-negative and is zero only for a constant random variable. - The shortcut formula avoids computing each deviation separately and is faster to use. - The standard deviation Οƒ = √Var(X) is measured in the same units as X. - Both the mean and the variance are computed from the probability distribution table.

Worked Example 3: Using the distribution of Worked Example 1, find the variance and standard deviation of X.

Step 1: E(X) = 1.9 as computed earlier. Step 2: E(X^2) = 0^2(0.1) + 1^2(0.2) + 2^2(0.4) + 3^2(0.3) = 0 + 0.2 + 1.6 + 2.7 = 4.5. Step 3: Var(X) = 4.5 βˆ’ (1.9)^2 = 4.5 βˆ’ 3.61 = 0.89. Step 4: Οƒ = √0.89 β‰ˆ 0.943, so the typical deviation from the mean is about 0.94.

Worked Example 4: Find the variance of the number shown on a single die.

Step 1: E(X) = 3.5 from Worked Example 2. Step 2: E(X^2) = (1^2 + 2^2 + 3^2 + 4^2 + 5^2 + 6^2)/6 = 91/6. Step 3: Var(X) = 91/6 βˆ’ (3.5)^2 = 91/6 βˆ’ 49/4 = 182/12 βˆ’ 147/12 = 35/12. Step 4: Οƒ = √(35/12) β‰ˆ 1.708.

4. Solved Examples for Practice

Let us compute the mean and variance for a variety of distributions, using both the direct and the shortcut methods.

Worked Example 5: A coin is tossed twice. Let X be the number of heads. Find the mean and variance of X.

Step 1: P(X = 0) = 1/4, P(X = 1) = 1/2, P(X = 2) = 1/4. Step 2: E(X) = 0(1/4) + 1(1/2) + 2(1/4) = 1/2 + 1/2 = 1. Step 3: E(X^2) = 0 + 1(1/2) + 4(1/4) = 1/2 + 1 = 1.5. Step 4: Var(X) = 1.5 βˆ’ 1^2 = 0.5, and Οƒ = √0.5.

Worked Example 6: The distribution of X is P(X = 1) = 1/2, P(X = 2) = 1/6, P(X = 3) = 1/3. Find the mean and variance.

Step 1: E(X) = 1(1/2) + 2(1/6) + 3(1/3) = 1/2 + 1/3 + 1 = 11/6. Step 2: E(X^2) = 1(1/2) + 4(1/6) + 9(1/3) = 1/2 + 2/3 + 3 = 25/6. Step 3: Var(X) = 25/6 βˆ’ (11/6)^2 = 25/6 βˆ’ 121/36 = 150/36 βˆ’ 121/36 = 29/36. Step 4: Οƒ = √(29/36) = √29/6.

Worked Example 7: X takes the values 1 and 3 with equal probability. Find the mean and variance.

Step 1: P(X = 1) = 1/2 and P(X = 3) = 1/2. Step 2: E(X) = 1(1/2) + 3(1/2) = 2. Step 3: E(X^2) = 1(1/2) + 9(1/2) = 5. Step 4: Var(X) = 5 βˆ’ 4 = 1, so Οƒ = 1.

Worked Example 8: A random variable X has the distribution P(X = k) = k/6 for k = 1, 2, 3. Find the mean and variance.

Step 1: E(X) = 1(1/6) + 2(2/6) + 3(3/6) = 1/6 + 4/6 + 9/6 = 14/6 = 7/3. Step 2: E(X^2) = 1(1/6) + 4(2/6) + 9(3/6) = 1/6 + 8/6 + 27/6 = 36/6 = 6. Step 3: Var(X) = 6 βˆ’ (7/3)^2 = 6 βˆ’ 49/9 = 54/9 βˆ’ 49/9 = 5/9. Step 4: Οƒ = √5/3.

Worked Example 9: In a game, a player earns 0 with probability 0.5, 2 with probability 0.3 and 5 with probability 0.2. Find the expected earnings and the variance.

Step 1: E(X) = 0(0.5) + 2(0.3) + 5(0.2) = 0 + 0.6 + 1.0 = 1.6. Step 2: E(X^2) = 0 + 4(0.3) + 25(0.2) = 1.2 + 5 = 6.2. Step 3: Var(X) = 6.2 βˆ’ (1.6)^2 = 6.2 βˆ’ 2.56 = 3.64. Step 4: Οƒ = √3.64 β‰ˆ 1.908, so earnings typically deviate from 1.6 by about 1.91.

Worked Example 10: The random variable X has P(X = 0) = a, P(X = 1) = 2a and P(X = 2) = 3a. Find the mean of X.

Step 1: The sum a + 2a + 3a = 1 gives 6a = 1, so a = 1/6. Step 2: P(X = 0) = 1/6, P(X = 1) = 1/3, P(X = 2) = 1/2. Step 3: E(X) = 0(1/6) + 1(1/3) + 2(1/2) = 1/3 + 1 = 4/3. Step 4: E(X^2) = 0 + 1(1/3) + 4(1/2) = 1/3 + 2 = 7/3, so Var(X) = 7/3 βˆ’ (4/3)^2 = 7/3 βˆ’ 16/9 = 21/9 βˆ’ 16/9 = 5/9.

5. Quick Revision Tables

Table 1

Measure Formula Meaning
Mean E(X) = Ξ£ xi p(xi) Probability-weighted centre
Second moment E(X^2) = Ξ£ xi^2 p(xi) Weighted average of squares
Variance Var(X) = E(X^2) βˆ’ [E(X)]^2 Expected squared deviation
Standard deviation Οƒ = √Var(X) Typical deviation in same units
Property E(cX) = cE(X) Scaling by a constant
Property Var(cX) = c^2 Var(X) Variance scales by the square

Table 2

Distribution Mean Variance Standard deviation
Single die face 3.5 35/12 √(35/12)
Number of heads in 2 tosses 1 1/2 1/√2
Values 1 and 3 equally likely 2 1 1
P(X = k) = k/6, k = 1,2,3 7/3 5/9 √5/3
Game earnings 0, 2, 5 1.6 3.64 β‰ˆ 1.908

6. Mind Map

flowchart TD
    A[Mean and Variance] --> B[Mean expectation]
    A --> C[Variance]
    A --> D[Standard deviation]
    A --> E[Shortcut formula]
    B --> F[Sum of xi times p of xi]
    C --> G[Sum of x minus mu squared times p]
    D --> H[Square root of variance]
    E --> I[E of X squared minus E of X squared]
    F --> J[Probability weighted average]
    C --> K[Measure of spread]
    I --> L[Easier computation]
    K --> M[Zero only for constant variable]

7. Important Diagrams (SVG)

Mean as the Balancing Point of a Distribution Values 0, 1, 2, 3 with probabilities 0.1, 0.2, 0.4, 0.3 0: 0.1 1: 0.2 2: 0.4 3: 0.3 E(X) = 0(0.1) + 1(0.2) + 2(0.4) + 3(0.3) = 1.9 Golden Rule: Weight every value by its probability and add; the mean need not be a possible value.

Variance as the Spread Around the Mean Two distributions: tight spread and wide spread Tight: values 1, 3, 5 nearby Wide: values 0, 2, 10 far apart Small variance Large variance Var(X) = E(X^2) βˆ’ [E(X)]^2 Οƒ = √Var(X) gives the typical deviation Golden Rule: Always use the shortcut variance formula and subtract the square of the mean last.

8. Common Mistakes

  1. Students compute the mean as a simple average of values, ignoring the probabilities as weights.
  2. Students forget to square the values when computing E(X^2).
  3. Students subtract [E(X)]^2 at the start instead of the end of the variance calculation.
  4. Students leave the variance negative because of an arithmetic slip in the shortcut formula.
  5. Students confuse variance with standard deviation and forget to take the square root.
  6. Students use the values of X directly in the variance formula instead of the squared deviations from the mean.

9. Exam Tips

  1. Write the distribution table neatly with columns for xi, p(xi), xi Γ— p(xi) and xi^2 Γ— p(xi).
  2. Compute E(X) first, then E(X^2), and finally subtract the square of E(X).
  3. Keep fractions throughout and simplify at the end to avoid decimal rounding errors.
  4. Verify that the probabilities sum to 1 before computing either the mean or the variance.
  5. Remember that the variance is always non-negative; recheck if you get a negative value.
  6. Quote the standard deviation as the positive square root of the variance with the correct units.

10. Conclusion

The mean and variance summarize a probability distribution into two numbers that describe its centre and its spread. The mean E(X) = Ξ£ xi p(xi) is the probability-weighted average of the values, while the variance Var(X) = E(X^2) βˆ’ [E(X)]^2 measures the expected squared deviation from the mean, with the standard deviation as its square root. Both quantities are computed entirely from the probability distribution table, so a correct distribution is the essential prerequisite. These measures are the gateway to statistics, where the mean describes typical behaviour and the variance describes reliability. Together with the total probability theorem, Bayes theorem and the ideas of random variables, the mean and variance complete the systematic study of probability in Class 12.