Difference between revisions of "ReducedRowEchelonForm Command"
From GeoGebra Manual
m (command syntax: changed [ ] into ( )) |
(add more interesting example from hawe https://help.geogebra.org/topic/darstellungsmerkw%C3%BCrdigkeiten-von-cas-werten) |
||
Line 3: | Line 3: | ||
:Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | :Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | ||
:{{example| 1=<div><code><nowiki>ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}</math>.</div>}} | :{{example| 1=<div><code><nowiki>ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}</math>.</div>}} | ||
+ | :{{example| 1=<div><code><nowiki>ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & -2.8\\ 0 & 0 & 1 & 2\end{pmatrix}</math>.</div>}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
;ReducedRowEchelonForm( <Matrix> ) | ;ReducedRowEchelonForm( <Matrix> ) | ||
:Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | :Returns the [[w:Row_echelon_form|reduced echelon form]] of the matrix. | ||
:{{example| 1=<div><code><nowiki>ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}</math>.</div>}} | :{{example| 1=<div><code><nowiki>ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}</math>.</div>}} | ||
+ | :{{example| 1=<div><code><nowiki>ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})</nowiki></code> yields the matrix <math> \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & \frac{-14}{5} \\ 0 & 0 & 1 & 2\end{pmatrix}</math>.</div>}} |
Revision as of 15:25, 11 October 2018
- ReducedRowEchelonForm( <Matrix> )
- Returns the reduced echelon form of the matrix.
- Example:
ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.
- Example:
ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & -2.8\\ 0 & 0 & 1 & 2\end{pmatrix}.
CAS Syntax
- ReducedRowEchelonForm( <Matrix> )
- Returns the reduced echelon form of the matrix.
- Example:
ReducedRowEchelonForm({{1, 6, 4}, {2, 8, 9}, {4, 5, 6}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.
- Example:
ReducedRowEchelonForm({{2, 10, 11, 4}, {2, (-5), (-6), 12}, {2, 5, 3, 2}})
yields the matrix \begin{pmatrix} 1 & 0 & 0 & 5\\ 0 & 1 & 0 & \frac{-14}{5} \\ 0 & 0 & 1 & 2\end{pmatrix}.