← 2020 Paper 1

UPSC 2020 Maths Optional Paper 1 Q4a — Step-by-Step Solution

15 marks · Section A

Solution of system of linear equations · Linear Algebra · asked 8× in 14 yrs · Read the full method →

Question

Let A=[1022−13418]A=\begin{bmatrix}1&0&2\\2&-1&3\\4&1&8\end{bmatrix} and B=[−1122−4016−1−1]B=\begin{bmatrix}-11&2&2\\-4&0&1\\6&-1&-1\end{bmatrix}. (i) Find ABAB. (ii) Find det⁡(A)\det(A) and det⁡(B)\det(B). (iii) Solve the following system of linear equations: x+2z=3, 2x−y+3z=3, 4x+y+8z=14x+2z=3,\ 2x-y+3z=3,\ 4x+y+8z=14.

Technique

Direct matrix multiplication shows B=A−1B=A^{-1}; use det⁡(AB)=det⁡Adet⁡B\det(AB)=\det A\det B; solve Ax=bA\mathbf{x}=\mathbf{b} as x=A−1b=Bb\mathbf{x}=A^{-1}\mathbf{b}=B\mathbf{b}.

Solution

(i) Compute ABAB

(AB)ij=∑kAikBkj(AB)_{ij}=\sum_k A_{ik}B_{kj}.

Row 1 ([1,0,2][1,0,2]):   1(−11)+0(−4)+2(6)=1;1(2)+0(0)+2(−1)=0;1(2)+0(1)+2(−1)=0.\;1(-11)+0(-4)+2(6)=1;\quad 1(2)+0(0)+2(-1)=0;\quad 1(2)+0(1)+2(-1)=0. Row 2 ([2,−1,3][2,-1,3]):   2(−11)+(−1)(−4)+3(6)=0;2(2)+(−1)(0)+3(−1)=1;2(2)+(−1)(1)+3(−1)=0.\;2(-11)+(-1)(-4)+3(6)=0;\quad 2(2)+(-1)(0)+3(-1)=1;\quad 2(2)+(-1)(1)+3(-1)=0. Row 3 ([4,1,8][4,1,8]):   4(−11)+1(−4)+8(6)=0;4(2)+1(0)+8(−1)=0;4(2)+1(1)+8(−1)=1.\;4(-11)+1(-4)+8(6)=0;\quad 4(2)+1(0)+8(-1)=0;\quad 4(2)+1(1)+8(-1)=1.

 AB=[100010001]=I3. \boxed{\,AB=\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}=I_3.\,}

Hence B=A−1B=A^{-1}.

(ii) Determinants

Expand det⁡A\det A along row 1:

det⁡A=1det⁡[−1318]−0+2det⁡[2−141]=1(−8−3)+2(2+4)=−11+12=1.\det A=1\det\begin{bmatrix}-1&3\\1&8\end{bmatrix}-0+2\det\begin{bmatrix}2&-1\\4&1\end{bmatrix}=1(-8-3)+2(2+4)=-11+12=1.

From AB=IAB=I, det⁡A⋅det⁡B=det⁡I=1\det A\cdot\det B=\det I=1, so det⁡B=1/det⁡A=1\det B=1/\det A=1.

det⁡A=1,det⁡B=1.\boxed{\det A=1,\qquad \det B=1.}

(iii) Solve the system

In matrix form the system is

[1022−13418][xyz]=[3314],\begin{bmatrix}1&0&2\\2&-1&3\\4&1&8\end{bmatrix}\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}3\\3\\14\end{bmatrix},

i.e. Ax=bA\mathbf{x}=\mathbf{b} with the same matrix AA as above. Since A−1=BA^{-1}=B,

x=Bb=[−1122−4016−1−1][3314].\mathbf{x}=B\mathbf{b}=\begin{bmatrix}-11&2&2\\-4&0&1\\6&-1&-1\end{bmatrix}\begin{bmatrix}3\\3\\14\end{bmatrix}.

Compute:

x=−11(3)+2(3)+2(14)=−33+6+28=1,x=-11(3)+2(3)+2(14)=-33+6+28=1, y=−4(3)+0(3)+1(14)=−12+14=2,y=-4(3)+0(3)+1(14)=-12+14=2, z=6(3)−1(3)−1(14)=18−3−14=1.z=6(3)-1(3)-1(14)=18-3-14=1.

Answer

  (x,y,z)=(1, 2, 1).  \boxed{\;(x,y,z)=(1,\,2,\,1).\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.