題組內容

4. \( T: P_2(R) \to P_2(R) \) is a linear transformation defined by $$T(f(x)) = f(0) + f(1)(x + x^2).$$ Let $\beta = \{1, x, x^2\}$ be an ordered basis for $P_2(R)$ and let $A = [T]_\beta^\beta$.

f. (8) Find an invertible matrix \( Q \) and a diagonal matrix \( D \) such that \( Q^{-1}AQ = D \).