Invert Command

From GeoGebra Manual
Jump to: navigation, search

Invert[ <Matrix> ]
Inverts the given matrix.
Example: Invert[{{1, 2}, {3, 4}}] yields \mathrm{\mathsf{ \begin{pmatrix}-2 & 1\\1.5 & -0.5\end{pmatrix} }}, the inverse matrix of \mathrm{\mathsf{ \begin{pmatrix}1 & 2\\3 & 4\end{pmatrix} }}.
Note: In the Menu view cas.svg CAS View undefined variables are allowed too.
Invert[{{a, b}, {c, d}}] yields \mathrm{\mathsf{ \begin{pmatrix}\frac{d}{ad- bc} & \frac{-b}{ad- bc}\\\frac{-c}{ad- bc}& \frac{a}{ ad- bc}\end{pmatrix} }}, the inverse matrix of \mathrm{\mathsf{ \begin{pmatrix}a & b\\c & d\end{pmatrix} }}.
Invert[ <Function> ]
Gives the inverse of the function.
Invert[sin(x)] yields asin(x).
The function must contain just one x and no account is taken of domain or range, for example for f(x) = x^2 or f(x) = sin(x).
If there is more than one x in the function another command might help you:
Both Invert[PartialFractions[(x + 1) / (x + 2)]] and Invert[CompleteSquare[x^2 + 2 x + 1]] yield the inverse functions.
Note: In the Menu view cas.svg CAS View, the command also works if the function contains more than one x.
  • GeoGebra
  • Help
  • Partners
  • Contact us
    • Feedback & Questions
    • This email address is being protected from spambots. You need JavaScript enabled to view it.
    • +43 677 6137 2693
© 2017 International GeoGebra Institute