Types: N/A
Examples: 12.2.1 Nonsingular Matrix to Model Gravity
Constructions: N/A
Generalizations: N/A

Properties: N/A
Sufficiencies: N/A
Questions: N/A

Backwards Substitution: Upper-Triangular Ux=y

Let Ux=y be a given linear-systems problem with 8.9 Upper-Triangular Matrix URn×n and yRn. If entries of U, uii0 for all i{1,2,,n}, then our linear-system problem has a unique solution. This solution can be found using the backward substitution algorithm:

xn=ynunnxi=1uii(yij=i+1nuijxj)

where i=(n1),(n2),,2,1.

\begin{proof}
Let n=5 and consider

[u11u12u13u14u150u22u23u24u2500u33u34u35000u44u450000u55][x1x2x3x4x5]=[y1y2y3y4y5]

Note that uii0 for all i[5).

Step 0

Let's start at the bottom entry of the matrix.

Entry5(Ux)=y5[Row5(U)]1×5[x]5×1=y5=[0000u55][x1x2x3x4x5]u55x5=y5x5=y5u55

From this, we can work "backwards" up the matrix. In our next step, we will substitute in our value we get for x5.

Step 1

Because we solved for a value of x5 in our last step, we can substitute it in when solving for x4.

Entry4(Ux)=y4Row4(U)x=y4[000u44u45][x1x2x3x4x5]=y4u44x4+u45x5=y4u44x4=y4u45x5x4=1u44(y4u45x5)

Step 2

We continue our algorithm by solving for x3.

Entry3(Ux)=y3Row3(U)x=y3[00u33u34u35][x1x2x3x4x5]=y3u33x3+u34x4+u35x5=y3x3=1u33(y3u34x4u35x5)

Can we generalize this?

x3=1u33(y3k=45u3kxk)

Let's look back at x4 from Step 1. Can we generalize that too?

x4=1u44(y4u45x5)=1u44(y4k=55u4kxk)

Step 3

Can we intuit what our final entries will look like based on the pattern we've been seeing? Let's find x2 first.

Entry2(Ux)=y2x2=1u22(y2k=35u2kxk)Row2(U)x=y2[0u22u23u24u25][x1x2x3x4x5]=y2u22x2+u23x3+u24x4+u25x5=y2x2=1u22(y2u23x3u24x4u25x5)

Therefore, to get our final entry,

x1=1u11(y1k=25u1kxk)

\end{proof}