Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Advanced undergraduate

Partial differential equations and Fourier series

Name: ______________________

Date: ______________________

You will learn to

  • Derive the heat, wave and Laplace equations, and solve the heat and wave equations on an interval by separation of variables and Fourier sine series
  • Compute Fourier coefficients, prove Bessel's inequality and state Parseval's identity, and use them to sum series
  • Prove Dirichlet's convergence theorem at points of differentiability, explain the Gibbs phenomenon with its constant 2πSi(π)\tfrac{2}{\pi}\mathrm{Si}(\pi), and recognise when term-by-term differentiation fails
  • Prove d'Alembert's formula for the wave equation on the line
  • Prove uniqueness for the heat and wave equations with the maximum principle and energy methods, and state the mean value property of harmonic functions
  1. 1.

    Which function solves the heat equation ut=uxxu_t = u_{xx}?

    • A.u=e−4tsin⁡2xu = e^{-4t}\sin 2x
    • B.u=e−2tsin⁡2xu = e^{-2t}\sin 2x
    • C.u=etsin⁡xu = e^{t}\sin x
    • D.u=cos⁡t sin⁡xu = \cos t\,\sin x
  2. 2.

    Let f(x)=3sin⁡x−5sin⁡4xf(x) = 3\sin x - 5\sin 4x on [0,π][0, \pi]. What is its Fourier sine coefficient b4=2π∫0πf(x)sin⁡4x dxb_4 = \frac{2}{\pi}\int_0^\pi f(x)\sin 4x\,dx?

  3. 3.

    Solve utt=4uxxu_{tt} = 4u_{xx} on R\R with u(0,x)=x2u(0, x) = x^2 and ut(0,x)=0u_t(0, x) = 0. What is u(1,0)u(1, 0)?

  4. 4.

    Let SNS_N be the partial sums of the Fourier series of the square wave f=sign⁡(sin⁡x)f = \operatorname{sign}(\sin x). Which statements are true? Choose all that apply.

    • A.SN(x)S_N(x) converges for every real xx.
    • B.SN→fS_N \to f uniformly on R\R.
    • C.SN→fS_N \to f uniformly on [δ,π−δ][\delta, \pi - \delta] for each δ>0\delta > 0.
    • D.max⁡xSN(x)→1\max_x S_N(x) \to 1.
    • E.∥SN−f∥2→0\|S_N - f\|_2 \to 0.
  5. 5.

    In the proof of the weak maximum principle (Theorem 6), why do we work with v=u+εx2v = u + \varepsilon x^2 rather than with uu itself?

    • A.At an interior maximum of uu we only get ut≥0≥kuxxu_t \ge 0 \ge k u_{xx}, which does not contradict ut=kuxxu_t = ku_{xx}; for vv we have vt−kvxx=−2kε<0v_t - kv_{xx} = -2k\varepsilon < 0, which does.
    • B.uu might not be differentiable, but vv is.
    • C.To make vv vanish on the boundary.
    • D.To make vv positive, so that its maximum exists.
  6. 6.

    Let u : ℝ → ℝ → ℝ take time first, u t x. Which Lean statement says that u satisfies the heat equation u_t = k u_xx at the point (t, x)?

    • A.deriv (fun s => u s x) t = k * deriv (fun y => deriv (fun z => u t z) y) x
    • B.deriv (fun s => u s x) t = k * deriv (fun y => u t y) x
    • C.deriv (fun s => u t s) x = k * deriv (fun y => deriv (fun z => u z x) y) t
    • D.deriv (fun s => deriv (fun r => u r x) s) t = k * deriv (fun y => deriv (fun z => u t z) y) x
  7. 7.

    Apply Parseval's identity to the square wave f=sign⁡(sin⁡x)f = \operatorname{sign}(\sin x), whose sine coefficients are bn=4πnb_n = \frac{4}{\pi n} for odd nn and 00 for even nn. In the real form, Parseval reads 1π∫−ππf2 dx=a022+∑n≥1(an2+bn2)\frac1\pi\int_{-\pi}^{\pi} f^2\,dx = \frac{a_0^2}{2} + \sum_{n\ge1}(a_n^2 + b_n^2). You get ∑n odd1n2=π2k\displaystyle\sum_{n \text{ odd}}\frac{1}{n^2} = \frac{\pi^2}{k}. What is kk?

  8. 8.

    Write sine_coefficients(f, N, M) returning the list [b_1, ..., b_N] of Fourier sine coefficients bn=2π∫0πf(x)sin⁡(nx) dxb_n = \frac{2}{\pi}\int_0^\pi f(x)\sin(nx)\,dx of f on [0,π][0, \pi], each computed by the midpoint rule with M subintervals.

    Computational — Practice

  9. 9.

    On (−π,π)(-\pi, \pi), x=2∑n≥1(−1)n+1sin⁡nxnx = 2\sum_{n\ge1}(-1)^{n+1}\frac{\sin nx}{n} and x2=π23+4∑n≥1(−1)ncos⁡nxn2x^2 = \frac{\pi^2}{3} + 4\sum_{n\ge1}(-1)^n\frac{\cos nx}{n^2}. Which statements are true? Choose all that apply.

    • A.Differentiating the series for xx term by term gives a series converging to 11.
    • B.Differentiating the series for x2x^2 term by term gives the series for 2x2x.
    • C.The series for x2x^2 converges uniformly on [−π,π][-\pi, \pi].
    • D.The series for xx converges uniformly on [−π,π][-\pi, \pi].
  10. 10.

    For n≥1n \ge 1, un(x,y)=sin⁡(nx)sinh⁡(ny)n2u_n(x, y) = \dfrac{\sin(nx)\sinh(ny)}{n^2} solves Laplace's equation with un(x,0)=0u_n(x, 0) = 0 and ∂yun(x,0)=sin⁡nxn\partial_y u_n(x, 0) = \dfrac{\sin nx}{n}. Which conclusion is correct?

    • A.The initial-value problem for Laplace's equation does not depend continuously on its data, so it is ill posed.
    • B.Laplace's equation has non-unique solutions for this data.
    • C.No solution exists for this data.
    • D.The maximum principle fails for harmonic functions.
Code: Apache-2.0 · Content: CC BY-SA 4.0