Solution
For an arbitrary polynomial of degree 2,
p ( x ) = a x 2 + b x + c p(x)=ax^2+bx+c p ( x ) = a x 2 + b x + c
To prove that S is a spanning set, we need to show that p ( x ) p(x) p ( x ) can be written as linear combination of the elements of S = { 1 − x , 3 − x 2 , x } S=\left \{ 1-x, 3-x^2,x \right \} S = { 1 − x , 3 − x 2 , x } .
Then, for the three constants, r r r , s s s and t t t , we can write
p ( x ) = r ( 1 − x ) + s ( 3 − x 2 ) + t ( x ) a x 2 + b x + c = r − r x + 3 s − s x 2 + t x a x 2 + b x + c = − s x 2 + ( − r + t ) x + ( r + 3 s ) p\left( x \right) = r\left( {1 - x} \right) + s\left( {3 - {x^2}} \right) + t\left( x \right)\\
a{x^2} + bx + c = r - rx + 3s - s{x^2} + tx\\
a{x^2} + bx + c = - s{x^2} + \left( { - r + t} \right)x + \left( {r + 3s} \right) p ( x ) = r ( 1 − x ) + s ( 3 − x 2 ) + t ( x ) a x 2 + b x + c = r − r x + 3 s − s x 2 + t x a x 2 + b x + c = − s x 2 + ( − r + t ) x + ( r + 3 s )
This gives,
a = − s ⇒ a = 0 ⋅ r − 1 ⋅ s + 0 ⋅ t b = − r + t ⇒ b = − 1 ⋅ r + 0 ⋅ s + 1 ⋅ t c = r + 3 s ⇒ c = 1 ⋅ r + 3 ⋅ s + 0 ⋅ t a = - s \Rightarrow a= 0 \cdot r - 1 \cdot s + 0 \cdot t\\
b = - r + t \Rightarrow b= - 1 \cdot r + 0 \cdot s + 1 \cdot t\\
c = r + 3s \Rightarrow c = 1 \cdot r + 3 \cdot s + 0 \cdot t\\ a = − s ⇒ a = 0 ⋅ r − 1 ⋅ s + 0 ⋅ t b = − r + t ⇒ b = − 1 ⋅ r + 0 ⋅ s + 1 ⋅ t c = r + 3 s ⇒ c = 1 ⋅ r + 3 ⋅ s + 0 ⋅ t
To check that a solution exists, we set up the augmented matrix and row reduce it,
[ 0 − 1 0 r − 1 0 1 s 1 3 0 t ] \begin{bmatrix}
0 & -1 & 0 & r\\
-1 & 0 & 1 & s\\
1 & 3 & 0 & t
\end{bmatrix} ⎣ ⎡ 0 − 1 1 − 1 0 3 0 1 0 r s t ⎦ ⎤
which is row reduced to
[ 1 0 0 3 r + t 0 1 0 − r 0 0 1 3 r + s + t ] \begin{bmatrix}
1 & 0 & 0 & 3r+t\\
0 & 1 & 0 & -r\\
0 & 0 & 1 & 3r+s+t
\end{bmatrix} ⎣ ⎡ 1 0 0 0 1 0 0 0 1 3 r + t − r 3 r + s + t ⎦ ⎤
Hence we have
a = 3 r + t b = − r c = 3 r + s + t a=3r+t\\
b=-r\\
c=3r+s+t a = 3 r + t b = − r c = 3 r + s + t
Therefore, we conclude that Therefore, S is a spanning set for P2
Comments