ns2675 said:
Is the matrix M^C_C(phi) supposed to be the matrix of phi in the ordered basis C? If so, your matrix is incorrect; 1+x, 1-x, and 1+x^2 are eigenvectors of phi, with eigenvalues 1, 3, and 2, respectively. The matrix you are looking for is a diagonal matrix.
Your approach for (iii) is correct; simply multiply the matrix of phi in the basis C by the coordinate matrix v; that will give you the coordinate matrix of phi(v).
Well this is my approach to the whole question:
Part (i)
[itex]\phi (1) = 2-x = 2(1) -1(x) + 0(x^2)[/itex]
[itex]\phi (x) = -1 + 2x = -1(1) + 2(x) + 0(x^2)[/itex]
[itex]\phi (x^2) = x + 2x^2 = 0(1) + 1(x) + 2(x^2)[/itex]
[itex]M^{\mathcal B}_{\mathcal B}(\phi) = \begin{bmatrix} 2 & -1 & 0 \\ -1 & 2 & 1 \\ 0 & 0 & 2 \\ \end{bmatrix}[/itex]
Part (ii)
Since [itex]{\mathcal C}[/itex] has size 3 and [itex]\text{dim}(\mathbb{R}_2[x])=3[/itex] it is enough to show that [itex]\mathcal C}[/itex] is either linearly independent or spans [itex]V[/itex] . For completeness let's do both.
[itex]{\mathcal C}[/itex] is linearly independent if
[itex]\alpha (1+x) + \beta (1-x) + \gamma (1+x^2) = 0 \Rightarrow \alpha = \beta = \gamma = 0[/itex]
[itex]\alpha + \alpha x +\beta - \beta x + \gamma + \gamma x^2 = 0[/itex]
[itex]\alpha + \beta + \gamma + (\alpha - \beta)x + \gamma x^2 = 0[/itex]
Equate coefficients.
[itex]\alpha + \beta + \gamma = 0[/itex] (1)
[itex]\alpha - \beta = 0 \Rightarrow \alpha = \beta[/itex] (2)
[itex]\gamma = 0[/itex] (3)
Subbing (2) and (3) in (1) gives [itex]2\alpha = 0 \Rightarrow \alpha = 0 \Rightarrow \beta = 0[/itex] from (2).
Hence [itex]\alpha = \beta = \gamma = 0[/itex] and [itex]\mathcal C[/itex] is linearly independent.
[itex]\mathcal C[/itex] spans [itex]V[/itex] if
[itex]a_1 (1+x) + a_2 (1-x) + a_3 (1+x^2) = b_1 + b_2 x + b_3 x^2[/itex]
has at least one solution for every set of coefficients [itex]b_1,b_2,b_3[/itex]
[itex]a_1 + a_2 + a_3 + (a_1 - a_2)x + a_3x^2 = b_1 + b_2 x + b_3 x^2[/itex]
Equating coefficients yields the following system of equations (*):
[itex]a_1 + a_2 + a_3 = b_1[/itex]
[itex]a_1 - a_2 = b_2[/itex]
[itex]a_3 = b_3[/itex]
Transforming the augmented matrix
[itex]\begin{bmatrix} 1 & 1 & 1 & 1 & 0 & 0 \\ 1 & -1 & 0 & 0 & 1 & 0 \\ 0 & 0 & 1 & 0 & 0 & 1 \\ \end{bmatrix}[/itex]
into row echelon form we get
[itex]\begin{bmatrix} 1 & 0 & 0 & \frac{1}{2} & \frac{1}{2} & -\frac{1}{2} \\ 0 & 1 & 0 & \frac{1}{2} & -\frac{1}{2} & -\frac{1}{2} \\ 0 & 0 & 1 & 0 & 0 & 1 \\ \end{bmatrix}[/itex]
which corresponds to the following system of equations:
[itex]a_1 = \frac{1}{2}b_1 + \frac{1}{2}b_2 -\frac{1}{2}b_3[/itex]
[itex]a_2 = \frac{1}{2}b_1 -\frac{1}{2}b_2 -\frac{1}{2}b_3[/itex]
[itex]a_3 = b_3[/itex]
This system {and therefore the system (*)} are consistent for all RHS values, therefore [itex]\mathcal C[/itex] spans [itex]V[/itex] .
We can therefore conclude that [itex]\mathcal C[/itex] is certainly a basis for [itex]V[/itex] .
[itex]\phi (1+x) = (2-1) + (-1+2)x = 1 + x = 1(1) + 1(x) + 0(x^2)[/itex]
[itex]\phi (1-x) = (2+1) + (-1-2)x = 3-3x = 3(1) - 3(x) + 0(x^2)[/itex]
[itex]\phi (1+x^2) = 2 + (-1+1)x + 2x^2 = 2+2x^2 = 2(1) + 0(x) + 2(x^2)[/itex]
[itex]M^{\mathcal C}_{\mathcal C} (\phi) = \begin{bmatrix} 1 & 3 & 2 \\ 1 & -3 & 0 \\ 0 & 0 & 2 \end{bmatrix}[/itex]
Part (iii)
[itex]M^{\mathcal C}_{\mathcal C} (\phi) {\bf v} = {\bf w}[/itex] where [itex]{\bf w}[/itex] is the coordinate vector of [itex]\phi (v)[/itex] with respect to [itex]\mathcal C[/itex] and [itex]{\bf v}[/itex] is the coordinate vector of [itex]v\in V[/itex] .
[itex]{\bf v} = \begin{bmatrix} 1 \\ -3 \\ \pi \end{bmatrix}[/itex]
So [itex]{\bf w} = \begin{bmatrix} 1 & 3 & 2 \\ 1 & -3 & 0 \\ 0 & 0 & 2 \end{bmatrix} \begin{bmatrix} 1 \\ -3 \\ \pi \end{bmatrix} = \begin{bmatrix} 2\pi -8 \\ 10 \\ 2\pi \end{bmatrix}[/itex]