P&S Unit 1
P&S Unit 1
Introduction: In this Chapter we will discuss about basics of probability, random variables , distributions and some
important characterstics like mean, variance and standard deviation of distribution. Also we will discuss some important
probability distributions like Normal distributions.
The no. of calls received at a telephone exchange during a definite time intervals is a random variable.
The no. of cosmic ray particles striking some area on the earth’s surface per until time depends on a multitude of random
factors.
In the applications of theory of probability, it is more convenient to work numerical outcomes rather than non -
numerical outcomes because of this we introduce the idea of random variables.
The probability of happening of an event means that the amount of likelihood of the
happening of that event.
Outcome: The end result of an experiment
Random Experiment: An experiment which can be repeated any number of times under
identical conditions and the result of a particular trial is uncertain even though all possible
outcomes of that experiment are known in advance is called a random experiment. The
outcomes of random experiment are known as elementary events and a set of elementary
events is called as an event.
Examples: 1. Tossing of a coin
2. Throwing a die.
Sample space(Probability space): The set of all outcomes of a random experiment is called
sample space and it is denoted by S.
EX: In Tossing of two coins, S = { (H,H), (H,T), (T,H), (T, T)}
A random event is an outcome or a set of outcomes of a random experiment.
Exhaustive events: A set of events is said to be exhaustive , if it includes all the possible
events.
Mutually exclusive events: A set of events is said to be mutually exclusive if it the occurrence
of one of them prevent the occurrence of the others.
Equally likely events: If one of the events can not be expected to happen in preference to
another.
Probability of an Event: Let E be an event in a random experiment which contains ‘n’ mutually
exclusive and equally likely elementary events . If ‘m’ elementary events are favourable to
the event E, then the probability of E is defined as
Number of favourable elementary events to E m
P(E) = =
Total number of elementary events n
Ex: In a single throw of two dice find the probability of throwing a sum 10 of two dice.
Ans: Random experiment: Throwing of two dice.
Sample space = {(1, 1), (1,2),……..(1,6), (2,1),(2,2),…..,(2,6), …….
……,(6,1),(6,2), …….(6,6)}
Event E: Getting sum of two as 10.
Favourable events to E are (5,5),(4,6),(6,4).
3 1
∴ P(E) = =
36 12
Axioms of Probability:
1. P(E)≥0 2. P(S)=1 3. If A ∩ B = ∅, then P(A ∪ B) = P(A) + P(B)
4. P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
̅) = 1 − P(A)
5. P(A 6. If B ∁ A, then P(B) < P(A)
DEFINITION OF RANDOM VARIABLE: A real valued function defined on the sample space S
of a random experiment is called the random variable, we denote random variables by X,Y,Z
etc.,.
Random variable assigns a real number to every element of the sample space.
For example: In tossing a coin,
the sample space 𝑆 = {H, T} , whose elements are non numerical values.
We convert into numerical values by using random variable
i.e. if the outcome is head, X(H) = 0 and
if the outcome is tail, X(T) = 1
X : S→R
H → 0
( ) ( )
T → 1
That is
X:S→R Such that{ω ∈ S/X(ω) = x, x ∈ R}, Then X=X(ω) is a R.V.
Types of Random Variables:
There are two types of random variables:
(i) Discrete random variables (ii) Continuous random variables
Discrete Random variable:
A real valued function defined on the sample space S of a random experiment is called the
random variable. A random variable X is said to be discrete if, it takes only a finite no. of
discrete values ( integral values ) in an interval.
Example: The number of rooms in the houses of a township.
Eg: 1 The no. of arrivals at ATM counter.
2. The no. of printing mistakes per page.
3. The no. of students in the class room
4. The no. of soldiers participated in the war
5. The no. of cars produced by the company in a week
6. The no. of patient joined the hospital etc,.
7. Consider Random experiment: Throwing of two dice
S = {(1,1), (1,2),….(1,6),
.
‘
(6,1), (6,2),…..,(6,6)}
Note: (X = k) = {w ∈ S/X(w) = k}
(X ≤ k) = {w ∈ S/X(w) ≤ k}
(X ≥ k) = {w ∈ S/X(w) ≥ k}
Probability distribution function [ cumulative distribution function]
Let X be a one-dimensional random variable. The probability distribution
function defined by F X (𝑥) = P (X ≤ 𝑥) where 𝑥 €R.
i.e p(𝑥i ) = pi the set of possible values of 𝑥 together with their respective probabilities is
called the probability distribution of X.
The probability distribution of X is represented as follows.
X=𝑥 𝑥1 𝑥2 𝑥3 ………… 𝑥𝑛
p(x) p1 p2 p3 ………… pn
1
p(12) = P(X = 12) = P({(6,6)} = 36
Expectation:
The Expectation of X is denoted by E(X) and defined as
E(X) = ∑ni=1 pi 𝑥i = 𝑝1 𝑥1 + 𝑝2 𝑥2 + ⋯ … . +𝑝𝑛 𝑥𝑛
E(X 2 ) = ∑ni=1 pi 𝑥𝑖 2 , E(X 3 ) = ∑ni=1 𝑝𝑖 𝑥𝑖 3
In general E(g(X)) = ∑ni=1 pi g(𝑥i )
Properties:
1. If X discrete random variable and k is a constant , then E(X + k) = E(X) + k
Sol: E(X + k) = ∑𝑥(𝑥 + k). p(𝑥)
= ∑𝑥[kp(𝑥) + 𝑥𝑝(𝑥)]
= k ∑𝑥 p(𝑥) + ∑𝑥 𝑥𝑝(𝑥)
= k ∑𝑥 p(𝑥) + ∑𝑥 𝑥 𝑝(𝑥)
= k. 1 + E(X) = E(X) + k
2. If X is discrete random variable and α, β are constants , then E(α + βX) = α + βE(X)
Sol: E(α + βX) = ∑x(α + βx). p(x)
= ∑x[α p(x) + β. xp(x)]
= ∑x α p(x) + ∑x βxp(x)
= α ∑x p(x) + β ∑x x p(x)
= α. 1 + β. E(X)
3. If X,Y are two discrete random variables , then
E(αX + βY) = α E(X) + βE(Y)
= E(X 2 ) + μ2 − 2μ. μ
= E(X 2 ) + μ2 − 2μ2
σ2 = E(X 2 ) − μ2 =E(X 2 ) − E(X)2
Properties:
(1) V(k) = 0
2
V(k) = E(k 2 ) − E(k)2 = ∑ pi k 2 − (∑ pi k)
= k 2 ∑ pi − (k ∑ pi )2
=k 2 − k 2 = 0
2
(2) V(kX) = E((kX)2 ) − (E(kX))
2
= ∑ pi (kxi )2 − (∑ pi kxi )
= k 2 ∑ pi xi 2 − (k ∑ pi xi )2
2
= ∑ pi (k 2 + xi 2 + 2kxi ) − (∑ pi xi + pi k)
= ∑ pi xi 2 + 2k ∑ pi xi + k 2 ∑ pi − (∑ pi xi + k ∑ pi )2
= ∑ pi xi 2 + 2k ∑ pi xi + k 2 − (∑ pi xi + k )2
σ = √V(X)
Problems:
Prob1 : The random variable X, representing the number of errors per 100
lines of software code, has the following probability mass function
RV X: 0 1 2 3 4 5 6 7
pmf p(x): 0 k 2k 2k 3k 𝒌𝟐 2𝒌𝟐 7𝒌𝟐 + 𝒌
Find Constant k, P(X<6), P(0<X<5), Mean ,Variance and standard deviation , cdf
Solution
⇒ 0 + 𝐾 + 2𝐾 + 2𝐾 + 3𝐾 + 𝐾 2 + 2𝐾 2 + (7𝐾 2 + 𝐾) = 1
⇒ 7𝐾 2 + 9𝐾 − 1 = 0
(10𝐾 − 1)(𝐾 + 1) = 0,
1
𝐾= 𝑜𝑟 𝐾 = −1
10
1
∴𝐾= , 𝑝(𝑥)𝑖𝑠 𝑛𝑜𝑛 − 𝑛𝑒𝑔.
10
RV X: 0 1 2 3 4 5 6 7
1 2 2 3 1 2 17
pmf p(𝑥): 0 10 10 10 10 100 100 100
1 4 6 12 5 12 119
= + + + + + +
10 10 10 10 100 100 100
366
𝑀𝑒𝑎𝑛 𝜇 = 100
1 8 18 48 25 72 833
= + + + + + +
10 10 10 10 100 100 100
1680
= 100
1680 366 2
𝑉(𝑋) = 𝐸(𝑋 2 ) − 𝑚𝑒𝑎𝑛2 = − (100)
100
34044
= = 3.4044
10000
RV X: 0 1 2 3 4 5 6 7
1 2 2 3 1 2 17
PMF p(𝑥): 0 10 10 10 10 100 100 100
1 3 5 8 81 83 100
CDF F X (𝑥): 0 10 10 10 10 100 100 100
Prob 2: Two dice are thrown. Let X assign to each point (a,b) in the sample space S , the
maximum of its numbers i.e X(a,b)= max(a,b). Find the probability distribution. Also find
mean and variance of the distribution.
Sol: Random experiment: Throwing of two dice
S = {(1,1), (1,2),….(1,6),
.
‘
(6,1), (6,2),…..,(6,6)}
Let X(a,b)=max{a,b} .
RV X: 1 2 3 4 5 6
1 3 5 7 9 11
pmf p(𝑥): 36 36 36 36 36 36
X: 0 1 2 3 4 5 6
1 Find 𝑷(𝑿 < 𝟒), 2 𝑷(𝑿 ≥ 𝟓), 𝒂𝒏𝒅 3 𝑷(𝟑 < 𝑿 ≤ 𝟔).
⇒ ∑6𝑖=0 𝑥𝑖 𝑝(𝑥𝑖 ) = 1
⇒ k + 3k + 5k +------- 13k = 1
1
K= 49
11 13 24
2 𝑃(𝑋 ≥ 5) = 𝑃(𝑋 = 5) + 𝑃(𝑥 = 6) = 𝑝(5) + 𝑝(6) = + = 49
49 49
9 11 13 33
3 𝑃(3 < 𝑋 ≤ 6) = 𝑃(𝑋 = 4) + 𝑃(𝑋 = 5) + 𝑃(𝑋 = 6) = + + = 49
49 49 49
1
the min. Value of k = 30
Prob 4:For the following probability distribution find (i) E(X) (ii)E(X2) (iii) E(2X+1)2
X=x -2 7 12
𝟏 𝟏 𝟏
p(x): 𝟔 𝟐 𝟑
1 1 1 43
Sol : E(X) = ∑ pi 𝑥𝑖 = (-2) .6 + 7. 2 + 12. 3 = 6
𝐸(𝑋 2 ) =∑ 𝑝𝑖 𝑥𝑖 2
1 1 1 439
= 4 .6 + 49. 2 + 144. 3 = 6
Prob 5: From a lot of 10 items containing 3 defectives, a sample of four items is drawn at
random. If the discrete random variable X denotes the number of defective items in the
sample, write the probability distribution when the sample is drawn without replacement.
Sol: Total number of items =10
Defective items = 3
Random experiment: Collection of sample of size 4
Random variable X is the number of defective items in sample.
Clearly range of X ={0,1,2,3}
Total number of samples is 10C4
Zero defective:
Favourable number of cases( number of samples with zero defectives and 4 non
defective) is 7C4
p(0)=P(X=0)=Probability of no defectives
7C 7! 4!6! 4×5×6 1
= 10 4 = 4!3! × = 8×9×10 = 6
C4 10!
One defective:
Favourable number of cases( number of samples with 1 defectives and 3 non
defective) is 3C1 × 7C3
Two defective:
Favourable number of cases( number of samples with 2 defectives and 2 non
defective) is 3C2 × 7C3
Three defective:
Favourable number of cases( number of samples with 3 defectives and 1 non
defective) is 3C3 × 7C1
Probability Distribution:
X=x 0 1 2 3
p(x) 1 1 3 1
6 2 10 30
Prob 6: A player tosses three coins. He wins 400 Rs if 3 heads, 200 Rs if 2 heads 100 Rs if 1
head occurs. On the other hand, he looses 1500 Rs if 3 tails occur. Find the expected gain of
the player.
Sol: Random experiment: Tossing of three coins.
Sample Space
𝑆 = {(𝐻, 𝐻, 𝐻), (𝐻, 𝐻, 𝑇), (𝐻, 𝑇, 𝐻), (𝑇, 𝐻, 𝐻), (𝐻, 𝑇, 𝑇), (𝑇, 𝐻, 𝑇), (𝑇, 𝑇, 𝐻), (𝑇, 𝑇, 𝑇)}
Number of elements in S is 𝑛 = 8.
Let Random variable X be the gain of the player.
Range of 𝑋 = {400, 200, 100, −1500}
1
Probability of gain 400 is 𝑝(400) = 𝑃(𝑋 = 400) = 𝑃{(𝐻, 𝐻, 𝐻)} = 8
3
𝑝(200) = 𝑃(𝑋 = 200) = 𝑃{(𝐻, 𝐻, 𝑇), (𝐻, 𝑇, 𝐻), (𝑇, 𝐻, 𝐻)} = 8
3
𝑝(100) = 𝑃(𝑋 = 100) = 𝑃{(𝐻, 𝑇, 𝑇), (𝑇, 𝐻, 𝑇), (𝑇, 𝑇, 𝐻)} = 8
1
𝑝(−1500) = 𝑃(𝑋 = −1500) = 𝑃{(𝑇, 𝑇, 𝑇)} = 8
E(X) = ∑ pi xi
1 3 3 1 200
Expected gain E(X) = 400 .8 + 200. 8 + 100. 8 -1500. 8=- = −25
8
Prob 7: A fair die is rolled . Obtain the expectation of the number on the die.
Sol: Random experiment: Throwing a die.
Sample Space 𝑆 = {1,2,3,4,5,6}
𝑋(𝑤) = number on the face of the die.
Range of 𝑋 = {1,2,3,4,5,6}
The probability distribution is
X=x 1 2 3 4 5 6
p(x) 1 1 1 1 1 1
6 6 6 6 6 6
1 1 1 1 1 1 21
E(X) = ∑ pi xi =1 .6 + 2. 6 + 3. 6 +4 .6 + 5. 6 + 6. 6= = 3.5
6
Prob 8: For the following probability distribution show that the missing probability is
0.778
𝐗=𝐱 -3 -2 -1 0 1 2 3
𝐩(𝐱) 0.001 0.01 0.1 ? 0.1 0.01 0.001
= ∑ pi x i 2 − μ2
𝑘 𝑘 𝑘 𝑘 48 2
=2 + 4. 4 + 9. 6 + 16. 8 − (25)
48 2 24 48 2
= 5k − (25) = − (25) = 1.1136
5
Practice problems:Tutorial
4.
Then the function f(x) is called as the probability density function of X. The curve y = f(x) is
called the probability curve.
If f(x) is density function of a continuous random variable X, then the probability of X falls in
to the interval (a, b) is given as
b
P(a < X < b) = ∫a f(x)dx = area under the probability curve y = f(x) between X = a and
X = b.
Properties of density function:
1 f(x) ≥ 0 (non negativity)
∞
2 ∫−∞ f(x)dx = 1 (normality)
f(x) ≥ 0
∞
Normality : ∫−∞ f(x)dx = 1
∞
2 4 ∞
∫ f(x)dx = ∫ f(x)dx + ∫ f(x)dx + ∫ f(x)dx
−∞ 2 4
−∞
2
1 4 ∞
= ∫ (0)dx + ∫ (2x + 3)dx + ∫ (0)dx
−∞ 18 2 4
4
1 x2
= [2. + 3x]
18 2 2
1 2
= [x + 3x]42
18
1
= [28 − 10]
18
= 1.
∞
Since f(x) ≥ 0 , ∀x & ∫−∞ f(x)dx = 1, given f(x)is a pdf.
1 (3+x)3 −1 1 1 1 (3−x)3 3
= 16 . [ ]−3 + 16 . 2 ∫0 (6 − 2x 2 )dx + 16 . [ ]
3 −3 1
1
1 1 2x3 1
= 48 (8 − 0) + 8 (6x − ) − 48 (0 − 8)
3 0
1 1 2 1 1 1 1 1 2
= 6 + 8 (6 − 3) + 6 = 3 + 4 (3 − 3) = 3 + 3 = 1
2. 𝐹 ′ (𝑥) = 𝑓(𝑥)
Expectation, Mean, Median, Mode and variance for continuous probability distribution:
Let X be a continuous random variable and f(x) be its density function.
Expectation(Mean):
The mean of the distribution is denoted by μ and id defined as
∞
μ = ∫−∞ xf(x)dx = E(X)
∞
E(X 2 ) = ∫−∞ x 2 f(x)dx
∞
E(X 3 ) = ∫−∞ x 3 f(x)dx
∞
E(g(x)) = ∫−∞ g(x)f(x)dx
Median:
It is a point which divides the entire distribution in to two equal parts
∞
We know that ∫−∞ f(x)dx = 1
M ∞
If M is the median then∫−∞ f(x)dx = ∫M f(x)dx = 1/2
Mode : Mode is a value of x where the density function f(x) has maximum.
So the mode x is given by f ′ (x) = 0 and f ′′ (x) < 0.
Variance: The variance is denoted by σ2 or V(X) and is defined by
∞
σ2 = E[(X − μ)2] = ∫−∞(x − μ)2 f(x)dx
∞
= ∫−∞[x 2 − 2μx + μ2 ]f(x)dx
∞ ∞ ∞
= ∫−∞ x 2 f(x)dx − 2μ ∫−∞ xf(x)dx + μ2 ∫−∞ f(x)dx
= E[X 2 ] − 2μE[X] + μ2
Standard Deviation:
The standard deviation of X is denoted by σ and is defined as
σ = √V(X)
= α ∫ f(x)dx + β ∫ xf(x)dx
∞ ∞
= α. 1 + β. E(X) = α + βE(X)
2
V(Y) = E((α + βX)2 ) − (E(α + βX))
Problem 1
Suppose that the error in the reaction temperature for a controlled laboratory
experiment is a continuous random variable X having the probability density
function
𝒄𝒙 (𝟐 − 𝒙), 𝒊𝒇 𝟎 ≤ 𝒙 ≤ 𝟐,
𝒇(𝒙) = { .
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
where c is a constant. Find (i) c (ii) 𝑃(𝑋 ≤ 1)(iii) mean (iv) variance.
Solution :
0 2 ∞
⟹ ∫ 𝑓(𝑥)𝑑𝑥 + ∫ 𝑓(𝑥)𝑑𝑥 + ∫ 𝑓(𝑥)𝑑𝑥 = 1
−∞ 0 2
2
⟹ ∫ 𝑐𝑥(2 − 𝑥)𝑑𝑥 = 1
0
2
𝑥3 2
⟹ 𝑐 (𝑥 − ) = 1
3 0
8
⟹c(4 − 3) = 1
4𝑐
⟹ =1
3
⟹ 𝒄 = 𝟑/𝟒
The pdf of 𝑿 is
3𝑥
(2 − 𝑥), 𝑖𝑓 0 ≤ 𝑥 ≤ 2
𝑓(𝑥) = { 4
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
0 1
= ∫ f(x)dx + ∫ f(x)dx
−∞ 0
0 1 3x
= ∫−∞(0) dx + ∫0 (2 − x)dx
4
3 1
= ∫ x(2 − x), dx
4 0
3 1
= ∫ (2x − x 2 )dx
4 0
1
3 2x2 x3
=4 ( − )
2 3 0
1
3 x3
= ( x2 − )
4 3 0
3 1
= [(1 − 0) − (3 − 0)]
4
3 1 3 2 1
=4 ( 1− ) =4. =
3 3 2
∞
Mean of X = 𝐸(𝑋) = ∫−∞ 𝑥𝑓(𝑥)𝑑𝑥
2 3𝑥
𝜇 = ∫0 𝑥. (2 − 𝑥)𝑑𝑥
4
3 2
= 4 ∫0 (2𝑥 2 − 𝑥 3 )𝑑𝑥
2
3 2𝑥 3 𝑥4
= 4( − )
3 4 0
3 24 24
= 4(3 − )
4
3 1 1
= 4 (24 ) (3 − 4)
12
= 12 = 1
Variance:
By def. 𝑉(𝑋) = 𝜎 2 = 𝐸(𝑋 2 ) − 𝜇 2
∞
𝑉(𝑋) = ∫−∞ 𝑥 2 𝑓(𝑥)𝑑𝑥 − 𝜇 2
2 3𝑥
= ∫0 𝑥 2 . (2 − 𝑥)𝑑𝑥 − 𝜇 2
4
3 2
= 4 ∫0 (2𝑥 3 − 𝑥 4 )𝑑𝑥 − 𝜇 2
2
3 𝑥4 𝑥5
= 4 (2. − ) − 𝜇2
4 5 0
3 32 32
= 4[4 − ] − 𝜇2
5
1 1
= 24 (4 − 5) − 𝜇 2
6
= 5 − 𝜇2
6 1
𝑉(𝑋) = 𝜎 2 = 𝐸(𝑋 2 ) − 𝜇 2 = − 12 = 5
5
Solution :
1 2 3
𝑥 1 3−𝑥
= ∫ (𝑥 2 − 5𝑥 + 3). 𝑑𝑥 + ∫ (𝑥 2 − 5𝑥 + 3) . 𝑑𝑥 + ∫ (𝑥 2 − 5𝑥 + 3). ( ) 𝑑𝑥
0 2 1 2 2 2
1 1 3 2
1 2 2 1 3
= ∫ (𝑥 − 5𝑥 + 3𝑥)𝑑𝑥 + ∫ (𝑥 − 5𝑥 + 3)𝑑𝑥 + ∫ (−𝑥 3 + 8𝑥 2 − 18𝑥 + 9)𝑑𝑥
2 0 2 1 2 2
1 2 3
1 𝑥 4 5𝑥 3 3𝑥 2 1 𝑥 3 5𝑥 2 1 𝑥 4 8𝑥 3 18𝑥 2
= ( − + ) + ( − + 3𝑥) + (− + − + 9𝑥)
2 4 3 2 0 2 3 2 1
2 4 3 2 2
1 13 19 44 11
= 24 − 12 − 24 = − 24 = − 6
11
Alternatively 𝐸(𝑋 2 − 5𝑋 + 3) = 𝐸(𝑋 2 ) + 5𝐸(𝑋) + 3=− 6
𝟏
(𝟑 + 𝒙)𝟐 , −𝟑 ≤ 𝒙 < −𝟏,
𝟏𝟔
𝟏
𝒇(𝒙) = (𝟔 − 𝟐𝒙𝟐 ), −𝟏 ≤ 𝒙 < 𝟏 ,
𝟏𝟔
𝟏 𝟐
{ 𝟏𝟔 (𝟑 − 𝒙) , 𝟏 ≤ 𝒙 ≤ 𝟑
Solution
∞
Mean of X 𝑓(𝑥) = ∫−∞ 𝑥𝑓(𝑥)𝑑𝑥
1 −1 1 1 1 3
= 16 ∫−3 𝑥(3 + 𝑥))2 𝑑𝑥 + 16 ∫−1 𝑥(6 − 2𝑥 2 )𝑑𝑥 + 16 ∫1 𝑥(3 − 𝑥)2 𝑑𝑥
1 −1 1 3
= 16 ∫−3 𝑥(9 + 𝑥 2 + 6𝑥)𝑑𝑥 + 0 + 16 ∫1 𝑥(9 − 6𝑥 + 𝑥 2 )𝑑𝑥
1 −1 1 3
= 16 ∫−3 (9𝑥 + 6𝑥 2 + 𝑥 3 )𝑑𝑥 + 16 ∫1 (9𝑥 − 6𝑥 2 + 𝑥 3 )𝑑𝑥
−1 3
1 9𝑥 2 6𝑥 3 𝑥4 1 9𝑥 2 6𝑥 3 𝑥4
= 16 ( + + ) + ( − + )
2 3 4 −3 16 2 3 4 1
1 9 81 81 1 81 84 9 1
= 16 [(2 − 2 + 1/4) − ( 2 − 54 + )] + 16 [( 2 − 54 + ) − (2 − 2 + 4)]
4 4
=0
Variance:
By def. 𝑉(𝑋) = 𝜎 2 = 𝐸(𝑋 2 ) − 𝜇 2
∞
𝑉(𝑋) = ∫−∞ 𝑥 2 𝑓(𝑥)𝑑𝑥 − 𝜇 2
1 −1 1 1 1 3
= 16 ∫−3 (9𝑥 2 +𝑥 4 + 6𝑥 3 )𝑑𝑥 + 16 ∫−1(6𝑥 2 − 2𝑥 4 )𝑑𝑥 16 ∫1 (9𝑥 2 +𝑥 4 − 6𝑥 3 )𝑑𝑥
−1 1 3
1 9𝑥 3 6𝑥 4 𝑥5 2 6𝑥 3 𝑥5 1 9𝑥 3 6𝑥 4 𝑥5
= 16 ( + + ) + ( −2 5) + ( − + )
3 4 5 −3 16 3 0 16 3 4 5 1
= 14 − 0 = 14
4. A random variable X gives measurements of 𝐱 between 0 and 1 with a probability
𝟏𝟐𝐱 𝟑 − 𝟐𝟏𝐱 𝟐 + 𝟏𝟎𝐱, 𝐢𝐟 𝟎 ≤ 𝐱 ≤ 𝟏
density function 𝐟(𝐱) = {
𝟎, 𝐨𝐭𝐡𝐞𝐫𝐰𝐢𝐬𝐞
𝟏 𝟏
(i)Find 𝐏(𝐗 ≤ 𝟐) and P(X > ½ ) (ii) Find a number ′𝐤 ≤ 𝟏′ such that 𝐏(𝐗 ≤ 𝐤) = 𝟐:
1 1/2
Solution: P (X ≤ 2) = ∫−∞ f(x)dx
0 1/2
= ∫−∞ f(x)dx + ∫0 f(x)dx
1/2 1/2
= ∫−∞ (0 )dx + ∫0 (12x 3 − 21x 2 + 10x)dx
1/2
x4 x3 x2
= (12 − 21 + 10 2 )
4 3 0
1/2 3 7 5 9
= (3x 4 − 7x 3 + 5x 2 )0 =16 − 8 + 4 = 16
𝐤𝐱𝐞−𝛌𝐱 , 𝐱 ≥ 𝟎, 𝛌 > 𝟎
5. The probability density function 𝐟(𝐱) = {
𝟎, 𝐨𝐭𝐡𝐞𝐫𝐰𝐢𝐬𝐞
Determine (i)𝐤 (ii)mean (iii) Variance
∞
Sol : We know that ∫−∞ f(x)dx = 1
∞
⟹ ∫0 kxe−λx dx = 1
∞
e−λx e−λx
⟹ k [x − ] =1
−λ λ2 0
1
⟹ k [0 − {0 − λ2}] = 1
k
⟹ λ2 = 1
⟹ k = λ2
∞
(ii) Mean = ∫−∞ xf(x)dx
∞
= ∫0 λ2 x 2 e−λx dx
∞
e−λx e−λx e−λx
= λ2 [x 2 − 2x +2 ]
−λ λ2 −λ3 0
2 2
= λ2 [0 − {0 − λ3}] = λ
∞ 2 2
= ∫0 λ2 x 3 e−λx dx − (λ)
∞
e−λx e−λx e−λx e−λx 2 2
= λ2 [x 3 − 3x 2 + 6x −6 ] − (λ)
−λ λ2 −λ3 λ4 0
6 6 2 2 2
= λ2 [0 − {0 − λ4}] = λ2 − (λ) = λ2
𝟎 , 𝐱 < 𝟐,
𝟐𝐱+𝟑
6. Is the function defined by 𝐟(𝐱) = { , 𝟐 ≤ 𝐱 ≤ 𝟒, a probability density function?
𝟏𝟖
𝟎 ,𝐱 > 𝟒
Find the probability that a variate X having 𝐟(𝐱) as density function will fall in the interval
𝟑 ≤ 𝐗 ≤ 4.
Sol: If f(x) is probability density function of a continuous random variable then (i) f(x) ≥ 0
∞
(ii) ∫−∞ f(x)dx = 1
Clearly f(x) ≥ 0
∞ 2 4 ∞
∫−∞ f(x)dx = ∫−∞ f(x)dx + ∫2 f(x)dx + ∫4 f(x)dx
4
2x + 3
= 0+∫ dx + 0
2 18
1 2 1
= [x + 3x]4x=2 = [28 − 10] = 1
18 18
∴ f(x) is a probability density function.
4
(ii) P(3 ≤ X ≤ 4) = ∫3 f(x)dx
4 2x+3 1 1 5
= ∫3 dx =18 [x 2 + 3x]4x=3 = 18 [28 − 18] = 9
18
Probability that a variate X having f(x) as density function will fall in the interval 3 ≤ X ≤ 4
5
is .
9
𝟎 𝐟𝐨𝐫 𝐱 ≤ 𝟎
8. If the pdf of a random variable X is given by 𝐟(𝐱) = { 𝟐 − 𝐱𝟑
.
𝟑𝐱 𝐞 𝐟𝐨𝐫 𝐱 > 𝟎
Determine the distribution function,
x
Sol: We know that F(x) = P(X ≤ x) = ∫−∞ f(x)dx
(i) For x ≤ 0
x x
F(x) = P(X ≤ x) = ∫−∞ f(x)dx = ∫−∞(0)dx = 0
𝟎 𝐟𝐨𝐫 𝐱 ≤ 𝟎
The Probability distribution function is 𝐅(𝐱) = { 𝟑
𝟏 − 𝐞− 𝐱 , 𝐟𝐨𝐫 𝐱 > 𝟎
9. The daily consumption of electric power is a random variable having probability density
𝟎 𝐟𝐨𝐫 𝐱 ≤ 𝟎
function 𝐟(𝐱) = {𝟏 −𝟐𝐱/𝟑 .
𝐱𝐞 𝐟𝐨𝐫 𝐱 > 𝟎
𝟗
If the total production is 12 million kw hours. Determine probability that there is a power
cut on any given day.
Sol: Let random variable X denotes consumption on a day,
If X takes value in between 0 and 12, then there will be no power cut.
If X takes value greater than 12, then there will be power cut.
We need to find P(X > 12)
12
P(−∞ ≤ X ≤ 12) = ∫−∞ f(x)dx
12 1
= ∫0 xe−2x/3 dx
9
12
1 e−2x/3 e−2x/3
= 9 [x − ]
−2/3 4/9 0
1 9 9
= 9 [−18e−8 − 4 e−8 + 4]=0.24925
= 0 , 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
𝑓 (𝑥) = 𝐾 𝑥 2 𝑒 −𝑥 𝑤ℎ𝑒𝑛 𝑥 ≥ 0,
0, − ∞ < 𝑥 < 0,
𝑥2
𝑓(𝑥) = { , 0 ≤ 𝑥 < 3,
9
0, 𝑥 > 0.
(iv) Mean
0, 𝑥 ≤ 1,
𝐹(𝑥) = {𝑘(𝑥 − 1)2 , 1 ≤ 𝑥 ≤ 3,
0, 𝑥 > 3.
Determine (i) pdf f(x) (ii)k (iii) Mean
5 The density function of an exponential random variable X is
𝜃𝑒 −𝜃𝑥 , 𝑥 ≥ 0
f (x) = 𝑓(𝑥) = {
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
f(x) = 6x (1-x), 0 ≤ x ≤ 1.
Then the random variable X is called as discrete uniform random variable. Its
distribution is as follows
𝑋=𝑥 𝑥1 𝑥2 ……………. 𝑥𝑛
𝑓(𝑥) 1 1 1
𝑛 𝑛 𝑛
BINOMIAL DISTRIBUTION
1.Trials are re pe ate d under ide ntical c onditions for a finite positive inte ger, say 𝑛 times.
2.There are only two pos sible outcomes, e.g. succe ss or failure for e ach tr ial.
3.The pr obability of succe ss in each tr ial rem ains c onstant and does not c hange from tr ial to tr ial.
4.The tr ials are inde pe nde nt i. e., the probability of an eve nt in any trial is not affec ted by the res ults of
any other tr ial.
Ex: A fair coin is tossed six times. Find the probability of getting four heads.
1 4 1 2 6! 1 30 1
𝒑(𝟒) = 𝑷(𝑿 = 𝟒) =6𝐶4 𝑝4 𝑞6−4 = 6𝐶4 ( ) ( ) = = = 0.234
2 2 4!2! 26 2 64
Prob : Out of 800 families w ith 5 childre n e ach, how m any would you e xpec t to hav e 3 boys (b) 5 girls (c ) e ither 2
or 3 boy s (d) at leas t one boy. Assume equal probabilities for boy s and gir ls.
Solut ion:
1
p = The probability of c hild to be a boy = P (m ale bir th) =
2
1
q = The probability of c hild to bea girl = P (fem ale bir th) =
2
(since equal probability for boys and girls )
1 𝑥 1 5−𝑥
𝑝(𝑥) = 𝑃(𝑋 = 𝑥) = 5𝐶𝑥 ( ) ( ) , x=0,1,2,3,4,5
2 2
1
𝑝(𝑥) = 𝑃(𝑋 = 𝑥) = . 5𝐶𝑥 𝑥 = 0,1,2,3,4,5. 𝑝𝑒𝑟 𝑓𝑎𝑚𝑖𝑙𝑦
25
1 10 5
P(3 boys) = P (X=3) =p(3 ) = . 5𝐶3 = = 𝑝𝑒𝑟 𝑓𝑎𝑚𝑖𝑙𝑦
25 32 16
5
N. p(x) = (800) = 250 𝑓𝑎𝑚𝑖𝑙𝑖𝑒𝑠
16
1 1
P(5 gir ls) = P (no boys ) = P(X=0 ) =p(0 ) = . 5𝐶0 = 𝑝𝑒𝑟 𝑓𝑎𝑚𝑖𝑙𝑦
25 32
Thus for 800 fam ilies the probability of num ber of familie s having 5 gir ls
1
= (800) = 25 𝑓𝑎𝑚𝑖𝑙𝑖𝑒𝑠
32
1 1
= p(2 ) +p(3) = . 5𝐶2 + . 5𝐶3
25 25
1 20 5
= (10 + 10) = = 𝑝𝑒𝑟 𝑓𝑎𝑚𝑖𝑙𝑦
25 32 8
5
∴ Expected num ber of fam ilies with 2 or 3 boys = (800) = 500 𝑓𝑎𝑚𝑖𝑙𝑖𝑒𝑠
8
1
= (5 + 5𝐶2 + 5𝐶3 + 5𝐶4 + 5𝐶5 )
25 𝐶1
1
= (5 + 10 + 10 + 5 + 1)
25
31
=
32
31
∴ Expected num ber of fam ilies with at le ast one boy = (800) = 775
32
Prob 2 : Seven coins are tosse d and the num ber of he ads are note d. The expe rime nt is repe ate d 128 times and
the follow ing dis tr ibution is obtaine d.
(a) the coin is unbias ed. (b) the nature of the coin is not known.
Solut ion:
(a) the coin is unbiased.
1 1
P(X= occ urance of he ad), 𝑝 = ,𝑞 = 𝑎𝑛𝑑 𝑛 = 7
2 2
N= ∑ 𝑓𝑖 = 7 + 6 + 19 + 35 + 30 + 23 + 7 = 128
1 0 1 7 1
∴ 𝑝(0) = 7𝐶0 𝑝0 𝑞7 = 7𝐶0 ( ) ( ) =
2 2 27
PMF
at X =x.
No of he ads
Observed Expecte d or the oretical fre que ncy, E =
frequenc y P(x) N.P(x)
(X)
𝐸0 = 128.P(0)
1
0 7 p(0 ) =
27 1
= 128 𝑋 =1
27
𝐸1 = 128.P(1 )
7
1 6 p(1 ) =7.P (1) =
27 7
= 128 𝑋 =1
27
𝐸2 = 128.P(2)
21
2 10 p(2 ) =21.P (2) =
27 21
= 128 𝑋 =21
27
𝐸3 = 128.P(3)
35
3 35 p(3 ) =
27
=35
𝐸4 = 128.P(4)
35
4 30 p(4 ) =
27
=35
𝐸5 = 128.P(5)
21
5 23 p(5 ) =
27
=21
𝐸6 = 128.P(6
7
6 7 p(6 ) =
27
) =7
𝐸7 = 128.P(7)
1
7 1 p(7 ) =
27
=1
433
= = 3.383
128
i.e., mean E(X )=np = 3. 383 ⇒ 7𝑝 = 3.383
3.383
∴𝑝= = 0.4833 ≅ 0.48
7
Hence the binom ial distr ibution to be fitted is given by the terms of
POISSON DISTRIBUTION
Definition : A r andom var iable 𝑋 has a Poiss on distribution if it ass umes only non -ne gativ e v alues and its
probability m ass func tion is given by
𝜆𝑥
𝑒 −𝜆 ; 𝑥 = 0,1,2, … ,
𝑃(𝑋 = 𝑥) = 𝑝(𝑥) = { 𝑥!
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝜆𝑥 𝜆𝑥
From normality, ∑∞ ∞
𝑥=0 𝑝(𝑥) = ∑𝑥=0 𝑒
−𝜆
= 𝑒 −𝜆 ∑∞
𝑥=0
𝑥! 𝑥!
𝜆1 𝜆2 𝜆3 𝜆4
= 𝑒 −𝜆 {1 + + + + + ⋯………….}
1! 2! 3! 4!
∑ 𝑝(𝑥) = 𝑒 −𝜆 . 𝑒 𝜆 = 1
𝑥=0
NOTE 1: A binom ial distr ibution te nds to a Poisson dis tr ibution under the follow ing conditions
1 n→ ∞ (i.e. the num ber of inde pendent tr ails are inde finite ly lar ge )
2 p→ 0 (i.e. the pr obability of succ ess for e ach tr ail is inde finite ly small)
𝜆
3 𝑛𝑝=𝜆, 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 ⟹ 𝑝=
𝑛
NOTE 2: For a Poisson dis tr ibution me an and v ar iance i.e. the me asure s of ce ntral tendency parame ter and the
measur es of disper sion param eter are c oincides w ith the par ameter 𝜆, 𝜇 = 𝐸(𝑋) = 𝑉(𝑋) = 𝜆
NOTE 3: T he Poiss on distr ibution ar ises w he n, in a continuous s pace or continuous tim e the occur rence of
events ar e discre te
APPLICATION :
Poiss on distr ibution is use d in quality contr ol statis tic s to c ount the number of defec ts of an item, I n ins ur ance
problems to c ount the num ber of c ausalitie s.
EX: It has been found that 2% of t he tools produced by a certain mac hine are defective. w hat is the probability
that in a shipment of 400 suc h tools 12 are defective.
Calculation is this because n is large and p is too small. So we use Poisson distribution.
λ = np = 400(0.02) = 8
λ12 812
𝑃(𝑋 = 12) = e−λ = e−8
12! 12!
NORMAL DISTRIBUTION
Introduction:
Therefore, phys ical quantities that are expec te d to be the s um of many indepe ndent proces ses, suc h
as me asur ement err ors, ofte n have distr ibutions that are nearly norm al.
It is denoted by 𝑋 ~ 𝑁(𝜇 , 𝜎 2 )
A random variable which follows normal distribution is called as a normal variate and is
denoted by 𝑋 ~ 𝑁(𝜇 , 𝜎 2 ).
The curve 𝑦 = 𝑓(𝑥) which represents the normal distribution is called as normal curve.
1. It is a continuous distribution.
3. The curve is bell shaped symmetrical about the line 𝑥 = μ. The both tails of the curve
tend to infinity. The curve Symmetrical about the mean. Each half of the distribution
is a mirror image of the other half.
∞
4. Area under the normal curve ∫−∞ 𝑓(𝑥)𝑑𝑥 = 1.
The area under the curve yields the probabilities, so the total of all
probabilities for a normal distribution is 1. Since the distribution is
symmetric, the area of the distribution on each side of the mean is 0.5.
5. Mean, Median and Mode of the distribution are coincide. So normal curve is
unimodal.
6. It is asymptotic to the horizontal axis. That is, it does not touch the x-axis
and it goes on forever in each direction.
A Normal distribution with mean, zero and standard deviation one is called as standard
normal distribution.
1 𝑥−𝜇 2
1
𝑒 −2 ( )
If 𝑋 ~ 𝑁(𝜇 , 𝜎 2 ) then pdf 𝑓 (𝑥) = 𝜎 , −∞ <𝑥 <∞
√2𝜋.𝜎
𝑋−𝜇 1
Mean: 𝐸(𝑍) = 𝐸 ( ) = 𝜎 [𝐸(𝑋) − 𝐸(𝜇)]
𝜎
1
= 𝜎 [𝐸(𝑋) − 𝜇]
1
= 𝜎 (𝜇 − 𝜇) = 0
𝑋−𝜇 1 𝜇
Variance 𝑉(𝑍) = 𝑉 ( ) = 𝑉 [(𝜎) . 𝑋 − 𝜎]
𝜎
1 2
= (𝜎) 𝑉(𝑋) =1
𝑋−𝜇
Thus 𝒁 = ~ 𝑁(0 , 1).
𝜎
1
1 (z)2
The probability density function of 𝑧 is f (z) = e− 2 , −∞ <z<∞
√2π
Model-1 𝑃(𝑥1 ≤ 𝑋 ≤ 𝑥2 )
x1 −μ x2 −μ
𝑃(𝑥1 ≤ 𝑋 ≤ 𝑥2 ) = 𝑃(𝑧1 ≤ 𝑍 ≤ 𝑧2 ) where 𝑧1 = , 𝑧2 =
σ σ
𝑧2 𝑧
= ∫0 𝑓(𝑧)𝑑𝑧 − ∫0 1 𝑓(𝑧)𝑑𝑧
= 𝐴(𝑧2 ) − 𝐴(𝑧1 )
Case 2. If 𝑧1 < 0 𝑎𝑛𝑑 𝑧2 > 0.
𝑃(𝑥1 ≤ 𝑋 ≤ 𝑥2 ) = 𝑃(𝑧1 ≤ 𝑍 ≤ 𝑧2 )
𝑧
= ∫𝑧 2 𝑓(𝑧)𝑑𝑧
1
0 𝑧 −𝑧1 𝑧
= ∫𝑧 𝑓(𝑧)𝑑𝑧 + ∫0 2 𝑓(𝑧)𝑑𝑧 = ∫0 𝑓(𝑧)𝑑𝑧 + ∫0 2 𝑓(𝑧)𝑑𝑧
1
= 𝐴(−𝑧1 ) + 𝐴(𝑧2 )
Case 3. If 𝑧1 < 0 𝑎𝑛𝑑 𝑧2 < 0.
𝑃(𝑥1 ≤ 𝑋 ≤ 𝑥2 ) = 𝑃(𝑧1 ≤ 𝑍 ≤ 𝑧2 )
𝑧
= ∫𝑧 2 𝑓(𝑧)𝑑𝑧
1
0 0 −𝑧1 −𝑧2
= ∫𝑧 𝑓(𝑧)𝑑𝑧 − ∫𝑧 𝑓(𝑧)𝑑𝑧 = ∫0 𝑓(𝑧)𝑑𝑧 − ∫0 𝑓(𝑧)𝑑𝑧
1 2
= 𝐴(−𝑧1 ) − 𝐴(−𝑧2 )
Model-2 𝑃(𝑥1 ≤ 𝑋)
x1 −μ
𝑃(𝑥1 ≤ 𝑋) = 𝑃(𝑧1 ≤ 𝑍) where 𝑧1 = ,
σ
Case 1. If 𝑧1 > 0.
𝑃(𝑥1 ≤ 𝑋) = 𝑃(𝑧1 ≤ 𝑍)
∞ 1 𝑧
= ∫𝑧 𝑓(𝑧)𝑑𝑧 = 2 − ∫0 1 𝑓(𝑧)𝑑𝑧
1
1
= 2 − 𝐴(𝑧1 )
Case 2. If 𝑧1 < 0.
𝑃(𝑥1 ≤ 𝑋) = 𝑃(𝑧1 ≤ 𝑍)
∞
= ∫𝑧 𝑓(𝑧)𝑑𝑧
1 𝑧1
0 1 −𝑧1 1
= ∫𝑧1 𝑓(𝑧)𝑑𝑧 +2= ∫0 𝑓(𝑧)𝑑𝑧 +2
1
= + 𝐴(−𝑧1 )
2
Model-3 𝑃(𝑋 ≤ 𝑥2 )
x2 −μ
𝑃(𝑋 ≤ 𝑥2 ) = 𝑃(𝑍 ≤ 𝑧2 ) where 𝑧2 = ,
σ
Case 1. If 𝑧2 > 0.
2 𝑧
𝑃(𝑋 ≤ 𝑥2 ) = 𝑃(𝑍 ≤ 𝑧2 ) = ∫−∞ 𝑓(𝑧)𝑑𝑧
1 𝑧 1
= 2 + ∫0 2 𝑓(𝑧)𝑑𝑧 = 2 + 𝐴(𝑧2 )
Case 2. If 𝑧2 < 0.
2 𝑧
𝑃(𝑋 ≤ 𝑥2 ) = 𝑃(𝑍 ≤ 𝑧2 ) = ∫−∞ 𝑓(𝑧)𝑑𝑧
1 2
= 2 − ∫𝑧 𝑓(𝑧)𝑑𝑧
2
1 0 1 −𝑧2
= 2 − ∫𝑧 𝑓(𝑧)𝑑𝑧 = 2 − ∫0 𝑓(𝑧)𝑑𝑧
2
1
= 2 − 𝐴(−𝑧2 )
1 1
= 2 − 𝑃(0 < 𝑍 < 1.78) = 2 − 𝐴(1.78) = 0.5 − 0.4625 = 0.0375
= 0.5 − 𝑃(0 < 𝑍 < 2.52) + 0.5 − 𝑃(0 < 𝑍 < 1.83)
= 1 − 𝐴(0.252) − 𝐴(1.83)
= 1 − 0.4941 − 0.4664 = 0.0395
Prob 2. If 𝑿 is a normal variate with mean 30 and standard deviation 5. Find the
probabilities that 𝟐𝟔 ≤ 𝑿 ≤ 𝟒𝟎 (ii)𝑿 ≥ 𝟒𝟓
Sol: Given that mean 𝜇 = 30, standard deviation 𝜎 = 5
𝑋−𝜇
Standard normal variate 𝑧 =
𝜎
= 𝑃(−0.8 ≤ 𝑍 ≤ 2) 2
= 𝑃(−0.8 ≤ 𝑍 ≤ 0) + 𝑃(0 ≤ 𝑍 ≤ 2)
= 𝑃(0 ≤ 𝑍 ≤ 0.8) + 𝑃(0 ≤ 𝑍 ≤ 2)
=A(0.8)+A(2)
= 0.2881+0.4772=0.7653
45−𝜇 45−30
(ii) 𝑧1 = = =3
𝜎 5
𝑃(45 ≤ 𝑋) = 𝑃(𝑧1 ≤ 𝑍)
= 𝑃(3 ≤ 𝑍) = 𝑃(𝑍 ≥ 3) 3
= ½ −𝑃(0 ≤ 𝑍 ≤ 3) = ½ - A(3)
= 0.5-0.4987=0.0013
Prob 3: The mean and standard deviation of the marks obtained by 1000 students in a
examination are respectively 34.5 and 16.5 . Assuming the normality of the distribution ,
find the approximate number of students expected to obtain marks between 30 and 60.
Sol: Let 𝑋 be the random variable which denotes the marks obtained by a student.
Given that mean 𝜇 = 34.5, standard deviation 𝜎 = 16.5
𝑋−𝜇
Standard normal variate 𝑧 = 𝜎
= 𝑃(−0.27 ≤ 𝑍 ≤ 1.54)
=A(0.27)+A(1.54)
= 0.1064+0.4382=0.5446
=A(0.27)+A(1.54)
= 0.1064+04382=0.5446
To find probability 𝑃(98 < 𝑋 < 102), probability of a resistor with resistance in
between 98 and 102
= 𝑃(−1 ≤ 𝑍 ≤ 1) -1 1
= 𝑃(−1 ≤ 𝑍 ≤ 0) + 𝑃(0 ≤ 𝑍 ≤ 1)
= 𝑃(0 ≤ 𝑍 ≤ 1) + 𝑃(0 ≤ 𝑍 ≤ 1)
=A(1) + A(1)
= 0.3413+0.3413=0.6826
Prob 5. A sales tax officer has reported that the average sales of the 500 business that he
has to deal with during a year is 36,000 Rs with standard deviation of 10,000 Rs . Assuming
that the sales in these business are normally distributed, find ( i) the number of business
as the sales of which are 40,000 Rs and above (ii) the percentage of business the sales of
which are likely to range between 30,000 Rs and 40,000 Rs.
Sol: Let X be the sales in the year by a business firm.
Given that mean 𝜇 = 36,000, standard deviation 𝜎 = 10,000
𝑋−𝜇
Standard normal variate 𝑧 = 𝜎
40,000−𝜇 40,000−36,000
z= = = 0.4,
𝜎 10,000
= 𝑃(𝑍 ≥ 0.4)
0.4
=0.5 - 𝑃(0 ≤ 𝑍 ≤ 0.4)
(ii) To find the probability of a business with sales in between 30,000 and 40,000
i.e 𝑃(30,000 < 𝑋 < 40,000).
30,000−𝜇 30,000−36,000 40,000−𝜇 40,000−36,000
𝑧1 = = = −0.6, 𝑧2 = = = 0.4
𝜎 10,000 𝜎 10,000
= 𝑃(−0.6 ≤ 𝑍 ≤ 0.4)
= 𝐴(0.6) + 𝐴(0.4)
The percentage of business firms having sales between 30,000 and 40,000
is 𝑃(30,000 < 𝑋 < 40,000) × 100 = 38.11%
Prob 6: In normal distribution , 7% of the items are under 35 and 89% of the items are
under 63. Determine mean and variance.
Sol: From the given distribution , we can draw the distribution of the total items under the
normal curve as follows. We know that the normal curve is symmetric about the mean.
0.43 0.39
0.11
0.07
z1 z2
0.19 0.42
0.31 0.08
z1 z2
Let 𝑥1 = 45 and 𝑥2 = 64
𝑃(𝑧1 ≤ 𝑍 ≤ 0) = 0.19 = 0.1915
𝑃(𝑧1 ≤ 𝑍 ≤ 0) = 𝑃(0 ≤ 𝑍 ≤ −𝑧1 ) = 𝐴(−𝑧1 ) = 0.1915
⟹ −𝑧1 = 0.5 ⟹ 𝑧1 = −0.5
𝑃(0 ≤ 𝑍 ≤ 𝑧2 ) = 𝐴(𝑧2 ) = 0.42 = 0.4207
⟹ 𝑧2 = 1.41
𝑥1 −𝜇 𝑥2 −𝜇
= −0.5and = 1.41
𝜎 𝜎
45−𝜇 64−𝜇
i.e = −0.5 and =1.41
𝜎 𝜎
(i) To find probability 𝑃(𝑋 ≥ 90), probability that a student at random got above 90%
90−𝜇 90−78
z= = = 1.09
𝜎 11
Number of students who got above 90% = 𝑃(𝑋 ≥ 90) × 1000 = 137.9 ≅ 138
(ii) Here we want to find highest percentage of marks 𝑥1 , by the lowest 10% of the
students.
𝑋−𝜇 𝑥1 −𝜇
𝑍= , 𝑧1 =
𝜎 𝜎
Clearly 𝑧1 < 0
0.1
𝑃(𝑧1 < 𝑍 < 0) = 0.5 − 0.1 = 0.4
z1
𝑃(0 < 𝑍 < −𝑧1 ) = 𝑃(𝑧1 < 𝑍 < 0) = 0.4 = 0.4015
𝑥1 −𝜇
We have 𝑧1 = 𝜎
𝑥1 −0.78
⟹ −1.29 = 0.11
Thus highest marks obtained by the lowest 10% of students is 0.6392 × 100 = 63.92 ≅ 64.
(iii) Let the middle 90% of students obtained marks between 𝑥1 𝑎𝑛𝑑 𝑥2 .
𝑥1 −𝜇 𝑥2 −𝜇
𝑧1 = , 𝑧2 =
𝜎 𝜎
𝑃(𝑍 < 𝑧1 ) = 𝑃(𝑍 > −𝑧1 ) = 0.05 ⟹ 𝑃(0 < 𝑍 < −𝑧1 ) = 0.45 = 0.4505
𝐴(−𝑧1 ) = 0.4505 ⟹ −𝑧1 = 1.64 ⟹ 𝑧1 = −1.64
𝑥1 −0.78
⟹ = −1.64 ⟹ 𝑥1 = 0.78 − 0.11 × 1.64 = 0.5996
0.11
1 𝑥−𝜇 2
1 ( )
If 𝑋 ~ 𝑁(𝜇 , 𝜎 2 ), pdf is 𝑓 (𝑥) = 𝑒 −2 𝜎 , −∞ < 𝑥 <∞
√2𝜋.𝜎
𝒕 𝟐 𝝈𝟐
𝑴𝑮𝑭, 𝑴𝑿 (𝒕) = 𝒆𝒕𝝁+ 𝟐
𝑑𝑟
𝐸 (𝑋 𝑟 ) = [𝑀𝑋 (𝑡)]𝑡=0 , 𝑟 = 1,2, … . . ,.
𝑑𝑡 𝑟
𝑑 𝒕 𝟐 𝝈𝟐
Mean ( 𝝁):𝐸 (𝑋) = { 𝒆𝒕𝝁+ 𝟐 }
𝑑𝑡
𝑡=0
𝒕 𝟐 𝝈𝟐 𝑑 𝒕𝟐 𝝈𝟐
= 𝒆𝒕𝝁+ 𝟐 . [𝒕𝝁 + ] , 𝑎𝑡 𝑡 = 0
𝑑𝑡 𝟐
𝒕 𝟐 𝝈𝟐
𝟐𝒕 𝝈𝟐
= 𝒆𝒕𝝁+ 𝟐 . { 𝝁. 𝟏 + }, at t=0
𝟐
𝟎 𝟐 𝝈𝟐 𝟐.𝟎 𝝈𝟐
= 𝒆𝟎 𝝁+ 𝟐 . {𝝁 + } = 𝒆𝟎 . { 𝝁}
𝟐
E(X) = 𝝁
B) Variance :
𝑑2
𝐸(𝑋 2 ) = [𝑀𝑋 (𝑡)]𝑡=0
𝑑𝑡 2
𝑑 𝑑 𝑡2 𝜎 2
= { ( 𝑒 𝑡𝜇+ 2 )}
𝑑𝑡 𝑑𝑡
𝑡=0
𝒕𝟐 𝝈𝟐 𝒕 𝟐 𝝈𝟐
={ 𝒆𝒕𝝁+ 𝟐 { 𝝈𝟐 } + 𝒆𝒕𝝁+ 𝟐 {𝝁. 𝟏 + 𝒕 𝝈𝟐 }{𝝁. 𝟏 + 𝒕 𝝈𝟐 } }𝒕=𝟎
= 𝝈𝟐 + 𝝁𝟐
Let 𝑋~𝐵(𝑛, 𝑝). Since X is Binomial variate, its probability mass function is
For large values of n, the calculation of above binomial probabilities are difficult. In such cases the binomial curve is approximated by a
normal curve and the required probability is computed as follows.
𝑧2
𝑃(𝑥1 < 𝑋 < 𝑥2 ) = ∫𝑧1 𝑓(𝑧)𝑑𝑧 = area under the normal curve 𝑦 = 𝑓(𝑧), between 𝑧1 ,𝑧2 .
Prob1. Find the probability by guess work a student can correctly answer 25 to 30 questions in a multiple choice quiz consisting of 80
questions. Assume that in each question with four choices, only one choice is correct and student has no knowledge of the subject.
1 3
Sol: Given that 𝑝 = , 𝑞 = , 𝑛 = 80.
4 4
1 25 3 55 1 26 3 54 1 30 3 50
= 80𝐶25 ( ) ( ) + 80𝐶26 ( ) ( ) + ⋯ . . +80𝐶30 ( ) ( )
4 4 4 4 4 4
Prob 2. Find the probability that out of 100 patients between 84 and 95 inclusive will survive
𝑞 = 1 − 𝑝 = 0.1, 𝑛 = 100
Normal approximation:
1. If X is uniformly distributed random variable that takes values between 0 and 2 . Then find
𝐸(𝑋 4 ) .
2. If the salaries of 400 employees in a company are normally distributed with mean 65,000
and standard deviation 10,000. How many employees get salary (i) greater than 72,000 (ii)
less than or equal to 64,00 (iii)between 60 and 70 thousands
3. If 𝑋 is a normal variate with mean 35 and SD 5, then find (I)𝑃(25 < 𝑋 < 40) (ii) 𝑃(𝑋 ≥ 44)
If X is a random variable following normal distribution with mean 1 and variance 4. Let Y be another
normal variate with men -1 and variance unknown. If 𝑃(𝑋 ≤ −1) = 𝑃(𝑌 ≥≥ 2), then find the
variance of 𝑌.
4. The wages of 20,000 employees was found normally distributed withs mean 7500 and
standard deviation 500. Find (i) the percentage of employee with salary exceeding 6680
(ii)percentage of employees with salary exceeding 8320(iii) number of employees with salary
between 6800 and 7900.
5. Suppose that the weights of 800 male students are normally distributed with mean 42
pounds and standard deviation 10 pounds. Find the number of students whose weights 52
pounds.
6. Eight coins are tossed together. Find by normal approximation the probability of getting 1 to
4 heads in a single toss
7. Determine the probability that getting an even number on the face 3 to 5 times in throwing
10 dice together by normal approximation