Lecture10 PDF
Lecture10 PDF
Muhammad Farooq-i-Azam
04 May 2020
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 1 / 19
Contents
1 Overview
2 Derived Random Variables
3 Functions of Two Random Variables
4 Function of Two Discrete Random Variables
5 Example: Function of Two Discrete Random Variables
6 Problem: Function of Two Discrete Random Variables
7 Function of Two Continuous Random Variables
8 Example: Function of Two Continuous Random Variables
9 Problem: Function of Two Continuous Random Variables
10 Problems
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 2 / 19
Overview
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 3 / 19
Derived Random Variables
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 4 / 19
Functions of Two Random Variables
Diversity combining in radio communication usually yields a derived
random variable
Multiple received signals are combined in a single improved signal
Example: Cellular base station with two antennas
Three popular diversity combining techniques are:
Selection combining: The signal with highest SNR is chosen and the
other signal is ignored. If X and Y are SNRs of two received signals,
then W = max(X , Y )
Equal gain combining: The two signals, X and Y are simply summed
together. Resultant signal is W = X + Y
Maximal ratio combining: The resultant signal is a weighted sum of
the two signals, such that W = aX + bY . The weights a and b are
optimized with respect to the SNRs of the signals X and Y .
The random variable W in all three cases is derived from and is a
function of other random variables X and Y
We are interested to derive the PMF, PDF or CDF of the derived
random variable W
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 5 / 19
Function of Two Discrete Random Variables
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 6 / 19
Function of Two Discrete Random Variables
Theorem
The PMF of the derived random variable W = g (x, y ) which is a function
of discrete random variables X and Y is given by
X
PW (w ) = PX ,Y (x, y )
(x,y ):g (x,y )=w
Remark
The PMF PW (w ) of a function of discrete random variables X and Y , is
the sum of the probabilities of all sample values (x, y ) for which
g (x, y ) = w
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 7 / 19
Example: Function of Two Discrete Random Variables
Example:
A firm sends out two kinds of newsletters. One kind contains only text and
grayscale images and requires 40 cents to print each page. The other kind
contains color pictures that cost 60 cents per page. Newsletters can be 1,
2, or 3 pages long. Let the random variable L represent the length of a
newsletter in pages. SL = {1, 2, 3}. Let the random variable X represent
the cost in cents to print each page. SX = {40, 60}. After observing many
newsletters, the firm has derived the probability model shown below. Let
W = g (L, X ) = LX be the total cost in cents of a newsletter. Find the
range SW and the PMF PW (w ).
PL,X (l, x) x = 40 x = 60
l =1 0.15 0.10
l =2 0.30 0.20
l =3 0.15 0.10
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 8 / 19
Example: Function of Two Discrete Random Variables
Solution:
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 9 / 19
Problem: Function of Two Discrete Random Variables
Problem
A smartphone runs news application that downloads Internet news every
15 minutes. At the start of a download, the radio modems negotiate a
connection speed that depends on the radio channel quality. When the
negotiated speed is low, the smartphone reduces the amount of news that it
transfers to avoid wasting its battery. The number of kilobytes transmitted,
L, and the speed B in kb/s, have the joint PMF
Let T denote the number of seconds needed for the transfer. Express T as
a function of L and B. What is the PMF of T ?
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 10 / 19
Problem: Function of Two Discrete Random Variables
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 11 / 19
Function of Two Continuous Random Variables
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 12 / 19
Function of Two Continuous Random Variables
Theorem
If X and Y are continuous random variables, then CDF of W = g (X , Y ) is
ZZ
FW (w ) = P[W ≤ w ] = fX ,Y (x, y )dxdy
g (x,y )≤w
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 13 / 19
Example: Function of Two Continuous Random Variables
Example:
X and Y have the joint PDF
(
λµe −(λx+µy ) x ≥ 0, y ≥ 0,
fX ,Y =
0 otherwise.
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 14 / 19
Example: Function of Two Continuous Random Variables
Solution:
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 15 / 19
Problem: Function of Two Continuous Random Variables
Problem:
Find the CDF and PDF of W = XY when random variables X and Y
have joint PDF
(
1 0 ≤ x ≤ 1, 0 ≤ y ≤ 1,
fX ,Y (x, y ) =
0 otherwise.
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 16 / 19
Problem: Function of Two Continuous Random Variables
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 17 / 19
Problems
Problems 6.1.1 to 6.1.6, 6.4.1 to 6.4.9, and 6.4.14 of the 3rd edition of
the text book
OR
Problems 4.6.1, 4.6.2, 4.6.4 to 4.6.11 of the 2nd edition of the text book
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 18 / 19
Bibliography
M. Farooq-i-Azam (COMSATS Lahore) EEE251 Probability Methods in Engineering Lecture 10 04 May 2020 19 / 19