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

Exercise 3.1 · Q6: Find x,y,zx, y, z from equal matrices

Exercise 3.1Equality of matrices · Section 3.3.1
The question

Find the values of xx⁠, yy and zz from the following equations:

(i)

[43x5]=[yz15]\begin{bmatrix} 4 & 3 \\ x & 5 \end{bmatrix} = \begin{bmatrix} y & z \\ 1 & 5 \end{bmatrix}

(ii)

[x+y25+zxy]=[6258]\begin{bmatrix} x+y & 2 \\ 5+z & xy \end{bmatrix} = \begin{bmatrix} 6 & 2 \\ 5 & 8 \end{bmatrix}

(iii)

[x+y+zx+zy+z]=[957]\begin{bmatrix} x+y+z \\ x+z \\ y+z \end{bmatrix} = \begin{bmatrix} 9 \\ 5 \\ 7 \end{bmatrix}
Exam answer

(i) Equating corresponding entries, x=1x = 1⁠, y=4y = 4⁠, z=3z = 3⁠.

(ii) Equating corresponding entries,

x+y=6…(1)5+z=5xy=8…(2)\begin{aligned} x + y &= 6 \quad\ldots(1) \\ 5 + z &= 5 \\ xy &= 8 \quad\ldots(2) \end{aligned}

From 5+z=55 + z = 5⁠, z=0z = 0⁠.

From (1), y=6−xy = 6 - x⁠. Putting this in (2),

x(6−x)=8⇒x2−6x+8=0⇒(x−2)(x−4)=0\begin{aligned} x(6 - x) &= 8 \\ \Rightarrow x^2 - 6x + 8 &= 0 \\ \Rightarrow (x - 2)(x - 4) &= 0 \end{aligned}

∴ x=2\therefore\ x = 2 or x=4x = 4⁠, and then y=4y = 4 or y=2y = 2⁠.

∴ x=4\therefore\ x = 4⁠, y=2y = 2⁠, z=0z = 0 or x=2x = 2⁠, y=4y = 4⁠, z=0z = 0⁠.

(iii) Equating corresponding entries,

x+y+z=9…(1)x+z=5…(2)y+z=7…(3)\begin{aligned} x + y + z &= 9 \quad\ldots(1) \\ x + z &= 5 \quad\ldots(2) \\ y + z &= 7 \quad\ldots(3) \end{aligned}

(1) − (2): y=4y = 4⁠. (1) − (3): x=2x = 2⁠.

From (2), z=5−2=3z = 5 - 2 = 3⁠.

∴ x=2\therefore\ x = 2⁠, y=4y = 4⁠, z=3z = 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 entry of one equals the entry in the same place in the other. So one matrix equation is really a set of ordinary equations, one for each address. Write them all down, solve them, and check the answers in every equation, including the ones with no unknowns.

Given, to find, and the plan
Given
Three matrix equations: (i) and (ii) between 2×22\times2 matrices, (iii) between 3×13\times1 column matrices.
To find
All values of xx⁠, yy⁠, zz that make each equation true.
Plan
(1) Check the two sides have the same order. (2) Equate corresponding entries. (3) Solve the resulting equations, finding every solution. (4) Substitute back to confirm.

Basics you need

1Equality of matrices

A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}] are equal when (i) they have the same order and (ii) aij=bija_{ij} = b_{ij} for all ii and jj (Definition 2). Lesson: equality of matrices

2Solving linear equations

Solve one unknown at a time; subtracting one equation from another can eliminate unknowns. Basics: solving equations, one unknown at a time

3Two numbers from their sum and product

If x+y=sx + y = s and xy=pxy = p⁠, then xx and yy are the two roots of t2−st+p=0t^2 - st + p = 0⁠. A quadratic can have two roots, so expect possibly two answers.

4Same address, same value

Entry (i,j)(i, j) on the left is matched only with entry (i,j)(i, j) on the right. Basics: the address aija_{ij}

Part (i)

  1. Same order, then equate entries

    Both sides are 2×22\times2⁠, so equality is possible. Matching the four addresses:

    (1,1):4=y(1,2):3=z(2,1):x=1(2,2):5=5\begin{aligned} (1,1):&\quad 4 = y \\ (1,2):&\quad 3 = z \\ (2,1):&\quad x = 1 \\ (2,2):&\quad 5 = 5 \end{aligned}
    Definition 2 requires every corresponding pair of entries to be equal, so all four equations must hold together. The (2,2)(2,2) equation 5=55 = 5 has no unknowns; it is true, so it imposes no restriction. Had it read, say, 5=65 = 6⁠, there would be no solution at all.
    Equal matrices: same order and aij=bija_{ij} = b_{ij} for every i,ji, j⁠. Lesson: equality of matrices
  2. Read off the values

    Each equation already isolates one unknown: x=1x = 1⁠, y=4y = 4⁠, z=3z = 3.

    Substituting back, the left side becomes

    [4315],\begin{bmatrix} 4 & 3 \\ 1 & 5 \end{bmatrix},

    which is exactly the right side with y=4y = 4⁠, z=3z = 3⁠. ✓

    Each unknown appears in exactly one equation, so each has exactly one value and the solution is unique.

Part (ii)

  1. Same order, then equate entries

    Both sides are 2×22\times2⁠. Matching addresses:

    (1,1):x+y=6(1,2):2=2(2,1):5+z=5(2,2):xy=8\begin{aligned} (1,1):&\quad x + y = 6 \\ (1,2):&\quad 2 = 2 \\ (2,1):&\quad 5 + z = 5 \\ (2,2):&\quad xy = 8 \end{aligned}
    The (1,2)(1,2) equation is automatically true. The other three must all hold. Note that xx and yy are tied together by two equations, one linear and one not, so we must solve them as a pair.
    Equate entry by entry. Lesson: equality of matrices
  2. Find zz

    From 5+z=55 + z = 5⁠, subtracting 5 from both sides gives z=0z = 0.

    Subtracting the same number from both sides keeps an equation true, and leaves zz alone.
    Isolate the unknown by undoing what is done to it. Basics: solving equations
  3. Find xx and yy from their sum and product

    From x+y=6x + y = 6⁠, y=6−xy = 6 - x⁠. Substitute into xy=8xy = 8⁠:

    x(6−x)=86x−x2=8x2−6x+8=0(x−2)(x−4)=0\begin{aligned} x(6 - x) &= 8 \\ 6x - x^2 &= 8 \\ x^2 - 6x + 8 &= 0 \\ (x - 2)(x - 4) &= 0 \end{aligned}

    So x=2x = 2 or x=4x = 4⁠, and then y=6−xy = 6 - x⁠:

    x=2  ⇒  y=4,x=4  ⇒  y=2.\begin{aligned} x = 2 &\;\Rightarrow\; y = 4, \\ x = 4 &\;\Rightarrow\; y = 2. \end{aligned}
    A product is zero only when one of its factors is zero, so x−2=0x - 2 = 0 or x−4=0x - 4 = 0⁠, and there are no other possibilities. The factorisation is right because (x−2)(x−4)=x2−6x+8(x-2)(x-4) = x^2 - 6x + 8⁠. Both roots must be kept: nothing in the question says x>yx > y or x<yx < y⁠, so the two pairs are both genuine solutions.
    Zero product rule: ab=0⇒a=0ab = 0 \Rightarrow a = 0 or b=0b = 0⁠.
  4. Check both solutions

    With x=2x = 2⁠, y=4y = 4⁠, z=0z = 0⁠: x+y=6x + y = 6⁠, 5+z=55 + z = 5⁠, xy=8xy = 8⁠, so the left side is

    [6258],\begin{bmatrix} 6 & 2 \\ 5 & 8 \end{bmatrix},

    the right side ✓. With x=4x = 4⁠, y=2y = 2⁠, z=0z = 0⁠: again x+y=6x + y = 6 and xy=8xy = 8⁠, giving the same matrix ✓.

    So x=4,y=2,z=0x = 4, y = 2, z = 0 or x=2,y=4,z=0x = 2, y = 4, z = 0.

    Substituting into the original matrix equation confirms that no solution was gained or lost in the algebra. Swapping xx and yy changes neither x+yx + y nor xyxy⁠, which explains why the two solutions are mirror images of each other.

Part (iii)

  1. Same order, then equate entries

    Both sides are 3×13\times1 column matrices. Matching the three addresses:

    (1,1):x+y+z=9(2,1):x+z=5(3,1):y+z=7\begin{aligned} (1,1):&\quad x + y + z = 9 \\ (2,1):&\quad x + z = 5 \\ (3,1):&\quad y + z = 7 \end{aligned}
    A column matrix has one column, so its addresses are (1,1)(1,1)⁠, (2,1)(2,1)⁠, (3,1)(3,1)⁠. Three equations in three unknowns: we expect a single solution if they are independent.
    Equate entry by entry. Lesson: equality of matrices
  2. Subtract to isolate yy and xx

    Subtract the second equation from the first:

    (x+y+z)−(x+z)=9−5  ⇒  y=4.(x + y + z) - (x + z) = 9 - 5 \;\Rightarrow\; y = 4.

    Subtract the third equation from the first:

    (x+y+z)−(y+z)=9−7  ⇒  x=2.(x + y + z) - (y + z) = 9 - 7 \;\Rightarrow\; x = 2.
    Each of the shorter equations is the first one with one unknown missing. Subtracting cancels everything except the missing unknown, so we get it directly.
    Subtracting equal quantities from equal quantities gives equal results. Basics: solving equations
  3. Find zz and check

    From x+z=5x + z = 5 with x=2x = 2⁠: z=3z = 3⁠. Check in the equation not yet used for zz⁠: y+z=4+3=7y + z = 4 + 3 = 7 ✓, and x+y+z=2+4+3=9x + y + z = 2 + 4 + 3 = 9 ✓.

    So x=2x = 2⁠, y=4y = 4⁠, z=3z = 3.

    Every one of the three original equations is satisfied, so the values make the two column matrices equal. Each step was forced (no choices were made), so this is the only solution.
Result

(i) x=1x = 1⁠, y=4y = 4⁠, z=3z = 3⁠.
(ii) x=4x = 4⁠, y=2y = 2⁠, z=0z = 0⁠, or x=2x = 2⁠, y=4y = 4⁠, z=0z = 0⁠.
(iii) x=2x = 2⁠, y=4y = 4⁠, z=3z = 3⁠.
(Textbook answer: the same.)

Check it with numbers

Part (ii) by the quadratic formula: x=6±36−322=6±22x = \frac{6 \pm\sqrt{36 - 32}}{2} = \frac{6\pm2}{2}⁠, so x=4x = 4 or x=2x = 2 ✓. Part (iii): adding the last two equations gives x+y+2z=12x + y + 2z = 12⁠; subtracting the first, z=12−9=3z = 12 - 9 = 3 ✓, the same zz found another way.

Common mistakes
  1. Giving only one solution in Part (ii). The quadratic has two roots, and both give valid matrices.
  2. Ignoring the entries without unknowns. They must also match; here they do (5=55 = 5⁠, 2=22 = 2⁠).
  3. Matching entries at different addresses, for example xx with 33 in Part (i).
  4. Not checking. Substituting back into every entry is quick and catches slips.
What to take away
  1. A matrix equation A=BA = B is a system of ordinary equations aij=bija_{ij} = b_{ij}⁠, one per address.
  2. Find all solutions of that system; a non-linear entry such as xyxy can give more than one.
  3. Check every solution in the original matrix equation.

Every fact used, and where it comes from

FactUsed inSource
Definition of equal matricesParts (i), (ii), (iii): Step 1 of eachDefinition 2, Section 3.3.1 (Lesson: equality of matrices)
Solving by equating corresponding entriesAll partsExample 4, Example 5
Column matrix of order m×1m\times1Part (iii), Step 1Section 3.3, type (i)
Zero product rule; x2−6x+8=(x−2)(x−4)x^2 - 6x + 8 = (x-2)(x-4)Part (ii), Step 3Algebra, recomputed in the site's verification script
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 →