0
$\begingroup$

Let $V = \mathcal{C}[-1, 1]$ be the real vector space of real-valued continuous functions defined on the closed interval $[-1, 1]$. $V$ is an inner product space with the inner product $\langle f, g\rangle = \int_{-1}^{1} f(x)g(x) dx$.

Find the least square approximation to $p = x^{1/3}$ in $W = \textrm{span} \left\{q_o = 1, q_1=x, q_2 = x^2 - \frac{1}{3} \right \}$.

I thought about using $\textrm{proj}_W p$, but I ran into the trouble of evaluating $\int_{-1}^{1} x^{1/3} dx$.

Any ideas?

  • 0
    No problem, the integral you were worried about is $0$.2012-03-21

1 Answers 1

1

Since the question asks about the least square approximation to $p(x)=x^{1/3}$ using the norm of $V$, the function $p$ has to be an element of $V$: otherwise the question would not make sense. So we must assume that the formula $x^{1/3}$ is intended to define a continuous function on $[-1,1]$. It is widely understood that for odd integers $n$, $x\mapsto x^{1/n}$ is the inverse of $x\mapsto x^n$; both are bijections on $\mathbb R$.

Being odd, $p$ is orthogonal to even functions $q_0$ and $q_2$. Its projection onto $W$ is simply $\dfrac{(p,q_1)}{(q_1,q_1)} q_1$.