Lesson 2: Probability density functions
Find for and use it
SkillsValid probability density functionsProbabilities as integrals
Worked example
A continuous random variable has probability density function
(a) Find the value of .
(b) Find .
Step 1: Set the total area equal to 1
The total probability is 1. Outside the density is 0, so only contributes.
Step 2: Expand and integrate
Step 3: Solve for k and check the sign
, so . Since on and , there, so is a valid pdf.
A pdf needs both conditions: total area 1 and never negative.
Step 4: Integrate over the interval for (b)
Answer
(a) (b)
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Write over the support.
Antidifferentiate, substitute the limits, solve for .
Check on the support.
Integrate over the required interval for each probability.
Watch out for
Integrating as if it were a variable: it is a constant factor and comes outside.
Leaving out the check that in a "show that" question.