Given the polynomials and .
Now, a polynomial p(x) is in span of {q,r,u} if there exist nonzero constants a,b and c such that
The polynomial is
Then,
Equate the coefficients of both sides and find the values of a, b and c.
(1)
(2)
(3)
(4)
From equation (3),
Substitute in equation (1) and equation (2) and (3)
(4)
(5)
(6)
From equation (4),
Substitute and in equation (5) and (6)
(7)