Four quick ones from earlier work. Try each on paper before you open the answer.
Evaluate the integral of 2x dx from x = 1 to x = 3.
Answer
[x²] from 1 to 3 = 9 − 1 = 8. Antiderivative first, then top limit minus bottom limit.
A discrete variable takes the values 1, 2 and 3 with probabilities 0.5, 0.3 and 0.2. Find E(X).
Answer
1(0.5) + 2(0.3) + 3(0.2) = 0.5 + 0.6 + 0.6 = 1.7. Each value times its probability, then add.
Work out 4.5 − 1.5².
Answer
4.5 − 2.25 = 2.25. Square first: 1.5² is 2.25, not 3. This is the order the variance formula needs.
The probabilities k, 2k and 3k cover every case. Find k.
Answer
k + 2k + 3k = 6k = 1, so k = 1/6. Everything must add to 1; for a density the “adding” is an integral.
Words used in this lesson
continuous
can take any value in a range, not just separate values. For example: the time you wait for a bus is continuous.
probability density function (pdf)
the curve f(x): the area under it between two values is a probability. For example: f(x) = x/2 on 0 ≤ x ≤ 2 is a density.
interval
all the values between two end points. For example: the interval from 1 to 2 includes 1.5.
integrate
find the area under a curve using the antiderivative. For example: integrating 2x gives x².
definite integral
an integral with limits, giving a number. For example: ∫01 2x dx = 1.
expected value (mean)
the long-run average of the variable. For example: the mean of a fair die is 3.5.
variance
how spread out the values are: E(X²) − [E(X)]². For example: a variance of 0 means every value is the same.
median
the value with half of the area on each side. For example: if half of the area is to the left of 3, the median is 3.
state
write the answer, with no working needed. For example: “state P(X = 3)” for a continuous X.
show that
work towards a given result, step by step, so the reader can follow. For example: “show that k = 1/8” wants every step.
Higher Level
The curve is f(x) = 3x²8
on [0, 2]. Shrink the interval around x = 1 and watch the shaded
probability against the height of the curve.
0.0753P(in the strip)
0.375f(1), the density
0.376probability ÷ width
The strip narrows. The curve does not move.
What the figure shows
Probability is area, and a point has no width. So for any
continuous X, P(X = a) = 0 for every single a, even though X
certainly takes some value.
A consequence worth having: P(X < a) and
P(X ≤ a) are the same number for a continuous variable. For a discrete
one they are not, and that difference is examined.
A density is not a probability.
f(1) = 0.375 here, but f can be bigger than 1: the function f(x) = 2 on [0, 0.5]
is a perfectly good density, because 2 × 0.5 = 1. No probability is ever
greater than 1. The third readout above is the clue, probability divided by
width approaches the density, which is what "density" means.
The rest of this lesson is in the full course
Still to come in this lesson:
The conditions and the formulae
Variance of a discrete variable
Median, mode, and changing the scale
A second example, finished by you
and 6 more
In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.
IB Diploma plan: AA HL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.
One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.