boneill3
- 126
- 0
Homework Statement
We consider P2 the vector space of all real polynomials of degree at most 2.
<f,g> = f(-1)g(-1)+f(0)g(0)+f(1)g(1)
Use the Gram-Schmidt procedure to construct an orthonormal basis for P2 from the basis {1,t,t2}
Homework Equations
<br /> v_{j+1}:=u_{j+1}-\sum_{i=1}^{j}<<u_{j+1},e_{i}>>e_{i}
<br /> e_1 = \frac{u_1}{||u_{1}|| }
The Attempt at a Solution
I have a basis u_1 = 1, u_2 = t, u_3 = t^2
so
<br /> e_1 = \frac{u_1}{||u_{1}|| }
<br /> e_1 = \frac{1}{\sqrt{2}}
is the next step
<br /> v_{2}:=u_{2}-\sum_{i=1}^{j}<<u_{2},e_{i}>>e_{i}
= t - << t,\frac{1}{\sqrt{2}} >>\frac{1}{\sqrt{2}}
My question is how do I calculate the inner product << t,\frac{1}{\sqrt{2}} >>
do I need to plug in the value of f(t) into
<f,g> = f(-1)g(-1)+f(0)g(0)+f(1)g(1)
and does g() become <br /> g(e_1) = g(\frac{1}{\sqrt{2}})
regards