A12 · Lesson 35 · Sources and changing boundaries
Heat sources, forced vibrations and boundaries that move with time
Separation of variables, as you've used it so far, needs a homogeneous equation with fixed boundary values. Real problems rarely cooperate. A resistor heats itself from inside, a string is driven by a periodic force, and a chip's case temperature ramps up while it warms. Two ideas handle all of these. Subtract a part that absorbs the source or the boundary values, and expand what's left in the same eigenfunctions as before; each mode then obeys its own ordinary differential equation, a first-order low-pass filter for heat and a resonator for waves, driven by its share of the source.
- A strip with both ends held at 0 has uniform heating switched on at time 0. The curve is its temperature profile, as a fraction of the final midpoint temperature, after a time s measured in units of the slowest mode's time constant .
- Slide s from 0 upward. The profile rises toward the parabola (dashed), and the higher modes settle almost at once.
- The readout shows the midpoint's progress. It reaches 95% at about .
Predict
A string fixed at both ends is driven by a small vibrating force applied at its midpoint. Which modes can the drive excite?
Only the odd ones. A force at x pushes mode n in proportion to the mode's shape there, . At the midpoint that's , which is zero for every even n: the midpoint is a node of every even mode, so a force there can't do work on them, even at their resonant frequencies.
Name it
Subtracting a steady part
For with and , first solve the steady problem with the same boundary values. Then satisfies the homogeneous equation with zero ends and starts at , which separation of variables handles.
Expanding the source
When the source changes in time, expand everything in the eigenfunctions with : and , with . Substituting gives one ODE per mode:
Each heat mode is a first-order low-pass filter with time constant . Each wave mode is an undamped resonator, which responds without limit to a drive at unless .
Boundaries that change with time
If and , put . Then w has zero ends and obeys : the moving boundary has become a source.
Duhamel's principle
If is the response to a unit step in the boundary value or the source, the response to a general input g is the superposition of steps, . This is convolution, as in circuits, applied to a PDE.
Worked example
A 2 cm copper strip ( m²/s) with its ends held at ambient has uniform heating switched on at t = 0. When does its midpoint reach 95% of its final rise?
Show the solution
- Source coefficients. The source is uniform, so for odd n and 0 for even n (with q in kelvins per second).
- The final midpoint temperature. Each mode settles to , so it is
- The first mode's share. That sum is the parabola's peak, and the first mode alone carries of it, while the higher modes subtract the extra 3%.
- Time to 95%. The higher modes settle 9, 25, … times faster, so the midpoint follows closely. Setting that to 0.95 gives
- The time constant. so t = 1.1 s.
Answer the midpoint reaches 95% of its final rise after about 1.1 s.
Worked example
One end of a steel rod ( m²/s, L = 10 cm) is heated at a steady 1 K/s, and the other end is held at 0. Once the start-up transient has passed, how far does the midpoint lag behind a straight-line profile?
Show the solution
- Split off the ramp. With , write
- The source for w. It is , which doesn't change in time, so w settles to the steady solution of with zero ends.
- Solve.
- At the midpoint.
- Put in the numbers. Steel conducts too slowly to keep up with a 1 K/s ramp along 10 cm, so its middle trails far behind.
Answer the midpoint lags 62.5 K behind the straight-line profile.
Worked example
A string fixed at both ends is driven by a small force concentrated at one third of its length. Which modes stay silent, whatever the drive frequency?
Show the solution
- Mode coefficients. A point force has mode coefficients .
- The silent modes. That's zero for n = 3, 6, 9, …, the modes with a node at one third. Those modes get no drive at all, so even a drive at their resonant frequency leaves them still.
- The other modes. Each responds like a resonator: a drive at frequency ω gives mode n an amplitude proportional to large near .
- In instruments. This is why a guitar's pickup position and a piano's hammer position (about one seventh or one eighth of the string) shape the tone.
Answer modes 3, 6, 9, …, the ones with a node at one third, stay silent at any drive frequency.
Check
A strip of length 1 cm, with conductivity 400 W/(m·K) and its ends held at ambient, generates heat uniformly at 1 MW/m³. What is its midpoint's final temperature rise?
Write units the way you normally would: 1.5 K and 1500 mK are the same answer.
Check
A strip 1 cm long with diffusivity 1.1 × 10⁻⁴ m²/s has uniform heating switched on, with its ends held at ambient. When does its midpoint reach 95% of its final rise?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
One end of a rod 5 cm long (α = 10 × 10⁻⁵ m²/s) ramps at 0.1 K/s; the other is held fixed. How far does the midpoint lag the straight-line profile?
Write units the way you normally would: 1.5 K and 1500 mK are the same answer.
Check
A string is driven by a point force at 1/4 of its length from one end. What is the lowest mode the force can't excite?
Check
A heat mode with time constant 0.5 s is driven by a source varying as with f = 0.1 Hz.
(a)
What is its amplitude, as a fraction of its response to a steady source of the same size?
(b)
By how many degrees does it lag the source?
Check
What does expanding a time-varying source in the eigenfunctions do to the heat equation?
Check
A rod has and ; write , with α written as a.
Step 1
Once settled, w is steady, so . What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
With zero ends, what is w at the midpoint?
Explain why
Why does each mode of a heated rod behave like a first-order low-pass filter?
Expanding in eigenfunctions of the rod, each mode's shape is a sine that the second derivative only rescales: . So the heat equation never moves heat from one mode to another, and each coefficient obeys . That's the equation of an RC circuit driven by a current, with time constant : the mode charges up toward its share of the source and forgets fast changes. Short-wavelength modes have large , so they settle fast and respond to fast changes, while the slowest mode sets how long the whole rod takes to respond.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.