Gaussian Elimination

Here we consider solving the following linear system with $M$ equations and $N$ unknowns:

$\displaystyle \left\{\begin{array}{l}
\sum_{j=1}^N a_{1j}x_j=a_{11}x_1+\cdots+a...
..._j+\cdots+a_{MN}x_N=b_M
\cdots\cdots\cdots\cdots{\bf r}_M\\
\end{array}\right.$ (84)

where the ith equation (or row) is labeled by ${\bf r}_i$ on the right hand side. This equation system can be expressed in matrix form as:

$\displaystyle {\bf A}{\bf x}=\left[\begin{array}{ccc}
a_{11} & \cdots & a_{1N}\...
...ay}\right]=
\left[\begin{array}{c}
b_1\\ \vdots\\ b_M\end{array}\right]={\bf b}$ (85)

where ${\bf A}$ is the coefficient matrix with $M$ rows and $N$ columns, and $a_{ij}$ is a component in the ith row and jth column.

When $M=N$ (the number of equations is the same as the number of unknowns), the methods of Gaussian elimination can be used to solve the equation ${\bf Ax}={\bf b}$. Specifically, we apply a sequence of elementary row operations listed below on both sides of the equations.

As the equations before and after each operation are equivalent, the equation system remains the same with the same solution.

These operations can be realized respectively by pre-multiplying the following matrices to both sides of the equations:

\begin{displaymath}{\bf T}_{ji}=\left[\begin{array}{ccccccc}
1 & & & & & & \\ & ...
...nd{array}\right]
\begin{array}{c}\\ i \\ \\ j \\ \\ \end{array}\end{displaymath} (86)

Now the equation system ${\bf Ax}={\bf b}$ can be solved by the following methods:

Some issues related to Gaussian elimination methods: