Consider the inner product :
$$(f,g) = \int_{-1}^{1} f(x)g(x) dx$$
Let $V= \Bbb R^3(t)$ which is the real vector space of polynomials of degree less or equal to 3.
Now consider $W=span(1,1+t)$. I'm asked to find a basis of W complement.
I know that $dim(W\text{ complement})=2$ but that's pretty much all I came up with trying to solve this question.
When I'm trying to determine what is W complement I end up with a single element which is the function $f(x)=0$. What is obviously wrong considering W complement is of dimension 2.
Could anyone give me a little help? Thanks.