Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

If you assume the matrix $A$ is invertible, then $A^{-1} \cdot A = I$. Is there an assumption for invertibility in Mathematica 9? How can one make the following evaluate to the identity matrix $I_3$?

$Assumptions = {Element[A, Matrices[{3, 3}]]}
Inverse[A].A
share|improve this question
1  
Look at the Tensor* functions. Specifically, pass your result to TensorReduce or TensorExpand. –  Mark McClure Feb 20 '13 at 14:54
add comment

1 Answer 1

up vote 5 down vote accepted

This gives what you want! Adding the axiom of matrix power $A^0=I$ to Simplify gives us

Simplify[
Assuming[Element[A, Matrices[{n, n}]] && Det[A] != 0,TensorExpand[Inverse[A].A]], 
ForAll[{A}, MatrixPower[A, 0] == IdentityMatrix[n]]]

IdentityMatrix[n]

Use n=3 to validate your case.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.