Difference between revisions of "Invert Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|vector-matrix}}
 
{{command|vector-matrix}}
 
; Invert[Matrix]: Inverts the given matrix.
 
; Invert[Matrix]: Inverts the given matrix.
: {{Example|1=<div><code><nowiki>Invert[{{1, 2}, {3, 4}}]</nowiki></code> gives you the inverse matrix ''{{-2, 1}, {1.5, -0.5}}''.</div>}}
+
: {{Example|1=<div><code><nowiki>Invert[{{1, 2}, {3, 4}}]</nowiki></code> gives you the inverse matrix <math>
 +
\begin{pmatrix}
 +
-2 & 1\\
 +
1.5 & -0.5
 +
\end{pmatrix}
 +
</math>.</div>}}
 
==CAS Syntax==
 
==CAS Syntax==
 
;Invert[Matrix]: Inverts the given matrix.
 
;Invert[Matrix]: Inverts the given matrix.

Revision as of 10:41, 18 August 2011


Invert[Matrix]
Inverts the given matrix.
Example:
Invert[{{1, 2}, {3, 4}}] gives you the inverse matrix

\begin{pmatrix} -2 & 1\\ 1.5 & -0.5 \end{pmatrix}

.

CAS Syntax

Invert[Matrix]
Inverts the given matrix.
Example:
Invert[{{a, b}, {c, d}}] gives you the inverse matrix

\begin{pmatrix} d/( a* d- b* c & -b/( a* d- b* c)\\ -c/( a* d- b* c) & a/( a* d- b* c) \end{pmatrix}

.
© 2024 International GeoGebra Institute