Level 2 — RecallPartial Differential Equations

Partial Differential Equations

40 marksprintable — key stays hidden on paper

Level 2 — Recall: Definitions, Standard Problems, Short Derivations

Time: 30 minutes Total Marks: 40

Use ...... / ...... notation for all mathematics. Show working where required.


Q1. Classify each of the following second-order PDEs as elliptic, parabolic, or hyperbolic using the discriminant test B24ACB^2 - 4AC: (6 marks)

(a) uxx+uyy=0u_{xx} + u_{yy} = 0

(b) uxxc2utt=0u_{xx} - c^2 u_{tt} = 0 (treat tt as second variable, c>0c>0)

(c) utαuxx=0u_t - \alpha u_{xx} = 0 (treat tt and xx as the two variables)


Q2. State clearly the difference between an initial value problem (IVP) and a boundary value problem (BVP). Give one example of a PDE naturally posed as each. (4 marks)


Q3. State the Dirichlet conditions for the convergence of the Fourier series of a periodic function f(x)f(x). (4 marks)


Q4. For a function f(x)f(x) of period 2L2L, write down the full Fourier series and give the integral formulas for the coefficients a0a_0, ana_n, and bnb_n. (5 marks)


Q5. Find the half-range sine series of f(x)=1f(x) = 1 on 0<x<π0 < x < \pi. (5 marks)


Q6. State Parseval's theorem for a Fourier series on [L,L][-L, L] (in terms of a0,an,bna_0, a_n, b_n). (3 marks)


Q7. State the 1D heat equation and the 1D wave equation. For each, name the physical quantity being modelled and state the meaning of the constant that appears. (4 marks)


Q8. Write down D'Alembert's solution of the wave equation utt=c2uxxu_{tt} = c^2 u_{xx} with initial data u(x,0)=ϕ(x)u(x,0)=\phi(x), ut(x,0)=ψ(x)u_t(x,0)=\psi(x) on an infinite string. (4 marks)


Q9. Using separation of variables u(x,t)=X(x)T(t)u(x,t)=X(x)T(t) on the heat equation ut=αuxxu_t = \alpha u_{xx}, obtain the two ordinary differential equations for XX and TT (introduce a separation constant). (5 marks)


Answer keyMark scheme & solutions

Q1. Discriminant D=B24ACD = B^2 - 4AC; elliptic if D<0D<0, parabolic if D=0D=0, hyperbolic if D>0D>0. (1 mark for stated rule, spread across parts)

(a) A=1, B=0, C=1D=04=4<0A=1,\ B=0,\ C=1 \Rightarrow D = 0 - 4 = -4 < 0elliptic. (2)

(b) uxxc2utt=0u_{xx} - c^2 u_{tt}=0: A=1, B=0, C=c2D=04(1)(c2)=4c2>0A=1,\ B=0,\ C=-c^2 \Rightarrow D = 0 - 4(1)(-c^2) = 4c^2 > 0hyperbolic. (2)

(c) utαuxx=0u_t - \alpha u_{xx}=0: only uxxu_{xx} is second order, so A=α, B=0, C=0D=0A=-\alpha,\ B=0,\ C=0 \Rightarrow D = 0parabolic. (2)


Q2. (4 marks)

  • IVP: conditions are specified at a single value of the evolution variable (usually time t=0t=0); the solution is propagated forward in time. (1) Example: heat equation with u(x,0)=f(x)u(x,0)=f(x). (1)
  • BVP: conditions are specified on the boundary of the spatial domain (at different points in space). (1) Example: Laplace's equation 2u=0\nabla^2 u = 0 with uu prescribed on the boundary of a region. (1)

(Many PDE problems are mixed initial-boundary value problems.)


Q3. Dirichlet conditions (over one period): (4 marks, 1 each)

  1. ff is single-valued and (absolutely) integrable over a period.
  2. ff has a finite number of maxima and minima in one period.
  3. ff has a finite number of finite discontinuities (jumps) in one period.
  4. Where these hold, the series converges to f(x)f(x) at points of continuity and to 12[f(x+)+f(x)]\tfrac12[f(x^+)+f(x^-)] at a jump.

Q4. For period 2L2L: (5 marks) f(x)=a02+n=1(ancosnπxL+bnsinnπxL)f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty}\left(a_n\cos\frac{n\pi x}{L} + b_n\sin\frac{n\pi x}{L}\right) (2) a0=1LLLf(x)dx(1)a_0 = \frac{1}{L}\int_{-L}^{L} f(x)\,dx \quad\text{(1)} an=1LLLf(x)cosnπxLdx(1)a_n = \frac{1}{L}\int_{-L}^{L} f(x)\cos\frac{n\pi x}{L}\,dx \quad\text{(1)} bn=1LLLf(x)sinnπxLdx(1)b_n = \frac{1}{L}\int_{-L}^{L} f(x)\sin\frac{n\pi x}{L}\,dx \quad\text{(1)}


Q5. Half-range sine series on (0,π)(0,\pi), so L=πL=\pi: (5 marks) bn=2π0π1sin(nx)dx=2π[cosnxn]0π=2πn(1cosnπ).b_n = \frac{2}{\pi}\int_0^\pi 1\cdot\sin(nx)\,dx = \frac{2}{\pi}\left[-\frac{\cos nx}{n}\right]_0^\pi = \frac{2}{\pi n}(1-\cos n\pi). (3) Since cosnπ=(1)n\cos n\pi = (-1)^n: bn=2πn(1(1)n)={4πn,n odd0,n evenb_n = \dfrac{2}{\pi n}\big(1-(-1)^n\big) = \begin{cases}\dfrac{4}{\pi n}, & n \text{ odd}\\[4pt] 0, & n \text{ even}\end{cases} (1) f(x)=4πk=0sin((2k+1)x)2k+1.f(x) = \frac{4}{\pi}\sum_{k=0}^{\infty}\frac{\sin\big((2k+1)x\big)}{2k+1}. (1)


Q6. Parseval's theorem: (3 marks) 1LLL[f(x)]2dx=a022+n=1(an2+bn2).\frac{1}{L}\int_{-L}^{L} [f(x)]^2\,dx = \frac{a_0^2}{2} + \sum_{n=1}^{\infty}\big(a_n^2 + b_n^2\big). (2 marks for correct RHS structure, 1 for the a02/2a_0^2/2 term / correct LHS factor.)


Q7. (4 marks)

  • Heat equation: ut=αuxxu_t = \alpha u_{xx} (or κuxx\kappa u_{xx}). Models temperature u(x,t)u(x,t) in a rod; α>0\alpha>0 is the thermal diffusivity. (2)
  • Wave equation: utt=c2uxxu_{tt} = c^2 u_{xx}. Models transverse displacement u(x,t)u(x,t) of a string; cc is the wave (propagation) speed. (2)

Q8. D'Alembert's solution: (4 marks) u(x,t)=12[ϕ(x+ct)+ϕ(xct)]+12cxctx+ctψ(s)ds.u(x,t) = \frac{1}{2}\big[\phi(x+ct) + \phi(x-ct)\big] + \frac{1}{2c}\int_{x-ct}^{x+ct}\psi(s)\,ds. (2 marks for the ϕ\phi average term, 2 marks for the correct integral of ψ\psi with 1/2c1/2c and limits.)


Q9. Let u=X(x)T(t)u=X(x)T(t). Then ut=XTu_t = X T', uxx=XTu_{xx}=X'' T. (1) Substitute into ut=αuxxu_t=\alpha u_{xx}: XT=αXTX T' = \alpha X'' T. (1) Divide by αXT\alpha X T: TαT=XX=λ(constant).\frac{T'}{\alpha T} = \frac{X''}{X} = -\lambda \quad(\text{constant}). (2) Hence the two ODEs: X+λX=0,T+αλT=0.X'' + \lambda X = 0, \qquad T' + \alpha\lambda T = 0. (1) (The negative separation constant λ-\lambda is chosen so that decaying, non-trivial bounded solutions with typical BCs exist.)


[
  {"claim":"Q1(b) discriminant is positive (hyperbolic): B^2-4AC with A=1,B=0,C=-c^2",
   "code":"c=symbols('c',positive=True); A,B,C=1,0,-c**2; D=B**2-4*A*C; result=simplify(D-4*c**2)==0 and D.subs(c,1)>0"},
  {"claim":"Q1(a) discriminant negative (elliptic)",
   "code":"A,B,C=1,0,1; D=B**2-4*A*C; result=(D==-4) and (D<0)"},
  {"claim":"Q5 sine coefficient b_n = 2/(pi n)*(1-(-1)**n)",
   "code":"n=symbols('n',positive=True,integer=True); x=symbols('x'); bn=simplify(Rational(2,1)/pi*integrate(sin(n*x),(x,0,pi))); result=simplify(bn-2*(1-(-1)**n)/(pi*n))==0"},
  {"claim":"Q5 b_3 = 4/(3 pi), b_2 = 0",
   "code":"x=symbols('x'); b3=simplify(Rational(2,1)/pi*integrate(sin(3*x),(x,0,pi))); b2=simplify(Rational(2,1)/pi*integrate(sin(2*x),(x,0,pi))); result=(simplify(b3-4/(3*pi))==0) and (b2==0)"}
]