Let $A$ be a given $n \times n$ matrix and consider the problem of solving the system $B \mathbf{x}=\mathbf{b}$, where $B=A^2+\beta A+\gamma I$, with $\beta$ and $\gamma$ arbitrary constants.
(a) Sketch an algorithm for solving this problem. What is the operations count and storage requirement?
(b) Suppose that $\beta$ and $\gamma$ are such that $B$ is a perfect square, that is, $B=(A+\mu I)^2$. Show how this property can be exploited to produce a much more efficient algorithm.
(c) Solve the system $B \mathbf{x}=\mathbf{b}$, where $\beta=-10, \gamma=25, A$ is the matrix of Exercise 1.1(iii), and $\mathbf{b}$ is the vector of Exercise 1.2(iii).