Maths Methods Probability Notes
Maths Methods Probability Notes
com
Do not reproduce by other means
Copyright itute.com 2005
b
Pr (B = b )
0
9/36
1
18/36
c
Pr (C = c )
0
30/36
2
6/36
2
9/36
Probability
Probability experiment, outcomes and sample space
An experiment is the process of collecting data that shows
variation in its outcomes. The set of all possible distinct
outcomes is called the sample space of the experiment.
Probability distributions:
1
1/6
2
1/6
x
Pr (Q = x )
0
3/6
1
3/6
x
Pr (R = x )
0
4/6
1
2/6
3
1/6
4
1/6
5
1/6
6
1/6
Pr = 1 .
x
Pr (W = x )
2
8/36
3
6/36
4
4/36
5
2/36
1
6/8
1
3/8
2
3/8
3
1/8
1
3/8
4
3/8
9
1/8
3
2/8
0
1/8
(a)
(b)
(c)
(d)
(e)
Probability distributions:
a
0
1
Pr ( A = a ) 6/36 10/36
x
Pr (Y = x )
x
Pr (V = x )
Notes: (1) 0 Pr 1 .
(2) For a probability distribution,
0
1/8
x
Pr ( X = x )
1.3
0.31
1.2
0.22
10.3
0.4
11.1
0.07
(a) Possible values of V are: 1.3, 1.2, 10.3 and 11.1. There are
only four because
Pr = 0.31 + 0.22 + 0.4 + 0.07 = 1
(b) Mode is the value of a random variable that has the highest
probability. In this example, the mode is 10.3.
(c)
Pr (V < 10.3) = Pr (V = 1.3) + Pr (V = 1.2) = 0.31 + 0.22 = 0.53
(d) Pr (V < 1.3) = Pr (V = 1.3) + Pr (V = 1.2) = 0.31 + 0.22 = 0.53
(e) Pr (0 < V < 15) = Pr (V = 1.2) + Pr (V = 10.3) + Pr (V = 11.1)
= 0.22 + 0.4 + 0.07 = 0.69 .
Alternatively,
Pr (0 < V < 15) = 1 Pr (V = 1.3) = 1 0.31 = 0.69 .
Probability
x
Pr (H = x )
1
0.2
0
0.1
1
0.2
2
0.5
p(x ) = 1 .
e
for
e+2 e
x = 1,0,1 , set up a table for the probability distribution of K.
Show that
p(x ) = 1 .
1
0.274
x
Pr (K = x )
p(x ) = Pr = e + 2
0
0.452
+
e
e+2 e
e
e+2 e
1
0.274
X = E ( X ) = x Pr ( X = x )
e+2 e
e+2 e
=1
0
0.222
1
0.411
2
0.274
3
0.082
4
0.011
p(x ) = 1.005 1 .
5
0.005
x
Pr ( X = x )
2
0.26
0
0.33
1
0.38
10
0.03
1 3
function Pr ( X = x )= 3C x
4 4
3 x
for x = 0,1,2,3 .
0
3
1
2
2
1
1 3
1 3
1 3
E (x ) = 0 3C 0 + 1 3 C1 + 2 3C 2
4 4
4 4
4 4
3
0
1 3
+ 3 3C 0 = 0.75 .
4 4
Probability
x
Pr ( X = x )
-3
0.08
-2
0.13
-1
0.2
0
0.35
1
0.18
2
0.06
( )
= 1.7
X = 1.7 1.3
x
Pr ( X = x )
2
0.26
0
0.33
1
0.38
10
0.03
1 3
probability function Pr ( X = x )= 3C x
4 4
3 x
for x = 0,1,2,3 .
Pr ( X = x )
0
27
64
1
27
64
2
9
64
3
1
64
X = 0
Probability
3!
is the definition of 3 C1 or 3 C 2 .
1!2!
In general for a sequence consisting of x Ss and (n x ) Fs, the
( )
Trial 1
1/4
Trial 2
S
1/6
1/6
SSS
5/6
1/6
F
S
SSF
SFS
5/6
1/6
F
S
SFF
FSS
5/6
5/6
1/6
F
S
FSF
FFS
5/6
FFF
Pr ( X = x )
Note:
1 5
1
6 6
1
2
2
1
1 5
3
6 6
1 5
3
6 6
3
2
1 5
1
6 6
Pr ( X = x ) = 1 .
F
S
SSF
SFS
2/5
1/4
F
S
SFF
FSS
3/4
3/5
F
S
FSF
FFS
2/5
FFF
3/4
3/5
1 2 2
Pr ( X = 0) = Pr (FFF ) = = 0.08
2 5 5
Pr ( X = 1) = Pr (SFF FSF FFS )
5/6
SSS
1/6
1/2
2/5
1/4
5/6
3/5
Trial 3 Outcomes
1/6
3/4
Trial 3 Outcomes
1/2
Trial 2
1 3 2 1 3 3 1 2 3
= + + = 0.495
2 4 5 2 5 4 2 5 5
Pr ( X = 2) = Pr (SSF SFS FSS )
1 1 3 1 3 3 1 3 1
= + + = 0.39375
2 4 4 2 4 5 2 5 4
1 1 1
Pr ( X = 3) = Pr (SSS ) = = 0.03125
2 4 4
Probability distribution of X:
x
0
Pr ( X = x )
0.08
Note:
Pr( X = x) = 1 .
1
0.495
2
0.39375
3
0.03125
( )
Var ( X ) = E X 2 ( X ) = np(1 p ) .
2
i.e. n 6 .
See part (b) for alternative methods in solving the inequality.
(b) Pr ( X 2 ) 0.95 , 1 Pr ( X = 0) Pr ( X = 1) 0.95 ,
Pr ( X = 0 ) + Pr ( X = 1) 0.05 ,
n
)(
( )( )
) 0.05 .
n 1
log e 0.05
= 5.8645 ,
log e 0.6
(a)
Probability experiment: Checking 5 students for school uniform.
Number of trials n = 5 (5 students)
Success: Out of uniform
Probability of success p = 0.05 (5%)
Random variable X: Number out of uniform.
The experiment can be considered as a sequence of 5 Bernoulli
trials, and X has a binomial distribution.
)(
2
0.021
3
0.001
4
0.000
5
0.000
(b) Pr (at.most.one ) = Pr ( X 1) = Pr ( X = 0) + Pr ( X = 1)
= 0.774 + 0.204 = 0.978 .
Probability
X = E ( X ) = xf (x )dx ,
Var ( X ) = E ( X X ) =
2
( )
Var ( X ) = E X 2 ( X ) =
2
X = Var ( X ) .
If n becomes large, all binomial distributions tend towards bellshape irrespective of the value of p.
Continuous random variables and probability density
functions
(x X )2 f (x )dx
or
x 2 f (x )dx ( X ) ,
2
f (x)dx = 0.5 .
m
f (x )
Notes:
(1) For f (x ) to be a probability density function of random
variable X, it must satisfy the conditions: f (x ) 0 for all real x,
and
f (x )dx = 1 .
2nd CALC 7:
sin 2
Probability
(c) Since f (x ) =
sin
( )
(d) Var ( X ) = E X 2 ( X ) =
Var ( X ) =
(d) Var ( X ) =
xdx = 0.5835 .
30(x
1
x 5 dx 0.7143 2
x 7 dx 0.7143 2
1
x 7 x 8
1
0.7143 2 = 30
= 30
0.7143 2 = 0.0255 .
8
56
7
0
x 2 f (x )dx ( X )
2
(e) Let 0 < m < 1 be the median of X. Pr ( X < m ) = 0.5 .
m
m
x 2 sin 2 x dx = 2.7899 2.4674 = 0.3225
30 x 4 (1 x )dx = 30 x 4 x 5 dx = 0.5 .
2
2
0
0.5679 = 1.0029, + =
X = 0.3225 = 0.5679 .
(e)
x 30(x
2.1387
1.0029
+ 0.5679 = 2.1387 ,
x 5 x 6
m5 m6
5
6
= 30
30
Use graphics calculator to find m = 0.7356 .
f (x ) = 30 x 4 (1 x ) for 0 < x < 1 .
(f)
1 x
x 5 x 6
1
= 30
= 30
= 1.
5
6
30
0
0 .5
30 x 4 (1 x )dx =
0.5
x 5 x 6
0.5 5 0.5 6
= 30
= 30
6
6
5
5
0
(c) E ( X ) =
x30 x 4 x 5 dx =
0 .5
30 x 4 x 5 dx
= 0.1094
30(x
1
x 6 dx
x 6 x 7
1
= 30
= 30
= 0.7143
6
7
42
0
Probability
relationship Z =
Example 1 = 2 , 2 = 2, = 2 .
For X = 2 , Z =
For X = 0 , Z =
22
2
02
= 1.414 .
2
Pr ( X < 0 ) = Pr (Z < 1.414 ) = 0.079
Probability
(i)
f (x ) =
1
1.5 2
1 x 2 .5
2 1 .5
(ii)
(a) Pr ( X < 3) =
Pr Z <
= 0.98 .
15
Hence
= invNorm(0.98) = 2.0537 , = 7.3 .
(iii)
(a) Pr (1 < X < 3) =
f (x )dx = 0.47 .
Pr Z <
= 0.95 and Pr Z <
= 0.03 .
Hence
80
80
= invNorm(0.95) and
= 1.64485 and
20
20
= invNorm(0.03) .
= 1.88079 .
Solve simultaneously,
80 = 1.64485 .(1)
20 = 1.88079 ..(2)
(1) (2), 60 = 3.52564 , = 17 and = 52
(a) N 80.80,4.50 2 ,
Pr ( X > 85.00 ) = normalcdf (85.00, E 99,80.80,4.50 ) = 0.175 .
(b) Bi (5,0.175) ,
Pr ( X > 2 ) = 1 Pr ( X 2 ) = 1 binomcdf (5,0.175,2)
= 1 0.96 = 0.04 .
(c) Bi (5,0.175) , = E ( X ) = np = 5 0.175 = 0.88 .
Pr ( X > + 2 ) = 0.025 ,
Probability
Conditional probability
= 1 0.82 = 0.18 .
B
Pr
A
Pr (B )
B
Pr ( A B )
Pr ( A B )
Pr (B )
B
Pr ( A)
Pr ( A)
1
1
Pr ( A) = Pr ( X = 3) = = .
8
2
Pr (B ) = Pr ( X > 1) = Pr ( X = 2) + Pr ( X = 3) =
1
.
8
Set up the Karnaugh table:
A
B
1/8
0
B
1/8
3 1 1
+ = .
8 8 2
Pr ( A B ) = Pr ( X = 3) =
A
3/8
1/2
7/8
1/2
1/2
1
Pr ( A B ) 3 / 8 3
=
= .
Pr (B )
1/ 2 4
Pr (B A) 3 / 8 3
Pr (B | A) =
=
= .
Pr ( A)
7/8 7
Pr ( A | B ) =
Probability
10