Answer:
Explanation:
To compute the representation matrix A of f with respect the basis {1,x} we first compute
The coefficients of the polynomial f(1) gives us the entries of the first column of the matrix A, where the first entry is the coefficient that accompanies the basis element 1 and the second entry is the coefficient that accompanies the basis element x. In a similar way, the coefficients of the polynomial f(x) gives us the the entries of the second column of A. It holds that,
(b) First, note that we are using a one to one correspondence between the basis {1,x} and the basis {(1,0),(0,1)} of
.
To compute a basis P1 with respect to which f has a diagonal matrix, we first have to compute the eigenvalues of A. The eigenvalues are the roots of the characteristic polynomial of A, we compute
and so the eigenvalues of the matrix A are
.
After we computed the eigenvalues we use the systems of equations
to find the basis of the eigenvalues. We find that
is an eigenvector for the eigenvalue -2 and that
is an eigenvector for the eigenvalue 9. Finally, we use the one to one correspondence between the
and the space of liear polynomials to get the basis
with respect to which f is represented by the diagonal matrix