using Plots, ComplexPhasePortrait, ApproxFun, SingularIntegralEquations, DifferentialEquations
gr();
Dr. Sheehan Olver
This lecture we do the following:
The three classical weights are (Hermite) w(x)=e−x2, (Laguerre) wα(x)=xαe−x and (Jacobi) wα,β(x)=(1−x)α(1+x)β. Note all weights form a simple hierarchy: when differentiated, they give a linear polynomial times the previous weight in the hierarchy. For Hermite, ddxw(x)=−2xw(x)
We first consider a simple class of operators that are self-adjoint:
Proposition (Sturm–Liouville self-adjointness) Consider the weighted inner product ⟨f,g⟩w=∫baf(x)g(x)w(x)dx
Proof Simple integration by parts argument: ⟨Lf,g⟩w=∫baddx[q(x)dudx]g(x)dx=−∫baq(x)dudxdgdxdx=∫bau(x)ddxq(x)dgdxdx=∫bau(x)1w(x)ddx[q(x)dgdx]w(x)dx=⟨f,Lg⟩w
⬛️
We claim that the classical orthogonal polynomials are eigenfunctions of a Sturm–Liouville problem, that is, in each case there exists a q(x) so that Lpn(x)=λnpn(x)
We have already seen that Chebyshev and ultraspherical polynomials have simple expressions for derivatives where we decrement the degree and increment the parameter: ddxTn(x)=nUn−1(x)=nC(1)n−1(x)ddxC(λ)n(x)=2λC(λ+1)n−1(x)
Proposition (weighted differentiation) ddx[√1−x2Un(x)]=−n+1√1−x2Tn+1(x)ddx[(1−x2)λ−12C(λ)n(x)]=−(n+1)(n+2λ−1)2(λ−1)(1−x2)λ−32C(λ−1)n+1(x)
Proof We show the first result by showing that the left-hand side is orthogonal to all polynomials of degree less than n+1 by integration by parts: ⟨√1−x2ddx[√1−x2Un(x)],pm(x)⟩T=−∫1−1√1−x2Un(x)p′mdx=0
The other ultraspherical polynomial follow similarly. ⬛️
Note that differentiating increments the parameter and decrements the degree while weight differentiation decements the parameter and increments the degree. Therefore combining them brings us back to where we started.
In the case of Chebyshev polynomials, this gives us a Sturm–Liouville equation: √1−x2ddx√1−x2dTndx=n√1−x2ddx√1−x2Un−1(x)=−n2Tn(x)
Note that the chain rule gives us a simple expression as (1−x2)d2Tndx2−xdTndx=−n2Tn(x)
Similarly, (1−x2)12−λddx(1−x2)λ+12dC(λ)ndx=−n(n+2λ)C(λ)n(x)
Because of the special structure of our weights, we have special Rodriguez formulae of the form pn(x)=1κnw(x)dndxnw(x)F(x)n
Proposition (Hermite Rodriguez) Hn(x)=(−1)nex2dndxne−x2
Proof We first show that it's a degree n polynomial. This proceeds by induction: H0(x)=ex2d0dx0e−x2=1
Now we just need to show we have the right constant. But we have dndxn[e−x2]=dn−1dxn−1[−2xe−x2]=dn−2dxn−2[(4x2+O(x))e−x2]=⋯=(−1)n2nxn
⬛️
Note this tells us the Hermite recurrence: Here we have the simple expressions H′n(x)=2nHn−1(x)forddx[e−x2Hn(x)]=−e−x2Hn+1(x)
which means xHn(x)=nHn−1(x)+Hn+1(x)2
Using the derivative formulae tells us a Sturm–Liouville operator for Hermite polynomials: ex2ddxe−x2dHndx=2nex2ddxe−x2Hn−1(x)=−2nHn(x)
W therefore have d2dx2[e−x22Hn(x)]=e−x22(H″n(x)−2xH′n(x)+(x2−1)Hn(x))=e−x22(x2−1−2n)Hn(x)
Wait, we want to normalize 😩. In Schrödinger equations the square of the wave ψ(x)2 represents a probability distribution, which should integrate to 1. Here's a trick: we know that x(H0(x)H1(x)H2(x)⋮)=(0121012201230⋱⋱⋱)⏟J(H0(x)H1(x)H2(x)⋮)
Thus by Lecture 16 the norm of dnHn(x) is constant. If we also normalize using ∫∞−∞e−x2dx=√π
p = plot()
for n = 0:5
H = Fun(Hermite(), [zeros(n);1])
ψ = Fun(x -> H(x)exp(-x^2/2), -10.0 .. 10.0)/sqrt(sqrt(π)*2^n*factorial(1.0n))
plot!(ψ; label="n = $n")
end
p
It's convention to shift them by the eigenvalue:
p = plot(pad(Fun(x -> x^2, -10 .. 10), 100); ylims=(0,25))
for n = 0:10
H = Fun(Hermite(), [zeros(n);1])
ψ = Fun(x -> H(x)exp(-x^2/2), -10.0 .. 10.0)/sqrt(sqrt(π)*2^n*factorial(1.0n))
plot!(ψ + 2n+1; label="n = $n")
end
p