Probability Distribution and Density Functions
Probability Distribution and Density Functions
The domain of the distribution function is −∞, ∞ and its range is [0,1]
Properties:
If 𝒙 is a real number, the set of all 𝝎 in S such that 𝐗 𝝎 = 𝒙 is,denoted by 𝑿 = 𝒙.
1. 𝑃 𝑋=𝑥 =𝑃 𝜔∶𝑋 𝜔 =𝑥
2. 𝑃 𝑋 ≤ 𝑎 = 𝑃 𝜔 ∶ 𝑋 𝜔 ∈ −∞, 𝑎
3. 𝑃 𝑎 < 𝑋 ≤ 𝑏 = 𝑃 𝜔 ∶ 𝑋 𝜔 ∈ 𝑎, 𝑏 = 𝐹 𝑏 − 𝐹(𝑎)
𝑃 𝑎 ≤ 𝑋 ≤ 𝑏 = 𝑃(𝑋 = 𝑎) + [𝐹 𝑏 − 𝐹(𝑎)]
𝑃 𝑎 < 𝑋 < 𝑏 = 𝐹 𝑏 − 𝐹(𝑎) − 𝑃(𝑋 = 𝑏)
𝑃 𝑎 ≤ 𝑋 < 𝑏 = 𝐹 𝑏 − 𝐹(𝑎) − 𝑃(𝑋 = 𝑏) + 𝑃(𝑋 = 𝑎)
4. 𝑃 𝑋 = 𝑎 𝑜𝑟 𝑋 = 𝑏 = 𝑃 𝑋 = 𝑎 ∪ 𝑋 = 𝑏
7. (i) 0 ≤ 𝐹 𝑥 ≤ 1
(ii) 𝐹 𝑥 ≤ 𝐹 𝑦 if 𝑥 < 𝑦
8. 𝐹 −∞ = lim 𝐹 𝑥 = 0 and
𝑥→−∞
𝐹 ∞ = lim 𝐹 𝑥 = 1
𝑥→∞
Discrete Distribution Function:
A countable number of points 𝑥1 , 𝑥2 , 𝑥3 , … . . 𝑥𝑛
𝑝 𝑥𝑖 ≥ 0 ∀ 𝑖,
𝐹 𝑥 = 𝑝𝑖 = 𝑃(𝑋 = 𝑥𝑖 )
𝑖: 𝑥𝑖 ≤𝑥 𝑥𝑖
Properties:
1. 𝑝 𝑥𝑗 = 𝑃 𝑋 = 𝑥𝑗 = 𝐹 𝑥𝑗 − 𝐹 𝑥𝑗−1 , where F is the d.f. of 𝑋.
From a lot of 10 items containing 3 defectives, a sample of 4 items is drawn at
random. Let the random variable 𝑋 denote the number of defective items in the
sample. Answer the following when the sample is drawn without replacement.
(i) Find the probability distribution of X.
(ii) Find P (X ≤ 1), P (X < 1) and P (0 < i < 2)
D N − D
k n − k
Solution: P ( X = k ) =
N
n
where D = number of defective item
N = total number of items
n= number of items drawn in the sample
k = the number of defective items in the sample
i) 3 7 7 ii)
0 4 1 4
P( X = 0 ) = = = 1 35 = 35 = 1
1 1 2
10 10 210 210 6 P ( X 1) = P ( X = 0 ) + P ( X = 1) = + =
4 4 6 2 3
1
3 7 7 P ( X 1) = P ( X = 0 ) =
1 3 3 3
6
P ( X = 1) = = = 3 35 = 105 = 1 1
P ( 0 X 2 ) = P( X = 1) =
10 10 210 210 2 2
4 4
3 7 7
2 2 3 2
P ( X = 2 ) = = = 3 21 = 63 = 3
10 10 210 210 10
4 4
3 7 7
3 1 1 1
1 7 7 1
P ( X = 3) = = = = =
10
10 210 210 30
4 4
A random variable 𝑋 has the following probability function:
Values of
0 1 2 3 4 5 6 7
𝑿=𝒙
𝒑(𝑿 = 𝒙) 0 𝑘 2𝑘 2𝑘 3𝑘 𝑘2 2𝑘 2 7𝑘 2 +k
k + 2k + 2k + 3k + k 2 + 2k 2 + 7k 2 + k = 1
10k 2 + 9k − 1 = 0
1
k = −1,
10
ii ) P(X 6) = P ( X = 0 ) + P ( X = 1) + ... + P ( X = 5 )
1 2 2 3 1 81
= + + + + =
10 10 10 10 100 100
19
P ( X 6) = 1 − P ( X 6) =
100
4
P ( 0 X 5 ) = P( X = 1) + P( X = 2) + P( X = 3) + P( X = 4) = 8k =
5
1
iii) P( X c) c = 4
2
𝑋 𝑭𝑿 𝒙 = 𝑷(𝑿 ≤ 𝒙)
0 0
iv) 1 1/10
2 3/10
3 5/10
4 4/5
5 81/100
6 83/100
7 1
Continuous Random Variable
Definition: A random variable 𝑋 is said to be continuous if it can take
all possible values between certain limits.
𝑃 𝑥 ≤ 𝑋 ≤ 𝑥 + 𝛿𝑥
𝑓𝑋 𝑥 = lim
𝛿𝑥→0 𝛿𝑥
The probability for a variate value to line in the interval 𝑑𝑥 is 𝑓(𝑥)𝑑𝑥 and
hence the probability for a variate value to fall in the interval [𝛼, 𝛽] is:
𝛽
𝑃 𝛼 ≤ 𝑋 ≤ 𝛽 = න 𝑓 𝑥 𝑑𝑥
𝛼
Continuous Distribution Function
(iii) The probability 𝑃(𝐸)given by: 𝑥𝑑 𝑥 𝑓 𝐸is well defined for any event 𝐸.
(iv) 𝑃 𝑋 = 𝑐 = 0, ∀ 𝑐
𝑃(𝛼 ≤ 𝑋 ≤ 𝛽) = 𝑃(𝛼 ≤ 𝑋 < 𝛽) = 𝑃(𝛼 < 𝑋 ≤ 𝛽) = 𝑃(𝛼 < 𝑋 < 𝛽)
Properties: 1. 0 ≤ 𝐹(𝑥) ≤ 1 ; −∞ < 𝑥 < ∞
𝑑
2. 𝐹′ 𝑥 = 𝐹 𝑥 =𝑓 𝑥 ≥0
𝑑𝑥
𝑥 ∞
𝐹 +∞ = lim 𝐹 𝑥 = lim −∞ 𝑓 𝑥 𝑑𝑥 = −∞ 𝑓 𝑥 𝑑𝑥 = 1
𝑥→∞ 𝑥→∞
1 2 3 1
= 6 ( x − x ) dx = 6
x x
2
− =1
0
2 3 0
f ( x ) dx = f ( x ) dx
0 b
b 1
6 x (1 − x ) dx = 6 x (1 − x ) dx
0 b
b 1
x x
2
x
3
x 2 3
2 − 3 = 2 − 3
0 b
4b3 − 6b 2 + 1 = 0
1
− ( − 4b − 2 ) = 0
2
b 4b
2
1
b= , b 1.366, -0.3660
2
A continuous random variable X has a p.d.f. 𝑓 𝑥 =
2
3𝑥 , 0 ≤ 𝑥 ≤ 1. Find a and b such that
i. 𝑃 𝑋 ≤ 𝑎 = 𝑃 𝑋 > 𝑎
ii. 𝑃 𝑋 > 𝑏 = 0.05 1
1
i)Since P ( X a ) = P ( X a ) ii) P ( X b ) = 0.05 f ( x ) dx =
b
20
1
P( X a) = P( X a) = 1
2 1 19 3
a
1 1− b =
3
b=
P ( X a ) = f ( x ) dx = 20 20
0
2
1
1 1 3
a = a=
3
2 2
Let 𝑋 be a continuous random variable with p.d.f. :
𝑎𝑥 ; 0≤𝑥≤1
𝑎 ; 1≤𝑥≤2
𝑓 𝑥 = ൞
−𝑎𝑥 + 3𝑎 ; 2 ≤ 𝑥 ≤ 3
0 ; 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
(i) Determine the constant 𝒂.
(ii) Compute 𝑃(𝑋 ≤ 1.5).
i) f ( x ) dx = 1
−
0 1 2 3
f ( x ) dx + f ( x ) dx + f ( x ) dx + f ( x ) dx + f ( x ) dx = 1
− 0 1 2 3
1
a=
2
1.5 0 1 1.5
ii) P ( X 1.5 ) = f ( x ) dx = f ( x ) dx + f ( x ) dx + f ( x ) dx
− − 0 1
1 1.5
= ax dx + a dx
0 1
3
a=
4