Let $p, q \in P_3(\Bbb R)$. Define the inner product by
$$\langle p(x), q(x)\rangle = \int_0^1 p(x) q(x) \, dx $$
What is the reflection of $q(x) = x ^ 2$ on the subspace $P_1(\Bbb R)$?
My result is $R(q)(x) = \frac{2}{3} + \frac{3x}{2} - x^2 $
But the answer in the book is $ R(q)(x) = -\frac{1}{3} + 2x - x^2$
I don't what is the right procedure to this problem.
$$ R(q)(x) = 2(\frac{\int_0^1x^ 2dx}{\int_0^11dx} + \frac{\int_0^1x^3dx}{\int_0^1x^2dx}x) - x^2$$
$$R(q)(x) = 2 * (\frac{\frac{1}{3}}{1} + \frac{\frac{1}{4}}{\frac{1}{3}}*x) - x^2$$
$$R(q)(x) = 2* (\frac{1}{3} + \frac{3}{4}x) - x^2$$
$$R(q)(x) = \frac{2}{3} + \frac{3}{2}x-x^2$$
– JoOkuma Dec 12 '16 at 13:05