Question
Question: For what values of x and y are the following matrices equal? \[{\text{A}} = \left[ {\begin{array}{...
For what values of x and y are the following matrices equal?
{2x + 1}&{3y} \\\ 0&{{y^2} - 5y} \end{array}} \right],{\text{B}} = \left[ {\begin{array}{*{20}{c}} {x + 3}&{{y^2} + 2} \\\ 0&{ - 6} \end{array}} \right]$$. Also, find the value corresponding to $x-y$?Solution
Here, we will proceed by checking the orders of the given matrices and then specifying the two necessary conditions for two matrices to be equal. Finally, we will obtain the required values of x and y by equating the corresponding elements of the two given matrices.
Complete step-by-step answer:
As we know that for any two matrices A and B to be equal, the below mentioned two conditions should always hold true.
Firstly, the order of both the matrices should be same i.e., if the order of matrix A is m×n then the order to the matrix B should always be equal to m×n in order to have equal matrices A and B.
Secondly, each corresponding element should be the same in both the matrices which need to be equal i.e., all the corresponding elements of matrices A and B should be equal.
Given two matrices A and B which are as following: