Course Test · University: upper level

Partial differential equations: independent answers

Each answer here was worked out by hand, without RatMath, before the RatMath code was written. Where the arithmetic is long, the working says how it was checked.

  1. 1.Classification
    Classify uxx+4uxy+3uyy=0u_{xx} + 4u_{xy} + 3u_{yy} = 0 as elliptic, parabolic or hyperbolic.
    Answer
    B2−4AC=16−12=4>0B^2 - 4AC = 16 - 12 = 4 > 0: hyperbolic.
  2. 2.Characteristics
    Solve ut+2ux=0u_t + 2u_x = 0 with u(x,0)=e−x2u(x, 0) = e^{-x^2}, and find u(1,12)u(1, \tfrac12).
    Answer
    uu is constant on the lines x−2t=constx - 2t = \text{const}, so u=e−(x−2t)2u = e^{-(x - 2t)^2} and u(1,12)=e0=1u(1, \tfrac12) = e^0 = 1.
  3. 3.Heat equation, fixed ends
    A rod 0≤x≤10 \le x \le 1 with ut=uxxu_t = u_{xx}, ends held at 0, starts at u(x,0)=x(1−x)u(x, 0) = x(1 - x). Find u(12,110)u(\tfrac12, \tfrac1{10}).
    Answer
    bn=8/(nπ)3b_n = 8/(n\pi)^3 for odd nn, so u=∑n odd8n3π3e−n2π2tsin⁡nπxu = \sum_{n \text{ odd}} \frac{8}{n^3\pi^3} e^{-n^2\pi^2 t}\sin n\pi x; at the point, 0.09616190.0961619.
  4. 4.Fourier sine coefficients
    For the same rod, what is the first coefficient b1b_1 of the sine series?
    Answer
    b1=2∫01x(1−x)sin⁡πx dx=8/π3≈0.258012b_1 = 2\int_0^1 x(1 - x)\sin \pi x\,dx = 8/\pi^3 \approx 0.258012.
  5. 5.Decay rates
    For ut=2uxxu_t = 2u_{xx} on 0<x<30 < x < 3 with fixed ends, at what rate does the slowest mode decay?
    Answer
    k(π/L)2=2π2/9≈2.19325k(\pi/L)^2 = 2\pi^2/9 \approx 2.19325.
  6. 6.Heat equation, insulated ends
    A rod 0≤x≤10 \le x \le 1 with insulated ends starts at u(x,0)=xu(x, 0) = x. Find u(0,1)u(0, 1), and the temperature it tends to.
    Answer
    Cosine series: u=12−∑n odd4n2π2e−n2π2tcos⁡nπxu = \tfrac12 - \sum_{n\text{ odd}} \frac{4}{n^2\pi^2} e^{-n^2\pi^2 t}\cos n\pi x. So u(0,1)≈0.4999790u(0, 1) \approx 0.4999790, tending to the mean, 12\tfrac12.
  7. 7.Wave equation, d'Alembert
    A string 0≤x≤10 \le x \le 1 with c=1c = 1 starts at rest in the shape sin⁡πx\sin \pi x. Find u(14,13)u(\tfrac14, \tfrac13).
    Answer
    u=sin⁡πxcos⁡πtu = \sin \pi x \cos \pi t, so u=sin⁡π4cos⁡π3=24≈0.353553u = \sin\tfrac\pi4\cos\tfrac\pi3 = \tfrac{\sqrt2}{4} \approx 0.353553.
  8. 8.Periodicity of a string
    A plucked string 0≤x≤10 \le x \le 1, c=1c = 1, starts at rest as x(1−x)x(1 - x). Compare u(13,2)u(\tfrac13, 2) with u(13,0)u(\tfrac13, 0).
    Answer
    The motion has period 2L/c=22L/c = 2, so both are 13⋅23=29\tfrac13 \cdot \tfrac23 = \tfrac29.
  9. 9.Waves on a line
    On the whole line, utt=uxxu_{tt} = u_{xx} with u(x,0)=e−x2u(x, 0) = e^{-x^2} and ut(x,0)=0u_t(x, 0) = 0. Find u(3,3)u(3, 3).
    Answer
    u=12(e−(x−t)2+e−(x+t)2)u = \tfrac12\bigl(e^{-(x-t)^2} + e^{-(x+t)^2}\bigr), so u(3,3)=12(1+e−36)≈0.5u(3, 3) = \tfrac12(1 + e^{-36}) \approx 0.5.
  10. 10.Initial velocity
    On the whole line, utt=uxxu_{tt} = u_{xx} with u(x,0)=0u(x, 0) = 0 and ut(x,0)=1/(1+x2)u_t(x, 0) = 1/(1 + x^2). Find u(0,1)u(0, 1).
    Answer
    u=12∫x−tx+tds1+s2u = \tfrac12\int_{x-t}^{x+t}\frac{ds}{1 + s^2}, so u(0,1)=arctan⁡1=π/4≈0.785398u(0, 1) = \arctan 1 = \pi/4 \approx 0.785398.
  11. 11.Laplace on a rectangle
    Solve Δu=0\Delta u = 0 on the unit square with u=sin⁡πxu = \sin \pi x on the top edge and 0 on the other three. Find u(12,12)u(\tfrac12, \tfrac12).
    Answer
    u=sinh⁡πysinh⁡πsin⁡πxu = \frac{\sinh \pi y}{\sinh \pi}\sin \pi x, so u=sinh⁡(π/2)/sinh⁡π≈0.199268u = \sinh(\pi/2)/\sinh \pi \approx 0.199268.
  12. 12.Mean value property
    A disc of radius 1 has its rim held at cos⁡2θ\cos^2\theta. What is the steady temperature at the centre?
    Answer
    The mean of the boundary values: 12π∫02πcos⁡2θ dθ=12\tfrac1{2\pi}\int_0^{2\pi}\cos^2\theta\,d\theta = \tfrac12.
  13. 13.Laplace on a disc
    For the same disc, find uu at r=12r = \tfrac12, θ=0\theta = 0.
    Answer
    cos⁡2θ=12+12cos⁡2θ\cos^2\theta = \tfrac12 + \tfrac12\cos 2\theta, so u=12+12r2cos⁡2θu = \tfrac12 + \tfrac12 r^2\cos 2\theta and u=12+18=58u = \tfrac12 + \tfrac18 = \tfrac58.
  14. 14.Sturm–Liouville eigenvalues
    Find the first two eigenvalues of −y′′=λy-y'' = \lambda y, y(0)=y(1)=0y(0) = y(1) = 0.
    Answer
    λn=n2π2\lambda_n = n^2\pi^2: π2≈9.869604\pi^2 \approx 9.869604 and 4π2≈39.4784184\pi^2 \approx 39.478418.
  15. 15.Eigenvalues on a longer interval
    Find the lowest eigenvalue of −y′′=λy-y'' = \lambda y, y(0)=y(2)=0y(0) = y(2) = 0.
    Answer
    λ1=(π/2)2=π2/4≈2.467401\lambda_1 = (\pi/2)^2 = \pi^2/4 \approx 2.467401.
  16. 16.Heat on a line
    On the whole line, ut=uxxu_t = u_{xx} with u(x,0)=e−x2u(x, 0) = e^{-x^2}. Find u(1,12)u(1, \tfrac12).
    Answer
    u=11+4te−x2/(1+4t)u = \frac{1}{\sqrt{1 + 4t}}e^{-x^2/(1 + 4t)}, so u(1,12)=e−1/3/3≈0.413690u(1, \tfrac12) = e^{-1/3}/\sqrt3 \approx 0.413690.
  17. 17.Conservation of heat
    For the same problem, show that the total heat ∫u dx\int u\,dx does not change, and find it.
    Answer
    ddt∫u dx=∫uxx dx=0\frac{d}{dt}\int u\,dx = \int u_{xx}\,dx = 0, so it stays ∫e−x2 dx=π≈1.772454\int e^{-x^2}\,dx = \sqrt\pi \approx 1.772454.
  18. 18.Steady state with a source
    Find the steady temperature of a rod with a uniform heat source, u′′=−1u'' = -1, u(0)=u(1)=0u(0) = u(1) = 0, at the midpoint.
    Answer
    u=12x(1−x)u = \tfrac12 x(1 - x), so u(12)=18u(\tfrac12) = \tfrac18.
  19. 19.Expanding a constant
    A rod at temperature 1 has its ends plunged into ice. What is the first coefficient of its sine series on [0,1][0, 1]?
    Answer
    bn=2∫01sin⁡nπx dx=2(1−(−1)n)nπb_n = 2\int_0^1\sin n\pi x\,dx = \frac{2(1 - (-1)^n)}{n\pi}, so b1=4/π≈1.273240b_1 = 4/\pi \approx 1.273240.
  20. 20.Checking a separated solution
    Show that u=e−tsin⁡xu = e^{-t}\sin x solves ut=uxxu_t = u_{xx}.
    Answer
    ut=−e−tsin⁡xu_t = -e^{-t}\sin x and uxx=−e−tsin⁡xu_{xx} = -e^{-t}\sin x, so ut−uxx=0u_t - u_{xx} = 0.