Question:medium

If \( A=\begin{bmatrix} 2 & 2 & -4 \\ -4 & 2 & -4 \\ 2 & -1 & 5 \end{bmatrix} \) and \( B=\begin{bmatrix} 1 & -1 & 0 \\ 2 & 3 & 4 \\ 0 & 1 & 2 \end{bmatrix} \), find \( BA \) and use this to solve the system of equations :

\( y+2z=8 \),

\( x-y=-1 \),

\( 2x+3y+4z=20 \)

Show Hint

Show \(BA=6I\), so \(B^{-1}=\dfrac{1}{6}A\). The system is \(BX=C\) with \(C=(-1,20,8)^{T}\), so \(X=\dfrac{1}{6}AC\).
Updated On: Nov 16, 2026
Show Solution

Solution and Explanation

Step 1: Multiply B and A:
We compute $BA$ row by row.
First row: $(1)(2)+(-1)(-4)+0=6$, then $(1)(2)+(-1)(2)+0=0$, then $(1)(-4)+(-1)(-4)+0=0$.
Second row: $2\cdot2+3\cdot(-4)+4\cdot2=0$, $2\cdot2+3\cdot2+4\cdot(-1)=6$, $2\cdot(-4)+3\cdot(-4)+4\cdot5=0$.
Third row: $0+1\cdot(-4)+2\cdot2=0$, $0+1\cdot2+2\cdot(-1)=0$, $0+1\cdot(-4)+2\cdot5=6$.
\[ BA=\begin{bmatrix} 6 & 0 & 0 \\ 0 & 6 & 0 \\ 0 & 0 & 6 \end{bmatrix} \]

Step 2: Use the result:
Since $BA=6I$, we have $B^{-1}=\dfrac{A}{6}$.

Step 3: Set up the system:
Reorder the equations: $x-y=-1$, $2x+3y+4z=20$, $y+2z=8$.
In matrix form this is $BX=C$ with $X=\begin{bmatrix} x \\ y \\ z \end{bmatrix}$ and $C=\begin{bmatrix} -1 \\ 20 \\ 8 \end{bmatrix}$.
Multiply both sides on the left by $B^{-1}$. This gives $X=B^{-1}C$.

Step 4: Find x, y and z:
\[ x=\frac{1}{6}\left[2(-1)+2(20)-4(8)\right]=\frac{6}{6}=1 \]
\[ y=\frac{1}{6}\left[-4(-1)+2(20)-4(8)\right]=\frac{12}{6}=2 \]
\[ z=\frac{1}{6}\left[2(-1)-1(20)+5(8)\right]=\frac{18}{6}=3 \]

Step 5: Substitute back:
$2x+3y+4z=2+6+12=20$, $x-y=-1$, and $y+2z=8$. The values satisfy the system.

Final Answer:
$BA=6I$ and the unique solution is $x=1$, $y=2$, $z=3$. \[ \boxed{(x,y,z)=(1,2,3)} \]
Was this answer helpful?
0