Math 2602

April 13 , 2000
Test #4

Open Book and Notes. You have 50 minutes. Carefully explain your proceedures and answers

All answers should be given exactly (no decimals) if possible.
    
    Note: It is your responsibility to write your answers out in a way that is legible and understandable by the grader(s).

Problem 1 (5 points each)

a: Find an Euler cycle in the complete graph on 5 vertices.

b: Find a Hamiltonian cycle on the complete graph on 6 vertices.

Answer
[Graphics:Images/index_gr_1.gif]
[Graphics:Images/index_gr_2.gif]



There are of course, not the only possibilities.

Problem  2 (10 Points)

[Graphics:Images/index_gr_3.gif]

The above represents states in a markov chain. The transitions are

At 2 and 3, the probability is 1/3 moving to the left one step.
At 2 and 3 the probability os 2/3 moving to the right one step
At the end points, the probability is 1/4 staying there, and 3/4
moving (to the right for 1, to the left for 4) one step.

Write out the matrix for the markov chain.

Write out the equations you have to solve to find the
long term prbabilities of being at 1,2,3,4.

b: Different markov chain: 2,3 are same as above, but 1 and 4 are absorbing. Write the matrix of the markov chain, with the absorbing states corresponding to the 1st columns (and rows).  Find the probabilities for ending in 1 and 4, given that you started at 2 and given that you started at 3. This is a matrix. Find it BY MATRIX METHODS.

Answer

Graphics
Work
[Graphics:Images/index_gr_7.gif]
[Graphics:Images/index_gr_8.gif]
[Graphics:Images/index_gr_9.gif]
[Graphics:Images/index_gr_10.gif]
[Graphics:Images/index_gr_11.gif]
[Graphics:Images/index_gr_12.gif]
[Graphics:Images/index_gr_13.gif]
[Graphics:Images/index_gr_14.gif]
[Graphics:Images/index_gr_15.gif]
[Graphics:Images/index_gr_16.gif]
[Graphics:Images/index_gr_17.gif]
[Graphics:Images/index_gr_18.gif]
[Graphics:Images/index_gr_19.gif]
[Graphics:Images/index_gr_20.gif]

b: States in matrix are 1,4,2,3 in that order.

[Graphics:Images/index_gr_21.gif]
[Graphics:Images/index_gr_22.gif]
[Graphics:Images/index_gr_23.gif]
[Graphics:Images/index_gr_24.gif]
[Graphics:Images/index_gr_25.gif]
[Graphics:Images/index_gr_26.gif]
[Graphics:Images/index_gr_27.gif]
[Graphics:Images/index_gr_28.gif]
[Graphics:Images/index_gr_29.gif]
[Graphics:Images/index_gr_30.gif]
[Graphics:Images/index_gr_31.gif]
[Graphics:Images/index_gr_32.gif]

Problem 3: (10 points)

Find akll soluutions to Ax = b, where  A = [Graphics:Images/index_gr_33.gif], and   b = [Graphics:Images/index_gr_34.gif]

Ans
[Graphics:Images/index_gr_35.gif]
[Graphics:Images/index_gr_36.gif]
[Graphics:Images/index_gr_37.gif]
[Graphics:Images/index_gr_38.gif]
[Graphics:Images/index_gr_39.gif]
[Graphics:Images/index_gr_40.gif]
[Graphics:Images/index_gr_41.gif]
[Graphics:Images/index_gr_42.gif]
[Graphics:Images/index_gr_43.gif]
[Graphics:Images/index_gr_44.gif]
[Graphics:Images/index_gr_45.gif]

Or is a slighly nicer format:
     [Graphics:Images/index_gr_46.gif] + 2  [Graphics:Images/index_gr_47.gif] + 3  [Graphics:Images/index_gr_48.gif] + 4  [Graphics:Images/index_gr_49.gif] =  16
     [Graphics:Images/index_gr_50.gif] + 2  [Graphics:Images/index_gr_51.gif] +     [Graphics:Images/index_gr_52.gif] +     [Graphics:Images/index_gr_53.gif] =  8
2   [Graphics:Images/index_gr_54.gif] + 4  [Graphics:Images/index_gr_55.gif] + 4  [Graphics:Images/index_gr_56.gif] + 5  [Graphics:Images/index_gr_57.gif] =  24

Gaussian elimination. Substract the 1st from the second and twice the first from the third:

     [Graphics:Images/index_gr_58.gif] + 2  [Graphics:Images/index_gr_59.gif] + 3  [Graphics:Images/index_gr_60.gif] + 4  [Graphics:Images/index_gr_61.gif] =    16
                         -2   [Graphics:Images/index_gr_62.gif] - 3  [Graphics:Images/index_gr_63.gif] = -  8
                        - 2  [Graphics:Images/index_gr_64.gif]  -3  [Graphics:Images/index_gr_65.gif] =  -  8

The third is the same, so drop it.


     [Graphics:Images/index_gr_66.gif] + 2  [Graphics:Images/index_gr_67.gif] + 3  [Graphics:Images/index_gr_68.gif] + 4  [Graphics:Images/index_gr_69.gif] =    16
                         -2   [Graphics:Images/index_gr_70.gif] - 3  [Graphics:Images/index_gr_71.gif] = -  8
                         
  Set   [Graphics:Images/index_gr_72.gif] = t,  [Graphics:Images/index_gr_73.gif] = s and solve:

[Graphics:Images/index_gr_74.gif]
[Graphics:Images/index_gr_75.gif]
[Graphics:Images/index_gr_76.gif]
[Graphics:Images/index_gr_77.gif]
[Graphics:Images/index_gr_78.gif]


Converted by Mathematica      April 13, 2000