If \(A=\begin{bmatrix}2-x & 1\\ 3 & y+2\end{bmatrix}\) and \(B=\begin{bmatrix} y & 1\\ 3 & 2x+1\end{bmatrix}\) are such that A = B, then values of x and y are respectively:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → 1, 1
Equal matrices have equal corresponding entries:
\(2 - x = y \quad\Rightarrow\quad x + y = 2 \qquad (1)\)
\(y + 2 = 2x + 1 \quad\Rightarrow\quad 2x - y = 1 \qquad (2)\)
Adding (1) and (2):
\(3x = 3,\quad x = 1\)
\(y = 2 - 1 = 1\)