Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Example 10: Find xx and yy from a matrix equation

ExamplesScalar multiplication, addition and equality · Sections 3.3.1 and 3.4
The question

Find the values of xx and yy from the following equation:

2[x57y−3]+[3−412]2\begin{bmatrix} x & 5 \\ 7 & y-3 \end{bmatrix} + \begin{bmatrix} 3 & -4 \\ 1 & 2 \end{bmatrix} =[761514]= \begin{bmatrix} 7 & 6 \\ 15 & 14 \end{bmatrix}
Exam answer [2x10142y−6]+[3−412]=[761514]\begin{aligned} &\begin{bmatrix} 2x & 10 \\ 14 & 2y - 6 \end{bmatrix} + \begin{bmatrix} 3 & -4 \\ 1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 7 & 6 \\ 15 & 14 \end{bmatrix} \end{aligned} ⇒[2x+36152y−4]=[761514]\Rightarrow \begin{bmatrix} 2x + 3 & 6 \\ 15 & 2y - 4 \end{bmatrix} = \begin{bmatrix} 7 & 6 \\ 15 & 14 \end{bmatrix}

Equating the corresponding entries,

2x+3=7⇒2x=42y−4=14⇒2y=18\begin{aligned} 2x + 3 = 7 &\Rightarrow 2x = 4 \\ 2y - 4 = 14 &\Rightarrow 2y = 18 \end{aligned}

∴ x=2\therefore\ x = 2 and y=9y = 9⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

First simplify the left side into a single matrix (scalar multiple, then sum, both entry by entry). Then use equality of matrices: the two sides are equal only if every pair of corresponding entries is equal. Two entries give equations for xx and yy⁠; the other two contain no unknown and must simply agree, which they do.

Given, to find, and the plan
Given
The matrix equation above, in which every matrix is 2×22\times2⁠.
To find
xx and yy⁠.
Plan
Double the first matrix entry by entry, add the second matrix entry by entry, then equate the four entries with the right side and solve.

Basics you need

1Scalar multiple and sum

kA=[k aij]kA = [k\,a_{ij}]⁠; for equal orders, A+B=[aij+bij]A + B = [a_{ij} + b_{ij}]⁠. Basics: adding only like with like

2Equality of matrices

Same order and equal corresponding entries. Lesson: equality of matrices

3Solving 2x+3=72x + 3 = 7

Subtract 3 from both sides, then divide by 2. Basics: solving equations

Solution

  1. Check the orders

    All three matrices have 2 rows and 2 columns, so all are 2×22\times2⁠. The scalar multiple keeps the order, the sum of two 2×22\times2 matrices is defined and is 2×22\times2⁠, and it can be compared with the 2×22\times2 right side.

    Both the sum and the equality need matching orders. If the right side were, say, 2×32\times3⁠, no values of x,yx, y could make the equation true.
  2. Multiply the first matrix by 2

    Every entry is doubled, including those with unknowns:

    2⋅x=2x,2⋅5=10,2⋅7=14,2(y−3)=2y−6.\begin{aligned} 2\cdot x &= 2x, & 2\cdot5 &= 10,\\ 2\cdot7 &= 14, & 2(y - 3) &= 2y - 6. \end{aligned} 2[x57y−3]=[2x10142y−6].2\begin{bmatrix} x & 5 \\ 7 & y-3 \end{bmatrix} = \begin{bmatrix} 2x & 10 \\ 14 & 2y-6 \end{bmatrix}.
    A scalar multiplies every entry. In the entry y−3y - 3⁠, the 2 must multiply both terms of the bracket: 2(y−3)=2y−62(y - 3) = 2y - 6⁠, not 2y−32y - 3⁠.
    kA=[k aij]kA = [k\,a_{ij}] (Section 3.4.2); the distributive law for numbers, 2(y−3)=2y−62(y - 3) = 2y - 6⁠. Lesson: addition and scalar multiplication
  3. Add the second matrix

    Add corresponding entries:

    (1,1):2x+3(1,2):10+(−4)=6(2,1):14+1=15(2,2):2y−6+2=2y−4\begin{aligned} (1,1):&\quad 2x + 3\\ (1,2):&\quad 10 + (-4) = 6\\ (2,1):&\quad 14 + 1 = 15\\ (2,2):&\quad 2y - 6 + 2 = 2y - 4 \end{aligned}

    So the left side is

    [2x+36152y−4].\begin{bmatrix} 2x+3 & 6 \\ 15 & 2y-4 \end{bmatrix}.
    Matrix addition works position by position. In the entries with unknowns we can only combine the number parts: 2x+32x + 3 stays as it is, and −6+2=−4-6 + 2 = -4⁠.
    A+B=[aij+bij]A + B = [a_{ij} + b_{ij}] (Section 3.4.1). Basics: adding only like with like
  4. Equate corresponding entries

    The equation now reads

    [2x+36152y−4]=[761514].\begin{bmatrix} 2x+3 & 6 \\ 15 & 2y-4 \end{bmatrix} = \begin{bmatrix} 7 & 6 \\ 15 & 14 \end{bmatrix}.

    By equality of matrices, entry by entry:

    (1,1):2x+3=7(1,2):6=6 (true)(2,1):15=15 (true)(2,2):2y−4=14\begin{aligned} (1,1):&\quad 2x + 3 = 7\\ (1,2):&\quad 6 = 6 \ \text{(true)}\\ (2,1):&\quad 15 = 15 \ \text{(true)}\\ (2,2):&\quad 2y - 4 = 14 \end{aligned}
    This answers the textbook's "(Why?)": two matrices are equal exactly when their corresponding entries are equal, so the matrix equation gives these four number equations. Two of them have no unknown and are true, so they cause no contradiction.
    Definition 2, Section 3.3.1. Lesson: equality of matrices
  5. Solve for xx and yy

    2x+3=7 ⇒ 2x=4 ⇒ x=2,2y−4=14 ⇒ 2y=18 ⇒ y=9.\begin{aligned} 2x + 3 = 7 &\ \Rightarrow\ 2x = 4 \ \Rightarrow\ x = 2,\\ 2y - 4 = 14 &\ \Rightarrow\ 2y = 18 \ \Rightarrow\ y = 9. \end{aligned}
    For xx⁠: subtract 3 from both sides, then divide by 2. For yy⁠: add 4 to both sides, then divide by 2. Each equation has exactly one solution.
    Undo the operations in reverse order. Basics: solving equations
Result

x=2x = 2 and y=9y = 9. This agrees with the textbook's solution.

Check it with numbers

With x=2x = 2⁠, y=9y = 9⁠, the first matrix has entries 2,5,7,62, 5, 7, 6 (since y−3=6y - 3 = 6⁠). Doubling gives 4,10,14,124, 10, 14, 12⁠. Adding 3,−4,1,23, -4, 1, 2 gives 7,6,15,147, 6, 15, 14⁠, which is the right-hand matrix.

Common mistakes
  1. Doubling only part of an entry. 2(y−3)=2y−62(y - 3) = 2y - 6⁠, not 2y−32y - 3⁠.
  2. Doubling the second matrix too. The 2 multiplies only the first matrix.
  3. Equating before simplifying. First combine the left side into one matrix, then compare entries.
What to take away
  1. Simplify each side into a single matrix, then equate entries.
  2. A scalar multiplies every entry, and inside an entry it multiplies every term.
  3. Entries without unknowns must still agree; here they do (6=66 = 6⁠, 15=1515 = 15⁠).

Every fact used, and where it comes from

FactUsed inSource
kA=[k aij]kA = [k\,a_{ij}]Step 2Section 3.4.2 (Lesson: addition and scalar multiplication)
A+B=[aij+bij]A + B = [a_{ij} + b_{ij}]⁠, same orderSteps 1, 3Section 3.4.1
Equal matrices have equal corresponding entriesStep 4Definition 2, Section 3.3.1 (Lesson: equality of matrices)
Solving linear equationsStep 5Basics: solving equations
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →