Fixing Normalization Issues in Graphing Orthonormalized Functions

  • Thread starter Thread starter scigal89
  • Start date Start date
  • Tags Tags
    Functions
scigal89
Messages
11
Reaction score
0
In class we worked out the following

<br /> <br /> \int e^{ik(x-X)}dk=\frac{e^{ik(x-X)}}{i(x-X)}\approx \frac{sin[k(x-X)]}{x-X}<br /> <br />

by taking the real part of the solution. My teacher wants us to graph the following functions

<br /> <br /> \psi_{1} \sim \frac{sin(x)}{x}<br /> <br />

<br /> <br /> \psi_{2} \sim \frac{sin(x)}{x}-\frac{1}{2}\frac{sin(2x)}{2x}<br /> <br />

The second function, though, has a little dip in it at 0 that shouldn't be there. He says that's due to the fact that the functions aren't normalized and that we should be doing Gram-Scmidt or some other procedure to obtain the proper results. However, when I do Gram-Schmidt I get something nasty that can't possibly be correct (and most importantly, doesn't correct the problem). So what am I doing wrong?
 
Last edited:
Physics news on Phys.org
For Gram-Schmidt I take interval as (0, 2π). Then

<br /> <br /> \phi _{0} = \frac{sin(x)}{x\sqrt {Si(4 \pi)}}<br /> <br />

<br /> <br /> \psi _{1} = \left \{ \frac{sin(x)}{x}-\frac{1}{2}\frac{sin(2x)}{(2x)}\right \}-\left [ \int_{0}^{2\pi}\left \{ \frac{sin(x)}{x}-\frac{1}{2}\frac{sin(2x)}{(2x)}\right \}\frac{sin(x)}{x\sqrt {Si(4 \pi)}}dx \right ]\frac{sin(x)}{x\sqrt {Si(4 \pi)}}<br /> <br />

<br /> <br /> \psi _{1} \sim \frac{0.2627sin(x)}{x}-\frac{1}{2}\frac{sin(2x)}{2x}<br /> <br />

<br /> <br /> \phi _{1} \sim 3.3631\left \{ \frac{0.2627sin(x)}{x}-\frac{1}{2}\frac{sin(2x)}{2x} \right \}<br /> <br />

using the procedure for Gram-Schmidt outlined here: http://mathworld.wolfram.com/Gram-SchmidtOrthonormalization.html

and with a weighting function of 1.
 
Any suggestions?
 
Last edited:
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top