I am having some trouble finding a counter example for the below. IF anyone could help me out by providing one I would greatly appreciate it.
This question comes directly from the textbook Linear Algebra Gateway to Mathematics by Robert Messer.
Question: Let $W=\{f∊C[-1,1] | f(-1)=0 \lor f(1)=0\}.$ Give a counter example to show that $W$ is not a subspace of $C[-1,1].$
I suspect this fails under scalar multiplication but I'm having a hard time creating a counterexample.
Thanks again for any help.
$$f_1(x)=1+x\\ f_2(x)=1-x\\ f_1+f_2\notin W$$
Actually, $W$ is closed under scalar multiplication.