To solve the given problem, we need to equate the corresponding elements of the two matrices provided in the question:
| \(\begin{bmatrix} x+y & 2 \\ 1 & x-y \end{bmatrix} = \begin{bmatrix} 4 & 2 \\ 1 & 2 \end{bmatrix}\) |
Let's equate the corresponding elements from both matrices:
We now have the following system of equations:
To find the values of \(x\) and \(y\), we can solve this system using the method of elimination or substitution. Let's use elimination here:
Add the two equations:
This simplifies to:
Divide both sides by 2:
Now substitute \(x = 3\) back into one of the original equations. Let's use \(x + y = 4\):
Solve for \(y\):
Therefore, the solution is \(x = 3\) and \(y = 1\).
Thus, the correct option is:
$x=3, y=1$