Problem set — the wave equation
Problem set: the wave equation¶
Exam-style problems. Work them with a pen before touching a computer; problems 6 and 7 are meant to be finished numerically. Solutions and marking rubrics live with the instructor material and are deliberately not on this site.
Throughout, a string has tension and linear mass density , so that
Problem 1 — which way, and how fast¶
(a) Show by the chain rule that satisfies the wave equation for any twice-differentiable . Then show that with does not, unless is a straight line.
(b) A pulse is described by , with in metres and in seconds. Find its direction of travel and its speed, and the positions of its peak at and s.
(c) A sinusoidal wave on a string is with rad/m and rad/s. Find its speed, wavelength and frequency in hertz, and say which way it travels. What would you change to make the same wave travel the other way?
(d) Explain why with solves the wave equation even though it does not travel at all. Write it as .
Problem 2 — the piece of string, carefully¶
(a) Draw a short piece of string between and , tilted at angles and , with the tension at each end. Write the horizontal and vertical components of the net force exactly, with no approximation.
(b) The string moves only transversely. Use the horizontal equation to show that is the same everywhere, and deduce how much itself can vary along a string whose slope never exceeds 0.05.
(c) Using and the true length of the piece, write the vertical equation of motion without approximation. Show that it reduces to when , and identify the three places the approximation was used.
(d) A guitar string 650 mm long is plucked 3 mm out of line at its midpoint. Estimate the largest slope, and the size of the largest correction you neglected in (c), as a fraction.
Problem 3 — a rectangular strike¶
A long string at rest and straight is struck so that, at , the stretch has velocity and the rest is still.
(a) Write down an antiderivative of the starting velocity, and use d’Alembert’s solution to write in terms of .
(b) Sketch the string at , and . Label the height of the plateau and the positions of its corners in each sketch.
(c) Show that the height at grows at rate until and is afterwards, for ever. Explain physically why the string does not come back down.
(d) The string’s centre of mass moves. Find its velocity, and show that it equals the total momentum the strike delivered divided by the mass of the whole string — or explain why that statement needs care on an infinitely long string.
Problem 4 — what the speed can depend on¶
(a) Suppose the speed of a pulse could depend on , , the pulse height and the pulse width . Use dimensional analysis to show that for some function of the dimensionless ratio.
(b) Dimensional analysis has not ruled out a dependence on height. Use the linearity of the wave equation to show that must be a constant. Say, in one sentence, which step of the derivation made the equation linear, and so what a steep enough pulse is free to do.
(c) Show that has units of velocity, starting from newtons and kilograms per metre.
(d) A student measures pulse speeds of 12.0, 16.9 and 24.1 m/s at tensions of 2.0, 4.0 and 8.0 N on one rope. Fit the exponent of against and find . State whether the data support .
Problem 5 — measure it with a slinky¶
A slinky is stretched along a smooth floor and a sideways pulse is sent along it. A phone films it at 240 frames per second. The pulse’s peak passes a tape mark at frame 112 and a second mark 3.00 m further on at frame 181.
(a) Find the pulse speed. Assuming each frame number is uncertain by , independently, give the speed with its uncertainty.
(b) Reading frames by eye times the peak. Using this module’s photogate check, explain why timing the whole pulse — for example, the frame at which a coil has risen halfway on the way up and the frame at which it is halfway on the way down, averaged — should do better.
(c) A slinky is a spring: stretched from its natural length to , its tension is , while its mass spreads over the new length. Show that the time for a pulse to cross it is , and that for this barely depends on how far it is stretched. Predict what happens to the crossing time when you stretch the slinky from 4 m to 8 m, and design a two-measurement test of the prediction.
(d) Tape a small flag to one coil. Describe what the video will show the flag doing as the pulse passes, and what it must not show if the model is right.
Problem 6 — grid dispersion, measured¶
Using waves.simulate_string and measurement.pulse_arrival_time:
(a) On a 2 m string with 800 cells at , launch Gaussian plucks of widths , and , and measure the speed between two detectors 0.4 m apart by timing the peak of each record. Fit the exponent of the relative speed error against .
(b) Compare your errors with . Report the largest discrepancy.
(c) Repeat with centroid timing and report the errors. Explain, using the leapfrog dispersion relation , why the centroid is not affected.
(d) Plot the narrowest pulse after it has travelled 1 m. Describe the ripples you see, say which side of the pulse they are on, and explain why that side. Then repeat at and explain what changed.
Problem 7 — the magic step¶
(a) Show that at the leapfrog update becomes .
(b) Show that satisfies that update for any sequences and . This is d’Alembert’s theorem on a grid.
(c) Integrate a Gaussian pluck at for 400 steps on a string long enough that it never
reaches the ends, and compare with waves.dalembert_solution. Repeat at . Report both
errors and their ratio.
(d) Start instead a pulse that moves right, with . Show that the error at is no longer at rounding level, and trace the reason to the second time level, which the solver builds as . How does the error scale with ?
Problem 8 — challenge: a pluck near a wall, by images¶
A string occupies with a fixed end at . It is plucked into a triangle of height and half-width centred at , and released from rest.
(a) Extend the starting shape to as an odd function and show that d’Alembert’s solution on the whole line then satisfies for all .
(b) Sketch the string on at , , , and . At which of these times is the left-moving half at the wall, and what does the string look like there?
(c) At part of the string near the wall is momentarily straight. Is it at rest? Use for each travelling piece to find its velocity, and say where the energy of that half of the pluck is at that instant.
(d) Check your sketches against waves.simulate_string with a fixed end, and report the height
and sign of the pulse that comes back from the wall.
(e) Repeat (a) and (b) with an even extension, and state the boundary condition it satisfies at and the kind of end it describes. Which of your two answers describes a rope tied to a ring that slides freely on a vertical pole?