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=<code>Invert[{{1, 2}, {3, 4}}]</code> gives you the inverse matrix ''{{-2, 1}, {1.5, -0.5}}''.}}
+
: {{Example|1=<div><code><nowiki>Invert[{{1, 2}, {3, 4}}]</nowiki></code> gives you the inverse matrix ''{{-2, 1}, {1.5, -0.5}}''.</div>}}
 
 
 
==CAS Syntax==
 
==CAS Syntax==
; Invert[Matrix]: Inverts the given matrix.
+
;Invert[Matrix]: Inverts the given matrix.
: {{Example|1=<code>Invert[{{a, b}, {c, d}}]</code> gives you the inverse matrix ''{ { d/( a* d- b* c},- b/( a* d- b* c)}, {- c/( a* d- b* c), a/( a* d- b* c) } }''.}}
+
:{{example|1=<div><code><nowiki>Invert[{{a, b}, {c, d}}]</nowiki></code> gives you the inverse matrix <math>
 +
\begin{pmatrix}
 +
d/( a* d- b* c & -b/( a* d- b* c)\\
 +
-c/( a* d- b* c) & a/( a* d- b* c)
 +
\end{pmatrix}
 +
</math>.</div>}}

Revision as of 10:40, 18 August 2011


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

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