P_S 3 Random Variables
P_S 3 Random Variables
Prof. D. SRINIVASACHARYA
DEPARTMENT OF MATHEMATICS
N.I.T., WARANGAL
Prof D Srinivasacharya, NIT Warangal,[email protected]
Random Variables
• The outcomes of the Random experiments are some times
connected with a numbers
Example. Consider the trail of tossing of three a coins
Let x = The number of heads, then
HTH 2
THH TTT
3
Prof D Srinivasacharya, NIT Warangal,[email protected]
This random experiment gets the numerical output as
1, 2, 3,
Here X is called random variable
Def : A random variable is a function or rule that assigns a real
number to each outcome of an experiment.
(or)
A random variable is a real-valued variable that gets its value
from a random experiment. i.e.,
0.18 1
0.9
0.16
0.8
0.14
0.7
0.12
0.6
0.1
p(y)
F(y)
0.5
0.08
0.4
0.06
0.3
0.04
0.2
0.02
0.1
0 0
2 3 4 5 6 7 8 9 10 11 12
Prof D Srinivasacharya, NIT Warangal,[email protected]
y
1 2 3 4 5 6 7
y
8 9 10 11 12 13
Example – If p(x) = x/15, x = 1, 2, 3, 4, 5
= 0 otherwise
Find P(x = 1 or 2) and P(1/2 < X < 5/2 / x > 1)
Given P(X = 1) = 1/15, P(X = 2) = 2/15, P(X = 3) = 3/15,
P(X = 4) = 4/15, P(X = 5) = 5/15
1 5
𝑃( <𝑋< ∩ 𝑋>1 )
2 2
P(1/2 < X < 5/2 / x > 1) =
𝑃 𝑋>1
𝑃( 𝑋=1 𝑜𝑟 𝑋=2 ∩ 𝑋>1 )
=
𝑃 𝑋>1
𝑃 𝑋=2
=
1−𝑃 𝑋=1
2
15 1
= 1 =
1−15 7