Let A and B be two matrices such that \( AB = A \) and \( BA = B \). Which of the following statements are correct?
1. \( A^{2} = A \)
2. \( B^{2} = B \)
3. \( (AB)^{2} = AB \)
Select the correct answer using the code given below.
If \( \alpha, \beta \) are the roots of \( ax^{2} + bx + c = 0 \) and \( \alpha + h, \beta + h \) are the roots of \( px^{2} + qx + r = 0 \), then what is h equal to?
A. \( \frac{1}{2}\left(\frac{b}{a} - \frac{q}{p}\right) \)
10.
If the matrix A is such that \( \begin{pmatrix} 1 & 3 \\ 0 & 1 \end{pmatrix} A = \begin{pmatrix} 1 & 1 \\ 0 & -1 \end{pmatrix} \), then what is A equal to?