Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Statistics
  3. ›2 Probability, Random Variables and Probability Distributions
  4. ›2.9 Parameters of random variables

AP Statistics · Unit 2 · Probability, Random Variables and Probability Distributions

2.9 Parameters of random variables

Calculate and interpret the mean and standard deviation of a discrete random variable, and find the mean of a sum or difference.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5The mean of a random variable is a weighted average
  1. 1The mean of a random variable is a weighted average
  2. 2The mean is the balance point of the distribution
  3. 3Standard deviation measures typical distance from the mean
  4. 4Good interpretations name the variable, the units, and the context
  5. 5Means add when random variables are added or subtracted
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: The mean of a random variable is a weighted average

Suppose a store records how many items each customer buys. After thousands of customers, the average count settles near a fixed value. That long-run average is the center of the distribution.

The mean of a discrete random variable XXX is written μX\mu_XμX​. Multiply each possible value by its probability, then add the results.

In symbols, μX=∑xiP(xi)\mu_X=\sum x_iP(x_i)μX​=∑xi​P(xi​), where xix_ixi​ is the iiith value and P(xi)P(x_i)P(xi​) is its probability. Values with higher probability pull the mean toward them. The mean is also called the expected value.

Key term

mean of a discrete random variable

The mean of a discrete random variable is the sum of each possible value multiplied by its probability, written μX=∑xiP(xi)\mu_X=\sum x_iP(x_i)μX​=∑xi​P(xi​).

Part 1 done

2

Part 2 of 5: The mean is the balance point of the distribution

Now apply the formula to a distribution. The number of items XXX a customer buys has four possible values.

Worked example

Calculate the mean of a distribution

The number of items XXX a customer buys has x=1,2,3,4x=1,2,3,4x=1,2,3,4 with P(x)=0.35, 0.30, 0.20, 0.15P(x)=0.35,\,0.30,\,0.20,\,0.15P(x)=0.35,0.30,0.20,0.15. Calculate μX\mu_XμX​.
  1. 1
    Write the formula: μX=∑xiP(xi)\mu_X=\sum x_iP(x_i)μX​=∑xi​P(xi​).
  2. 2
    Multiply each value by its probability: 1(0.35)=0.351(0.35)=0.351(0.35)=0.35, 2(0.30)=0.602(0.30)=0.602(0.30)=0.60, 3(0.20)=0.603(0.20)=0.603(0.20)=0.60, 4(0.15)=0.604(0.15)=0.604(0.15)=0.60.
  3. 3
    Add the products: 0.35+0.60+0.60+0.60=2.150.35+0.60+0.60+0.60=2.150.35+0.60+0.60+0.60=2.15.

Answer: μX=2.15\mu_X=2.15μX​=2.15 items

Figure 1. The dashed line marks the mean, 2.15 items, where the histogram balances.

On the histogram, the mean marks the balance point. Think of each bar as a weight on a beam. The tall bar on the left pulls the mean toward 1, below the middle of the values.

Common mistake

The mean does not have to be a possible value of XXX. No customer buys 2.15 items, yet the mean is 2.15.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the formula for the mean of a discrete random variable XXX.
Show answer and explanation

Answer: A · Worked explanation

The mean multiplies each value by its probability and adds the products. The formula with only probabilities always equals 1. Adding the values alone ignores how likely each is. Dividing their total by nnn gives an unweighted average, which treats every value as equally likely.
3

Part 3 of 5: Standard deviation measures typical distance from the mean

Two distributions can share a mean and still differ in spread. The standard deviation of a discrete random variable, σX\sigma_XσX​, measures how far values typically fall from μX\mu_XμX​.

  • Subtract μX\mu_XμX​ from each value, then square the difference.
  • Multiply each squared difference by its probability.
  • Add these products.
  • Take the square root of the sum.

In symbols, σX=∑(xi−μX)2P(xi)\sigma_X=\sqrt{\sum(x_i-\mu_X)^2P(x_i)}σX​=∑(xi​−μX​)2P(xi​)​. The sum under the root is the variance, the average squared distance from the mean. A small standard deviation means values cluster near the mean. A large one means they are spread widely.

Worked example

Calculate the standard deviation

Use the store distribution, with μX=2.15\mu_X=2.15μX​=2.15 items. Calculate σX\sigma_XσX​.
  1. 1
    Write the formula: σX=∑(xi−μX)2P(xi)\sigma_X=\sqrt{\sum(x_i-\mu_X)^2P(x_i)}σX​=∑(xi​−μX​)2P(xi​)​.
  2. 2
    First two terms: (1−2.15)2(0.35)=0.462875(1-2.15)^2(0.35)=0.462875(1−2.15)2(0.35)=0.462875 and (2−2.15)2(0.30)=0.00675(2-2.15)^2(0.30)=0.00675(2−2.15)2(0.30)=0.00675.
  3. 3
    Last two terms: (3−2.15)2(0.20)=0.1445(3-2.15)^2(0.20)=0.1445(3−2.15)2(0.20)=0.1445 and (4−2.15)2(0.15)=0.513375(4-2.15)^2(0.15)=0.513375(4−2.15)2(0.15)=0.513375.
  4. 4
    Add the terms: 0.462875+0.00675+0.1445+0.513375=1.12750.462875+0.00675+0.1445+0.513375=1.12750.462875+0.00675+0.1445+0.513375=1.1275.
  5. 5
    Take the square root: 1.1275≈1.06\sqrt{1.1275}\approx1.061.1275​≈1.06.

Answer: σX≈1.06\sigma_X\approx1.06σX​≈1.06 items

Key term

standard deviation of a discrete random variable

The standard deviation of a discrete random variable is the square root of its probability-weighted mean squared distance from μX\mu_XμX​, written σX\sigma_XσX​.

Part 3 done

4

Part 4 of 5: Good interpretations name the variable, the units, and the context

A number alone earns little credit. The meaning matters, so connect each parameter to the situation.

Interpret the mean as a long-run average. For the store, μX=2.15\mu_X=2.15μX​=2.15 means that over many customers, the number of items bought averages about 2.15 per customer.

Interpret the standard deviation as a typical distance. Here, σX≈1.06\sigma_X\approx1.06σX​≈1.06 means the number of items bought typically differs from 2.15 by about 1.06 items.

Exam tip

Name the variable, give the units, and include a phrase such as over many customers. Do not claim that any one customer buys 2.15 items.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify what the standard deviation of a random variable describes.
Show answer and explanation

Answer: B · Worked explanation

The standard deviation describes how far values typically fall from the mean, so it measures spread. The most likely value is a different idea, and so is the largest probability. The gap between the largest and smallest value is the range, which uses only two values.
5

Part 5 of 5: Means add when random variables are added or subtracted

Often one quantity is built from two others, such as a total or a gap. Let XXX and YYY be random variables. The mean of their sum is the sum of their means. The mean of their difference is the difference of their means.

  • μX+Y=μX+μY\mu_{X+Y}=\mu_X+\mu_YμX+Y​=μX​+μY​
  • μX−Y=μX−μY\mu_{X-Y}=\mu_X-\mu_YμX−Y​=μX​−μY​

Worked example

Find the mean of a total and a difference

A commuter’s morning trip has mean time μX=25\mu_X=25μX​=25 minutes. The evening trip has mean time μY=32\mu_Y=32μY​=32 minutes. Calculate the mean total time and the mean of evening minus morning.
  1. 1
    Use the sum rule: μX+Y=μX+μY=25+32=57\mu_{X+Y}=\mu_X+\mu_Y=25+32=57μX+Y​=μX​+μY​=25+32=57.
  2. 2
    Use the difference rule: μY−X=μY−μX=32−25=7\mu_{Y-X}=\mu_Y-\mu_X=32-25=7μY−X​=μY​−μX​=32−25=7.

Answer: The mean total is 57 minutes. The mean difference is 7 minutes.

These rules hold even if XXX and YYY are not independent random variables. Independence means that knowing one gives no information about the other.

Common mistake

Do not add standard deviations to find the spread of a sum. Spread combines through variances, as the note below explains.

Go deeperSpread of sums and differences

When XXX and YYY are independent, their variances add: σX+Y2=σX2+σY2\sigma^2_{X+Y}=\sigma^2_X+\sigma^2_YσX+Y2​=σX2​+σY2​. The same holds for a difference: σX−Y2=σX2+σY2\sigma^2_{X-Y}=\sigma^2_X+\sigma^2_YσX−Y2​=σX2​+σY2​. Subtracting a variable never makes the result less variable.

For example, if σX=3\sigma_X=3σX​=3 and σY=4\sigma_Y=4σY​=4, the variance of the sum is 9+16=259+16=259+16=25. The standard deviation is 25=5\sqrt{25}=525​=5, not 7.

Key term

independent random variables

Independent random variables are variables for which knowing the value of one does not change the probabilities for the other.

Note read

Check your recall[12 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Calculate[2 marks]

    Calculate the mean of a random variable WWW that takes the values 0, 1, and 2 with probabilities 0.5, 0.3, and 0.2.

    Show mark schemeHide mark scheme

    Model answer

    μW=0(0.5)+1(0.3)+2(0.2)=0.7\mu_W=0(0.5)+1(0.3)+2(0.2)=0.7μW​=0(0.5)+1(0.3)+2(0.2)=0.7.

    • 1 mark for multiplying each value by its probability and adding
    • 1 mark for obtaining μW=0.7\mu_W=0.7μW​=0.7
  2. 2.Calculate[3 marks]

    Calculate the standard deviation of a random variable WWW with values 0, 1, and 2, probabilities 0.5, 0.3, and 0.2, and mean 0.7.

    Show mark schemeHide mark scheme

    Model answer

    The variance is (0−0.7)2(0.5)+(1−0.7)2(0.3)+(2−0.7)2(0.2)=0.245+0.027+0.338=0.61(0-0.7)^2(0.5)+(1-0.7)^2(0.3)+(2-0.7)^2(0.2)=0.245+0.027+0.338=0.61(0−0.7)2(0.5)+(1−0.7)2(0.3)+(2−0.7)2(0.2)=0.245+0.027+0.338=0.61. Then σW=0.61≈0.78\sigma_W=\sqrt{0.61}\approx0.78σW​=0.61​≈0.78.

    • 1 mark for squaring each distance from the mean and weighting it by its probability
    • 1 mark for adding to get 0.61
    • 1 mark for taking the square root to get σW≈0.78\sigma_W\approx0.78σW​≈0.78
  3. 3.Interpret[2 marks]

    Interpret the mean μW=0.7\mu_W=0.7μW​=0.7 when WWW is the number of broken eggs in a carton.

    Show mark schemeHide mark scheme

    Model answer

    Over many cartons, the number of broken eggs per carton averages about 0.7.

    • 1 mark for referring to many cartons or the long run
    • 1 mark for stating that the average number of broken eggs per carton is about 0.7
  4. 4.Determine[3 marks]

    Determine the mean total time and the mean difference, home minus school, when the mean walk to school is 18 minutes and the mean walk home is 22 minutes.

    Show mark schemeHide mark scheme

    Model answer

    The mean total is 18+22=4018+22=4018+22=40 minutes. The mean difference is 22−18=422-18=422−18=4 minutes.

    • 1 mark for adding the means to get 40
    • 1 mark for subtracting the means to get 4
    • 1 mark for giving the unit of minutes
  5. 5.Explain[2 marks]

    Explain why adding two standard deviations does not give the standard deviation of a sum of independent random variables.

    Show mark schemeHide mark scheme

    Model answer

    For independent variables, variances add, not standard deviations. The standard deviation of the sum is the square root of the total variance.

    • 1 mark for stating that variances add for independent random variables
    • 1 mark for stating that the standard deviation is the square root of the total variance

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Find[1 mark]

Find μX+Y\mu_{X+Y}μX+Y​ if μX=8\mu_X=8μX​=8 and μY=5\mu_Y=5μY​=5.
Show answer and explanation

Answer: D · Worked explanation

The mean of a sum is the sum of the means, so μX+Y=8+5=13\mu_{X+Y}=8+5=13μX+Y​=8+5=13. The value 3 comes from subtracting, which is the rule for a difference. The value 40 comes from multiplying, and 6.5 is the average of the two means, not their sum.
4.

Medium·Calculate[2 marks]

Calculate the mean of XXX if XXX takes the values 10, 20, and 30 with probabilities 0.2, 0.5, and 0.3.
Show answer and explanation

Answer: C · Worked explanation

Weight each value by its probability: μX=10(0.2)+20(0.5)+30(0.3)=2+10+9=21\mu_X=10(0.2)+20(0.5)+30(0.3)=2+10+9=21μX​=10(0.2)+20(0.5)+30(0.3)=2+10+9=21. The value 20 is the plain average of 10, 20, and 30, which ignores the probabilities and treats the values as equally likely. The value 60 is the sum of the values, and 1.0 is the sum of the probabilities.
5.

Medium·Interpret[2 marks]

The mean winnings of a game are μX=−0.50\mu_X=-0.50μX​=−0.50 dollars per play. Which interpretation is correct?
Show answer and explanation

Answer: C · Worked explanation

The mean is a long-run average, so over many plays the player loses about 0.50 dollars per play. Individual plays do not lose exactly that amount, because the outcomes vary. A negative mean says nothing directly about how often the player wins.
6.

Medium·Compare[2 marks]

Compare two random variables. XXX takes the values 4 and 6 with probability 0.5 each. YYY takes the values 0 and 10 with probability 0.5 each. Which statement is correct?
Show answer and explanation

Answer: A · Worked explanation

Both means equal 5, but YYY’s values lie 5 from the mean while XXX’s lie 1 from it. So σY=5\sigma_Y=5σY​=5 is larger than σX=1\sigma_X=1σX​=1. Equal means do not imply equal spread. Values closer together give a smaller standard deviation, not a larger one.
7.

Medium·Find[1 mark]

Find μX−Y\mu_{X-Y}μX−Y​ if μX=45\mu_X=45μX​=45 minutes and μY=38\mu_Y=38μY​=38 minutes.
Show answer and explanation

Answer: D · Worked explanation

The mean of a difference is the difference of the means: 45−38=745-38=745−38=7 minutes. The value 83 comes from adding, and 41.5 is the average of the two means. The value −7 would be μY−X\mu_{Y-X}μY−X​, which reverses the order of subtraction.
8.

Hard·Calculate[2 marks]

Calculate σX\sigma_XσX​ if XXX takes the values 0 and 2 with probabilities 0.25 and 0.75.
Show answer and explanation

Answer: B · Worked explanation

First μX=0(0.25)+2(0.75)=1.5\mu_X=0(0.25)+2(0.75)=1.5μX​=0(0.25)+2(0.75)=1.5. The variance is (0−1.5)2(0.25)+(2−1.5)2(0.75)=0.5625+0.1875=0.75(0-1.5)^2(0.25)+(2-1.5)^2(0.75)=0.5625+0.1875=0.75(0−1.5)2(0.25)+(2−1.5)2(0.75)=0.5625+0.1875=0.75. Then σX=0.75≈0.87\sigma_X=\sqrt{0.75}\approx0.87σX​=0.75​≈0.87. The value 0.75 is the variance, which was not square rooted. The value 1.50 is the mean, and 0.56 uses only the first term of the sum. Take the square root as the last step, after the weighted squared distances are added.
9.

Hard·Determine[2 marks]

Independent random variables XXX and YYY have standard deviations σX=6\sigma_X=6σX​=6 and σY=8\sigma_Y=8σY​=8. Determine the standard deviation of X+YX+YX+Y.
Show answer and explanation

Answer: B · Worked explanation

For independent variables, variances add: 62+82=36+64=1006^2+8^2=36+64=10062+82=36+64=100. The standard deviation is 100=10\sqrt{100}=10100​=10. The value 14 comes from adding the standard deviations, which is wrong because spread combines through variances. The value 100 is the variance of the sum, not its standard deviation.
10.

Hard·Determine[2 marks]

The first-half points XXX take the values 0, 1, and 2 with probabilities 0.2, 0.5, and 0.3. The second-half mean is μY=1.4\mu_Y=1.4μY​=1.4. Determine the mean of the total, X+YX+YX+Y.
Show answer and explanation

Answer: B · Worked explanation

First μX=0(0.2)+1(0.5)+2(0.3)=1.1\mu_X=0(0.2)+1(0.5)+2(0.3)=1.1μX​=0(0.2)+1(0.5)+2(0.3)=1.1. Then μX+Y=1.1+1.4=2.5\mu_{X+Y}=1.1+1.4=2.5μX+Y​=1.1+1.4=2.5. The value 2.4 uses the unweighted average 1 of the values 0, 1, and 2, ignoring their probabilities. The values 1.4 and 1.1 each leave out one of the two parts of the total. Find each mean separately before adding.

Keep going

Next topic2.10 Binomial distributionPrevious topic2.8 Random variables and distributions

More in Unit 2 · Probability, Random Variables and Probability Distributions

  1. 2.4Introduction to probabilityNotes · 10 questions
  2. 2.5Mutually exclusive eventsNotes · 10 questions
  3. 2.6Conditional probabilityNotes · 10 questions
  4. 2.7Independent events and unionsNotes · 10 questions
  5. 2.8Random variables and distributionsNotes · 10 questions
  6. 2.9Parameters of random variablesNotes · 10 questions
  7. 2.10Binomial distributionNotes · 10 questions
  8. 2.11The normal distributionNotes · 10 questions
  9. 2.12Sampling distributions and the central limit theoremNotes · 10 questions

All AP Statistics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/5 read

  1. 1The mean of a random variable is a weighted average
  2. 2The mean is the balance point of the distribution
  3. 3Standard deviation measures typical distance from the mean
  4. 4Good interpretations name the variable, the units, and the context
  5. 5Means add when random variables are added or subtracted
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe