Description
1. Byron & Fuller, Chapter 5, problem 2.
2. Use Mathematica or some other symbolic calculational software to calculate the
expansion of the following functions by the first eight Legendre polynomials, and plot
the expansion and the original function in the interval −1 < x < 1.
(a) f(x) = |x|
(b) f(x) = Θ(x), (the Heaviside step function).
Which function is better approximated by the expansion you calculated?
3. Use Mathematica or any similar symbolic manipulation program to Gram-Schmidt
orthonormalize the first five polynomials, {1, x, x2
, x3
, x4} is the interval −∞ < x < ∞,
where the inner product is:
(f(x), g(x)) ≡
Z ∞
−∞
f(x) g(x) e
−x
2
dx
How do your results compare to the Hermite polynomials?
Hint: You might look at the Mathematica command Orthogonalize.
4. Fourier Analysis:
(a) Calculate the discrete Fourier transform of the following functions on the interval
[−π, π], using the sine and cosine basis described on p.241 of the text.
(i) f(x) =
−1 for x < 0
0 for x = 0
1 for x > 0
(ii) f(x) = |x|
π
You may do this by hand or by computer.
(b) For both (i) and (ii) use a computer to sum the series:
fn(x) = a0
2
+
X
N
n=1
(an cos nx + bn sin nx)
numerically for N =5, 10, 100, and 200, for −π/10 < x < π/10, plotting the
results.
(c) Comment on how well the Fourier series can reproduce a discontinuous function,
or a function with a discontinuous derivative. How well would you expect it to
work on the function:
f(x) = x|x|
π
2
(Parts (a) and (b) worth 10 points, part (c) worth 5 points.)
5. Simple Fourier Application: Suppose we have a fourth order differential equation
Ly(x) = y
0000 + α y00 + βy = x
2 − x
defined in the interval 0 ≤ x ≤ 1 with the boundary conditions:
y(0) = y(1) = 0
y
00(0) = y
00(1) = 0
(1)
We may write y(x) in sine series:
y(x) = X∞
n=1
an sin(nπx)
(a) The standard fourier expansion differs from the above expression – we have only
the sine terms. Why?
(b) Insert the above expression for y(x) into the differential equation, and then take
the inner product with sin(mπx), obtaining an algebraic equation for am.
(c) Write down the full solution for y(x) in terms of the Fourier sum.
(d) Use the solvability condition to state when the problem will have a solution. Give
an example of values for α and β for which the problem will not have a solution.
(Entire problem worth 15 points.)
6. Consider an electron in a box of width L, so that ψ(0) = ψ(L) = 0. The timeindependent Schrodinger equation is given by
(
−
h¯
2
2m
∂
2
∂x2
− eE x
)
ψ(x) = Eψ(x) (2)
(a) Make the change to dimensionless variables. Determine what it means for the
electric field to be a “small” perturbation.
(b) In the limit that E = 0, what are the eigenenergies and normalized eigenstates?
(c) In the limit that E is “small”, what is the first order correction to the groundstate
energy?
(d) In the limit that E is “small”, what is the second order correction to the groundstate energy?