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

Exercise 3.2 · Q12: Find x,y,z,wx, y, z, w when unknowns appear on both sides

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

Given

3[xyzw]=[x6−12w]+[4x+yz+w3],\begin{aligned} &3\begin{bmatrix} x & y \\ z & w \end{bmatrix}\\ &= \begin{bmatrix} x & 6 \\ -1 & 2w \end{bmatrix} + \begin{bmatrix} 4 & x+y \\ z+w & 3 \end{bmatrix}, \end{aligned}

find the values of xx⁠, yy⁠, zz and ww⁠.

Exam answer [3x3y3z3w]=[x+46+x+y−1+z+w2w+3]\begin{aligned} &\begin{bmatrix} 3x & 3y \\ 3z & 3w \end{bmatrix} \\ &= \begin{bmatrix} x + 4 & 6 + x + y \\ -1 + z + w & 2w + 3 \end{bmatrix} \end{aligned}

Equating corresponding entries,

3x=x+4…(1)3y=6+x+y…(2)3z=−1+z+w…(3)3w=2w+3…(4)\begin{aligned} 3x &= x + 4 \quad\ldots(1) \\ 3y &= 6 + x + y \quad\ldots(2) \\ 3z &= -1 + z + w \quad\ldots(3) \\ 3w &= 2w + 3 \quad\ldots(4) \end{aligned}

From (1): 2x=42x = 4⁠, so x=2x = 2⁠.

From (4): w=3w = 3⁠.

From (2): 2y=6+x=82y = 6 + x = 8⁠, so y=4y = 4⁠.

From (3): 2z=w−1=22z = w - 1 = 2⁠, so z=1z = 1⁠.

∴ x=2\therefore\ x = 2⁠, y=4y = 4⁠, z=1z = 1⁠, w=3w = 3⁠.

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

The one idea this problem is built on

Equate corresponding entries, as always. The new feature is that the unknowns appear on both sides and some entries mix two unknowns. So the order of solving matters: two of the four equations contain a single unknown (xx and ww⁠); solve those first, then feed the values into the other two to get yy and zz⁠.

Given, to find, and the plan
Given
An equation between 2×22\times2 matrices, with x,y,z,wx, y, z, w appearing on both sides.
To find
xx⁠, yy⁠, zz and ww⁠.
Plan
(1) Check the orders. (2) Simplify the left side (scalar multiple) and the right side (sum). (3) Equate the four entries. (4) Solve for xx and ww first, then yy and zz⁠. (5) Substitute back.

Basics you need

1Positions in a matrix

Entry (i,j)(i, j) is in row ii⁠, column jj⁠. Equations are formed position by position. Basics: rows, columns and the address a_ij

2Scalar multiples and sums

3A3A triples every entry; a sum of two 2×22\times2 matrices adds entries in the same position. Basics: adding only like with like

3Equal matrices

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

4Unknowns on both sides

Collect the unknown on one side by subtracting the same term from both sides, then divide. Solve the equation with a single unknown first and substitute. Basics: solving equations, one unknown at a time

Solution

  1. Check the orders

    All three matrices are 2×22\times2⁠. The left side 3×3\times (a 2×22\times2 matrix) is 2×22\times2⁠; the right side is a sum of two 2×22\times2 matrices, which is defined and 2×22\times2⁠. So the two sides can be compared entry by entry, giving four equations for the four unknowns.

    Matching orders are what make both the addition and the comparison legitimate.
  2. Simplify the left side

    3[xyzw]=[3x3y3z3w]3\begin{bmatrix} x & y \\ z & w \end{bmatrix} = \begin{bmatrix} 3x & 3y \\ 3z & 3w \end{bmatrix}
    The scalar 3 multiplies every entry.
    kA=[k aij]kA = [k\,a_{ij}]⁠. Lesson: scalar multiplication
  3. Simplify the right side

    Add entries in the same position:

    (1,1):  x+4(1,2):  6+(x+y)=6+x+y(2,1):  −1+(z+w)=z+w−1(2,2):  2w+3\begin{aligned} (1,1):&\ \ x + 4\\ (1,2):&\ \ 6 + (x + y) = 6 + x + y\\ (2,1):&\ \ -1 + (z + w) = z + w - 1\\ (2,2):&\ \ 2w + 3 \end{aligned}

    so the right side is

    [x+46+x+yz+w−12w+3].\begin{bmatrix} x + 4 & 6 + x + y \\ z + w - 1 & 2w + 3 \end{bmatrix}.
    Matrix addition works position by position. Each entry of the second matrix is added to the entry in the same place of the first; brackets can be dropped because addition of numbers is associative.
    [aij]+[bij]=[aij+bij][a_{ij}] + [b_{ij}] = [a_{ij}+b_{ij}]⁠. Basics: adding like with like
  4. Equate corresponding entries

    The two sides are equal 2×22\times2 matrices, so:

    (1,1):  3x=x+4(1)(1,2):  3y=6+x+y(2)(2,1):  3z=z+w−1(3)(2,2):  3w=2w+3(4)\begin{aligned} (1,1):&\ \ 3x = x + 4 &(1)\\ (1,2):&\ \ 3y = 6 + x + y &(2)\\ (2,1):&\ \ 3z = z + w - 1 &(3)\\ (2,2):&\ \ 3w = 2w + 3 &(4) \end{aligned}
    Definition 2: equal matrices have equal corresponding entries. Notice which unknowns each equation contains: (1) only xx⁠; (4) only ww⁠; (2) contains xx and yy⁠; (3) contains zz and ww⁠. That tells us the order to solve in.
  5. Solve (1) for xx and (4) for ww

    (1): subtract xx from both sides, then divide by 2:

    3x−x=4  ⇒  2x=4  ⇒  x=2.3x - x = 4 \;\Rightarrow\; 2x = 4 \;\Rightarrow\; x = 2.

    (4): subtract 2w2w from both sides:

    3w−2w=3  ⇒  w=3.3w - 2w = 3 \;\Rightarrow\; w = 3.
    Each of these equations has a single unknown, appearing on both sides. Subtracting the same term from both sides gathers it on the left.
  6. Use xx in (2) to get yy

    Subtract yy from both sides of (2), then put x=2x = 2⁠:

    3y−y=6+x2y=6+2=8y=4.\begin{aligned} 3y - y &= 6 + x\\ 2y &= 6 + 2 = 8\\ y &= 4. \end{aligned}
    Equation (2) has two unknowns, but xx is now known from Step 5, so only yy is left.
  7. Use ww in (3) to get zz

    Subtract zz from both sides of (3), then put w=3w = 3⁠:

    3z−z=w−12z=3−1=2z=1.\begin{aligned} 3z - z &= w - 1\\ 2z &= 3 - 1 = 2\\ z &= 1. \end{aligned}
    Likewise, ww from Step 5 leaves zz as the only unknown in (3).
  8. Substitute back

    With x=2x = 2⁠, y=4y = 4⁠, z=1z = 1⁠, w=3w = 3⁠, the left side is

    3[2413]=[61239],3\begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix} = \begin{bmatrix} 6 & 12 \\ 3 & 9 \end{bmatrix},

    and the right side is

    [26−16]+[4643]=[61239].\begin{bmatrix} 2 & 6 \\ -1 & 6 \end{bmatrix} + \begin{bmatrix} 4 & 6 \\ 4 & 3 \end{bmatrix} = \begin{bmatrix} 6 & 12 \\ 3 & 9 \end{bmatrix}.

    The two sides match. ✓

    Here 2w=62w = 6⁠, x+y=6x + y = 6 and z+w=4z + w = 4⁠. Every position agrees, so the values are correct. Since every solving step was reversible, they are the only values.
Result

x=2, y=4, z=1, w=3x = 2,\ y = 4,\ z = 1,\ w = 3. (Textbook answer: x=2, y=4, w=3, z=1x = 2,\ y = 4,\ w = 3,\ z = 1⁠.)

Check it with numbers

Equation by equation: (1) 3⋅2=6=2+43\cdot2 = 6 = 2 + 4 ✓; (2) 3⋅4=12=6+2+43\cdot4 = 12 = 6 + 2 + 4 ✓; (3) 3⋅1=3=1+3−13\cdot1 = 3 = 1 + 3 - 1 ✓; (4) 3⋅3=9=2⋅3+33\cdot3 = 9 = 2\cdot3 + 3 ✓.

Common mistakes
  1. Treating xx on the right as already known. The xx in the right side is the same unknown as on the left; (1) has xx on both sides and must be rearranged.
  2. Writing 3y=6+x3y = 6 + x⁠. The (1,2)(1,2) entry on the right is 6+(x+y)6 + (x + y)⁠: the yy belongs there.
  3. Solving (2) or (3) first. Each has two unknowns; it cannot be finished until (1) or (4) has been solved.
What to take away
  1. Equate entries first, then look at which unknowns each equation contains before solving.
  2. Solve the single-unknown equations first and substitute into the rest.
  3. Substituting back into the original matrices checks every entry at once.

Every fact used, and where it comes from

FactUsed inSource
Order of a matrix; entry aija_{ij}Steps 1, 4Section 3.2.1
kA=[k aij]kA = [k\,a_{ij}]Steps 2, 8Section 3.4.2
Sum of matrices of the same order, entry by entrySteps 3, 8Section 3.4.1
Equal matrices: equal corresponding entriesStep 4Definition 2, Section 3.3.1 (Lesson: equality)
Same operation on both sides keeps an equation trueSteps 5 to 7Algebra of 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 →