Вы находитесь на странице: 1из 9

EEM2046 Engineering Mathematics IV Tutorial

Random Variables and Stochastic Processes Session 2010/11, trimester 3 1


Tutorial for Random Variables and Stochastic Processes
EEM2046 ENGINEERING MATHEMATICS IV
MULTIMEDIA UNIVERSITY


1. A coin is biased so that a tail is three times as likely to occur as a head. Find the
probability of the head appears when this coin is tossed once.

2. From a box containing 4 blue balls and 2 green balls, 3 balls are drawn in
succession, each ball being replaced in the box before the next draw is made.
(a) Find the probability distribution for the number of green balls.
(b) Express the probability distribution graphically as a probability histogram.


3. Suppose a discrete random variable X has the following probability mass function
( )
3
1
0 = = X P , ( )
5
1
1 = = X P , ( )
4
1
2 = = X P , ( ) c X P = = 3
where c is a constant. Find
(a) the value of c.
(b) ( ) 1 X P .

4. Given a probability mass function of random variable X as follows:
( ) ( ) ( ) . 3 , 2 , 1 , 0 , 8 . 0 2 . 0
3 3
= =

x C x f
x x
x X

(a) Find ( ) 3 = X P
(b) Find the cumulative distribution function, ( ) x F
X
.
(c) Sketch the graph of cumulative distribution function, ( ) x F
X
.

5. Let c be a constant and consider the density function ( )

<

0 if
1
0 if
1
2
2
y e
c
y e
c
y f
y
y
Y
.
(a) Find the value of c.
(b) Find the cumulative distribution function ( ) y F
Y
.
(c) Compute ( ) 1
Y
F .
(d) Compute ( ) 5 . 0 > Y P .

6. Show that the function
( )
( )
. 2 , 1 ; 2 , 1 ,
18
2
, = =
+
= y x
y x
y x f
XY

satisfies the conditions of the joint probability distribution. Determine whether
the two random variables are independent or dependent.

7. Let the joint probability distribution for ( )
3 2 1
X X X , , be
( )
( )

< < < < < <


=
+ +
elsewhere , 0
0 , 0 , 0 ,
, ,
3 2 1
3 2 1
3 2 1
3 2 1
x x x e
x x x f
x x x
X X X
.
(a) Find the marginal joint pdf for
1
X and
2
X .
EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 2
(b) Find the marginal pdf for
i
X , 3 , 2 , 1 = i , respectively.
(c) Find the conditional probability distribution for
2 1
, X X given
3 3
x X = .

8. Show that the two-dimensional random variables with the densities
( ) y x y x f
XY
+ = , and ( ) ( )( )
2
1
2
1
, + + = y x y x g
XY
if 1 0 x , 1 0 y , have the
same marginal distributions.

9. Let X and Y be the diameters (in cm) of a ball and a hole, respectively. Suppose
that X and Y has the joint probability density function
( )


=
otherwise. 0
4 . 3 0 . 3 , 2 . 3 8 . 2 if 25 . 6
,
y x
y x f
XY

(a) Find the marginal distributions.
(b) What is the probability that a ball chosen at random will be able to put into a
hole whose diameter is 3.0?

10. Three balls are drawn without replacement from a box containing 3 green balls, 3
yellow balls, 6 black balls. Let X denote the number of yellow balls drawn and Y
the number of green balls drawn. Find
(a) the joint probability distribution function of X and Y.
(b) ( ) 2 +Y X P .
(c) the marginal distribution of X and Y, respectively.
(d) ( ) 1 2 = Y X P .
(e) Are X and Y independent?

11. Show that the random variables X and Y in joint probability distribution
( )

< < < <


=

elsewhere 0
0 0 2
,
, ,
,
y y x e
y x f
y x
XY
are statistically dependent.

12. Let joint probability distribution for random variables X and Y be
( )

< < < <


=

elsewhere. , 0
0 , 0 ,
,
y x e
y x f
y x
XY

Show that X and Y are statistically independent.

13. Let X be a random variable with probability distribution
( )

=
=
otherwise. , 0
, 5 , 4 , 3 , 2 , 1 ,
5
1
x
x f
X

Find the probability distribution of random variable 1 5 = X Y .

14. Let X
1
and X
2
be discrete random variables with joint probability distribution
( )

= =
=
elsewhere. , 0
, 3 , 2 , 1 ; 2 , 1 ,
18 ,
2 1
2 1
2 1
2 1
x x
x x
x x f
X X

Find the probability distribution of random variable
2 1
X X Y = .
Lecture notes series, engineering mathematics vol. II
EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 3
15. Let X be a continuous random variables with probability density function,
( )

<
=
elsewhere , 0
4 2 ,
6
x
k
x f
X
.
Find k and the probability distribution of
2
X Y = .


16. Let X have the probability density function
( )

< <
=
elsewhere 0
1 0 1
,
, x
x f
X
.
Find the probability distribution of lnX Y 2 = .

17. Suppose X
1
and X
2
be two mutually independent random sample from Standard
Normal distribution, find the joint probability distribution of
2
2
2
1 1
X X Y + = and
2 2
X Y = . Also find the marginal probability distribution of Y
1
.

18. Assume the waiting time of length X in minutes of a particular type of queue is a
random variable with probability density function
( )

>
=

otherwise. , 0
0 ,
6
1
6
1
x e
x f
x
X

(a) Determine the mean length of this type of queue.
(b) Find the variance and standard deviation of X.
(c) Find ( )
2
6 + X E .

19. Let ( )
( ) ( ) ( ) ( )

=
=
elsewhere 0
1 1 1 0 0 0
3
1
,
, , , , , , ,
,
y x
y x f
XY
. Find
(

\
|

|

\
|

3
2
3
1
Y X E .

20. If the joint probability density function of X and Y is given by
( )
( )

< < < < +


=
elsewhere 0
2 1 1 0 2
7
2
,
y , x , y x
y , x f
XY
.
Find the expected value of ( ) Y X
Y
X
Y X g
2
3
, + |

\
|
= .

21. The joint probability density function of random variables X and Y is
( )

< < < <


+
=
otherwise. , 0
2 0 , 2 0 ,
8 ,
y x
y x
y x f
XY

(a) Find the covariance of X and Y.
(b) Find the correlation coefficient of X and Y.
(c) Determine whether the X and Y are independent or dependent.
Lecture notes series, engineering mathematics vol. II
EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 4
22. Consider the joint density function
( )

< < >


=
otherwise. , 0
, 1 0 , 2 ,
16
,
3
y x
x
y
y x f
XY

Compute the correlation coefficient
xy
.

23. (a) Explain, very briefly, the method of least squares for obtaining the
equation of a regression line.
(b) The number of grams g of a certain detergent which will dissolve in 100g of
water at temperature
0
C is shown in the table.

t(
0
C)



0


10


20


30


40


50


60


70


80


90


100

g(g) 53.5 59.5 65.2 70.6 75.5 80.2 85.5 90.0 95.0 99.2 104.0
Obtain the equation of the least squares regression line of g on t.
Estimate the value of g for the temperature of 45
0
C.

24. A scientist working in agriculture research believes that there is a linear
relationship between the amount of certain food supplement given to hens and the
hardness of the shells of the eggs they lay. As an experiment, controlled
quantities of the supplement were added to the hens normal diet and the hardness
of the shells of the eggs then measured on a scale from 1 to 10, with the following
results:
Food supplement, f(g/day)

2 4 6 8

10

12

14

Hardness of the shells, g 3.2

5.2

5.5 6.4

7.2

8.5

9.8

(a) Find the equation of the regression line.
(b) Explain what the values of
1
c and
2
c tell you and why you should not try to
calculate the shell hardness for a food supplement of 20 g per day.

25. (a) A particle moves on a circle through points that have been marked 0, 1, 2, 3,
4 (in clockwise order). The particle starts at point 0. At each step, it has
probability 0.75 of moving the point clockwise (0 follows 4) and probability
0.25 of moving one point counterclockwise. Let X
n
denote its location on the
circle after step n, find the one-step transition matrix.

(b) Suppose we have two boxes and 2d balls, of which d are black and d are red.
Initially, d of the balls are placed in box 1, and the remainder of the balls are
placed in box 2. At each trial a ball is chosen at random from each of the
boxes, and the two balls are put back in the opposite boxes. Let X
0
denote
the number of black balls initially in box 1 and for n 1, let X
n
denote the
number of black balls in box 1 after the nth trial. Find the transition function
of the Markov chain X
n
, n 0.

EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 5
26. Consider a Markov chain with transition matrix P with state space
{ } 6 , 5 , 4 , 3 , 2 , 1 = S as follows:

(
(
(
(
(
(
(
(
(
(
(
(
(

=
10
1
10
1
5
1
0
5
2
5
1
6
1
6
1
6
1
6
1
6
1
6
1
6
1
0 0
3
1
0
2
1
4
1
0
8
1
8
1
4
1
4
1
0 0 0 0
4
3
4
1
0 0 0 0
3
2
3
1
P .

Find
(a)
( ) 4
21
P and
( ) 4
12
P . Is
( ) 4
21
P =
( ) 4
12
P ? Give your reason.
(b)
( ) 4
21
f . Explain the meaning of
( ) 4
21
P and
( ) 4
21
f .

27. Given a transition matrix with state space { } 2 1, as follows:
(
(
(

3
1
3
2
2
1
2
1

(a) Sketch a state transition diagram.
(b) Calculate
( ) 3
12
P ,
( ) 3
21
P , ( ) 2
1
p and ( ) 2
2
p given that ( )
2
1
0
1
= p and ( )
2
1
0
2
= p .
Lecture notes series, engineering mathematics vol. II


28. Consider the following transition matrix with state space, { } 2 1 0 , , s = :

(
(
(
(
(

4
3
4
1
0
0 0 1
2
1
2
1
0
.

Is the above transition matrix aperiodic and irreducible? If yes, after a long run,
what are the probabilities to be in states 0, 1 and 2?

EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 6
29. Decompose the state space { } 5 4 3 2 1 , , , , s = of the following transition matrix into
equivalent classes, then determine for every class whether they are recurrent or
transient.
(a)
(
(
(
(
(
(
(
(

1 0 0 0 0
3
2
0
3
1
0 0
0
3
2
0
3
1
0
0 0
3
2
0
3
1
0 0 0 0 1
(b)
(
(
(
(
(
(
(
(
(

1 0 0 0 0
3
2
0
3
1
0 0
0
3
2
0
3
1
0
0 0
3
2
0
3
1
0 0 0
3
2
3
1


30. Suppose a Markov Chain with state space, s ={1, 2} has transition
probability matrix as 1 , = +
(

= q p
p q
q p
P .
(a) Find
( ) ( ) ( ) ( ) ( ) 5
11
4
11
3
11
2
11
1
11
, , , , f f f f f .
(a) Suppose initially the Markov Chain is in state 1, find ( ) 1
1
= X P and
( ) 2
1
= X P .
(b) Suppose initially the Markov Chain having the even chance to be in state 1
and state 2, find ( ) 1
1
= X P and ( ) 2
1
= X P .

31. Consider the Markov chain whose state transition diagram as below:









(a) Construct the transition matrix.
(b) Decompose the states into equivalent classes.
(c) Find the period for each of the state.
Lecture notes series, engineering mathematics vol. II




0 1
3 2
2
1

3
1

2
1

5
4

4
1

3
2

5
1

4
3

EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 7
PAST YEAR QUESTIONS


1. (a) Consider two random variables X and Y with joint probability density
function (pdf) as follows:
( )


=
otherwise. 0
1 0 1 0 1
,
, y , x ,
y , x f
XY

Determine the pdf of Z = XY.
(b) Consider a Markov chain with state { } 3 2 1 0 , , , and transition probability matrix
(
(
(
(
(
(
(

=
1 0 0 0
2
1
0 0
2
1
0 0
2
1
2
1
0
2
1
2
1
0
P
(i) Draw the state transition diagram.
(ii) Determine the recurrent and transient states.
(iii) Determine the period for recurrent states.
(iv) Find the probability that process goes from state 1 to 2 in 3 transitions.
Final Examination, Trimester 3, Session 2001/02




2. (b) Suppose the transition probability matrix of a Markov chain with state
space {1, 2, 3, 4} is given as follows:
(
(
(
(
(

a a a a
a c b
b a b a
c c b a
4 / 0
2 / 2 /
2

(i) Find the values of a, b, and c.
(ii) Draw the state transition diagram.
(iii) Determine all the recurrent states.
(iv) Find the period for each of the recurrent state.
(v) Find the probability to go from state 1 to state 4 in 2 transitions.
(vi) Suppose we place a particle in state 1 at time 0, what is the probability
that the particle first reach state 4 at time 2.
PEM2046 Final Examination(supp). Trimester 3, Session 2004/05.
EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 8
Answer:
1. ( )
4
1
= H P .
2. (a)
X 0 1 2 3
P(X=x) 8/27 4/9 2/9 1/27
3. (a)
60
13
= c (b)
3
2

4. (a) 0.008
(b) ( )

<
<
<
<
=
. 3 1,
, 3 2 , 992 . 0
, 2 1 0.896,
, 1 0 0.512,
, 0 , 0
x
x
x
x
x
x F
X

5. (a) 4 = c (b) ( )


<
=

0 , 1
0 ,
2
2
2
1
2
1
y e
y e
y F
y
y
Y
(c)
2
1
2
1
1

e (d)
4
1
2
1

e
6. X and Y are not independent.
7. (b) ( )
i
i
x
i X
e x f

= , 3 , 2 , 1 , 0 = < < i x
i

9. (b) 0.5
10. (a)
( ) y x f
XY
,
x
0 1 2 3
y
0
11
1

44
9

110
9

220
1

1
44
9

110
27

220
9

0
2
110
9

220
9

0 0
3
220
1

0 0 0
(b) 1/2
(c)
x 0 1 2 3
( ) x f
X

55
21

55
27

220
27

220
1

(d)
y 0 1 2 3
( ) y f
Y

55
21

55
27

220
27

220
1

(e) 1/12. X and Y are not independent.

13. ( )

=
=
otherwise. 0,
24, 19, 14, 9, 4, ,
5
1
y
y f
Y

14.
( ) w y g ,
y
1 2 3 4 6
x

1
18
1

18
2

0 0 0
2 0
18
2

0
18
4

0
3 0 0
18
3

0
18
6

( ) y h
18
1

9
2

6
1

9
2

3
1

EEM2046 Engineering Mathematics IV Tutorial
Random Variables and Stochastic Processes Session 2010/11, trimester 3 9
15. ( )


< <
=
otherwise. 0,
, 16 4 ,
12
1
, 4 0 ,
6
1
y
y
y
y
y f
Y

16. ( ) 0 ,
2
2
> =

y
e
y f
y
Y

17. ( )
1 2 1 1
2
1
2
2 1
2 1
, 0 ,
2
1
,
1
y y y y e
y y
y y f
y
< < < <

=

;
( ) < < =

1 1
0 ,
2
2
1
1
y
e
y f
y
Y

18. (a) 6 (b) 36 (c) 180
19. 1/9
20. 46/63
21. (a)
36
1
=
XY
(b)
11
1
(c) X and Y are not independent.
22. ( ) 4, E X =
2 8
( ) , ( ) ,
3 3
E Y E XY = = 0,
xy
= 0
xy
=
23. t g 4995 . 0 86 . 54 + = . If 45 = t , then C g = 34 . 77
24. (a) f g 5018 . 0 5286 . 2 + =

27. (a)

(b)
( )
72
31
3
12
= P ,
( )
54
31
3
21
= P . ( )
72
41
1
2 = p , ( )
72
31
2
2 = p
28.
4
1
0
= ,
4
1
1
= and
2
1
2
= .
31. (a)
(
(
(
(

0 0
0 0
0 0
0 0
3
2
1
0
3 2 1 0
5
1
5
4
4
3
4
1
3
2
3
1
2
1
2
1

(b) { } 3 2, 1, 0, = C
(c) ( ) { } 2 ... 8, 6, 4, , 2 1 = = d . c . g d . ( ) 2 = i d for 3 2, 1, 0, = i .


1 2

Вам также может понравиться