Question

Difficulty: Very hardMatrices and Determinants

Given the matrices A=(2x13)A = \begin{pmatrix} 2 & x \\ -1 & 3 \end{pmatrix} and B=(142y)B = \begin{pmatrix} 1 & 4 \\ 2 & y \end{pmatrix}, if AB=BAAB = BA, what is the value of x+yx + y?

  1. 3-3Answer
  2. B
    1010
  3. C
    1-1
  4. D
    11

Answer

The value of x+yx + y is 3-3.
Evaluating the matrix products ABAB and BABA using standard matrix multiplication rules yields AB=(2+2x8+xy54+3y)AB = \begin{pmatrix} 2+2x & 8+xy \\ 5 & -4+3y \end{pmatrix} and BA=(2x+124y2x+3y)BA = \begin{pmatrix} -2 & x+12 \\ 4-y & 2x+3y \end{pmatrix}. Equating entry-by-entry gives 2+2x=2    x=22+2x = -2 \implies x = -2 and 5=4y    y=15 = 4-y \implies y = -1. Adding these together gives x+y=3x + y = -3.

Step-by-Step Solution

1
Compute the product matrix ABAB
AB=(2(1)+x(2)2(4)+x(y)1(1)+3(2)1(4)+3(y))=(2+2x8+xy54+3y)AB = \begin{pmatrix} 2(1) + x(2) & 2(4) + x(y) \\ -1(1) + 3(2) & -1(4) + 3(y) \end{pmatrix} = \begin{pmatrix} 2 + 2x & 8 + xy \\ 5 & -4 + 3y \end{pmatrix}
Matrix multiplication requires taking the dot product of rows from the first matrix and columns from the second matrix.
2
Compute the product matrix BABA
BA=(1(2)+4(1)1(x)+4(3)2(2)+y(1)2(x)+y(3))=(2x+124y2x+3y)BA = \begin{pmatrix} 1(2) + 4(-1) & 1(x) + 4(3) \\ 2(2) + y(-1) & 2(x) + y(3) \end{pmatrix} = \begin{pmatrix} -2 & x + 12 \\ 4 - y & 2x + 3y \end{pmatrix}
Evaluate BABA by multiplying rows of BB by columns of AA.
3
Equate corresponding entries of ABAB and BABA since AB=BAAB = BA
From row 1, col 1: 2+2x=2    2x=4    x=22 + 2x = -2 \implies 2x = -4 \implies x = -2.
From row 2, col 1: 5=4y    y=15 = 4 - y \implies y = -1.
Two matrices are equal if and only if all corresponding entries are equal.
4
Verify consistency on remaining entries and calculate x+yx + y
Row 1, col 2 check: 8+(2)(1)=108 + (-2)(-1) = 10 and 2+12=10-2 + 12 = 10.
Row 2, col 2 check: 4+3(1)=7-4 + 3(-1) = -7 and 2(2)+3(1)=72(-2) + 3(-1) = -7.
Sum: x+y=2+(1)=3x + y = -2 + (-1) = -3.
Verifying consistency ensures the system of equations has a valid unique solution.

Key Concept

Matrix Multiplication Commutativity and Matrix Equality
Estimated Time:2m 30s
Rate this question