Gaussian-Jordan Elimination
Definition
Consider the $m\times n$ system of linear equations:
\begin{align*}
a_{1 1} x_1+a_{1 2}x_2+\cdots+a_{1 n}x_n& =b_1 \\
a_{2 1} x_1+a_{2 2}x_2+\cdots+a_{2 n}x_n& =b_2 \\
a_{3 1} x_1+a_{3 2}x_2+\cdots+a_{3 n}x_n& =b_3 \\
&\vdots \\
a_{m 1} x_1+a_{m 2}x_2+\cdots+a_{m n}x_n& =b_m \\
\end{align*}
- The coefficient matrix of the system is
\[\begin{bmatrix}
a_{1 1} & a_{1 2} & \cdots & a_{1 n} \\
a_{2 1} & a_{2 2} & \cdots & a_{2 n} \\
\vdots & \vdots & \ddots & \vdots \\
a_{m 1} & a_{m 2} & \cdots & a_{m n}
\end{bmatrix}\] - The augmented matrix of the system is
\[\left[\begin{array}{rrrr|r}
a_{1 1} & a_{1 2} & \cdots & a_{1 n} & b_1 \\
a_{2 1} & a_{2 2} & \cdots & a_{2 n} & b_2\\
\vdots & \vdots & \ddots & \vdots & \vdots\\
a_{m 1} & a_{m 2} & \cdots & a_{m n} & b_m
\end{array}\right] \] - [Gauss-Jordan Elimination]
For a given system of linear equations, we can find a solution as follows.
This procedure is called Gauss-Jordan elimination.- Write the augmented matrix of the system of linear equations.
- Use elementaray row operations to reduce the augmented matrix into (reduced) row echelon form.
- Write the system of linear equation corresponding to the matrix in row echelon form.
- Solve the system using back substitution.
=solution
Problems
-
Solve the following system by transforming the augmented matrix to reduced echelon form. Indicate the elementary row operations you performed.
\begin{align*}
x_1+x_2-x_5&=1\\
x_2+2x_3+x_4+3x_5&=1\\
x_1-x_3+x_4+x_5&=0
\end{align*} -
Solve the following system of linear equations using Gaussian elimination.
\begin{align*}
x+2y+3z &=4 \\
5x+6y+7z &=8\\
9x+10y+11z &=12
\end{align*} -
Solve the following system of linear equations using Gauss-Jordan elimination.
\begin{align*}
6x+8y+6z+3w &=-3 \\
6x-8y+6z-3w &=3\\
8y \,\,\,\,\,\,\,\,\,\,\,- 6w &=6
\end{align*} -
Solve the following system of linear equations by transforming its augmented matrix to reduced echelon form (Gauss-Jordan elimination). Find the vector form for the general solution.
\begin{align*}
x_1-x_3-3x_5&=1\\
3x_1+x_2-x_3+x_4-9x_5&=3\\
x_1-x_3+x_4-2x_5&=1.
\end{align*} -
The given matrix is the augmented matrix for a system of linear equations. Give the vector form for the general solution.
\[ \left[\begin{array}{rrrrr|r}
1 & 0 & -1 & 0 &-2 & 0 \\
0 & 1 & 2 & 0 & -1 & 0 \\
0 & 0 & 0 & 1 & 1 & 0 \\
\end{array} \right].\] -
Solve the following system of linear equations and give the vector form for the general solution.
\begin{align*}
x_1 -x_3 -2x_5&=1 \\
x_2+3x_3-x_5 &=2 \\
2x_1 -2x_3 +x_4 -3x_5 &= 0
\end{align*}
(The Ohio State University) - Determine whether the following augmented matrices are in reduced row echelon form, and calculate the solution sets of their associated systems of linear equations.
(a) $\left[\begin{array}{rrr|r} 1 & 0 & 0 & 2 \\ 0 & 1 & 0 & -3 \\ 0 & 0 & 1 & 6 \end{array} \right]$.
(b) $\left[\begin{array}{rrr|r} 1 & 0 & 3 & -4 \\ 0 & 1 & 2 & 0 \end{array} \right]$.
(c) $\left[\begin{array}{rr|r} 1 & 2 & 0 \\ 1 & 1 & -1 \end{array} \right]$. - Find a cubic polynomial $p(x)=a+bx+cx^2+dx^3$ such that $p(1)=1, p'(1)=5, p(-1)=3$, and $ p'(-1)=1$.
- Find a quadratic function $f(x) = ax^2 + bx + c$ such that $f(1) = 3$, $f'(1) = 3$, and $f^{\prime\prime}(1) = 2$. Here, $f'(x)$ and $f^{\prime\prime}(x)$ denote the first and second derivatives, respectively.
- (a) Find a function $g(\theta) = a \cos(\theta) + b \cos(2 \theta) + c \cos(3 \theta)$ such that $g(0) = g(\pi/2) = g(\pi) = 0$, where $a, b, c$ are constants.
(b) Find real numbers $a, b, c$ such that the function $g(\theta) = a \cos(\theta) + b \cos(2 \theta) + c \cos(3 \theta)$ satisfies $g(0) = 3$, $g(\pi/2) = 1$, and $g(\pi) = -5$. - A 2-digit number has two properties: The digits sum to 11, and if the number is written with digits reversed, and subtracted from the original number, the result is 45. Find the number.