Generator

One parabola, several wells

One function in the mechanics library, called 41 times across 7 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 parabola, several wells. Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 1% of the parabola's own value there: a pendulum at 0.35, a chemical bond at 0.01, a pair of atoms at 0.0015. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

harmonic-compare 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 parabola, several wells. Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 1% of the parabola's own value there: a pendulum at 0.35, a chemical bond at 0.01, a pair of atoms at 0.0015. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 1% of the parabola's own value there: a pendulum at 0.35, a chemical bond at 0.01, a pair of atoms at 0.0015. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

One parabola, several wells

The options are the ones Every minimum is a parabola passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

One parabola, several wells. Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 1% of the parabola's own value there: a pendulum at 0.35, a chemical bond at 0.01, a pair of atoms at 0.0015. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 1% of the parabola's own value there: a pendulum at 0.35, a chemical bond at 0.01, a pair of atoms at 0.0015. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

The average position of something that is only shaking

The options are the ones Every minimum is a parabola 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 average position of something that is only shaking. The mean displacement of an oscillator against temperature, taken as a Boltzmann average over each well rather than from any expansion of it, with the temperature measured against each well's own depth so that unlike bonds can share an axis. A symmetric well gives exactly zero at every temperature — heating a harmonic solid makes it vibrate harder and does not make it larger. The others drift outward, because the outward side is the shallower one, and the measured slopes are a pendulum 0.000, a chemical bond 0.766, a pair of atoms 0.150. Thermal expansion is not a property a spring has; it is one a spring lacks.

The mean displacement of an oscillator against temperature, taken as a Boltzmann average over each well rather than from any expansion of it, with the temperature measured against each well's own depth so that unlike bonds can share an axis. A symmetric well gives exactly zero at every temperature — heating a harmonic solid makes it vibrate harder and does not make it larger. The others drift outward, because the outward side is the shallower one, and the measured slopes are a pendulum 0.000, a chemical bond 0.766, a pair of atoms 0.150. Thermal expansion is not a property a spring has; it is one a spring lacks.

Where the period stops being a constant

The options are the ones Every minimum is a parabola passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Where the period stops being a constant. The true period of an oscillation, obtained by integrating dx/√(2(E−V)) between the turning points, divided by the harmonic period the curvature at the bottom predicts. A parabola gives exactly one at every amplitude, which is the property that makes a clock possible. Nothing else does: a pendulum reaches 1.560 at an amplitude of 2.40, a chemical bond reaches 2.141 at an amplitude of 2.16, a pair of atoms reaches 3.455 at an amplitude of 0.54. A pendulum swinging 90° from vertical takes 1.1803 times its small-swing period, which is the tabulated value of the elliptic integral and is not built into this figure anywhere — the curve is the integral itself, evaluated between turning points found by bisection.

The true period of an oscillation, obtained by integrating dx/√(2(E−V)) between the turning points, divided by the harmonic period the curvature at the bottom predicts. A parabola gives exactly one at every amplitude, which is the property that makes a clock possible. Nothing else does: a pendulum reaches 1.560 at an amplitude of 2.40, a chemical bond reaches 2.141 at an amplitude of 2.16, a pair of atoms reaches 3.455 at an amplitude of 0.54. A pendulum swinging 90° from vertical takes 1.1803 times its small-swing period, which is the tabulated value of the elliptic integral and is not built into this figure anywhere — the curve is the integral itself, evaluated between turning points found by bisection.

One square root, fifteen orders of magnitude

The options are the ones Every minimum is a parabola passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

One square root, fifteen orders of magnitude. The angular frequency of six oscillators, each computed as the square root of a curvature over a mass, drawn on a logarithmic scale because they span 15 decades. A ship, a pendulum and a spring are metres and kilograms; a tuning fork is a shaped piece of quartz; a copper atom sits in a well whose stiffness follows from its Debye temperature — 213 N/m, which is the same order as a laboratory spring; and a carbon–monoxide bond is 1902 N/m over a reduced mass of seven atomic units. The formula does not change anywhere along the row.

The angular frequency of six oscillators, each computed as the square root of a curvature over a mass, drawn on a logarithmic scale because they span 15 decades. A ship, a pendulum and a spring are metres and kilograms; a tuning fork is a shaped piece of quartz; a copper atom sits in a well whose stiffness follows from its Debye temperature — 213 N/m, which is the same order as a laboratory spring; and a carbon–monoxide bond is 1902 N/m over a reduced mass of seven atomic units. The formula does not change anywhere along the row.

One parabola, several wells

The options are the ones Every minimum is a parabola passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

One parabola, several wells. Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 2% of the parabola's own value there: a spring never leaves it at all, a pendulum at 0.49. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

Unlike potential wells, each divided by its own curvature at the bottom, against the single parabola ½x² drawn through all of them. They agree near the minimum because a function with a minimum has no linear term there, so the quadratic term is the first thing it has. The labels give where each well departs from the parabola by more than 2% of the parabola's own value there: a spring never leaves it at all, a pendulum at 0.49. A symmetric well has no cubic term and stays close for a long way; a well that is steeper on one side than the other has one, and leaves the parabola almost at once — which is why those numbers differ by factors of hundreds and not by a few per cent.

What checks it

physicscheck asserts something about harmonic-compare 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.

Mechanics

Every minimum is a parabola

A pendulum, a bond between two atoms and a ship rolling in a swell obey the same equation, and the reason is not that they are alike. It is that a function with a minimum has no linear term there, so the first thing every potential well looks like is the same well.

Mechanics

The molecule that lives outside its own well

The harmonic picture describes the bottom of a well, where a molecule vibrates near the length of its bond. The last bound level lives at the top, and when it is bound by almost nothing it is not near the bond at all. Two helium atoms whose potential well bottoms out at three ångströms form a molecule whose atoms sit on average about fifty ångströms apart, most of the time where the force between them is negligible. Such a state forgets the shape of the well that made it. Its size, its binding and the way it scatters are all set by one number, and nothing inside the well can be read from them.

Mechanics

The oscillator that answers at three times the question

Push a spring hard enough that the parabola stops being the whole story, and three things happen that a linear oscillator cannot do: it emits frequencies nobody supplied, its resonance leans over, and its amplitude at one drive frequency depends on where the drive has been.

Mechanics

The spectrum that weighs a bond

A vibrational spectrum measured near the bottom of a molecule's well gives its curvature, and the curvature says nothing about how deep the well is. Measured further up, it says everything. The levels of a real bond crowd together towards the top, the gap between neighbours falls towards zero, and the sum of all the gaps is the energy it takes to break the bond. A straight line drawn through the gaps that have been measured, and extended to zero, was for decades how bond energies were found — and for a bond with the tail of two neutral atoms it comes out a sixth short.

Mechanics

The third of itself a spring carries

Every textbook gives the frequency of a mass on a spring as the square root of stiffness over mass, and every real spring has mass of its own, which the formula leaves out. The repair is famous and oddly specific: add a third of the spring's mass to the load. The third is not a fudge. It is what the spring's kinetic energy comes to if each coil moves in proportion to its distance from the fixed end, and it is good to two-thirds of a per cent even when the spring weighs as much as the mass. Where it fails, it fails because the spring has stopped being a spring and become a column of waves, with notes of its own above the bounce — the notes that make the valve springs of an engine lose control.

Mechanics

The weight a frequency can find

A spring's frequency is the square root of its stiffness over the mass it carries, so adding a little mass lowers the note by half the fraction added. Nothing in that rule cares about gravity, and nothing in it cares about size. It weighs astronauts in orbit by the swing of a chair, films a fraction of an atom thick on a quartz plate, and single molecules on a beam a few micrometres long — and it improves without limit as the thing that vibrates gets lighter. What it cannot do on its own is say where the added mass sat, and that turns out to matter as much as how much there was.

Thermodynamics

Why heating a perfect spring changes nothing

A harmonic solid vibrates harder when heated and does not get any longer. Thermal expansion lives entirely in the term that the harmonic approximation throws away — and so does the fact that a solid conducts heat at a finite rate, which is the same discarded term doing a second job nobody would have connected to the first.

The whole library · All essays