m4 PDF
m4 PDF
S = {H , T}
Example
Random Variable
A variable whose value is determined by the outcome of a random experiment is called a
random variable. A random variable is also known as a stochastic variable.
We get S = {HH,HT,TH,TT}
Number of 1 2 1 4
occurrence
We get S = {HHH,HTT,THH,TTH,HHT,HTH,THT,TTT}
Number of 1 3 3 1 8
occurrence
If the random variable takes on the integer values such as 0,1,2,3------ then it is called
discrete random variable.
If the random variable takes on all values in a certain interval then it is called continuous
random variable.
1. pi ≥ 0 for all i
2. pi = 1
i =1
For discrete random variable
Variance = σ2 = x 2 p ( x) − µ 2
1. The probability density function of a variate X is Find k, p( X 5), p(3 < X 6),
Mean, Variance
X 0 1 2 3 4 5 6
2. The probability density function of a variate X is Find k, p( X < 6), p (X 6), p(3 < X 6)
X 0 1 2 3 4 5 6 7
X -2 -1 0 1 2 3
= 1 – P(X < 3)
Binomial Distribution
The probability distribution function is P(x) = ncx px qn – x with p + q = 1
n
(p + q )n i.e.
n
cx p x q n− x = 1
x =0
1. Let x be a binomial distributed random variable with mean 2 and standard deviation 2/√3.
Find the corresponding probability density function.
x 6− x
Answer : P(x) = 6 c 1 2
x
3 3
3. Six fair coins are tossed. Find the probability of getting (i) exactly 3 heads (ii) at least 3
heads (iii) at least one head
c x (0.5) (0.5)
6 x 6− x
Answer : P(x) =
0.3366
5. The probability that a person aged 60 years will live up to 70 is 0.65. what is the
probability that out of 10 person aged 60 at least 7 of them will live up to 70
c x (0.65) (0.35)
10 x 10 − x
Answer : P(x) =
0.5139
6. The number of telephone lines at an instant of time is a binomial variate with probability
0.2 that a line is busy. If 10 lines are chosen at random , what is the probability that (i)no
line is busy (ii) 5 lines are busy (iii)at least one line is busy(iv)at most 2 lines are busy
(v)all lines are busy
c x (0.2 ) (0.8)
10 x 10 − x
Answer : P(x) =
(i) 0.1074, (ii) 0.02642, (iii) 0.8926, (iv) 0.6778, (v) 1.024x10 – 7
X 0 1 2 3 4
f 5 29 36 25 5
8. In 256 sets of 12 tosses of an honest coin, in how many sets one can expect 8 heads and 4
tails.
c x (0.5) (0.5)
12 x 12 − x
Answer : P(x) = 0.1208 256 x 0.1208 = 31
9. Fit a binomial distribution for the frequency distribution. Also calculate the theoretical
frequencies
Answer : P(x) =
cx (0.49 ) (0.51)
4 x 4− x
Theoretical frequencies =
(
100 4 c x (0.49 ) (0.51)
x 4− x
)
= ( f ) p (x)
c0 (0.49) (0.51) = 6.76
0 4
x=0 4
c1 (0.49 ) (0.51) = 26
1 3
f = 5 + 29 + 36 + 25 + 5 =100 x =1 4
Mean = np = = 1.96
c4 (0.49 ) (0.51) = 5.76
4 0
f x=4 4
1.96
p= = 0.49
4
10. Fit a binomial distribution for the frequency distribution. Also calculate the theoretical
frequencies
X 0 1 2 3 4 5
f 2 14 20 34 22 8
Answer : P(x) = 5 c (0.57 )x (0.43)5 − x 1.5, 10.45, 26, 34.2, 22.48, 5.91
x
Poisson’s Distribution
The probability distribution function is
P(x) = e − λ λx
x>0
x|
1. Find the Poisson’s probability distribution which has mean 2. Also find P(X = 4).
(ANS.0.0183, 0.7621)
3. Ten percent of the tools produced in a certain manufacturing process turn out to be
defective. Find the probability that in a sample of 10 tools chosen at random, exactly 2 will
be defective.
(ANS.0.18)
4. If the probability that an individual will suffer a bad reaction from injection of a given
serum is 0.001, determine that out of 2000 individuals (i) exactly 3 (ii) more than 2
individuals will suffer a bad reaction.
5. In a certain factory manufacturing razor blades there is a small chance 1/50 for any blade
to be defective the blades are placed in pockets each containing 10 blades. Calculate the
approximate number of pockets containing (i) no defective (ii) one defective (iii) two
defective blades in a consignment of 10000 pockets. Also calculate the approximate number
of pockets containing not more than 2 defective blades in a consignment of 10000 pockets.
(ANS. 8187,1637,163, 12)
6. The number of accidents in a year to taxi drivers in a city follows a poisson’s distribution
with mean 3. Out of 1000 taxi drivers find approximately the number of drivers with (i) no
accidents (ii) more than 3 accidents in a year.
(ANS. 50,350)
7. Fit a Poisson distribution for the frequency distribution. Also calculate the theoretical
frequencies
X 0 1 2 3 4
f 122 60 15 2 1
f =122 + 60 + 15 + 2 + 1 = 200
fx = 0 + 60 + 30 + 6 + 4 = 100
fx
Mean = np = = 0.5
f
λ = 0.5
e −0.5 0.5 x
Answer : P(x) = x|
( f ) p (x) = 200 e 0.5
−0.5 x
Theoretical frequencies =
x|
e −0.5 0.50
x = 0 200 =121.3
0| e −0.5 0.53
x = 3 200 = 2.527
e −0.5 0.51 3|
x =1 200 = 60.65
1| e − 0 .5 0 . 5 4
− 0 .5 2 x = 4 200 = 0.3159
e 0.5 4|
x = 2 200 =15.1625
2|
P(x) ≥ 0
∞ b
∞
Mean = x f ( x ) dx
−∞
∞
Varience = (x − µ )2 f (x ) dx
−∞
kx 2 0 ≤ x ≤ 3
1. A random variable x has the density function p ( x ) =
0 elsewhere
Find k, P(x 1), P(1 x 3), P(x 2), P(x > 1) and P(x > 2)
x
4. A random variable x has the density function p ( x ) = 1 + x 2 −∞ < x<∞
(Answers 1/π, ½, ¼)
Exponential Distribution
α e −αx 0≤ x ≤∞
The PDF of Exponential distribution is p ( x) =
0 elsewhere
1. If x is an exponential variate with mean 5 evaluate the following P( 0 < x < 1), P(
x 0 or x ≥ 1), P(-∞ < x < 10)
2. If x is an exponential variate with mean 4 evaluate the following P( 0 < x < 1), P( x > 2),
P(-∞ < x < 10)
3. In a certain town the duration of a shower is exponentially distributed with mean equal to 5
minutes, What is the probability that a shower will last for (i) less than 10 minutes (ii) 10
minutes or more
4. The length of a telephone conversation has been exponentially distribution with mean of 3
minutes. Find the probability that a call (i) ends in less than 3 minutes and (ii) takes between
3 and 5 minutes
5. At a certain city bus stop three buses arrive per hour on an average. Assuming that the time
between successive arrivals is exponentially distributed, find the probability that the time
between the arrival of successive buses is (i) less than 10 minutes and (ii) at least 30 minutes
Let x denote the random variable denoting the turnover per day.
1 1
Given = 6000 α=
α 6000
Let A be the turnover in rupees for which the net profit is Rs.500. Then since net profit is 8%
of the turnover we have 8
× A = 500 A = 6250
100
Since the profit exceed Rs.500 the turnover has to exceed Rs.6250. Hence the probability that
the net profit exceeds Rs.500 is given by
7. The length of a telephone conversation has been exponentially distribution with mean of 3
minutes. Find the probability that a call (i) ends in more than 1 minutes and (ii) takes less
than 3 minutes
8. The daily turnover in a departmental store is exponentially distributed with Rs.10000 as the
average with a net profit of 8%. Find the probability that the net profit exceeds Rs.300 on a
randomly chosen two consecutive days.
Answer 0.00553
Normal Distribution
−
( x − µ )2
1
The PDF of Normal distribution is P (x ) = e 2σ 2
−∞< x< ∞
σ 2π
Normal Distribution Key Points
x−µ
z=
σ
P(−∞ < x < ∞ ) = P(−∞ < z < ∞ )
P( z ≤ 0) = A(−∞,0) = A(0, ∞ ) = 0.5
A( z )is the area of the curve
1.P(0 z 1.45) = A(1.45) = 0.4265
3.P(-3.40 z 2.65)
= 0.99566
= 0.5 – A(3.35)
= 0.0004
= 2 A(1.85)
= 2(0.4678)
= 0.9356
9. For the normal distribution with mean 2 and standard deviation 4 evaluate the following
probabilities
10. The weekly wages of workers in a company are normally distributed with mean of Rs.700
and standard deviation Rs.50. Find the probability that the weekly wage of a randomly
chosen worker is (i) between Rs.650 and Rs. 750
(ii) more than Rs.750
Answer: 0.8925
12. The I.Q. of students in a certain college is assumed to be normally distributed with mean
100 and variance 25. If two students are selected randomly find the probability that have I Q
between 102 and 110.
Answer 0.54
13. The mean weight of 500 students at a certain school is 50 kgs and the standard deviation
is 6 kg. Assuming that the weights are normally distributed, find the expected number of
students weighing (i) between 40 and 50 kgs. And (ii) more than 60 kgs given that
A(1.6667) = 0.4525
14. The life of a certain type of electrical lamp is normally distributed with mean of 2040
hours and standard deviation 60 hours. In a consignment of 2000 lamps find how many
would be expected to burn for (i) more than 1950 hours (ii) less than 1950 hours (iii) between
1920 hours and 2160 hours, given that A(1.5) = 0.4332 A(1.83) = 0.4664.
15. In an examination taken by 500 candidates the average and SD of marks obtained are
40% and 10% respectively. Assuming normal distribution find (i) how many have scored
above 60% (ii) how many will pass if 50% is fixed as the minimum marks for passing (iii)
how many will pass if 40% is fixed as the minimum marks for passing (iv) what should be
the percentage of marks for passing so that 350 candidates pass. Answers: 0.0228,0.1587,
0.5, 11, 79, 250, 35
16. In a normal distribution 31% of the items are under 45 and 8% are over 64. Find the mean
and standard deviation, given that A(0.5) = 0.19 and A(1.4) = 0.42 where A(z) is the
area under the standard normal curve from 0 to z > 0.
17. In a normal distribution 7% are under 35 and 89% are under 63. Find the mean and
standard deviation, given that A(1.23) = 0.39 A(1.48) = 0.43 in the usual notations.
Answer: 0.0062
19. A certain machine makes electric resistors having a mean of 40 ohms and standard
deviation of 2 ohms. Assuming that the resistance follows a normal distribution. What is the
percentage of resistors will have the resistance that exceeds 43 ohms.
x 2 4 6 8 10
f 1 4 6 4 1
f =1 + 4 + 6 + 4 + 1 =16
x f = 96 x 2 f = 640
xf 96
X= = =6
f 16
x2 f 2
σ =
2
− X =4
f
( x −6 )2
1 −
P (x ) = e 8
− ∞< x<∞
2 2π
Mean of Y = µY = E (Y ) = y p( y )
E ( XY ) = x y p ( x, y )
x y
Variance of Y = σ Y = E (Y 2 ) − [E (Y )]
2 2
1. The joint probability distribution of two random variables X and Y is given by the
following table. Determine the individual or marginal distributions of X and Y. Also verify X
and Y are stochastically independent.
X/Y 2 3 4
2. The joint probability distribution of two random variables X and Y is given by the
following table. Determine the individual or marginal distributions of X and Y. Also verify X
and Y are stochastically independent.
X/Y 1 3 6
X/Y -2 -1 4 5
Answers E(X) = 1.4 E(Y) = 1.0 E(XY) = 0.9 Variance of X =0.24 Variance of Y = 9.6
4. The joint distribution of two random variables X and Y is given below. Find the marginal
distributions of X and Y. Also determine µX and µY and the covariance and correlation
coefficient of X and Y.
X/Y 1 3 9
4 1/4 1/4 0
5. The joint distribution of two random variables X and Y is given below. Find the marginal
distributions of X and Y. Also determine µX and µY and the covariance and correlation
coefficient of X and Y.
X/Y -3 2 4
X 0 1
Y 1 2 3
7.The distributions of two random variables X and Y defined on the sample space are given
by the following tables. Find the joint distribution. Also find correlation coefficient.
X 1 2
Y -2 5 8
8. The joint distribution of two random variables X and Y is defined by the function
P(X,Y) = c(2x+y) where X and Y assume the integer values 0,1,2. Find the marginal
distributions of X and Y. Are they independent?
9. Two independent random variables X and Y are such that X takes values 2,5,7 with the
probabilities ½,1/4,1/4 and Y takes values 3,4,5 with probabilities 1/3,1/3,1/3. Find the joint
probability distribution of X and Y. Also calculate the correlation coefficient.
10. A fair coin is tossed thrice. The random variables X and Y are defined as follows: X = 0
or 1 according as head or tail occurs on the first toss. Y = number of heads. Determine the
marginal distributions and hence find the correlation coefficient.
11. A fair coin is tossed thrice. The random variables X and Y are defined as follows: X = 0
or 1 according as tail or head occurs on the first toss. Y = number of tails. Determine the
marginal distributions and hence find the correlation coefficient.