2
$\begingroup$

I tried to take inverse of a matrix A using Inverse[A] and it gave me the right result. But when I tried using notation form A-1 by using typesetting superscript, it gives me wrong result (element wise inverse of matrix, see figure below). Is it possible to get inverse of a matrix using symbolic form? if so, how to get inverse of a matrix using symbolic input form? (Since AT symbol works for Transpose of a matrix). Thank you in advance Inverse of Matrix A

$\endgroup$
7
  • 1
    $\begingroup$ If there were any, then the doc page would mention it. So I guess, there is no way to input the inverse symbolically. $\endgroup$ – Henrik Schumacher Mar 23 '20 at 20:51
  • $\begingroup$ Apparently, exponentiation of a matrix just distributes over the elements. I haven't encountered that elsewhere. $\endgroup$ – David Keith Mar 23 '20 at 21:01
  • 2
    $\begingroup$ You can select Inverse[A] and Cell->Convert To->TraditionalForm it, where it does look like $A^{-1}$. $\endgroup$ – swish Mar 23 '20 at 21:03
  • 2
    $\begingroup$ @DavidKeith that's standard for numerical programs, e.g. numpy. If you want a power you use MatrixPower. $\endgroup$ – b3m2a1 Mar 23 '20 at 21:06
  • $\begingroup$ @swish Thank you for the tip. $\endgroup$ – vdm1990 Mar 23 '20 at 21:11