Difference between revisions of "Invert Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|cas=true|vector-matrix}}
 
{{command|cas=true|vector-matrix}}
; Invert[Matrix]: Inverts the given matrix.
+
;Invert[ <Matrix> ]
: {{Example|1=<div><code><nowiki>Invert[{{1, 2}, {3, 4}}]</nowiki></code> gives you the inverse matrix <math>
+
:Inverts the given matrix.
 +
:{{example|1=<div><code><nowiki>Invert[{{1, 2}, {3, 4}}]</nowiki></code> yields <math>
 
\begin{pmatrix}
 
\begin{pmatrix}
 
-2 & 1\\
 
-2 & 1\\
 
1.5 & -0.5
 
1.5 & -0.5
 +
\end{pmatrix}
 +
</math>, the  the inverse matrix of <math>
 +
\begin{pmatrix}
 +
1 & 2\\
 +
3 & 4
 
\end{pmatrix}
 
\end{pmatrix}
 
</math>.</div>}}
 
</math>.</div>}}
 
==CAS Syntax==
 
==CAS Syntax==
;Invert[Matrix]: Inverts the given matrix.
+
;Invert[ <Matrix> ]
:{{example|1=<div><code><nowiki>Invert[{{a, b}, {c, d}}]</nowiki></code> gives you the inverse matrix <math>
+
:Inverts the given matrix.
 +
:{{example|1=<div><code><nowiki>Invert[{{a, b}, {c, d}}]</nowiki></code> yields <math>
 
\begin{pmatrix}
 
\begin{pmatrix}
 
\frac{d}{a* d- b* c} & \frac{-b}{a* d- b* c}\\
 
\frac{d}{a* d- b* c} & \frac{-b}{a* d- b* c}\\
 
\frac{-c}{a* d- b* c}& \frac{a}{ a* d- b* c}
 
\frac{-c}{a* d- b* c}& \frac{a}{ a* d- b* c}
 +
\end{pmatrix}
 +
</math> the inverse matrix of <math>
 +
\begin{pmatrix}
 +
a & b\\
 +
c & d
 
\end{pmatrix}
 
\end{pmatrix}
 
</math>.</div>}}
 
</math>.</div>}}
 
 
{{betamanual|version=4.2|
 
{{betamanual|version=4.2|
 
1=; Invert[ <Function> ]
 
1=; Invert[ <Function> ]

Revision as of 12:21, 17 September 2012


Invert[ <Matrix> ]
Inverts the given matrix.
Example:
Invert[{{1, 2}, {3, 4}}] yields

\begin{pmatrix} -2 & 1\\ 1.5 & -0.5 \end{pmatrix} , the the inverse matrix of

\begin{pmatrix} 1 & 2\\ 3 & 4 \end{pmatrix}

.

CAS Syntax

Invert[ <Matrix> ]
Inverts the given matrix.
Example:
Invert[{{a, b}, {c, d}}] yields

\begin{pmatrix} \frac{d}{a* d- b* c} & \frac{-b}{a* d- b* c}\\ \frac{-c}{a* d- b* c}& \frac{a}{ a* d- b* c} \end{pmatrix} the inverse matrix of

\begin{pmatrix} a & b\\ c & d \end{pmatrix}

.
© 2024 International GeoGebra Institute