Skip to content
Worked Examples · Example 18

Q.The sum of three numbers is 6. If we multiply third number by 3 and add second number to it, we get 11. By adding first and third numbers, we get double of the second number. Represent it algebraically and find the numbers using matrix method.

Uttar Pradesh UpmspTextbookSubjective· 5mImportance★★★★★
48% · 70/146 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a system of three linear equations in three unknowns. Representing it as AX=BAX = B and solving via the matrix method (inverse) gives the numbers as x=1x = 1, y=2y = 2, z=3z = 3.

We have three unknown numbers. Let them be xx, yy, and zz — first, second, and third respectively. The problem gives three conditions, each translating directly into an equation.

The first condition: "The sum of three numbers is 6" gives

x+y+z=6.x + y + z = 6.

The second: "If we multiply third number by 3 and add second number to it, we get 11" means

3z+y=11or0x+y+3z=11.3z + y = 11 \quad \text{or} \quad 0x + y + 3z = 11.

The third: "By adding first and third numbers, we get double of the second number" means

x+z=2y⇒x−2y+z=0.x + z = 2y \quad \Rightarrow \quad x - 2y + z = 0.

So the system is:

{x+y+z=60x+y+3z=11x−2y+z=0\begin{cases} x + y + z = 6 \\ 0x + y + 3z = 11 \\ x - 2y + z = 0 \end{cases}

Why use the matrix method? Because once we write this as AX=BAX = B, solving X=A−1BX = A^{-1}B is systematic — no back-substitution guesswork, and it works cleanly for any 3×33 \times 3 system with a unique solution.

Step 1: Write in matrix form AX=BAX = B

A=(1110131−21),X=(xyz),B=(6110)A = \begin{pmatrix} 1 & 1 & 1 \\ 0 & 1 & 3 \\ 1 & -2 & 1 \end{pmatrix}, \quad X = \begin{pmatrix} x \\ y \\ z \end{pmatrix}, \quad B = \begin{pmatrix} 6 \\ 11 \\ 0 \end{pmatrix}

Step 2: Find the determinant of AA to check if the inverse exists

det⁡(A)=1⋅∣13−21∣−1⋅∣0311∣+1⋅∣011−2∣\det(A) = 1 \cdot \begin{vmatrix} 1 & 3 \\ -2 & 1 \end{vmatrix} - 1 \cdot \begin{vmatrix} 0 & 3 \\ 1 & 1 \end{vmatrix} + 1 \cdot \begin{vmatrix} 0 & 1 \\ 1 & -2 \end{vmatrix}

Compute each minor:

  • First: (1)(1)−(3)(−2)=1+6=7(1)(1) - (3)(-2) = 1 + 6 = 7
  • Second: (0)(1)−(3)(1)=0−3=−3(0)(1) - (3)(1) = 0 - 3 = -3
  • Third: (0)(−2)−(1)(1)=0−1=−1(0)(-2) - (1)(1) = 0 - 1 = -1

So det⁡(A)=1(7)−1(−3)+1(−1)=7+3−1=9\det(A) = 1(7) - 1(-3) + 1(-1) = 7 + 3 - 1 = 9.

Since det⁡(A)=9≠0\det(A) = 9 \neq 0, the inverse exists and the solution is unique.

Step 3: Find the adjoint of AA (transpose of the cofactor matrix)

First, find all cofactors Cij=(−1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}.

  • C11=+∣13−21∣=7C_{11} = + \begin{vmatrix} 1 & 3 \\ -2 & 1 \end{vmatrix} = 7
  • C12=−∣0311∣=−(−3)=3C_{12} = - \begin{vmatrix} 0 & 3 \\ 1 & 1 \end{vmatrix} = -(-3) = 3
  • C13=+∣011−2∣=−1C_{13} = + \begin{vmatrix} 0 & 1 \\ 1 & -2 \end{vmatrix} = -1
  • C21=−∣11−21∣=−(1+2)=−3C_{21} = - \begin{vmatrix} 1 & 1 \\ -2 & 1 \end{vmatrix} = -(1 + 2) = -3
  • C22=+∣1111∣=0C_{22} = + \begin{vmatrix} 1 & 1 \\ 1 & 1 \end{vmatrix} = 0
  • C23=−∣111−2∣=−(−2−1)=3C_{23} = - \begin{vmatrix} 1 & 1 \\ 1 & -2 \end{vmatrix} = -(-2 - 1) = 3
  • C31=+∣1113∣=3−1=2C_{31} = + \begin{vmatrix} 1 & 1 \\ 1 & 3 \end{vmatrix} = 3 - 1 = 2
  • C32=−∣1103∣=−(3−0)=−3C_{32} = - \begin{vmatrix} 1 & 1 \\ 0 & 3 \end{vmatrix} = -(3 - 0) = -3
  • C33=+∣1101∣=1−0=1C_{33} = + \begin{vmatrix} 1 & 1 \\ 0 & 1 \end{vmatrix} = 1 - 0 = 1

So the cofactor matrix is:

(73−1−3032−31)\begin{pmatrix} 7 & 3 & -1 \\ -3 & 0 & 3 \\ 2 & -3 & 1 \end{pmatrix} …

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.