You are on page 1of 12

Introduction to Random

Processes (2): Random


Variables

Luiz DaSilva
Professor of Telecommunications
dasilval@tcd.ie
+353-1-8963660
Random variables: visualisation

q  Note that the outcome of a random experiment


may not be numerical
q All numerical events of interest are of the
form { X = x} or { X ∈ I },where I is an interval or
union of intervals

Sample space
Ω

of experiment H
E
ξ

R
X(ξ)

B
2  
Definition (informal)

Defn: A random variable X is a function that assigns


a real number X(ξ) to each outcome ξ in the sample
space of a random experiment

Note: in practice, we drop the explicit form X(ξ) and


simply express the RV as X

3  
Probability distribution function (PDF or CDF)

Defn: The probability distribution function (PDF) or


cumulative distribution function (CDF) of random
variable X is

4  
Properties

(i) ≤ FX(x) ≤

… because

(ii) lim x→∞ FX ( x) =

…. because

(iii) lim x→−∞ FX ( x) =

… because

5  
Properties (cont’d)

(iv) FX(x) is non-decreasing in x

Proof:

6  
Properties (cont’d)

(v) P[a < X ≤ b] =

See proof of (iv)

(vi) P[X > x] =

Proof is trivial

7  
Example

Let X = number of ‘Heads’ in 3 tosses of a fair coin.


Find and plot FX(x).

8  
Continuous, discrete, and mixed RVs

Defn: A random variable X is continuous if FX(x) is


continuous everywhere and differentiable almost
everywhere

Defn: A random variable X is discrete if FX(x) is a


right-continuous staircase function of x with
discontinuities at a countable set of points

Defn: A random variable X is of mixed type if FX(x)


has a countable, non-zero number of discontinuities
and increases continuously over at least one interval
of values of x
9  
Probability density function (pdf)

Defn: The probability density function (pdf) of


random variable X with differentiable FX(x) is
defined as

10  
Properties

(i) fX(x) ≥

… because
x
(ii) FX ( x) = ∫−∞
f X ( y )dy

…. due to

(iii) P[ x1 < X ≤ x2 ] =


(iv) f X ( x)dx =

−∞

11  
Probability mass function (pmf)

Defn: The probability mass function of discrete random


variable X is

P X ( xi ) = P[ X = xi ] = F ( xi ) − F ( x )

i

12  

You might also like