We need to write the input in terms of the basis This amounts to solving the system of equations given by
Of course, we can easily set up and solve this system, but let’s try to be systematic, and obtain a more useful result for future problems. Since we can easily determine how to write any polynomial in terms of the standard basis it suffices to know how to write these three polynomials in terms of our basis.
At first, this seems like more work. After all, we now have three systems to solve:
However, all three systems have the same coefficient matrix, so we can solve them simultaneously, by adding three “constants” columns to our augmented matrix.
We get the matrix
But this is exactly the augmented matrix we’d right down if we were trying to find the inverse of the matrix
whose columns are the coefficient representations of our given basis vectors in terms of the standard basis.
To compute we use the computer:
Next, we find
This matrix first converts the coefficient vector for a polynomial with respect to the standard basis into the coefficient vector for our given basis and then multiplies by the matrix representing our transformation. The result will be the coefficient vector for with respect to the basis
The polynomial has coefficient vector with respect to the standard basis. We find that
The coefficients and are the coefficients of with repsect to the basis Thus,
Note that in the last step we gave the “simplified” answer which is simplified primarily in that it is expressed with respect to the standard basis.
Note that we can also introduce the matrix whose columns are the coefficient vectors of the vectors in the basis with respect to the standard basis. The effect of multiplying by is to convert from coefficients with respect to into a coefficient vector with respect to the standard basis. We can then write a new matrix this new matrix is now the matrix representation of with respect to the standard bases of and
We find that This lets us determine that for a general polynomial
and therefore, our original transformation must have been