Question 1
Let C([-2, 2]) denote the vector space of continuous functions f : [-2, 2] → ℝ, equipped with the inner product:
⟨f, g⟩ = ∫_{-2}^2 f(t)g(t)dt
(1) Consider the function f(t) = t. Compute ||f||.
(2) Construct an orthonormal basis (with respect to the inner product ⟨−, −⟩ above) of the sub-space P_1(ℝ) of polynomials of degree ≤ 1.
(3) Consider the function g(t) = t^3. Compute Proj_{P_1(ℝ)}(g), and draw it (together with g(t)) on the interval [-2, 2].