Lecture 3
Review of Probability & random variables
DR. SA MI R A L- A MER
513
Lecture Outlines
2
Probability
Probability of multiple events
Independent events
Mutually exclusive events
Non- Mutually exclusive events
Mean and variance
Continuous variable
513
Probability
Let
n : total # of trials
nx
Probabilit y of X p(X) lim
n n
Probabilit y of X
513
# of tirals resulting in X
total number of trials
Probability
Alternative definition/ more practical
Let
X be an event occurring as a result of some experiments
or trials
N : # of all possible outcomes (size of sample space)
N : # of outcomes favorable to X
x
Nx
Probabilit y of X p(X)
N
513
Probability
Example
5
513
Probability
Example
6
number ( 2 , 4 or 6)
N=6
Nx=3
p(even)=3/6 =0.5
2007 Dr. Samir Al-Amer( c)
513
513
Independent events
Mutually exclusive events
Non- Mutually exclusive events
513
513
513
then
P(X1 X2 Xm)=P(X1) P(X1) P(X1)
513
Notation
p ( X |Y ) probabilit y of occurrence of event
X knowing that Y occurred
If X and Y are independen t
p ( X |Y ) p( X )
p (Y | X ) p(Y )
513
12
p(XY)=p(X)p(Y|X)
G R B
G R B
P(X)=2/6
P(Y|X)=1/5
P(XY)=(2/6)(1/5)
2007 Dr. Samir Al-Amer( c)
G R
G R B
513
513
513
Alternative Notation
p( X Y ) p( X Y )
P( X YZ ) P ( X Y Z )
p( X Y ) p( X Y )
p( X Y Z ) p( X Y Z )
513
16
DeMorgans Laws
(X Y ) X Y
(X Y ) X Y
X (Y Z ) ( X Y ) ( X Z )
X (Y Z ) ( X Y ) ( X Z )
513
17
18
RANDOM
VARIABLES
513
Random Variables
19
Sample Space
H
Real line
513
Random Variables
Notation
20
513
Random Variables
21
Example:
4 dice are tossed
x = # of appearance of 5 on the top of
four dice toss.
There are four possible values that x can
take 0,1,2,3 and 4
X is a random variable. It is a number
that is assigned to each possible events
2007 Dr. Samir Al-Amer( c)
513
Example
22
513
Random Variables
Example
Frequency
of
occurrence
0.5e
0.5 x
Sample Space
513
23
What is p)2( ?
p)X(
0.5e
0.5
0.5 x
513
Probability Functions
Probability Density Function
p( x )
Properties
p(x) 0
p( ) 0
p( ) 0
p ( a x b) P ( b) P ( a )
P( x ) p( X x )
Properties
0 P( x ) 1
P ( ) 0
P ( ) 1
dP ( x )
0
dx
P( x )
513
p( x ) dx
25
26
MEAN AND
VARIANCE
513
Random Variables
27
Example:
4 dice are tossed
x = # of appearance of 5 on the top of
four dice toss.
There are four possible values that x can
take 0,1,2,3 and 4
X is a random variable. It is a number
that is assigned to each possible events
2007 Dr. Samir Al-Amer( c)
513
Example
28
x
F(x) xF(x) x2F(x)
0
48
0
0
1
39
39
39
2
11
22
44
3
2
6
18
4
0
0
0
________________________
Sums
100
67
101
2007 Dr. Samir Al-Amer( c)
513
Mean E{x} x
F ( x)
x x F ( x)
Variance E{x }
F ( x)
2
standard deviation
x x F ( x)
513
29
x p( x ) dx
x 2 p( x ) dx
Properties of E{.}
E{aX} a E{X}
E{aX b} aE{X} b
V{aX b} a 2V ( X )
513
30
e z
z0
z0
E{ x }
2
x p( x ) dx x e x dx 1
x p ( x ) dx x e dx 2
2
31
Reading Material
32
Engineers
513