Uploaded by Arcsecant on Nov 14, 2008
A video submission proposing a explanation and solution to the Markov Chain question on the COMP 2190 midterm review.
Sorry that the text is so hard to read. Try exploding to full screen view. It still won't be legible, but it may help a little bit.
"[0:14] Hello, so this is a video response to the forum thread where you put proposed answers to review questions; because-, video because its hard to draw pictures and matrices and I'm wanting to cover the-, the Markov chain question.
[0:36] So in- in answering this, we're looking at this matrix here. [0:42] And the check that shows that this would be a valid state transition matrix is that the rows sum to one. They should each sum to one. They represent state transitions from a state i to state j, so they should all uniquely sum to one because of what you'd call conservation of mass.
[1:12] So, if we want wanted to draw a state diagram that corresponded to this matrix M, what you can do is, since there's four rows there'll be four unique states, and for each state we just, say, choose a row; so I'll say first state is A, B, then C, then D. So, A, B, C, D. And so, the probability of transiting from A to A is zero. So, I could draw a loop here, but I didn't [gesturing at A]. The probability of transiting from A to B is 50%. The probability of transiting from A to C is 0.4, 40%. And 10% transiting from A to D. And so you just walk down the rows like this. If you're in colum- if you're in row D, then the probability from transiting from D to A would be 0.25, and D to D would be zero. So, nothing there. [2:25] C for instance has a 0.2 percent chance of re-entering state C after one iteration. [but see fade in correction at 2:27]
[2:36] So, how do we operate on, on this [gestures at matrix]? We're given this initial state, what we do is take this, this transition matrix and we take its transpose [2:49]. So we've got the state transition matrix [gesture: upper block of numbers in inset window], we take the transpose of that matrix [gesture: second block of numbers], and then for a given state, x sub i [gesture: third block, the input vector], we transit to the next state by multiplying the transpose of the state transition matrix [gesture: second block of numbers] by that state [gesture: third block]. And what we get out is the next state [gesture: bottom block, the output vector]. And this process could keep continuing. We could take this [gesture: bottom block] state and multiply on the left by this transpose [gesture: second block], or equivalently we could just keep taking powers of the transpose if we want- wanted a sort of a known step, state. So that would be the way to operate. In this case we have the i'th state [3:43, cursor highlighting] is gonna just pick out the second column [3:47] of the transpose [gesture: up and down second column of transpose matrix, second block], and so it does.
[3:53] So one multiplication of the transpose of the transition matrix times a state gives you the next state."
-
1 likes, 0 dislikes
5:05
Complement of an Event - Probabilityby TenMarksInstructor2,318 views
13:26
Example of Eigenvector: Markov Chainby MathDoctorBob2,199 views
0:07
State Transition Diagrams for Modular Multiplicationby wolframmathematica264 views
2:55
Tai pilsētā - M. Zīvere, A. Kukule - Mikrofons 1978by beerniibaa16,120 views
3:31
STNMaker: Example of development of a complete state transition network (STN) diagramby danielgbaena876 views
1:06
Experimental: Interactive 3D vector renderingby ak1m0t01,708 views
4:08
Tutorial - Enter / Exit the Matrix Effectby WellstoneTutorial3,418 views
8:04
Markov Chain Simulationby ModelRisk5,515 views
51:26
Lecture -20 Matric Chain Multiplicationby nptelhrd12,123 views
6:59
Calculus Derivative:Inverse Trig (2)by neiljodymath1,616 views
8:17
PHYS102-Midterm1.1by sina5an541 views
0:28
Markov Volatility Random Walksby wolframmathematica796 views
59:54
Lecture - 24 Finite State Machine Designby nptelhrd25,445 views
0:38
mcm080628RHby youghmt952 views
9:35
Markov Chainsby joedrums4559,261 views
0:12
Markov Chain Monte Carlo Simulation Using the Metropolis Algorithmby wolframmathematica7,432 views
9:38
Multiplying Matrices - Example 1by patrickJMT194,871 views
9:20
UPC - MQ2 - Cadenas de Markov 01by vcfernandez11,568 views
4:36
Algorithmic Composition In Pure Databy dapoulter8,665 views
59:55
Lecture - 29 Introduction to Stochastic Processby nptelhrd44,187 views
- Loading more suggestions...
Indeed, this Markov chain is meant to represent population systems (animals, chemical species, etc.) and would probably not be well suited to applications such as encryption.
Arcsecant 2 years ago
Why not do a transpose for at least two iterations and show the relative probability of passing from any initial point on the first matrix to any chosen concluding point on the matrix produced after the second iteration? Then is the resultant probability of passing from the initial point to the concluding point uniformly distributed? If it can be easily predicted then this Markov Chain is useless for encryption purposes!
Carsonetric 2 years ago