Professional Documents
Culture Documents
S5 Math 2 (Continuous Random Variables)
S5 Math 2 (Continuous Random Variables)
𝑓(𝑥)
𝑎 𝑏 𝑥
Example1
A continuous random variable X is given by
𝑓(𝑥) = 𝑘𝑥 ; 𝑥=0<𝑥<4
0 ; otherwise
Determine (a) the value of the constant 𝑘.
(b)P(1 ≤ X ≤ 2)
(c) P(X < 2.5)
(d) P(X ≥ 1.4)
1
Example2
A random X has p.d.f given by;
𝜆 2
𝑓(𝑥) = { 𝑥 ; −1 < 𝑥 < 4
2
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Where 𝜆 is a constant.
Find;
(i) The value of 𝜆
(ii) P(0 < X < 2)
(iii) P(X < 1.2)
(iv) P(X > 0)
Example3
The p.d.f of a random variable Y is given by
𝑦+1
𝑓(𝑥) = { ; 0≤𝑦≤𝑘
4
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Find;
(a) The value of 𝑘
(b) P(1 ≤ Y ≤ 1.5)
Example4
A random variable X has a p.d.f given by
𝑐𝑥; 0<𝑥≤1
𝑐
(3 − 𝑥); 1 ≤ 𝑥 ≤ 3
𝑓(𝑥) = 2
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
{
Find;
(i) the value of the constant c
(ii) P(X < 0.5)
(iii) P(0.5 ≤ X ≤ 1.5)
(iv) P(1.5 ≤ X ≤ 2.5)
(v) P(X > 2)
(vi) P(X ≥ 0.5)
(vii) P(X < 2/X > 0.6)
2
1
(viii) P( |𝑋 − 1| < 2 )
1
(ix) P( |𝑋 − 1| ≥ 2 )
Note;
since the area under the p.d.f graph always adds to 1. We can use the graph
where possible to find the required constant in the p.d.f function.
3
Example
A continuous random variable X has a.p.d.f given by
𝑘𝑥; 0<𝑥<2
𝑥
4𝑘 (1 − ) ; 2 < 𝑥 < 4
𝑓(𝑥) = 4
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
{
Sketch the graph of f(x) hence determine the value of the constant 𝑘.
Expectation and variance for a continuous random variable
for a continuous random variable X ,
(i) the expectation,E(X) is given by;
𝐸(𝑋) = 𝜇 = ∫ 𝑥𝑓(𝑥)𝑑𝑥
𝑎𝑙𝑙 𝑥
4
Note;
Where the graph of f(x) has a line of symmetry through the x – axis, the
mean,E(X) is always the value of x at the line of symmetry.
Example3
A random variable X has p.d.f ,f(x) given by
𝛽𝑥; 0≤𝑥≤1
𝛽; 1≤𝑥≤3
𝑓(𝑥) = 𝛽(4 − 𝑥); 3 ≤ 𝑥 ≤ 4
0 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
{
Find ;
(i) The value of 𝛽
(ii) The mean of X
(iii) The standard deviation of X
(iv) 𝑃(2.5 < 𝑋 < 3.5)