I want to invert a matrix, {{a,b},{c,d}}
, where a,b,c,d
are elements of a non-commutative field (for example invertible matrices). However when I use the function Inverse
, it outputs elements as $\dfrac{d}{da-bc}$, while I actually need $(da-bc)^{-1} d$.
Is there a way to specify in Mathematica that a,b,c,d
should be treated as elements of a non-commutative field?
NoncommutativeInverse
function. $\endgroup$