INAIO Guide Stage 1 11Matrices and Linear Transformations
11.6 Row and column normalisation
Turn nonnegative movement weights into probabilities, keep row and column conventions straight, and check where the total goes.
Module 11.5 used a matrix whose rows each sum to . Why? Each row describes all destinations for one current state, so the fractions leaving that state must account for its whole population or probability. Sometimes a question gives weights instead of probabilities, or a table appears to lose mass. Normalisation and conservation checks tell us what the numbers mean before we iterate them.
This is intermediate matrix work. Review transition matrices and matrix multiplication; MIT's Markov-chain notes develop stochastic matrices in greater depth. The central question here is simple: what enters, what leaves, and what is included in the state?
A basic idea: divide each source row by its total
Suppose a table of nonnegative weights is , with rows representing the current state and columns the destination. The first source row totals , the second totals . If these weights mean relative chances, divide within each row:
Each row now sums to . For a starting probability row , the next distribution is . We redistributed all the probability; none disappeared.
A quick tour of sums and conservation
For a nonnegative weight matrix , row normalisation uses , provided that row total is positive. Then each row of sums to , and a row-vector distribution updates by . A zero row cannot be divided by its sum; the model must specify what happens there, such as staying put or entering an exit state.
Why is total probability conserved? Every old state's mass is split across destinations whose shares total . Algebraically, with the column of all ones, , so . This is the total before and after the update. The same argument works for counts if the fractions describe movement without creation or loss.
For column vectors, put source states in the columns. The corresponding matrix is , whose columns sum to , and . If a raw weight table already uses columns as sources, divide each nonzero column by its column total. Check which index means “from” before normalising; a row-stochastic matrix applied to a column vector generally does not preserve the total.
If the listed states exclude an exit, the displayed total may fall. That can be a correct model of loss from the tracked system. Normalising it to sum to would change the model into a conditional one: where the remaining mass goes given that it did not exit. Include an explicit exit state when you need to track all mass.
Application 1: relative movement weights
The source-to-destination weights are . Start with probabilities . Find the next distribution.
- Row totals are and , so .
- The next first-state probability is ; the second is .
- Both entries are nonnegative and total , as a probability distribution must.
Application 2: a real exit
Suppose an incomplete table lists only two destinations, with rows and . Ten items all start in state . What happens after one step?
- The first row totals , so items become in and in ; one item leaves the two tracked states. Do not silently divide and by if departure is real.
- Add an exit state with the missing shares. One complete matrix is , in the order .
- , whose total is still . The exit state makes the loss from the first two states visible.
Resources
| Source | Title | Why read it |
|---|---|---|
| MIT OpenCourseWare | Finite-State Markov Chains | See stochastic matrices and conservation of probability. |
| OpenStax | Matrices and matrix operations | Review row-by-column products and transposes. |
Finished this module? Mark it done.
Comments
Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.
Loading comments