Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If there is $A B C = D$. and $A$, $B$ and $D$ are given.

How can we solve for $C$?

I'm able to solve when there's two matrices, but not sure when there are three ($A$, $B$, and $C$)

Thank you.

share|cite|improve this question
Note that $(AB)^{-1}=B^{-1}A^{-1}$... – J. M. Aug 10 '11 at 8:33
Give the matrix AB the name E. Then you have EC=D. Does that help? – Jonas Meyer Aug 10 '11 at 8:33
up vote 5 down vote accepted

Assuming $A$ and $B$ are invertible (square and columns are linearly independent, or one of the many thousands (exaggeration) of possibilities for the Invertible Matrix Theorem) which implies $C$ and $D$ are square, then just break it down into steps:

$A \cdot B \cdot C = D$

Now multiply each side by $A^{-1}$

$A^{-1}\cdot A \cdot B \cdot C = A^{-1} \cdot D $

$I$ is the n x n identity matrix.

$I \cdot B \cdot C = A^{-1} \cdot D $

$B \cdot C = A^{-1} \cdot D$

Now, rinse and repeat.

$C = B^{-1} \cdot A^{-1} \cdot D$

And if you look at it as the others mentioned, if you let $E = AB$, then $E^{-1} = B^{-1} A^{-1}$, so:

$E C = D \implies C = E^{-1} D \implies C = B^{-1} A^{-1} D$

share|cite|improve this answer
I would recommend using \cdot or nothing, instead of \times. – Mikael Öhman Aug 10 '11 at 11:43
@Mikael Noted and used. – Norcalli Aug 10 '11 at 11:45

Your Answer


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.