-
Write each polynomial as a vector with respect to the basis B
-
Create a matrix that is made up of the vectors obtained in step 1 and reduce to RREF
-
If the reduced matrix is the identity matrix, then the set S is a basis for Pn
-
Create augmented matrix with previous matrix and p(x)
-
Reduce to find C1 - Cn
-
Express p(x) as a vector in terms of the Basis S based on the results of C