gaussian elimination

first part of the algorithm:

         -reduces a given system to row echelon form, from which one can tell whether there are no solutions, a unique solution, or infinitely many solutions.

         -also called LU decomposition


second part of the algorithm:

         -continues to use row operations until the solution is found; in other words, it puts the matrix into reduced row echelon form.

Row operations

Type 1: Swap the positions of two rows.
Type 2: Multiply a row by a nonzero scalar.
Type 3: Add to one row a scalar multiple of another.


System of equationsRow operationsAugmented matrix
\begin{alignat}{7}2x &&\; + \;&& y             &&\; - \;&& z  &&\; = \;&& 8 & \\-3x &&\; - \;&& y             &&\; + \;&& 2z &&\; = \;&& -11 & \\-2x &&\; + \;&& y &&\; +\;&& 2z  &&\; = \;&& -3 &\end{alignat} \left[ \begin{array}{ccc|c}2 & 1 & -1 & 8 \\-3 & -1 & 2 & -11 \\-2 & 1 & 2 & -3\end{array} \right]
\begin{alignat}{7}2x &&\; + && y &&\; - &&\; z &&\; = \;&& 8 &  \\&& && \frac{1}{2}y &&\; + &&\; \frac{1}{2}z &&\; = \;&& 1 & \\&& && 2y &&\; + &&\; z &&\; = \;&& 5 &\end{alignat}L_2 + \frac{3}{2}L_1 \rightarrow L_2
L_3 + L_1 \rightarrow L_3

\left[ \begin{array}{ccc|c}2 & 1 & -1 & 8 \\0 & 1/2 & 1/2 & 1 \\0 & 2 & 1 & 5\end{array} \right]

\begin{alignat}{7}2x &&\; + && y \;&& - &&\; z \;&& = \;&& 8 &  \\&& && \frac{1}{2}y \;&& + &&\; \frac{1}{2}z \;&& = \;&& 1 & \\&& && && &&\; -z \;&&\; = \;&& 1 &\end{alignat}L_3 + -4L_2 \rightarrow L_3\left[ \begin{array}{ccc|c}2 & 1 & -1 & 8 \\0 & 1/2 & 1/2 & 1 \\0 & 0 & -1 & 1\end{array} \right]
The matrix is now in echelon form (also called triangular form)
\begin{alignat}{7}2x &&\; + && y \;&& &&\; \;&& = \;&& 7 &  \\&& && \frac{1}{2}y \;&&  &&\; \;&& = \;&& 3/2 & \\&& && && &&\; -z \;&&\; = \;&& 1 &\end{alignat}L_2+\frac{1}{2}L_3 \rightarrow L_2
L_1 - L_3 \rightarrow L_1
\left[ \begin{array}{ccc|c}2 & 1 & 0 & 7 \\0 & 1/2 & 0 & 3/2 \\0 & 0 & -1 & 1\end{array} \right]
\begin{alignat}{7}2x &&\; + && y \;&& &&\; \;&& = \;&& 7 &  \\&& && y \;&&  &&\; \;&& = \;&& 3 & \\&& && && &&\; z \;&&\; = \;&& -1 &\end{alignat}2L_2 \rightarrow L_2
-L_3 \rightarrow L_3
\left[ \begin{array}{ccc|c}2 & 1 & 0 & 7 \\0 & 1 & 0 & 3 \\0 & 0 & 1 & -1\end{array} \right]
\begin{alignat}{7}x &&\;  &&  \;&& &&\; \;&& = \;&& 2 &  \\&& && y \;&&  &&\; \;&& = \;&& 3 & \\&& && && &&\; z \;&&\; = \;&& -1 &\end{alignat}L_1 - L_2 \rightarrow L_1
\frac{1}{2}L_1 \rightarrow L_1
\left[ \begin{array}{ccc|c}1 & 0 & 0 & 2 \\0 & 1 & 0 & 3 \\0 & 0 & 1 & -1\end{array} \right]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值