• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Matrix

Matrix Equality

Definition of Matrix Equality

In the world of matrices, we often need to compare two or more matrices. One important concept in this comparison is matrix equality. Two matrices are said to be equal if they meet certain conditions.

Two matrices, let's say matrix AAA and matrix BBB, are said to be equal (written as A=BA=BA=B) if and only if both of the following conditions are met:

  1. Same Order: Matrix AAA and matrix BBB must have the same order (number of rows and columns). If matrix AAA has an order of m×nm \times nm×n, then matrix BBB must also have an order of m×nm \times nm×n.
  2. Corresponding Elements are Equal: Every corresponding element (located in the same row and column position) in matrix AAA and matrix BBB must have the same value. If A=[aij]A = [a_{ij}]A=[aij​] and B=[bij]B = [b_{ij}]B=[bij​], then aij=bija_{ij} = b_{ij}aij​=bij​ for all values of iii (row index) and jjj (column index).

If one of these two conditions is not met, then matrix AAA is not equal to matrix BBB (written as A≠BA \neq BA=B).

Examples of Matrix Equality

Equal Matrices

Given two matrices:

P=[1234]andQ=[1234]P = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \quad \text{and} \quad Q = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}P=[13​24​]andQ=[13​24​]

Matrix PPP and matrix QQQ are equal (P=QP=QP=Q) because:

  • Both have an order of 2×22 \times 22×2.

  • Corresponding elements have the same value:

    p11=q11=1p_{11} = q_{11} = 1p11​=q11​=1, p12=q12=2p_{12} = q_{12} = 2p12​=q12​=2 , p21=q21=3p_{21} = q_{21} = 3p21​=q21​=3, p22=q22=4p_{22} = q_{22} = 4p22​=q22​=4 .

Unequal Matrices (Different Order)

Given two matrices:

R=[4−971]andC=[4−97100]R = \begin{bmatrix} 4 & -9 \\ 7 & 1 \end{bmatrix} \quad \text{and} \quad C = \begin{bmatrix} 4 & -9 \\ 7 & 1 \\ 0 & 0 \end{bmatrix}R=[47​−91​]andC=​470​−910​​

Matrix RRR is not equal to matrix CCC (R≠CR \neq CR=C) because the order of matrix RRR is 2×22 \times 22×2, while the order of matrix CCC is 3×23 \times 23×2.

Unequal Matrices (Different Corresponding Elements)

Given two matrices:

S=[50−28]andT=[5028]S = \begin{bmatrix} 5 & 0 \\ -2 & 8 \end{bmatrix} \quad \text{and} \quad T = \begin{bmatrix} 5 & 0 \\ 2 & 8 \end{bmatrix}S=[5−2​08​]andT=[52​08​]

Although matrix SSS and matrix TTT have the same order (2×22 \times 22×2), they are not equal (S≠TS \neq TS=T) because the element in the 2nd row and 1st column is not the same (s21=−2s_{21} = -2s21​=−2 while t21=2t_{21} = 2t21​=2).

Determining Variable Values from Matrix Equality

Given matrices A=[−x2−3yz2]A = \begin{bmatrix} -x & 2 \\ -3y & z^2 \end{bmatrix}A=[−x−3y​2z2​] and B=[−1269]B = \begin{bmatrix} -1 & 2 \\ 6 & 9 \end{bmatrix}B=[−16​29​].

If matrix AAA is equal to matrix BBB (A=BA=BA=B), determine the values of xxx, yyy, and zzz.

Solution:

Since A=BA=BA=B, the corresponding elements must be equal:

  1. a11=b11  ⟹  −x=−1  ⟹  x=1a_{11} = b_{11} \implies -x = -1 \implies x = 1a11​=b11​⟹−x=−1⟹x=1
  2. a12=b12  ⟹  2=2a_{12} = b_{12} \implies 2 = 2a12​=b12​⟹2=2 (already equal)
  3. a21=b21  ⟹  −3y=6  ⟹  y=6−3  ⟹  y=−2a_{21} = b_{21} \implies -3y = 6 \implies y = \frac{6}{-3} \implies y = -2a21​=b21​⟹−3y=6⟹y=−36​⟹y=−2
  4. a22=b22  ⟹  z2=9  ⟹  z=±9  ⟹  z=3 or z=−3a_{22} = b_{22} \implies z^2 = 9 \implies z = \pm\sqrt{9} \implies z = 3 \text{ or } z = -3a22​=b22​⟹z2=9⟹z=±9​⟹z=3 or z=−3

Thus, the values are x=1x=1x=1, y=−2y=-2y=−2, and z=±3z = \pm 3z=±3.

Exercises

Answer the following questions with True or False.

  1. Two matrices having the same order is one of the conditions for the two matrices to be equal.

  2. Two different matrices always have different orders.

  3. If given matrix K=[2002]K = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}K=[20​02​] and matrix L=[200200]L = \begin{bmatrix} 2 & 0 \\ 0 & 2 \\ 0 & 0 \end{bmatrix}L=​200​020​​, then matrix KKK is equal to matrix LLL.

  4. Given matrices P=[2x4−1y+3]P = \begin{bmatrix} 2x & 4 \\ -1 & y+3 \end{bmatrix}P=[2x−1​4y+3​] and Q=[−104−12]Q = \begin{bmatrix} -10 & 4 \\ -1 & 2 \end{bmatrix}Q=[−10−1​42​]. If P=QP=QP=Q, determine the values of xxx and yyy.

  5. If matrix A=[−x−3y0(x−2y)21]A = \begin{bmatrix} -x-3y & 0 \\ (x-2y)^2 & 1 \end{bmatrix}A=[−x−3y(x−2y)2​01​] and III is the identity matrix of order 2×22 \times 22×2. If A=IA = IA=I, determine the value of x+yx+yx+y.

  6. Calculate the value of a+b+c+da+b+c+da+b+c+d that satisfies the following matrix equality:

    [a+2b2a+bc+d2c+d]=[3−371]\begin{bmatrix} a+2b & 2a+b \\ c+d & 2c+d \end{bmatrix} = \begin{bmatrix} 3 & -3 \\ 7 & 1 \end{bmatrix}[a+2bc+d​2a+b2c+d​]=[37​−31​]

Answer Key

  1. True. Having the same order is the first condition for two matrices to be equal.

  2. False. Two different matrices can have the same order, but their corresponding elements are different (see Example 3).

  3. False. Matrix KKK has an order of 2×22 \times 22×2 while matrix LLL has an order of 3×23 \times 23×2. Since their orders are different, the two matrices are not equal.

  4. Given P=QP=QP=Q:

    [2x4−1y+3]=[−104−12]\begin{bmatrix} 2x & 4 \\ -1 & y+3 \end{bmatrix} = \begin{bmatrix} -10 & 4 \\ -1 & 2 \end{bmatrix}[2x−1​4y+3​]=[−10−1​42​]

    From the equality of corresponding elements:

    • 2x=−10  ⟹  x=−52x = -10 \implies x = -52x=−10⟹x=−5
    • y+3=2  ⟹  y=2−3  ⟹  y=−1y+3 = 2 \implies y = 2-3 \implies y = -1y+3=2⟹y=2−3⟹y=−1

      Thus, x=−5x=-5x=−5 and y=−1y=-1y=−1.

  5. The identity matrix III of order 2×22 \times 22×2 is I=[1001]I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}I=[10​01​].

    Given A=IA=IA=I:

    [−x−3y0(x−2y)21]=[1001]\begin{bmatrix} -x-3y & 0 \\ (x-2y)^2 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}[−x−3y(x−2y)2​01​]=[10​01​]

    From the equality of corresponding elements, we obtain a system of equations:

    1. −x−3y=1-x-3y = 1−x−3y=1 (Equation 1)
    2. (x−2y)2=0(x-2y)^2 = 0(x−2y)2=0 (Equation 2)

    Solve Equation 2 first:

    (x−2y)2=0(x-2y)^2 = 0(x−2y)2=0
    x−2y=0x-2y = \sqrt{0}x−2y=0​
    x−2y=0x-2y = 0x−2y=0
    x=2y(Equation 2’)x = 2y \quad \text{(Equation 2')}x=2y(Equation 2’)

    Substitute Equation 2' into Equation 1:

    −(2y)−3y=1-(2y)-3y = 1−(2y)−3y=1
    −2y−3y=1-2y-3y = 1−2y−3y=1
    −5y=1-5y = 1−5y=1
    y=−15y = -\frac{1}{5}y=−51​

    Substitute the value of y=−15y = -\frac{1}{5}y=−51​ into Equation 2':

    x=2(−15)x = 2\left(-\frac{1}{5}\right)x=2(−51​)
    x=−25x = -\frac{2}{5}x=−52​

    Then, the value of x+yx+yx+y is:

    x+y=(−25)+(−15)x+y = \left(-\frac{2}{5}\right) + \left(-\frac{1}{5}\right)x+y=(−52​)+(−51​)
    =−25−15= -\frac{2}{5} - \frac{1}{5}=−52​−51​
    =−2−15= \frac{-2-1}{5}=5−2−1​
    =−35= -\frac{3}{5}=−53​
  6. Given the matrix equality:

    [a+2b2a+bc+d2c+d]=[3−371]\begin{bmatrix} a+2b & 2a+b \\ c+d & 2c+d \end{bmatrix} = \begin{bmatrix} 3 & -3 \\ 7 & 1 \end{bmatrix}[a+2bc+d​2a+b2c+d​]=[37​−31​]

    From the equality of corresponding elements, we obtain a system of equations:

    1. a+2b=3a+2b = 3a+2b=3
    2. 2a+b=−32a+b = -32a+b=−3
    3. c+d=7c+d = 7c+d=7
    4. 2c+d=12c+d = 12c+d=1

    Solve the system of equations for aaa and bbb (equations 1 and 2):

    Initial equations:

    a+2b=3(1)a+2b = 3 \quad \text{(1)}a+2b=3(1)
    2a+b=−3(2)2a+b = -3 \quad \text{(2)}2a+b=−3(2)

    To eliminate bbb, multiply equation (2) by 2:

    2(2a+b)=2(−3)2(2a+b) = 2(-3)2(2a+b)=2(−3)
    4a+2b=−6(2’)4a+2b = -6 \quad \text{(2')}4a+2b=−6(2’)

    Subtract equation (1) from equation (2'):

    (4a+2b)−(a+2b)=−6−3(4a+2b) - (a+2b) = -6 - 3(4a+2b)−(a+2b)=−6−3
    4a−a+2b−2b=−94a - a + 2b - 2b = -94a−a+2b−2b=−9
    3a=−93a = -93a=−9
    a=−93a = \frac{-9}{3}a=3−9​
    a=−3a = -3a=−3

    Substitute the value of a=−3a=-3a=−3 into equation (1):

    −3+2b=3-3+2b=3−3+2b=3
    2b=3+32b=3+32b=3+3
    2b=62b=62b=6
    b=62b = \frac{6}{2}b=26​
    b=3b = 3b=3

    Solve the system of equations for ccc and ddd (equations 3 and 4):

    Initial equations:

    c+d=7(3)c+d = 7 \quad \text{(3)}c+d=7(3)
    2c+d=1(4)2c+d = 1 \quad \text{(4)}2c+d=1(4)

    Subtract equation (3) from equation (4) to eliminate ddd:

    (2c+d)−(c+d)=1−7(2c+d) - (c+d) = 1 - 7(2c+d)−(c+d)=1−7
    2c−c+d−d=−62c - c + d - d = -62c−c+d−d=−6
    c=−6c = -6c=−6

    Substitute the value of c=−6c=-6c=−6 into equation (3):

    −6+d=7-6+d=7−6+d=7
    d=7+6d=7+6d=7+6
    d=13d=13d=13

    Then, the value of a+b+c+da+b+c+da+b+c+d is:

    a+b+c+d=(−3)+3+(−6)+13a+b+c+d = (-3) + 3 + (-6) + 13a+b+c+d=(−3)+3+(−6)+13
    =0−6+13= 0 - 6 + 13=0−6+13
    =7= 7=7
Previous

Matrix Transpose

Next

Matrix Addition

  • Matrix EqualityMaster matrix equality conditions: same order and corresponding elements. Learn through examples, solve variable problems, and practice exercises.
On this page
  • Definition of Matrix Equality
  • Examples of Matrix Equality
    • Equal Matrices
    • Unequal Matrices (Different Order)
    • Unequal Matrices (Different Corresponding Elements)
    • Determining Variable Values from Matrix Equality
  • Exercises
    • Answer Key
  • Comments
  • Report
  • Source code