Normalizing an Orthogonal Basis

  • Thread starter Thread starter beetle2
  • Start date Start date
  • Tags Tags
    Basis Orthogonal
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 2K views
beetle2
Messages
110
Reaction score
0

Homework Statement


I have used the gram schmidt process to find an orthogonal basis for [itex]{1,t,t^2}[/itex]
which is
[itex] (1,x,x^2 - \frac{2}{3})[/itex]

How to i normalize these

Homework Equations



[itex]e_1=\frac{u_1}{|u_1|}[/itex]

The Attempt at a Solution



[itex]e_1=\frac{1}{\sqrt{\int_{-1}^{1}f(1)g(1)}}=\frac{1}{\sqrt{2}}[/itex]


[itex]e_2=\frac{x}{\sqrt{\int_{-1}^{1}f(x)g(x)}}=\frac{x}{\sqrt{\frac{2}{3}}}[/itex]

[itex]e_3=\frac{x}{\sqrt{\int_{-1}^{1}f(x^2-3)g(x^2-3)}}=\frac{x^2}{\sqrt{\frac{-62}{45}}}[/itex]
 
Physics news on Phys.org
Just divide each by its norm.
 
There is a problem with your third function. It is orthogonal to x, but not to 1. Each function has to be orthogonal to each other function in your set.
[tex]\int_{-1}^1 1 (x^2 - 2/3) dx~=~\left[\frac{x^3}{3} - (2/3)x\right]_{-1}^1~=~ -2/3[/tex]

Also, is the function x^2 - 2/3 or x^2 - 3? You are using both in your calculations.
 
One other thing. The norm of a function is the square root of the inner product of it and itself.
beetle2 said:
[itex]e_2=\frac{x}{\sqrt{\int_{-1}^{1}f(x)g(x)}}=\frac{x}{\sqrt{\frac{2}{3}}}[/itex]
You shouldn't have f(x) and g(x) in there for <x, x>, since f(x) = g(x) = x. It should be like this:
[itex]e_2=\frac{x}{\sqrt{\int_{-1}^{1}x*xdx}}= ...[/itex]
 
thanks your right my u3 should be [itex]x^2-\frac{1}{3}[/itex]
which makes
[itex]e_3=\frac{x^{2}-\frac{1}{3}}{\sqrt{\int_{-1}^{1}x^{2}-\frac{1}{3}*x^{2}-\frac{1}{3}dx}}= ...[/itex]

= [itex]\frac{x^2-\frac{1}{3}}{\sqrt{frac{8}{45}}}[/itex]

hows that look

The innner product of [itex]x^2-3 and \frac{1}{\sqrt{2}} = 0[/itex] so they're orthogonal
 
Much better.

For the quantity in the radical, you left off the \ before frac in your LaTeX code. That's why it looks like it does. Should look like this:
[itex]\frac{x^2-\frac{1}{3}}{\sqrt{\frac{8}{45}}}[/itex]
 
Thanks for your help guys much appreciated