Generator

The action along a family of paths

One function in the mechanics library, called 36 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 the action along a family of paths. On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

action-paths 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.

The action along a family of paths. On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

The action along a family of paths

The options are the ones Least action, except that it is not least 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 action along a family of paths. On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

The same zero slope in four different directions

The options are the ones Least action, except that it is not least 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 zero slope in four different directions. The excess action against deformation, for four completely different ways of deforming the same path: one arch, two arches, a narrow local bump and a corner. Each curve has its minimum at the true path and each has zero slope there — measured at -5.5e-7, -5.0e-15, -3.7e-13, 1.4e-14 against an exact zero. That is what stationary means, and it is a much stronger statement than any one of these curves makes on its own: the action does not decrease under any small change of the path, including changes with corners in them and changes concentrated in a small part of the flight. The curvatures differ a great deal — a corner costs far more action than a smooth arch of the same height, because the action penalises speed rather than displacement — and that difference is why the second variation is a subject of its own while the first variation is a single equation. Requiring the first variation to vanish for every deformation, including ones localised anywhere, is what turns one integral condition into a differential equation holding at every instant.

The excess action against deformation, for four completely different ways of deforming the same path: one arch, two arches, a narrow local bump and a corner. Each curve has its minimum at the true path and each has zero slope there — measured at -5.5e-7, -5.0e-15, -3.7e-13, 1.4e-14 against an exact zero. That is what stationary means, and it is a much stronger statement than any one of these curves makes on its own: the action does not decrease under *any* small change of the path, including changes with corners in them and changes concentrated in a small part of the flight. The curvatures differ a great deal — a corner costs far more action than a smooth arch of the same height, because the action penalises speed rather than displacement — and that difference is why the second variation is a subject of its own while the first variation is a single equation. Requiring the first variation to vanish for every deformation, including ones localised anywhere, is what turns one integral condition into a differential equation holding at every instant.

Where least action stops being least

The options are the ones Least action, except that it is not least 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 least action stops being least. The second variation of the action of a harmonic oscillator — how much the action changes when the path is deformed by a small amount — against the duration of the trip measured in radians of the oscillator's own phase, for the first 3 deformation modes. Each curve starts positive, which says the true path is a minimum, and crosses zero at ωT = 3.142, ωT = 6.283, ωT = 9.425 — that is nπ, and past it the deformation lowers the action. So for any trip lasting more than half an oscillation the classical path is a saddle point of the action and not a minimum at all: there exist nearby paths with the same endpoints and less action, and one of them is drawn on every textbook page that says 'least'. The point at which this happens is the kinetic focus — for an oscillator, the moment when every path leaving the start returns to the same place — and the correct statement of the principle is that the action is stationary. The computed curves agree with the exact second variation to 4.1e-9.

The second variation of the action of a harmonic oscillator — how much the action changes when the path is deformed by a small amount — against the duration of the trip measured in radians of the oscillator's own phase, for the first 3 deformation modes. Each curve starts positive, which says the true path is a minimum, and crosses zero at ωT = 3.142, ωT = 6.283, ωT = 9.425 — that is nπ, and past it the deformation *lowers* the action. So for any trip lasting more than half an oscillation the classical path is a saddle point of the action and not a minimum at all: there exist nearby paths with the same endpoints and less action, and one of them is drawn on every textbook page that says 'least'. The point at which this happens is the kinetic focus — for an oscillator, the moment when every path leaving the start returns to the same place — and the correct statement of the principle is that the action is stationary. The computed curves agree with the exact second variation to 4.1e-9.

Why the stationary path is the one that happens

The options are the ones Least action, except that it is not least passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Why the stationary path is the one that happens. Each path in the family contributes a unit arrow whose direction is its action divided by Planck's constant — taken as 0.012 of the action's own units here, so that the effect is visible on a page — and the curve is the running sum of those arrows, taken in order of deformation. Where the action changes quickly with the path, successive arrows point in different directions and the sum spirals without going anywhere; near the stationary path the action barely changes, so a whole band of paths contributes arrows pointing the same way and the sum runs straight. That straight run is the whole of the resultant and rather more: the paths within the first phase zone supply 125 per cent of the total, which is over a hundred because the next band subtracts part of what the first contributed — the same overshoot a Fresnel zone plate is built to exploit. Everything outside cancels against its own neighbours. This is why a classical trajectory exists. It is not that the particle chooses the path of stationary action; it is that every path contributes and only the ones near the stationary one fail to cancel — and as ħ is made smaller the surviving band narrows, which is the classical limit arriving.

Each path in the family contributes a unit arrow whose direction is its action divided by Planck's constant — taken as 0.012 of the action's own units here, so that the effect is visible on a page — and the curve is the running sum of those arrows, taken in order of deformation. Where the action changes quickly with the path, successive arrows point in different directions and the sum spirals without going anywhere; near the stationary path the action barely changes, so a whole band of paths contributes arrows pointing the same way and the sum runs straight. That straight run is the whole of the resultant and rather more: the paths within the first phase zone supply 125 per cent of the total, which is over a hundred because the next band subtracts part of what the first contributed — the same overshoot a Fresnel zone plate is built to exploit. Everything outside cancels against its own neighbours. This is why a classical trajectory exists. It is not that the particle chooses the path of stationary action; it is that every path contributes and only the ones near the stationary one fail to cancel — and as ħ is made smaller the surviving band narrows, which is the classical limit arriving.

The action along a family of paths

The options are the ones Least action, except that it is not least 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 action along a family of paths. On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

On the left, seven paths between the same two events: the true trajectory of a projectile and six deformations of it, each fixed at both ends and differing by one arch of a sine. On the right, the action of each — the time integral of kinetic minus potential energy — against how much it has been deformed. The true path has the least action, 0.45833 in these units, and every neighbour has more. The curve on the right is a parabola about that minimum with curvature 4.935, so the excess action grows as the square of the deformation and its slope at the true path is zero. Nothing here was minimised: the true path was obtained by solving the equation of motion, and every action on the chart including its own is the same quadrature along a stated curve. What the figure establishes is that the two ways of specifying a trajectory — obey a differential equation at every instant, or make one integral over the whole path stationary — pick out the same curve.

What checks it

physicscheck asserts something about action-paths 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

Least action, except that it is not least

Mechanics can be stated twice over. Once as a rule about every instant — force equals mass times acceleration — and once as a rule about the whole path at once, which says that one number computed along it is stationary. The two pick out the same trajectory, and the second name for it is wrong — past a certain duration the real path has more action than its neighbours, not less.

Mechanics

The action that knows where every path ends

The action is usually a number attached to one path. Treat it instead as a function of where the true path ends, and a single function of position and time holds every trajectory at once — its slope is the momentum, its rate of change is the energy, and its level curves are wavefronts, drawn about a point that sits above the source while everything falls.

Mechanics

The friction an action can hold only by changing its clock

The principle of least action generates every conservative law of motion from a single integral, and it has no place for friction: there is no ordinary Lagrangian whose equation of motion is a damped oscillator's. Multiply the Lagrangian by an exponential of time and friction appears — but only by redefining momentum so that it grows as fast as the real momentum decays. The phase-space area the principle conserves is then no longer the one that counts motions, and quantised, the damped oscillator becomes more sharply known than the uncertainty principle allows. Friction belongs to a system and the surroundings it loses energy to, and an action for the system alone can only fake it.

Mechanics

The principle that fixes the energy instead of the clock

There are two principles of least action, they compare different sets of paths, and they are not the same statement. One holds the duration fixed and lets the energy vary; the other holds the energy fixed and lets the duration vary — and written that way, mechanics turns into optics with a refractive index.

Mechanics

The quarter cycle a turning point costs

The old quantum rule said an orbit's action is a whole number of Planck constants. It gets the harmonic oscillator wrong by exactly half a unit, the box by exactly one, and a neutron bouncing on a mirror by three quarters. Each is the same correction: a wave loses a quarter of a cycle every time it turns round smoothly, and half a cycle every time it hits a wall.

Mechanics

The third law that falls out of a change of scale

Kepler spent a decade of tables to find that the squares of the planets' periods go as the cubes of their distances. The law can be had in three lines, without solving for a single orbit. Gravity's potential energy halves when distances double; stretch every length of an orbit by some factor and every time by that factor to the power three-halves, and the action changes only by a constant, so the stretched orbit is an orbit too. The same move gives the swing of a spring that keeps time at any amplitude, the virial theorem that makes a star heat up as it loses energy, and the spacing of quantum levels.

The whole library · All essays