Consider the inner product space $\mathcal{P}[0,1]$ of all real polynomials on [0,1] with inner product $\langle f,g\rangle =\int_{0}^{1}f(t)g(t)dt$ and $V=\operatorname{span}\{t^2\}$. Let $h(t)\in V$ be such that $\|2t-1-h(t)\| \le \|2t-1-x(t)\|$ $\forall x(t) \in V $. Then $h(t)$ is
(a) $\frac{5}{6} t^{2}$
(b)$\frac{5}{3} t^{2}$
(c)$\frac{5}{12} t^{2}$
(d)$\frac{5}{24} t^{2}$
Let $h(t)=\alpha t^2$, $g(\alpha)=\|2t-1-h(t)\|$, Expanding the the expression, $g(\alpha)=\langle 2t-1-h(t), 2t-1-h(t) \rangle$
$= \int_{0}^{1}(2t-1-\alpha t^3)^2dt$. Then Extremises $g(\alpha)$. I got $h(t)=\frac{5}{3} t^{2}$.
Am I correct?
Can I do the problem in different method? Please suggest all the other possible ways.
You want the closest point projection of $2t-1$ onto the line $\{ \alpha t^2 : \alpha\in\mathbb{R} \}$. The orthogonal projection and the closest point projection are the same, which determines $\alpha$ by the equation $$ \langle 2t-1-\alpha t^2,t^2\rangle =0 \\ \alpha \langle t^2,t^2\rangle = \langle 2t-1,t^2\rangle \\ \alpha = \frac{\langle 2t-1,t^2\rangle}{\langle t^2,t^2\rangle} = \frac{\int_{0}^{1}(2t-1)t^2dt}{\int_{0}^{1}t^4dt}=\frac{\frac{2}{4}-\frac{1}{3}}{\frac{1}{5}}=\frac{5}{6}. $$ Looks like answer $(a)$ is correct.