To determine whether the matrix products \( AB \) and \( BA \) are defined, we need to check the dimensions of the matrices.
- Matrix \( A \) has dimensions \( 2 \times 3 \) (2 rows and 3 columns).
- Matrix \( B \) has dimensions \( 3 \times 2 \) (3 rows and 2 columns).
For the product \( AB \) to be defined, the number of columns of \( A \) must match the number of rows of \( B \). In this case, \( A \) has 3 columns and \( B \) has 3 rows, so \( AB \) is defined.
The resulting matrix will have dimensions \( 2 \times 2 \). For the product \( BA \), the number of columns of \( B \) must match the number of rows of \( A \).
However, \( B \) has 2 columns and \( A \) has 2 rows, so \( BA \) is not defined. Hence, only \( AB \) is defined.
If \[ A = \begin{bmatrix} 1 & 2 & 0 \\ -2 & -1 & -2 \\ 0 & -1 & 1 \end{bmatrix} \] then find \( A^{-1} \). Hence, solve the system of linear equations: \[ x - 2y = 10, \] \[ 2x - y - z = 8, \] \[ -2y + z = 7. \]