RVSP Unit-I
RVSP Unit-I
4. Rayleigh:
Rayleigh Density Function:
𝟐 𝟐
(𝒙 − 𝒂)𝒆−(𝒙−𝒂) /𝒃 ; 𝒙 ≥ 𝒂
𝒙−a𝒙 𝒅𝒙 𝒇𝑿 (𝒙) = {𝒃
𝑳𝒆𝒕 𝒖 = ; 𝒅𝒖 = 𝟎; 𝒙<𝒂
σ𝒙 σ𝒙
𝒙−a𝒙 𝟏 𝟐
𝟏
𝑭𝑿 (𝒙) = ∫ 𝒆−𝟐𝒖 𝒅𝒖
σ𝒙
√𝟐𝝅 −∞
3. Exponential:
Exponential Density Function:
𝟏
𝒆−(𝒙−𝒂)/𝒃 ; 𝒙 > 𝒂
𝒇𝑿 (𝒙) = {𝒃 5. Binomial:
𝟎; 𝒙<𝒂
Binomial Density Function:
𝑵
𝒇𝑿 (𝒙) = ∑∞ 𝒌
𝒌=𝟎( 𝒌 )𝒑 (𝟏 − 𝒑)
𝑵−𝒌
𝜹(𝒙 − 𝒌)
𝑏−𝑎 (𝑏 − 𝑎)
𝑎+ = −4; 𝑏 − = 6;
12 12
𝑎 = −5 𝑎𝑛𝑑 𝑏 = 7;
6. Poisson:
2. A random variable X is defined by X(i)=
Poisson Density Function:
−2; 𝑖 ≤ −2
𝒃𝒌 𝑖; −2 < 𝑖 ≤ 1
𝒇𝑿 (𝒙) = 𝒆−𝒃 ∑∞
𝒌=𝟎 𝒌! 𝜹(𝒙 − 𝒌) { Show, by a sketch, the value
1; 1 < 𝑖 ≤ 4
6; 4<𝑖
x into which the values of i are mapped by x.
What type of random variable is X?
Solution:
Problems
1. A random voltage can have any value defined
by the set ‘S’ = {a ≤ s ≤ b}. A quantizer, X is mixed Random Variable.
divides S into 6 equal-sized contiguous subsets 3. Given that a random variable X has the
and generates random variable X having values following possible values, state if X is discrete,
{-4, -2, 0, 2, 4, 6}. Each value of X is earned to continuous or mixed i. {-20<x<-5} ii.
the midpoint of the subset of ‘S’ from which it {10,12<x≤14,15,17) iii. {-10 for s>2 and 5 for
is mapped i) Sketch the sample space and the s≤2, where 1<s≤6} iv. {4,3.1,1, -2}
mapping to the line that defines the values of X;
Solution:
ii) Find a and b?
(i) {-20<x<-5} continuous Random Variable
(ii) {10,12<x≤14,15,17) Mixed Random
Variable
(iii) {-10 for s>2 and 5 for s≤2, where 1<s≤6}
Discrete Random Variable
(iv) {4,3.1,1, -2} Discrete Random Variable
4. Two boxes are selected randomly. The first box
contains 2 white balls and 3 black balls. The
second box contains 3 white and 4 black balls.
What is the probability of drawing a white ball?
1 1 1 1 1
2 1 3 1 29 𝑃(𝑋 = 0) = 4; 𝑃(𝑋 = 1) = 4 + 4 = 2; 𝑃(𝑋 = 2) = 4 .
𝑃(𝑋 = 0) = . + . =
5 2 7 2 70
Solution:
𝑓𝑋 (𝑥) = ∑∞
𝑖=1 P{𝑋 ≤ 𝑥𝑖 } 𝛿(𝑥 − 𝑥𝑖 )
1 1 1
𝑓𝑋 (𝑥) = 4 𝛿(𝑥) + 2 𝛿(𝑥 − 1) + 4 𝛿(𝑥 − 2)
𝐹𝑋 (𝑥) = P(X=0) 𝑢(𝑥) + P(X=1) 𝑢(𝑥 − 1) + P(X=2) 𝑢(𝑥 − 2)
1 1 1
𝐹𝑋 (𝑥) = 4 𝑢(𝑥) + 2 𝑢(𝑥 − 1) + 4 𝑢(𝑥 − 2)
1 1 1
𝐹𝑋 (𝑥) = 𝑢(𝑥) + 𝑢(𝑥 − 1) + 𝑢(𝑥 − 2)
4 2 4
Solution:
+ P(X=3) 𝛿(𝑥 − 3)
1 1 1
𝑓𝑋 (𝑥) = 4 𝛿(𝑥) + 2 𝛿(𝑥 − 1) + 4 𝛿(𝑥 − 2) 𝐹𝑋 (𝑥) = 0.1) 𝑢(𝑥 + 1) + 0.2 𝑢(𝑥 − 0.5) + 0.1 𝑢(𝑥 − 0.7)
+ 0.4 𝑢(𝑥 − 1.5) + 0.2 𝑢(𝑥 − 3)
+∞
∴ 𝑓𝑋 (𝑥) is a valid PDF (𝒊)Total probability: ∫−∞ 𝒇𝑿 (𝒙) 𝐝𝐱 = 𝟏
𝟏 𝑘𝑥 2 𝟏
(ii) 𝐹𝑋 (𝑥) = ∑2𝑖=1 P{𝑋 ≤ 𝑥𝑖 } 𝑢(𝑥 − 𝑥𝑖 ) ∫𝟎 𝑘𝑥 𝐝𝐱 = 𝟏 |𝟎 =𝟏
𝟐
1 1
𝐹𝑋 (𝑥) = 2 𝑢(𝑥 + 1) + 2 𝑢(𝑥 − 1) 12 −𝑂2
𝒌 = 𝟏 => 𝐤 = 𝟐
𝟐
(iii) 𝟏
𝟏 𝟏
(𝒊𝒊) 𝑷 (𝟒 < 𝑿 < 𝟐) = ∫𝟏𝟐 𝒇𝑿 (𝒙) 𝐝𝐱
𝟒
𝟏 𝟏
2𝑥 2 𝟐 𝟑
= ∫𝟏𝟐 2𝑥 𝐝𝐱 = | = 𝟏𝟔
𝟐 𝟏
𝟒 𝟒
Solution:
+∞
Total probability: ∫−∞ 𝑓𝑋 (𝑥) dx = 1
𝑐 𝑥
∫0 𝑎(1 − 𝑏) dx = 1
10. A random variable X has the distribution
ax 2 𝑐
𝑛2 ax − | =1
function 𝐹𝑋 (𝑥) = ∑12
𝑛=1 650 𝑢(𝑥 − 𝑛); Find the 2𝑏 0
a(c − 0)2
probability of i. P{X > 4.0}; ii. Find P{−∞ a(c − 0) − =1
2𝑏
< X ≤ 6.5} iii. P{6 < X ≤ 9} 𝑎𝑐 2 − 2𝑎𝑏𝑐 + 2𝑏 = 0
2
i. 𝑃(𝑋 > 4) = 1 − 𝑃(𝑥 ≤ 4) ∴ 𝑐 = 𝑏 ± √𝑏 (𝑏 − 𝑎)
𝑛2 13. A random variable X has the following density
=1 − ∑4𝑛=1 𝑢(𝑥 − 𝑛)
650
function.
12 +22 +32 +42 62
=1 − ( ) = 65 𝑘
650
;0 < 𝑥 ≤ 2
∑6𝑛=1
𝑛2 𝑓𝑋 (𝑥) = {41
ii. 𝑃(−∞ < 𝑋 ≤ 6.5) = 650
𝑢(𝑥 − 𝑛) ;2 < 𝑥 ≤ 3
2
Find ‘k’ and CDF of X. Also find P[1 < 𝑥 ≤ 3]. A(
2x2 x3
− 3 ) | 20 = 1
2
Solution: 8 3
𝐴 (4 − 3) = 1 => 𝐴 = 4
+∞ ∞
Total probability: ∫−∞ 𝑓𝑋 (𝑥) dx = 1 𝑃(𝑋 > 1) = ∫1 𝑓𝑋 (𝑥) 𝑑𝑥
2𝑘 31
∫0 dx + ∫2 dx = 1 23 3 2x2 x3
4 2 = ∫1 4 (2𝑥 − 𝑥 2 ) 𝑑𝑥 = 4 ( − 3 ) | 21
2
𝑘 𝑥
𝑥 |20 + 2| 32 = 1 31 1
4 = 43 = 4
𝑘 1
+ 2 = 1 => 𝑘 = 1; 𝑥 𝑥3
2 𝐹𝑋 (𝑥) = ∫−∞ 𝑓𝑋 (𝑥) dx = ∫0 4 (2𝑥 − 𝑥 2 ) dx
21 31 3
𝑃(1 < 𝑋 ≤ 3) = ∫1
4
dx + ∫2 2
dx = 4 3 2x2 x3
= 4( − 3)
2
14. If the probability density of a random variable
16. A random variable is uniformly distributed in
𝑥 ;0 < 𝑥 < 1
is given by 𝑓𝑋 (𝑥) = { Find the interval [-1,2]. Find the probabilities of the
(2 − 𝑥); 1 < 𝑥 < 2
(i) P{0.2< x <0.8} (ii) P{0.6< x <1.2} events A = {|𝑋 − 0.5| < 1}and B = {𝑋 >
−0.5}?
Solution:
1
; −1 < 𝑥 < 2
𝑥 ;0 < 𝑥 < 1 𝑓𝑋 (𝑥) = {3
𝑓𝑋 (𝑥) = { 0; elsewhere
(2 − 𝑥); 1 < 𝑥 < 2
𝟎.𝟖
(i) P{0.2 < x < 0.8} = ∫𝟎.𝟐 𝒇𝑿 (𝒙) 𝐝𝐱
−
𝑥 a𝑥 =2 and σ𝑥 =2
𝑒 4
𝐶 −1/4 | 𝟏𝟎 = 1
(i) 𝑃(𝑋 > 1) = 1 − 𝑃(𝑋 ≤ 1) = 1 − 𝐹𝑋 (1)
(0) (1)
1
4𝐶 [𝑒 − 4 − 𝑒 − 4 ] = 1 => 𝐶 = 1 1−2 −1 1
−
4[1−𝑒 4 ] = 1−𝐹( ) = 1 − 𝐹 ( 2 ) = 1 − 𝑄 (2 ) =
2
1 3 Solution:
𝐹𝑋 (0) = [1 − (4) 𝑒 −𝑐(0) ] 𝑢(0) = 4 = 𝑃(𝑥 ≤ 0)
a𝑥 = 0 and σ𝑥 = 4.2
3
𝑃(𝑥 = 0) = 4
R = 100-Ω
𝑑{𝐹𝑋 (𝑥)} 𝑐
𝑓𝑋 (𝑥) = = 𝑒−𝑐𝑥 P = 0.25W
𝑑𝑥 4
3 𝑐 𝑉2
𝑃(𝑥 = 0) = 4 = 𝑓𝑋 (0) = 4 𝑒 −𝑐(0) 𝑃= = 𝐼 2 𝑅 (𝑊𝑎𝑡𝑡𝑠)
𝑅
Probability that the voltage will cause an = 0.5565
instantaneous power that exceeds the resistor’s
𝑃(𝐴 ∩ 𝐵) = 𝑃{(1000 < 𝑋 ≤ 3000) ∩ (2000 < 𝑋 ≤ 4200)}
rating is
= 𝑃(2000 < 𝑋 ≤ 3000) = 𝐹𝑋 (3000) − 𝐹𝑋 (2000)
|𝑋|2 |𝑋|2 3000−4000 2000−4000
> 𝑃 => > 0.25 => |𝑋| > 5 = 𝐹( )–𝐹 ( )
𝑅 100 1000 1000
𝑃( |𝑋| > 5) = 𝑃(𝑋 > 5) + 𝑃(𝑋 < −5) = 𝐹(−1) − 𝐹(−2) = 𝑄(1) − 𝑄(2) = 0.2192
𝑃(𝑋 > 5) = 1 − 𝑃(𝑋 ≤ 5) = 1 − 𝐹𝑋 (5) 23. The life time of a system expressed in weeks is
5−0
a Rayleigh random variable X with its
= 1 − 𝐹 ( 4.2 ) 2 /400
distribution function 𝐹𝑋 (𝑥) = 1 − 𝑒 −𝑥 ;
−5−0 what is the probability that a system lifetime
𝑃(𝑋 < −5) = 𝐹𝑋 (−5) = 𝐹 ( )
4.2
will exceed one year?
5 −5
𝑃( |𝑋| > 5) = 1 − 𝐹 (4.2 ) + 𝐹 (4.2 )
Solution:
5 5 2 /400
𝑃( |𝑋| > 5) = 1 − 𝐹 ( )+1−𝐹( ) 𝐹𝑋 (𝑥) = 1 − 𝑒 −𝑥
4.2 4.2
22. Suppose height to the bottom of clouds is a P[X > 52 weeks] = 1 − P[X ≤ 52 weeks]
𝑝 = 0.01 𝑎𝑛𝑑 𝑁 = 8
b = Np = (8)(0.01) = 0.08
= 0.00306
(c) More than 2 bit errors will occur;
P[X > 2] = 1 − P[X ≤ 2]
= 1 − {P(X = 0) + P(X = 1) + P(X = 2)}