Professional Documents
Culture Documents
e
as a real number satisfying the following axioms.
or
1. 0 ≤ 𝑃𝑃(𝐴𝐴) ≤ 1. (Probability of an event lies between 0 and 1).
2. P(S) =1 (Probability of the sample space = 1).
sh
3. If A and B are mutually exclusive events, P(A U B) =P(A) + P(B).
4. If A1,A2,……An … are a set of mutually exclusive events,
ki
P(A1 U A2 U A3…… U An) =P(A1)+P(A2) +…… da
Example: Define conditional probability.
an
Solution:
The conditional probability of an event B assuming that the event A
.N
𝑃𝑃(𝐴𝐴∩𝐵𝐵)
has already occurred is denoted by P (B/A) =
𝑃𝑃(𝐴𝐴)
.V
where P(A) ≠ 0.
Example: If X is a random variable then show that Var (ax+b)=a2 Var(X).
.L
Solution:
Var(X) = E(X2) – [E(X)]2 , changing X to aX+b
of
Solution:
∞
i) f(x) ≥ 0 ii) ∫0 𝑓𝑓(𝑥𝑥)𝑑𝑑𝑑𝑑 = 1 where f(x) is the probability density function.
2 Lellapalli
Solution:
Let X be a continuous random variable taking values in a certain range a ≤ X ≤ b,
then the function P(X=x) =f(x) is called a probability density function (p.d.f) if it
satisfies the following properties:
1. f(x) ≥ 0.
𝑏𝑏
2. ∫𝑎𝑎 𝑓𝑓(𝑥𝑥)𝑑𝑑𝑥𝑥 = 1.
e
or
Total area under the probability curve y = f(x) is one.
sh
ki
Example: State Chebychev’s inequality.
da
Solution: Let X be a Random variable with mean μ and variance σ2 then for k > 0,
an
1
i) P (|𝑋𝑋 − 𝜇𝜇| ≥ 𝑘𝑘𝑘𝑘) ≤
𝑘𝑘 2
1
.N
𝑘𝑘 2
.L
Solution:
Pr
E(ax+b)= ∑∞ ∞ ∞ ∞
𝟎𝟎 (𝒂𝒂𝒂𝒂 + 𝒃𝒃)𝒑𝒑(𝒙𝒙) = 𝒂𝒂 ∑𝟎𝟎 (𝒙𝒙)𝒑𝒑(𝒙𝒙) + ∑𝟎𝟎 (𝒃𝒃)𝒑𝒑(𝒙𝒙) since E(x)= ∑𝟎𝟎 (𝒙𝒙)𝒑𝒑(𝒙𝒙)
and ∑∞
𝟎𝟎 𝒑𝒑(𝒙𝒙) = 𝟏𝟏
We get E(ax+b)= ∑∞ ∞ ∞
𝟎𝟎 (𝒂𝒂𝒂𝒂 + 𝒃𝒃)𝒑𝒑(𝒙𝒙) = 𝒂𝒂 ∑𝟎𝟎 (𝒙𝒙)𝒑𝒑(𝒙𝒙) + ∑𝟎𝟎 (𝒃𝒃)𝒑𝒑(𝒙𝒙) =a E(x) +b.
∞
For a continuous distribution E(ax+b)= ∫−∞ (𝒂𝒂𝒂𝒂 + 𝒃𝒃)𝒇𝒇(𝒙𝒙)𝒅𝒅𝒅𝒅 =
∞ ∞ ∞
𝒂𝒂 ∫−∞ (𝒙𝒙)𝒇𝒇(𝒙𝒙)𝒅𝒅𝒅𝒅 + ∫−∞ 𝒃𝒃𝒃𝒃(𝒙𝒙)𝒅𝒅𝒅𝒅 = a (E(x)) +b Since ∫−∞ (𝒙𝒙)𝒇𝒇(𝒙𝒙)𝒅𝒅𝒅𝒅 = 𝑬𝑬(𝒙𝒙)𝒂𝒂𝒂𝒂𝒂𝒂
∞
� 𝒇𝒇(𝒙𝒙)𝒅𝒅𝒅𝒅 = 𝟏𝟏
e
−∞
or
sh
Example: Define random variable. Give one example.
ki
Solution:
A variable whose value is determined by the outcome of a random experiment is called a
da
random variable. A real valued function which assigns a real value to each menber of the
sample space.
an
In the experiment of tossing 2 coins, if we define the random variable X as the number of
heads, then the values of the random variable X are 0,1,1,2 corresponding to the outcomes
.N
TT,TH,HT,HH.
.V
Example: If X is uniformly distributed over (0, 10), find the probability that
.L
1 1
Solution: Since X is uniformly distributed the pdf is f(x) = =
10−0 10
Pr
2 1 x
i) For X < 2 ∫0 dx = = 1/5 since x=2
10 10
10 1 x 10−8
ii) For X > 8 ∫8 10 dx = = = 1/5 since x lies in 8 to 10
10 10
9 1 x 9−3
iii) For 3 < X < 9 ∫3 dx = = = 3/5 since x lies in 3 to 9
10 10 10
x2
Example: In a continuous random variable X the p.d.f. f(x) = 3 ,−1 < x < 2
0, elsewhere
∝
(i) Verify ∫ f ( x)dx = 1 (ii) Find P(0 < X ≤ 1) (iii) Find F(x) the cumulative
−∝
distribution.
2
∞ 2 𝑥𝑥 2 𝑥𝑥 3 8 −1 8+1
Solution: i) ∫−∞ 𝑓𝑓(𝑥𝑥)𝑑𝑑𝑑𝑑 = ∫−1 𝑑𝑑𝑑𝑑 = � � = − = =1
3 9 −1 9 9 9
1
1 𝑥𝑥 2 𝑥𝑥 3 1
ii) P(0<X<1) = ∫0 𝑑𝑑𝑑𝑑 = � � =
e
3 9 0 9
or
1
1 𝑥𝑥 2 𝑥𝑥 3 1
iii) F(x) the cumulative distribution = P(0<X<1) = ∫0 𝑑𝑑𝑑𝑑 = � � =
3 9 0 9
sh
𝑥𝑥 𝑥𝑥
𝑥𝑥 𝑥𝑥 2 𝑥𝑥 𝑥𝑥 2 𝑥𝑥 3 𝑥𝑥 3 𝑥𝑥 3 +1
P(-∞<X<x) = ∫−∞ 𝑑𝑑𝑑𝑑 = ∫−1 𝑑𝑑𝑑𝑑 = � � = � � =
3 3 9 −1 9 −1 9
ki
𝑥𝑥 3 +1
CDF =� 𝑓𝑓𝑓𝑓𝑓𝑓 – 1 < 𝑥𝑥 < 2
9
da
Example: a) Four coins are tossed simultaneously. What is the probability of getting
an
i) 2 heads (ii) at least 2 heads (iii) at most 2 heads.
Solution: Step 1: Let X be the random variable denoting the number of times heads turns up
.N
when 4 coins are tossed simultaneously. The probability of getting a head in 1 throw
.V
x n−x
Step 2:The probability distribution of X is given by P(X = x) = nCxp q
of
1 5 11
=1 – [ 4 [1 + 4] ] =1 - =
2 16 16
5 Lellapalli
b) If 10% of the screws produced by an automatic machine are defective, find the
probability that of 20 screws selected at random, there are, (i) exactly two defectives
(ii) at most three defectives (iii) between 1 and three defectives (inclusive).
e
Solution: Probability of defective is 10% p =.1
0.1, p+q =1 q =0.9
or
Number of screws selected is 20, n =20,
sh
P(X= x) = 20Cx(1/10)x (9/10)20-x x = 0,1,2, - - - 20
ki
i) Probability of exactly 2 defective screws = P( X=2)= 20C2p2q20-2 from
binomial distribution
da
an
20∗19
P( X=2)= 20C2p2q20-2= (. 1)2. (0.9)18 = 190 (0.01)(0.15009)=1.9(0.15009) =0.28517
2∗1
.N
P(X=1)+P(X=2)+P(X=3)
of