Question:
Find the value of $x$ from the following: $\left[\begin{array}{cc}2 x-y & 5 \\ 3 & y\end{array}\right]=\left[\begin{array}{cc}6 & 5 \\ 3 & -2\end{array}\right]$
Solution:
The corresponding elements of two equal matrices are equal.
Given : $\left[\begin{array}{cc}2 x-y & 5 \\ 3 & y\end{array}\right]=\left[\begin{array}{cc}6 & 5 \\ 3 & -2\end{array}\right]$
$2 x-y=6$ ...(1)
$y=-2$
Putting the value of $y$ in eq. (1)
$2 x-(-2)=6$
$\Rightarrow 2 x+2=6$
$\Rightarrow 2 x=6-2$
$\Rightarrow 2 x=4$
$\Rightarrow x=\frac{4}{2}=2$
$\therefore x=2$