Skip to content
Exercise 1.3 · Q2

Q.If A=(−51371−51−11)A=\begin{pmatrix} -5 & 1 & 3 \\ 7 & 1 & -5 \\ 1 & -1 & 1\end{pmatrix} and B=(112321213)B=\begin{pmatrix} 1 & 1 & 2 \\ 3 & 2 & 1 \\ 2 & 1 & 3\end{pmatrix}, find the products ABAB and BABA and hence solve the system of equations x+y+2z=1, 3x+2y+z=7, 2x+y+3z=2x+y+2z=1,\ 3x+2y+z=7,\ 2x+y+3z=2.

Puducherry TnboardTextbookSubjectiveImportance★★★★★
17% · 20/118 Questions
✓ Free question

We first compute the two products ABAB and BABA directly. Both turn out to equal 4I34I_3 — this means B⋅(A4)=(A4)⋅B=I3B\cdot\left(\dfrac{A}{4}\right)=\left(\dfrac{A}{4}\right)\cdot B=I_3, i.e. A4\dfrac{A}{4} is both a left and a right inverse of BB, so B−1=A4B^{-1}=\dfrac{A}{4}. Since the given system's coefficients are exactly BB's rows, X=B−1C=A4CX=B^{-1}C=\dfrac{A}{4}C solves it instantly.

Step 1. Compute ABAB. A=(−51371−51−11), B=(112321213)A=\begin{pmatrix}-5&1&3\\7&1&-5\\1&-1&1\end{pmatrix},\ B=\begin{pmatrix}1&1&2\\3&2&1\\2&1&3\end{pmatrix}.

Row 1 of AA times BB: (−5(1)+1(3)+3(2), −5(1)+1(2)+3(1), −5(2)+1(1)+3(3))=(−5+3+6, −5+2+3, −10+1+9)=(4,0,0)(-5(1)+1(3)+3(2),\ -5(1)+1(2)+3(1),\ -5(2)+1(1)+3(3)) = (-5+3+6,\ -5+2+3,\ -10+1+9) = (4,0,0)

Row 2 of AA times BB: (7(1)+1(3)+(−5)(2), 7(1)+1(2)+(−5)(1), 7(2)+1(1)+(−5)(3))=(7+3−10, 7+2−5, 14+1−15)=(0,4,0)(7(1)+1(3)+(-5)(2),\ 7(1)+1(2)+(-5)(1),\ 7(2)+1(1)+(-5)(3)) = (7+3-10,\ 7+2-5,\ 14+1-15) = (0,4,0)

Row 3 of AA times BB: (1(1)+(−1)(3)+1(2), 1(1)+(−1)(2)+1(1), 1(2)+(−1)(1)+1(3))=(1−3+2, 1−2+1, 2−1+3)=(0,0,4)(1(1)+(-1)(3)+1(2),\ 1(1)+(-1)(2)+1(1),\ 1(2)+(-1)(1)+1(3)) = (1-3+2,\ 1-2+1,\ 2-1+3) = (0,0,4)

AB=(400040004)=4I3AB=\begin{pmatrix}4&0&0\\0&4&0\\0&0&4\end{pmatrix}=4I_3

Step 2. Compute BABA.

Row 1 of BB times AA: (1(−5)+1(7)+2(1), 1(1)+1(1)+2(−1), 1(3)+1(−5)+2(1))=(−5+7+2, 1+1−2, 3−5+2)=(4,0,0)(1(-5)+1(7)+2(1),\ 1(1)+1(1)+2(-1),\ 1(3)+1(-5)+2(1)) = (-5+7+2,\ 1+1-2,\ 3-5+2) = (4,0,0)

Row 2 of BB times AA: (3(−5)+2(7)+1(1), 3(1)+2(1)+1(−1), 3(3)+2(−5)+1(1))=(−15+14+1, 3+2−1, 9−10+1)=(0,4,0)(3(-5)+2(7)+1(1),\ 3(1)+2(1)+1(-1),\ 3(3)+2(-5)+1(1)) = (-15+14+1,\ 3+2-1,\ 9-10+1) = (0,4,0)

Row 3 of BB times AA: (2(−5)+1(7)+3(1), 2(1)+1(1)+3(−1), 2(3)+1(−5)+3(1))=(−10+7+3, 2+1−3, 6−5+3)=(0,0,4)(2(-5)+1(7)+3(1),\ 2(1)+1(1)+3(-1),\ 2(3)+1(-5)+3(1)) = (-10+7+3,\ 2+1-3,\ 6-5+3) = (0,0,4)

BA=(400040004)=4I3BA=\begin{pmatrix}4&0&0\\0&4&0\\0&0&4\end{pmatrix}=4I_3

So indeed AB=BA=4I3AB=BA=4I_3.

Step 3. Derive B−1B^{-1} from this relation. Dividing throughout by 44: B(A4)=I3B\left(\dfrac{A}{4}\right)=I_3 and (A4)B=I3\left(\dfrac{A}{4}\right)B=I_3. A matrix that is simultaneously a left and right inverse of BB is B−1B^{-1}, so

B−1=A4=14(−51371−51−11).B^{-1}=\frac{A}{4}=\frac14\begin{pmatrix}-5&1&3\\7&1&-5\\1&-1&1\end{pmatrix}.

Step 4. Recognise the given system as BX=CBX=C. The system x+y+2z=1, 3x+2y+z=7, 2x+y+3z=2x+y+2z=1,\ 3x+2y+z=7,\ 2x+y+3z=2 has coefficient rows (1,1,2), (3,2,1), (2,1,3)(1,1,2),\ (3,2,1),\ (2,1,3) — exactly the rows of BB. So it is BX=CBX=C with C=(172)C=\begin{pmatrix}1\\7\\2\end{pmatrix}.

Step 5. Solve using X=B−1C=A4CX=B^{-1}C=\dfrac{A}{4}C.

AC=(−51371−51−11)(172)=(−5(1)+1(7)+3(2)7(1)+1(7)+(−5)(2)1(1)+(−1)(7)+1(2))=(−5+7+67+7−101−7+2)=(84−4)AC=\begin{pmatrix}-5&1&3\\7&1&-5\\1&-1&1\end{pmatrix}\begin{pmatrix}1\\7\\2\end{pmatrix}=\begin{pmatrix}-5(1)+1(7)+3(2)\\7(1)+1(7)+(-5)(2)\\1(1)+(-1)(7)+1(2)\end{pmatrix}=\begin{pmatrix}-5+7+6\\7+7-10\\1-7+2\end{pmatrix}=\begin{pmatrix}8\\4\\-4\end{pmatrix}

X=14(84−4)=(21−1)X=\frac14\begin{pmatrix}8\\4\\-4\end{pmatrix}=\begin{pmatrix}2\\1\\-1\end{pmatrix}

So x=2, y=1, z=−1x=2,\ y=1,\ z=-1.

✓Final answer

AB=BA=4I3AB=BA=4I_3; and x=2, y=1, z=−1x=\boxed{2},\ y=\boxed{1},\ z=\boxed{-1}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.