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

Exercise 3.2 · Q9: Find xx and yy from 2A+B=C2A+B=C

Exercise 3.2Equality of matrices, addition and scalar multiples · Sections 3.3.1, 3.4
The question

Find xx and yy⁠, if

2[130x]+[y012]=[5618]2\begin{bmatrix} 1 & 3 \\ 0 & x \end{bmatrix} + \begin{bmatrix} y & 0 \\ 1 & 2 \end{bmatrix} = \begin{bmatrix} 5 & 6 \\ 1 & 8 \end{bmatrix}
Exam answer [2602x]+[y012]=[5618]\begin{aligned} &\begin{bmatrix} 2 & 6 \\ 0 & 2x \end{bmatrix} + \begin{bmatrix} y & 0 \\ 1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 5 & 6 \\ 1 & 8 \end{bmatrix} \end{aligned} ⇒[2+y612x+2]=[5618]\begin{aligned} \Rightarrow &\begin{bmatrix} 2 + y & 6 \\ 1 & 2x + 2 \end{bmatrix} \\ &= \begin{bmatrix} 5 & 6 \\ 1 & 8 \end{bmatrix} \end{aligned}

Equating corresponding entries,

2+y=5⇒y=32x+2=8⇒x=3\begin{aligned} 2 + y = 5 &\Rightarrow y = 3 \\ 2x + 2 = 8 &\Rightarrow x = 3 \end{aligned}

∴ x=3\therefore\ x = 3⁠, y=3y = 3⁠.

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

The one idea this problem is built on

Two matrices are equal only when they have the same order and every pair of corresponding entries is equal. So once the left side is simplified to a single matrix, one matrix equation turns into four ordinary equations, one per position. Two of them contain the unknowns and give xx and yy⁠; the other two must simply be true, and they are.

Given, to find, and the plan
Given
A matrix equation of the form 2A+B=C2A + B = C⁠, where all three matrices are 2×22\times2⁠, AA contains xx and BB contains yy⁠.
To find
The numbers xx and yy that make the equation true.
Plan
(1) Check the orders, so that the operations are defined. (2) Multiply the first matrix by 2, entry by entry. (3) Add the second matrix, entry by entry. (4) Equate the four corresponding entries. (5) Solve, then substitute back to check.

Basics you need

1Positions in a matrix

The entry in row ii⁠, column jj is called aija_{ij}⁠. "Corresponding entries" of two matrices of the same order are the ones in the same position. Basics: rows, columns and the address a_ij

2Multiplying a matrix by a number

kAkA is obtained by multiplying every entry of AA by kk⁠. Its order is the order of AA⁠.

3Adding matrices

Two matrices can be added only if they have the same order; then add the entries in the same position. Basics: adding only like with like

4Equal matrices

A=BA = B means same order and aij=bija_{ij} = b_{ij} for every i,ji, j⁠. Lesson: equality of matrices

5Solving a linear equation

Undo the operations one at a time, doing the same thing to both sides: subtract to remove an added number, divide to remove a factor. Basics: solving equations, one unknown at a time

Solution

  1. Check the orders

    Each of the three matrices has 2 rows and 2 columns, so each is of order 2×22\times2⁠. Multiplying by the number 2 does not change the order, so the first term (2 times the first matrix) is also 2×22\times2⁠. Two 2×22\times2 matrices can be added, and the sum is 2×22\times2⁠. The right side is 2×22\times2 too, so comparing the two sides makes sense.

    Addition is only defined for matrices of the same order, and two matrices can only be equal if they have the same order. Checking this first tells us the question is meaningful and that we will get exactly 2×2=42\times2 = 4 entry equations.
    Sum and scalar multiple keep the order. Lesson: addition and scalar multiplication
  2. Multiply the first matrix by 2

    Multiply each of the four entries by 2:

    2[130x]=[2⋅12⋅32⋅02⋅x]=[2602x]2\begin{bmatrix} 1 & 3 \\ 0 & x \end{bmatrix} = \begin{bmatrix} 2\cdot 1 & 2\cdot 3 \\ 2\cdot 0 & 2\cdot x \end{bmatrix} = \begin{bmatrix} 2 & 6 \\ 0 & 2x \end{bmatrix}
    The scalar 2 multiplies the whole matrix, so it reaches every entry, including the 0 (which stays 0) and the unknown xx (which becomes 2x2x⁠).
    kA=[k aij]kA = [k\,a_{ij}]⁠: every entry is multiplied by kk⁠. Lesson: scalar multiplication
  3. Add the second matrix, entry by entry

    Add the entries that sit in the same position:

    [2602x]+[y012]=[2+y6+00+12x+2]\begin{bmatrix} 2 & 6 \\ 0 & 2x \end{bmatrix} + \begin{bmatrix} y & 0 \\ 1 & 2 \end{bmatrix} = \begin{bmatrix} 2+y & 6+0 \\ 0+1 & 2x+2 \end{bmatrix}

    which simplifies to

    [2+y612x+2].\begin{bmatrix} 2+y & 6 \\ 1 & 2x+2 \end{bmatrix}.
    Matrix addition is defined position by position: the (1,1)(1,1) entries are added together, the (1,2)(1,2) entries together, and so on. We cannot simplify 2+y2+y or 2x+22x+2 further, because xx and yy are still unknown.
    [aij]+[bij]=[aij+bij][a_{ij}] + [b_{ij}] = [a_{ij} + b_{ij}]⁠. Basics: adding like with like
  4. Equate corresponding entries

    The equation now reads

    [2+y612x+2]=[5618].\begin{bmatrix} 2+y & 6 \\ 1 & 2x+2 \end{bmatrix} = \begin{bmatrix} 5 & 6 \\ 1 & 8 \end{bmatrix}.

    Both sides are 2×22\times2⁠, so they are equal exactly when all four pairs of corresponding entries are equal:

    • position (1,1)(1,1)⁠: 2+y=52 + y = 5⁠;
    • position (1,2)(1,2)⁠: 6=66 = 6⁠, true whatever x,yx, y are;
    • position (2,1)(2,1)⁠: 1=11 = 1⁠, true whatever x,yx, y are;
    • position (2,2)(2,2)⁠: 2x+2=82x + 2 = 8⁠.
    This is the definition of equal matrices put to work. The two entries without unknowns must still be checked: if one of them had said something false, such as 6=76 = 7⁠, no choice of xx and yy could make the matrices equal and the equation would have no solution. Here both are true, so only the two equations with unknowns remain.
    Equal matrices: same order and aij=bija_{ij} = b_{ij} for all i,ji, j (Definition 2). Lesson: equality of matrices
  5. Solve the two equations

    From position (1,1)(1,1)⁠: subtract 2 from both sides of 2+y=52 + y = 5⁠:

    y=5−2=3.y = 5 - 2 = 3.

    From position (2,2)(2,2)⁠: subtract 2 from both sides of 2x+2=82x + 2 = 8⁠, then divide both sides by 2:

    2x=8−2=6,x=62=3.2x = 8 - 2 = 6, \qquad x = \frac{6}{2} = 3.
    Each equation has only one unknown, so each can be solved on its own. Doing the same operation to both sides keeps the equation true, and each operation is reversible, so x=3x = 3 and y=3y = 3 are the only values that work.
    Undo "+2+2" by subtracting 2; undo "×2\times 2" by dividing by 2. Basics: solving equations
  6. Substitute back

    Put x=3x = 3 and y=3y = 3 into the original left side:

    2[1303]+[3012]=[2606]+[3012]2\begin{bmatrix} 1 & 3 \\ 0 & 3 \end{bmatrix} + \begin{bmatrix} 3 & 0 \\ 1 & 2 \end{bmatrix} = \begin{bmatrix} 2 & 6 \\ 0 & 6 \end{bmatrix} + \begin{bmatrix} 3 & 0 \\ 1 & 2 \end{bmatrix} =[2+36+00+16+2]=[5618],= \begin{bmatrix} 2+3 & 6+0 \\ 0+1 & 6+2 \end{bmatrix} = \begin{bmatrix} 5 & 6 \\ 1 & 8 \end{bmatrix},

    which is the right side. ✓

    Substituting into the original equation, not into our simplified one, also catches any slip made in Steps 2 and 3.
Result

x=3x = 3 and y=3y = 3. (Textbook answer: x=3, y=3x = 3,\ y = 3⁠.)

Check it with numbers

Try a wrong value to see the method bite: with x=2x = 2 the (2,2)(2,2) entry of the left side is 2⋅2+2=62\cdot2 + 2 = 6⁠, not 8, so the matrices differ. With x=3x = 3 it is 2⋅3+2=82\cdot3+2 = 8 ✓, and with y=3y = 3 the (1,1)(1,1) entry is 2⋅1+3=52\cdot1 + 3 = 5 ✓.

Common mistakes
  1. Multiplying only some entries by 2. The scalar multiplies every entry; forgetting it on xx gives x+2=8x + 2 = 8 and the wrong answer x=6x = 6⁠.
  2. Multiplying the second matrix by 2 as well. The 2 belongs to the first matrix only.
  3. Ignoring the entries with no unknowns. They must be checked: they decide whether a solution exists at all.
What to take away
  1. Simplify each side to a single matrix, then one matrix equation becomes one ordinary equation per position.
  2. Check orders first: they tell you whether the operations are defined and how many equations you will get.
  3. Always substitute back into the original equation.

Every fact used, and where it comes from

FactUsed inSource
Order of a matrix; entry aija_{ij}Step 1Section 3.2.1
kA=[k aij]kA = [k\,a_{ij}]⁠, same order as AASteps 1, 2, 6Section 3.4.2
Sum defined only for the same order; [aij]+[bij]=[aij+bij][a_{ij}] + [b_{ij}] = [a_{ij} + b_{ij}]Steps 1, 3, 6Section 3.4.1
Equal matrices: same order and equal corresponding entriesStep 4Definition 2, Section 3.3.1 (Lesson: equality)
Same method on a similar equationSteps 2 to 5Example 10
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 →