clope023
- 990
- 130
Homework Statement
for vector space C[-1,1] with L^2 inner product
<f,g> = \intf(x)g(x)dx
find the best least squares approximation for function x^(1/3) on [-1,1] by a quadratic function q(x) = c0 + c1x + c2x^2
Homework Equations
s+r = n
<t^s, t^r> = \intt^ndt = { 2/(n+1) if n is even
0 if n is odd }
The Attempt at a Solution
q(x) = c0*1 + c1*x + c2*x^2
take inner product of functions of q(x)
||1|| = sqrt(2)
||x|| = sqrt(2/3)
||x^2|| = sqrt(2/5)
normalize vectors in the basis
\hat{u1} = 1/sqrt(2)
\hat{u2} = x/sqrt(2/3)
\hat{u3} = x^2/sqrt(2/5)
find coefficients by taking integrals of unit vectors with function x^1/3
c1 = (1/sqrt(2))\intx^1/3dx = \stackrel{3}{4sqrt(2)}
c2 = (1/sqrt(2/3))\intx^4/3dx = \stackrel{3}{7sqrt(2/3)}
c3 = (1/sqrt(2/5))\intx^7/3dx = \stackrel{3}{10sqrt(2/5)}
therefore p(x) = c1\hat{u1} + c2\hat{u2} + c3\hat{u3}
just wanting to confirm my answer, thanks for any and all help anyone can give and I'll write back this time, lol