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.Classification
Classify uxx+4uxy+3uyy=0 as elliptic, parabolic or hyperbolic.
Answer
B2−4AC=16−12=4>0: hyperbolic.
2.Characteristics
Solve ut+2ux=0 with u(x,0)=e−x2, and find u(1,21).
Answer
u is constant on the lines x−2t=const, so u=e−(x−2t)2 and u(1,21)=e0=1.
3.Heat equation, fixed ends
A rod 0≤x≤1 with ut=uxx, ends held at 0, starts at u(x,0)=x(1−x). Find u(21,101).
Answer
bn=8/(nπ)3 for odd n, so u=∑n oddn3π38e−n2π2tsinnπx; at the point, 0.0961619.
4.Fourier sine coefficients
For the same rod, what is the first coefficient b1 of the sine series?
Answer
b1=2∫01x(1−x)sinπxdx=8/π3≈0.258012.
5.Decay rates
For ut=2uxx on 0<x<3 with fixed ends, at what rate does the slowest mode decay?
Answer
k(π/L)2=2π2/9≈2.19325.
6.Heat equation, insulated ends
A rod 0≤x≤1 with insulated ends starts at u(x,0)=x. Find u(0,1), and the temperature it tends to.
Answer
Cosine series: u=21−∑n oddn2π24e−n2π2tcosnπx. So u(0,1)≈0.4999790, tending to the mean, 21.
7.Wave equation, d'Alembert
A string 0≤x≤1 with c=1 starts at rest in the shape sinπx. Find u(41,31).
Answer
u=sinπxcosπt, so u=sin4πcos3π=42≈0.353553.
8.Periodicity of a string
A plucked string 0≤x≤1, c=1, starts at rest as x(1−x). Compare u(31,2) with u(31,0).
Answer
The motion has period 2L/c=2, so both are 31⋅32=92.
9.Waves on a line
On the whole line, utt=uxx with u(x,0)=e−x2 and ut(x,0)=0. Find u(3,3).
Answer
u=21(e−(x−t)2+e−(x+t)2), so u(3,3)=21(1+e−36)≈0.5.
10.Initial velocity
On the whole line, utt=uxx with u(x,0)=0 and ut(x,0)=1/(1+x2). Find u(0,1).
Answer
u=21∫x−tx+t1+s2ds, so u(0,1)=arctan1=π/4≈0.785398.
11.Laplace on a rectangle
Solve Δu=0 on the unit square with u=sinπx on the top edge and 0 on the other three. Find u(21,21).
Answer
u=sinhπsinhπysinπx, so u=sinh(π/2)/sinhπ≈0.199268.
12.Mean value property
A disc of radius 1 has its rim held at cos2θ. What is the steady temperature at the centre?
Answer
The mean of the boundary values: 2π1∫02πcos2θdθ=21.
13.Laplace on a disc
For the same disc, find u at r=21, θ=0.
Answer
cos2θ=21+21cos2θ, so u=21+21r2cos2θ and u=21+81=85.
14.Sturm–Liouville eigenvalues
Find the first two eigenvalues of −y′′=λy, y(0)=y(1)=0.
Answer
λn=n2π2: π2≈9.869604 and 4π2≈39.478418.
15.Eigenvalues on a longer interval
Find the lowest eigenvalue of −y′′=λy, y(0)=y(2)=0.
Answer
λ1=(π/2)2=π2/4≈2.467401.
16.Heat on a line
On the whole line, ut=uxx with u(x,0)=e−x2. Find u(1,21).
Answer
u=1+4t1e−x2/(1+4t), so u(1,21)=e−1/3/3≈0.413690.
17.Conservation of heat
For the same problem, show that the total heat ∫udx does not change, and find it.
Answer
dtd∫udx=∫uxxdx=0, so it stays ∫e−x2dx=π≈1.772454.
18.Steady state with a source
Find the steady temperature of a rod with a uniform heat source, u′′=−1, u(0)=u(1)=0, at the midpoint.
Answer
u=21x(1−x), so u(21)=81.
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]?
Answer
bn=2∫01sinnπxdx=nπ2(1−(−1)n), so b1=4/π≈1.273240.