Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 9 of 30

Evolve a profile by decaying spatial modes

Solve homogeneous boundary heat problems by separation.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

A rod occupies [0,π], with its endpoints held at zero temperature relative to a reference level. Its interior evolves by uₜ = κuₓₓ, where κ is a positive diffusivity. Begin with two sine ripples of different frequencies. Predict which ripple will fade faster before calculating either rate.

The reference temperature can be subtracted from a physical temperature, so negative values here mean below reference. The model assumes constant diffusivity and no internal source. It is not a calibrated thermal simulation.

Predict

Take f(x) = 2sin x + sin(3x) and κ = 1. If the first coefficient is multiplied by e^(−t), should the third-frequency coefficient be multiplied by e^(−3t) or e^(−9t)? Use a second spatial derivative to decide.

Experiment

Live experiment: the same profile, two different equations

On 0≤x≤π, both endpoints stay at zero. Start with f(x)=sin(x)+a₂sin(2x)+a₃sin(3x). Predict which modes disappear fastest under heat flow, and why a wave can have small displacement without losing energy. All quantities use dimensionless teaching units.

-2-101200.25π0.5π0.75ππux

The dashed initial profile and solid current profile share fixed axes. At x=π/2, initial u=0.75 and current u=0.603753. These are evaluations of a three-term exact solution, not a spatial-grid PDE approximation. The drawing samples it at 241 positions.

Mode nInitial aₙCurrent amplitudeAmplitude time derivative
110.606531-0.606531
20.50.067668-0.270671
30.250.002777-0.024995

Mode n is multiplied by exp(−κn²t). Its time derivative is −κn² times its amplitude, matching κ times its second spatial derivative. The n² factor suppresses higher frequencies more rapidly. The solution satisfies the initial data at t=0 and both zero endpoint conditions.

Heat energy E=½∫u² dx: 0.292534. Initial E=1.030835. Its derivative is −κ∫uₓ² dx=-0.606743. This is a squared-amplitude energy, not total thermal mass.

Sine orthogonality gives ∫sin(nx)sin(mx) dx=0 for n≠m and π/2 for n=m over [0,π]. Thus the displayed energies come from exact modal sums; rounded numbers can conceal very small amplitudes. These smooth finite sums avoid convergence questions. Arbitrary initial data, infinite Fourier expansions and numerical stability require the separate arguments in the course.

Set t=0 to check the shared initial profile; then compare t=1 and t=3. Remove higher modes and explain the change in shape and decay. Switching equations compares models with different physical interpretations, not two solvers for one PDE. No animation runs; settings are temporary.

The widget compares finite sine expansions for heat and waves. Its controls are temporary exploration, not saved mastery evidence. Inspect the equation-specific energy labels: squared temperature and mechanical wave energy are different quantities, so their numerical values are not interchangeable physical measurements.

For the separate worked example above, the heat solution is 2e^(−t)sin x + e^(−9t)sin(3x).

Mode nInitial coefficientDecay rate κn²
121
319

Set a higher frequency in the widget, compare heat with wave evolution, and explain why rapid spatial oscillation produces rapid heat decay but not wave damping.

Understand

Separation u = X(x)T(t) gives X″ = −λX and T′ = −κλT after dividing in a region where the factors are nonzero; the resulting products can then be verified everywhere directly. Zero Dirichlet endpoints give Xₙ = sin(nx), λₙ = n². Projection of the initial data supplies coefficients aₙ = (2/π) times the integral of f(x)sin(nx) over [0,π]. The solution is Σaₙe^(−κn²t)sin(nx).

For finite sums, every differentiation and boundary check is immediate. For general L² data, Parseval and dominated convergence give u(t) approaching f in L² as t decreases to zero. At every time bounded away from zero, the exponential decay dominates polynomial powers of n, allowing differentiated series and smooth interior solutions. This does not imply that rough data become continuous at the initial instant or that incompatible endpoint values are attained continuously at the corners.

With insulated endpoints, cosine modes replace sines. The constant eigenfunction has eigenvalue zero and therefore does not decay. Its coefficient is the spatial average, conserved because the net boundary heat flux is zero. All positive modes decay, so the long-time state is that average rather than zero.

Apply

Build a fresh three-mode initial profile, calculate its three decay rates and verify both the PDE and zero endpoint values. Compare its L² energy at two times using coefficient squares, not a few selected point values. Then change to Neumann boundaries and explain which part survives forever. Keep exact series statements separate from any truncation used to draw the graph.

Continue

The next lesson proves decay and uniqueness without knowing any Fourier coefficients. Energy and maximum principles can establish structural facts even when an explicit eigenbasis is unavailable.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

For uₜ=2uₓₓ on (0,π), what decay rate multiplies t for the mode sin3x?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

For initial data 4sin x−3sin2x, what is the initial coefficient of sin2x?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

Derive the separated Dirichlet modes on (0,L).

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

For f∈L²(0,L), explain the meaning of Σbₙe^(−κ(nπ/L)²t)sin(nπx/L).

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Why do high-frequency modes disappear faster than low-frequency modes?

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

For homogeneous Neumann heat flow, explain the long-time constant mode.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.