A2 June 2024 Paper 2 Q7

AQACurrent spec4 marksMatrices

7 The matrices \(\mathbf{A}\) and \(\mathbf{B}\) are defined as follows.

\[\mathbf{A} = \begin{bmatrix} p - 2 & p - 1 \\ 0 & 1 \end{bmatrix} \qquad \mathbf{B} = \begin{bmatrix} 1 & 2p - 1 \\ 0 & 4 - p \end{bmatrix}\]

Find the values of \(p\) such that \(\mathbf{A}\) and \(\mathbf{B}\) are commutative under matrix multiplication.

Fully justify your answer. [4 marks]