de-CH
utf-8
math math-format kvector
Solution with almost Matrix-Triangular Form
gauss-02-01
multiple
97844723712
randRangeNonZero(-9,9) randRangeExclude(-9,9,[0]) randRangeNonZero(-9,9) randRangeExclude(-9,9,[-1,0,1]) randRangeExclude(-9,9,[-1,0,1]) randRangeExclude(-9,9,[-1,0,1]) randRangeExclude(-9,9,[-1,0,1]) randRangeExclude(-9,9,[-1,0,1]) randRangeExclude(-9,9,[-1,0,1,D,-D]) randRangeExclude(-9,9,[-1,0,1]) A*X+B*Y+C*Z D*Y+E*Z F*Y+ G*Z

Given is a linear system of the form \begin{pmatrix}A & B & C & \bigl | &M \\ 0 & D & E & \bigl | &N \\ 0 & F & G & \bigl | &L \end{pmatrix} with the unique solution \begin{pmatrix} {\color{red}X} \\ {\color{blue}Y} \\ Z \end{pmatrix}.

Determine the entries

a \color{red} X = X
b \color{blue} Y = Y
c Z = Z

For the row echelon form, we must generate in \begin{pmatrix}A & B & C & \bigl | &M \\ 0 & D & E & \bigl | &N \\ 0 & \boxed{F} & G & \bigl | &L \end{pmatrix} a \fbox{\text{zero}}.

This is done by replacing the {3rd row} with negParens(F) \; \cdot {2. row} - D \; \cdot {3. row}.

The result is \begin{pmatrix}A & B & C & \bigl | &M \\ 0 & D & E & \bigl | &N \\ 0 & \boxed{0} & F*E-D*G & \bigl | &F*N-D*L \end{pmatrix} , thus Z = Z.

The 2nd row D Y + E Z = N rearranges to get D Y = N - E Z , where we substitute Z = Z to find {\color{blue}Y = Y}.

Using the two values Z = Z and {\color{blue} Y = Y} in the 1st row A X + B Y + C Z = M, leads to A {\color{red}X} = M - B {\color{blue}Y} - C Z , and this gives {\color{red}X = X}.