Solve matrix equations by undoing operations while preserving dimensions and multiplication order. In AX = B, an invertible A is removed by multiplying on the left by its inverse.

Free solving matrix equations practice: topic practice PDF, additional practice PDF. The original short practice below includes explained solutions.

Before using the worksheets

For matching shapes, \(A+X=B\) gives \(X=B-A\), and \(kX+A=B\) gives \(X=(B-A)/k\) when \(k\ne0\). For \(AX=B\), use \(X=A^{-1}B\); for \(XA=B\), use \(X=BA^{-1}\). These inverse steps require square, invertible A.

Worked examples for worksheet practice

Example 1

Solve \(2X+\begin{bmatrix}1&-3\\2&4\end{bmatrix}=\begin{bmatrix}7&1\\0&10\end{bmatrix}\).

Subtract the known matrix to get \(2X=\begin{bmatrix}6&4\\-2&6\end{bmatrix}\). Divide every entry by 2: \(X=\begin{bmatrix}3&2\\-1&3\end{bmatrix}\). Doubling X and adding the original matrix returns the right side.

Example 2

Solve \(\begin{bmatrix}1&2\\0&1\end{bmatrix}X=\begin{bmatrix}5\\2\end{bmatrix}\).

Let \(X=\begin{bmatrix}u\\v\end{bmatrix}\). The rows give \(u+2v=5\), \(v=2\). Substitute \(v=2\) into the first: \(u+4=5\), so \(u=1\). Hence \(X=\begin{bmatrix}1\\2\end{bmatrix}\). Row-by-column checking gives \(\begin{bmatrix}5\\2\end{bmatrix}\).

Try these before opening the solutions

  1. Solve \(X+\begin{bmatrix}2&-1\end{bmatrix}=\begin{bmatrix}5&4\end{bmatrix}\).
  2. Solve \(3X=\begin{bmatrix}6&-9\\0&12\end{bmatrix}\).
  3. For invertible A, which side removes A from \(XA=B\)?
Show step-by-step solutions
  1. Subtract matching entries: \(X=\begin{bmatrix}5-2&4-(-1)\end{bmatrix}=\begin{bmatrix}3&5\end{bmatrix}\).
  2. Divide every entry by 3: \(X=\begin{bmatrix}2&-3\\0&4\end{bmatrix}\). Multiplication by 3 recovers each original entry.
  3. Multiply on the right: \(XAA^{-1}=BA^{-1}\). Since \(AA^{-1}=I\), this yields \(X=BA^{-1}\). Multiplying on the left would not put A next to its inverse.

Common mistakes

Matrix multiplication is not generally commutative. Do not move an inverse across X or divide entry by entry by a matrix.

Related skills

Solving Matrix Equations lesson; Adding and Subtracting Matrices worksheets; Matrix Multiplication worksheets; Finding Matrix Determinants worksheets.