Mathematics · lesson 2 of 2
Continuous distributions and densities
A density is integrated over a set; its value at a point is not the point probability.
Learn the ideas
Prerequisites: Integration and probability.
Density versus probability
A density is integrated over a set; its value at a point is not the point probability.
Normalization
A density must be nonnegative and integrate to one.
Expected value
E[g(X)]=∫g(x)f(x)dx when the integral exists.
Cumulative distribution
F(x)=P(X≤x); differentiating an absolutely continuous CDF recovers a density almost everywhere.
Worked examples
Let f(x)=2x for 0≤x≤1 and zero otherwise. Find P(X≤1/2).
Integrate 2x from 0 to 1/2 to obtain 1/4.
0.25
For a continuous random variable with density f(x)=2x on [0,1] and zero elsewhere, find E[X].
Integrate 2x² from 0 to 1.
2/3
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.