How to find a basis for this vector space $V$?

56 Views Asked by At

I am given a set of vectors $S=\{\cos^2(x), \sin^2(x), \cos(2x)\}$ and am asked to find a basis for the space spanned by the set above.

I know the above set is not a basis for this space since the vectors are not linearly independent.

However, I am curious how to generate a basis given a set of vectors in general.

3

There are 3 best solutions below

0
On BEST ANSWER

If you can determine if vectors are linear independent, then you can always reduce a spanning list into a basis for the space.

The fact that a list is linearly independent, means that one vector can be expressed as a linear combination of the others. Remove one such vector from the list. If the list is still linearly dependent, remove another such vector. When the list is linearly independent, it will still span the space.

For example, in this example, we know that $$\cos(2x) = \cos(x^2) - \sin(x^2)$$ so we can remove $\cos(2x)$ from the list. This produces the list $$(\cos^2(x), \sin^2(x)).$$ We can see that this list is linearly independent. There are many ways to see this. One quick way is to note that $1 = \cos^2(x) + \sin^2(x)$, hence the constant functions (i.e. functions in $\operatorname{span}(1)$) all belong to the vector space. But, not every vector in the vector space is constant, hence the space must be at least two dimensions.

0
On

Since $\cos2x = \cos^2x-\sin^2x$, it is clear that $\cos2x\in\mathsf{Span}(\{\cos^2x, \sin^2x\})$. Suppose $$a\cos^2x + b\sin^2x = 0\tag1 $$ for some real $a,b$. If $a\ne 0$, then setting $x=0$ makes the LHS of $(1)$ equal to $a$, and if $b\ne0$ then setting $x=\pi/2$ makes the LHS of $(1)$ equal to $b$. It follows that $\{\cos^2x, \sin^2x\}$ is linearly independent, and hence a basis for $S$.

0
On

You can throw out the $\cos 2x$ and keep the other two. You know $\cos 2x =\cos ^2 x - \sin ^2x$ so you do not need that one. The other two are linearly independent because one is not the scalar multiple of the other.