I have the following problem in a past exam that involves matrix equations:
Suppose that $X$is a $2 \times2$ matrix satisfying:
$X^{2} = 6X +I$
a) Find the values of $\alpha$ and $\beta$ such that $X^{3} = \alpha X + \beta I$
b) Hence find a solution of the matrix equation
$X^{3} = \begin{bmatrix} 36 &-1\\ 2&35\end{bmatrix} X + \begin{bmatrix} 9 &8\\ 2&10\end{bmatrix}$
I need a hint for part (b) as I am unable to use the result for part (a). For part a the values for $\alpha $ and $\beta$ are 37 and 6. In particular, subbing in the values I have found in part (a), gives me the relation
$X^{3} = 37X + 6I$, however I fail to see how I can apply this to part b, as there is a matrix instead of a real number
Call the two matrices in the equation you are to solve $A$ and $B$, respectively. Substituting the result from the first part of the problem and rearranging, we have $37X-AX = B-6I$, which is where you got stuck. As I hinted in my comment, $37X=(37I)X$, so you can continue: $$(37I)X-AX=B-6I \\ (37I-A)X=B-6I \\ X=(37I-A)^{-1}(B-6I),$$ assuming that the inverse exists. I’ll leave it to you to compute the final value of $X$.