IB Mathematics AA · Topic 4

Probability Distributions for IB Math AA

Work out the long-run result of a dice game, count successes with a binomial model, or find the cutoff for the fastest group. Start with shared SL and HL skills, then use integration to solve HL density problems.

Open squared-paper maths notebook beside a scientific calculator

Choose a distribution from what you record

A random variable assigns a numerical value to each outcome of a chance process. For two coin flips, the outcomes are sequences of heads and tails. If X is the number of heads, both HT and TH give X=1. A distribution tells you the possible values of X and how likely they are.

What you recordWhich model to use
A count or other separate numerical valuesUse a discrete distribution. A table, formula, or probability bar chart can show the mass at each value.
Successes in a fixed number of independent trialsUse a binomial distribution if the success probability is the same on every trial.
A measurement on a continuous scaleUse areas for probabilities. A normal model is suitable when the question gives one or the distribution of the measurement is reasonably bell-shaped and symmetric.
A continuous density given as a formulaAt HL, use definite integrals over the appropriate parts of the density.

A die face, the number of students, and the number of heads are discrete. Height, time, temperature, and distance are commonly modeled as continuous, even when measurements are reported to a fixed number of decimal places. A countable set of values can be finite or infinite.

Build a discrete probability distribution

Write px=P(X=x) for the probability that the random variable equals exactly x. This assignment of probability to individual values is the probability mass function. A valid distribution assigns a probability between 0 and 1 to each value, and the probabilities across all possible values sum to 1.

0≤px≤1,∑xpx=1

Worked example · Read the probability table

Value x0123
P(X=x)0.10.30.40.2

The four probabilities add to 0.1+0.3+0.4+0.2=1. To find the probability of at least two, add the masses at 2 and 3.

P(X≥2)=0.4+0.2=0.6
Four separate bars centred at 0, 1, 2, and 3, with heights 0.1, 0.3, 0.4, and 0.2.
A probability bar chart shows the probability at each count. The highest bar is at x=2.

Worked example · Count the heads in two coin flips

For two independent flips of a fair coin, the four sequences HH, HT, TH, and TT are equally likely. Group them by the number of heads. TT gives zero, HT and TH give one, and HH gives two.

Heads x012
P(X=x)1424=1214

The probabilities sum to 1. For a distribution given by a formula, use the same check. If P(X=x)=k(x+1) for x∈{0,1,2}, then k+2k+3k=1 and k=16.

Use expected value as a long-run average

Multiply each value by its probability and add the products. This weighted mean, written E(X) or μ, keeps the units of X. It can fall between possible outcomes.

μ=E(X)=∑xxP(X=x)

Worked example · Find the mean of the four-value distribution

The four weighted terms are 0(0.1), 1(0.3), 2(0.4), and 3(0.2).

E(X)=0+0.3+0.8+0.6=1.7

Over many independent repeats, the average is expected to approach 1.7, although every single result is a whole number.

Worked example · Calculate the net gain in a die game

You pay $5 to play. A six earns a $10 prize and any other face earns $0. So your net gain G is $5 with probability 16 and your net loss is $5 with probability 56.

E(G)=5(16)−5(56)
E(G)=−206=−103

The expected loss is about $3.33 per game. The fair price would equal the expected prize, 106=53 dollars. A game is fair to the player when expected net gain is zero. A positive mean favors the player over many plays. A negative mean is an expected loss, the idea behind a house edge.

To compare two games, first compute each expected net gain on the same per-play basis. A higher expected gain gives a better long-run average. Single outcomes can vary, so two games with the same mean can still have very different spreads.

Recognize and calculate binomial probabilities

Use X~B(n,p) when X counts successes in a fixed number n of independent trials. Each trial has two categories, success and failure, and the success probability p is constant. A sample drawn without replacement from a small group usually changes the success probability from one draw to the next.

Probability of one count

P(X=x)=(nx)px(1−p)n−x

The coefficient counts arrangements of the successes. The possible values are 0,1,…,n.

Mean and spread

E(X)=np

Var(X)=np(1−p)

σ=np(1−p)

Use your graphing calculator for binomial probabilities in IB questions. Its binomial probability command, often called binompdf, gives the probability of one specified count. The cumulative command, often called binomcdf, can give the probability through an upper count. Write the event with an inequality before entering the calculator bounds.

Question wordingEvent for an integer countCalculation with F(k)=P(X≤k)
Exactly kX=kSingle-count probability
At most kX≤kF(k)
Fewer than kX≤k−1F(k−1)
At least kX≥k1−F(k−1)
More than kX≥k+11−F(k)
From a through ba≤X≤bF(b)−F(a−1)

Worked example · Exactly two versus at least two

A player takes five independent practice shots, each with a 0.30 chance of hitting the target. Let X be the number of hits, so X~B(5,0.30).

P(X=2)=(52)(0.30)2(0.70)3

The probability of exactly two is 0.3087. For at least two, take the complement of zero or one hit. The calculator gives P(X≤1)=0.52822, so P(X≥2)=0.47178. The mean is 1.5 hits and the variance is 1.05 hits squared.

Six probability bars for zero through five hits. The bars from two through five are shaded darker.
The darker bars at 2,3,4,5 add to P(X≥2). The bar at 2 alone represents P(X=2).

Read normal probabilities as areas

For T~N(μ,σ2), the two parameters are the mean and the variance. The bell curve is symmetric about μ, and its entire area is 1. About 68%, 95%, and 99.7% of the model lies within one, two, and three standard deviations of the mean, respectively.

For a continuous variable, an individual value has probability zero, so using a strict or inclusive endpoint gives the same area. Use the normal cumulative probability command, often called normalcdf, with the lower and upper bounds, the mean, and the standard deviation.

Worked example · Shade the event before calculating

Let T~N(50,82) model a quiz completion time in minutes. The lower and upper one-standard-deviation boundaries are 42 and 58. For the probability of finishing between those times, enter the bounds 42 and 58, mean 50, and standard deviation 8. This gives P(42<T<58)≈0.683.

For a right tail above 58, use 58 as the lower bound and a positive infinite upper bound. If your calculator asks for a finite bound, use a large positive number many standard deviations away. Use a large negative bound for a left tail where needed.

Compare areas under the same curve

The shaded middle region lies between the two vertical cutoffs.

Change the region and compare the direction of the shaded area with the event.

Bell curve centred at 50 minutes. The region between 42 and 58 minutes is shaded.
P(42<T<58)≈0.683. The shaded area is between the two purple cutoffs.

The shaded shapes make the complements visible. The probabilities for T<58 and T>58 add to 1 before rounding. Check the side of the mean as a quick way to catch a reversed tail.

One normal probability can become the success probability in a binomial question. In the quiz model, finishing before 42 minutes gives p≈0.158655. For five independent students, the number of early finishers has mean 5p≈0.793. Keep the unrounded p for any later binomial calculation.

Find a normal cutoff, mean, or standard deviation

Inverse normal goes from an area to a value. First convert the probability to the area to the left of the cutoff, then enter that area, the mean, and the standard deviation in the inverse normal command. Some models offer a tail choice. The left-tail formulation works consistently.

Worked example · Find the fastest tenth

For the quiz model, the fastest tenth finishes below a time c with P(T≤c)=0.10. The inverse normal result with mean 50 and standard deviation 8 is approximately 39.7 minutes to three significant figures. For the slowest tenth, use left area 0.90 and get about 60.3 minutes.

For an unknown parameter, standardize using Z~N(0,1). A value z measures how many standard deviations the original value x is above or below the mean.

z=x−μσ,x=μ+σz

Worked example · Use two percentiles to find both parameters

Suppose W is normal with P(W<34)=0.10 and P(W<46)=0.90. Inverse normal on the standard distribution gives z0.10≈−1.28155 and z0.90≈1.28155.

34=μ+σz0.10
46=μ+σz0.90

By symmetry the mean is 40. Subtract the first equation from the second and use the unrounded calculator values for the two z-scores.

σ=46−34z0.90−z0.10≈4.68

If one parameter is supplied, a single usable percentile equation can be enough. The median gives the mean directly, but by itself gives no information about the standard deviation.

HL · Compare spread and transform random variables

For a general discrete distribution, the variance is the probability-weighted mean of the squared distances from μ. Standard deviation is the square root of variance and uses the same units as X. Use the probabilities of the model directly as weights.

Var(X)=∑x(x−μ)2P(X=x)
Var(X)=E(X2)−[E(X)]2

Worked example · Recover the spread of the original table

Square each outcome before weighting it. The products for the original distribution are 0, 0.3, 1.6, 1.8, so E(X2)=3.7. Use the mean 1.7 from the earlier calculation.

Var(X)=3.7−1.72=0.81
σ=0.81=0.9

Constant c

E(c)=c
Var(c)=0

Multiply by c

E(cX)=cE(X)
Var(cX)=c2Var(X)

Transform to aX+b

E(aX+b)=aE(X)+b
Var(aX+b)=a2Var(X)

The constant shift moves the mean and leaves the spread unchanged. Multiplying by a scales the standard deviation by |a|. For Y=2X+3 with the original table, E(Y)=6.4, Var(Y)=3.24, and the standard deviation is 1.8.

When the means exist, E(X+Y)=E(X)+E(Y), even for dependent variables. For independent variables with finite variances, their variances also add. Treat independence as a condition to check before adding variances.

HL · Integrate a probability density

A probability density f(x) is nonnegative and integrates to 1 over its full support. Probabilities are areas, so a density height can be greater than 1. If the formula changes within the interval you need, split the integral where the formula changes.

QuantityHow to calculate it
Normalizing condition∫−∞∞f(x)dx=1
Interval probabilityP(a≤X≤b)=∫abf(x)dx
Median m∫−∞mf(x)dx=12
ModeFind where the given density reaches its maximum, considering endpoints if included.
Mean and second momentE(X)=∫−∞∞xf(x)dx
E(X2)=∫−∞∞x2f(x)dx
Variance and standard deviationVar(X)=E(X2)−[E(X)]2
σ=Var(X)

Worked example · Normalize a rising density

Suppose f(x)=kx for 0≤x≤2, and f(x)=0 elsewhere. Since ∫02kxdx=2k=1, the constant is k=12.

The cumulative probability through t, for 0≤t≤2, is ∫0tx2dx=t24. At t=1 this gives 14, so P(1≤X≤2)=34.

The median solves m24=12. The solution in the support is m=2. The density increases over the support and reaches its greatest height at x=2, the mode of the given density.

E(X)=∫02x22dx=43
E(X2)=∫02x32dx=2

Therefore Var(X)=2−(43)2=29 and σ=23≈0.471.

Density rises from (0, 0) to a filled point at (2, 1). Beyond 2 it is zero and starts from an open point at (2, 0). The region under the density from 1 to 2 is shaded.
For the piecewise density, the area from x=1 through x=2 is 34. The height at a point and the area across an interval have different meanings.

Check points outside the support and report a median in the support. For a density with several formulas, perform the same area check on each branch. Use the IB Math AA integration notes to revise setting up definite integrals.

What to show for each exam question

If you are asked to find…Show this in your working
Expected gainWrite the net payoffs, their probabilities, and the weighted sum. Explain whether the mean is a gain or loss.
A binomial probabilityState the trial count, success probability, and event. Check whether the endpoint count is included.
A normal probabilityWrite the event and mark the area. Use the mean and standard deviation with the bounds.
An inverse normal cutoffConvert to cumulative area on the left. Report the cutoff in the units of X.
An unknown normal parameterWrite the z-score equation for each usable percentile and keep extra precision until the end.
An HL density probability or medianSet up the definite integral. Split at any change of formula, and show how you solve for a bound if needed.

On Paper 1, practise exact probability and density calculations without a calculator. On calculator papers, show the model and inputs behind your result. Unless the question specifies a different precision, follow the paper’s instructions for exact answers or three significant figures.

Practice with worked answers

Write your setup before you open an answer. Questions 1–9 cover shared SL and HL skills. Questions 10–13 focus on HL methods.

1. A distribution on 0,1,2 has probabilities 0.2,k,0.5. Find k and P(X≥1).

Set 0.2+k+0.5=1 to get k=0.3. The event X≥1 has probability 0.3+0.5=0.8.

2. The values 1,2,5 have probabilities 0.2,0.5,0.3. Find the expected value.

Calculate 1(0.2)+2(0.5)+5(0.3)=2.7. The mean can be a value the variable never takes.

3. A fair die pays $10 only on a six. Find the fair price of one play.

Fair price equals expected prize. The price is 10(16)=53 dollars before rounding.

4. Is the number of red counters in three draws without replacement from a bag of five red and five blue counters binomial?

After drawing a red counter, the next red probability is 49. After drawing a blue counter, it is 59. The draws are dependent, so the binomial model does not apply.

5. For X~B(4,0.25), find P(X≤1).

Add P(X=0) and P(X=1), or use the lower cumulative probability through 1. The result is 81+108256=189256≈0.738.

6. Find the mean and variance of X~B(8,0.25).

The mean is 8(0.25)=2, and the variance is 8(0.25)(0.75)=1.5. The standard deviation is 1.5.

7. For R~N(70,52), find P(R>75).

The cutoff is one standard deviation above the mean. Use the normal right tail beyond 75 with standard deviation 5. This gives P(R>75)≈0.159.

8. For T~N(50,82), what time marks the slowest 10%?

The cutoff has 0.90 of the area on its left. Inverse normal with mean 50 and standard deviation 8 gives about 60.3 minutes.

9. A normal distribution has mean 80 and P(X≤86)=0.9332. Estimate its standard deviation.

On the standard normal distribution, left area 0.9332 gives z≈1.50. Solve 86−80σ≈1.50 to get σ≈4.00.

10. HL · For the original table, find the mean and standard deviation of Y=10−2X.

The mean is 10−2(1.7)=6.6. The standard deviation is |−2|(0.9)=1.8.

11. HL · A constant density k is supported on [3,7]. Find k and the median.

The area is 4k=1, so k=14. Half the area is reached two units from 3, at m=5.

12. HL · A density equals x on [0,1] and 2−x on (1,2], and is zero elsewhere. Find P(0.5<X<1.5).

Integrate x from 0.5 to 1 and 2−x from 1 to 1.5. Each area is 38, giving a total of 34.

13. HL · For f(x)=3x2 on [0,1] and zero elsewhere, find the variance.

Integrating 3x3 and 3x4 over the support gives E(X)=34 and E(X2)=35. The variance is 35−916=380.

Official IB paper questions and further study

Start with the SL binomial question, then try the SL question that uses a normal probability in a binomial model. For HL, practise setting up the density integral without a calculator. Compare your work with the markschemes in the full booklet.

Need help with probability distributions?

Work through distribution questions, calculator inputs, and exam reasoning with a NUM8ERS tutor.

Book a free consultation

Prepared by NUM8ERS. The syllabus references and specimen questions follow the IB Math AA course first assessed in 2021.