Generator

One equation, and the number that decides what it does

One function in the mechanics library, called 31 times across 6 essays. Below: what it draws at its defaults, what it draws at every branch an essay asks for, whether the site's own gate puts a claim to it, and everywhere it is called.

At its defaults it draws one equation, and the number that decides what it does. The same oscillator released from rest at one unit of displacement, with 4 different amounts of velocity-proportional loss. Every curve is a numerical integration of a single equation with no case analysis in it; what changes between them is one dimensionless number, the damping ratio. Below one, the two exponents are a complex conjugate pair and the motion crosses zero over and over inside a decaying envelope. At one they collide into a real double root and the trace reaches the axis and stops. Above one they are two distinct real numbers, the slower of them dominates, and the return is sluggish — an overdamped system takes longer to come back than a critically damped one, which is the thing the word 'over' is doing in its name. The ratios drawn are 0.15, 0.5, 1, 2, and the first zero crossing happens at 1.75 s for ζ = 0.15, 2.42 s for ζ = 0.5, never for ζ = 1, never for ζ = 2.

damped-response is one function in lib/figures/mechanics.js — motion, force, energy and rotation. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page. A figure here is the figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

Drawn even though every essay passes options, because a default nothing exercises is a trap for the next essay to call this with none — which has happened here twice.

One equation, and the number that decides what it does. The same oscillator released from rest at one unit of displacement, with 4 different amounts of velocity-proportional loss. Every curve is a numerical integration of a single equation with no case analysis in it; what changes between them is one dimensionless number, the damping ratio. Below one, the two exponents are a complex conjugate pair and the motion crosses zero over and over inside a decaying envelope. At one they collide into a real double root and the trace reaches the axis and stops. Above one they are two distinct real numbers, the slower of them dominates, and the return is sluggish — an overdamped system takes longer to come back than a critically damped one, which is the thing the word 'over' is doing in its name. The ratios drawn are 0.15, 0.5, 1, 2, and the first zero crossing happens at 1.75 s for ζ = 0.15, 2.42 s for ζ = 0.5, never for ζ = 1, never for ζ = 2.

The same oscillator released from rest at one unit of displacement, with 4 different amounts of velocity-proportional loss. Every curve is a numerical integration of a single equation with no case analysis in it; what changes between them is one dimensionless number, the damping ratio. Below one, the two exponents are a complex conjugate pair and the motion crosses zero over and over inside a decaying envelope. At one they collide into a real double root and the trace reaches the axis and stops. Above one they are two distinct real numbers, the slower of them dominates, and the return is sluggish — an overdamped system takes longer to come back than a critically damped one, which is the thing the word 'over' is doing in its name. The ratios drawn are 0.15, 0.5, 1, 2, and the first zero crossing happens at 1.75 s for ζ = 0.15, 2.42 s for ζ = 0.5, never for ζ = 1, never for ζ = 2.

Response against driving frequency

The options are the ones The frequency that gets an answer, and the quarter cycle nobody mentions passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Response against driving frequency. The steady-state amplitude of a driven oscillator against driving frequency, at three damping ratios. Lighter damping gives a taller and narrower peak, and the peak sits slightly below the natural frequency.

The steady-state amplitude of a driven oscillator against driving frequency, at three damping ratios. Lighter damping gives a taller and narrower peak, and the peak sits slightly below the natural frequency.

The phase of the response

The options are the ones The frequency that gets an answer, and the quarter cycle nobody mentions passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The phase of the response. The phase by which a driven oscillator lags its driver, against driving frequency. The lag is a quarter cycle at resonance whatever the damping, and approaches half a cycle well above it.

The phase by which a driven oscillator lags its driver, against driving frequency. The lag is a quarter cycle at resonance whatever the damping, and approaches half a cycle well above it.

Response against driving frequency

The options are the ones The frequency that gets an answer, and the quarter cycle nobody mentions passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Response against driving frequency. The steady-state amplitude of a driven oscillator against driving frequency, at three damping ratios. Lighter damping gives a taller and narrower peak, and the peak sits slightly below the natural frequency.

The steady-state amplitude of a driven oscillator against driving frequency, at three damping ratios. Lighter damping gives a taller and narrower peak, and the peak sits slightly below the natural frequency.

The same number read off a decay and off a linewidth

The options are the ones The frequency that gets an answer, and the quarter cycle nobody mentions passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The same number read off a decay and off a linewidth. A lightly damped oscillator released and left alone, above, and the power spectrum of exactly those samples, below. The decay falls to 1/e of its starting amplitude after 8.0 cycles, which makes the quality factor π times that, or 25.0. The spectrum peaks at 1.0000 radians per second and falls to half its power 0.04001 radians per second wide, which makes the quality factor the peak divided by the width, or 25.0. The two disagree by 0.02 per cent, which is the resolution of the frequency grid rather than a difference in the physics. They cannot disagree by more, because they are the same statement: a resonance is narrow because its ringing is long, and the transform that turns one into the other is not an approximation but an identity. A measurement of either is a measurement of both — which is why a bell can be characterised by hitting it and listening, or by driving it and sweeping, and why the two instruments never argue.

A lightly damped oscillator released and left alone, above, and the power spectrum of exactly those samples, below. The decay falls to 1/e of its starting amplitude after 8.0 cycles, which makes the quality factor π times that, or 25.0. The spectrum peaks at 1.0000 radians per second and falls to half its power 0.04001 radians per second wide, which makes the quality factor the peak divided by the width, or 25.0. The two disagree by 0.02 per cent, which is the resolution of the frequency grid rather than a difference in the physics. They cannot disagree by more, because they are the same statement: a resonance is narrow because its ringing is long, and the transform that turns one into the other is not an approximation but an identity. A measurement of either is a measurement of both — which is why a bell can be characterised by hitting it and listening, or by driving it and sweeping, and why the two instruments never argue.

Response against driving frequency

The options are the ones The mass that makes another stand still passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Response against driving frequency. The steady-state amplitude of a driven oscillator against driving frequency, at three damping ratios. Lighter damping gives a taller and narrower peak, and the peak sits slightly below the natural frequency.

The steady-state amplitude of a driven oscillator against driving frequency, at three damping ratios. Lighter damping gives a taller and narrower peak, and the peak sits slightly below the natural frequency.

What checks it

physicscheck asserts something about damped-response that could fail — it draws it and measures the result against a value reached some other way.

Across the library: 100 interrogated, 2 exercised only, 1 untouched, of 103. Read out of the gate's source by the gate's own two patterns — and the gate's last claim fails the build if that read disagrees with what it was handed while running.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

Waves

The frequency that gets an answer, and the quarter cycle nobody mentions

Push an oscillator at its own frequency and the response grows enormously. The reason is not that the push is in step with the motion — at resonance it is a quarter cycle out, and that is precisely why it works.

Waves

The mass that makes another stand still

Bolt a small mass on a spring to a machine that is shaking itself apart, tune it to the frequency that is doing the damage, and the machine stops moving. Not moves less — stops, exactly, at that one frequency. The price is two new resonances either side of it, and the whole device is a bet that the drive stays where it was put.

Waves

The resonance that refuses to leak

A resonance that sits at a frequency where waves can escape has a width, because it leaks. Put two such resonances into the same channel and let them talk to each other, and at one precise detuning one of their combinations stops leaking altogether — a mode with no width, surrounded by a continuum it could escape into and does not. It cannot be seen from outside, it traps whatever energy lands in it, and if a symmetry is what forbids the leak, it survives any change that keeps the symmetry.

Waves

The resonance with a zero in it

Where a resonance is the only way through a system, the response is a symmetric peak. Where there is also a smooth path that does not care about the frequency, the two add before anything is squared — and the result is lopsided, with a frequency at which nothing gets through at all.

Mechanics

The three ways of coming to rest

An oscillator with friction in it can swing and fade, arrive and stop, or crawl back so slowly it looks stuck. One equation and one number decide which. The number is not what most people would guess, and neither is the value that returns fastest.

Waves

The width that is a lifetime

Hit a bell and time how long it rings; drive it and measure how narrow its response is. The two numbers are the same number, and they cannot disagree — not because the physics conspires but because a decay and a linewidth are one function seen in two coordinate systems.

The whole library · All essays