Moving the pivot only adds terms
Assumes Four terms of eighteen draw the quintic and Every curve is a sum of cosines.
A compiled machine draws a curve with the tip of a two-link arm, and the machine compiled prices it by its equation, the rule the price is on the equation stated outright. Every curve is a sum of cosines rewrote the equation as a sum of cosines of whole-number combinations of the arm’s two angles, and each cosine is a gadget the machine must build. The cheapest curves at each degree found the curves that need fewest, circles about the pivot and lines through it, and four terms of eighteen draw the quintic priced the catalogue’s curves by the nearest curve that a smaller budget of terms can build. The quintic, eighteen terms exact, came within 1.4% of the reach with four. The ellipse, parabola, lemniscate and folium cost their whole equations to come within four per cent.
That essay ended by noticing that the split between cheap and expensive curves is about where each curve sits relative to the pivot, and the pivot can be placed. Mount the arm elsewhere and the same target has a different equation, a different expansion and a different price. The question it left was whether an expensive curve is expensive in itself, or only because of where the arm was put.
In itself. Moving the pivot only adds terms, except on one locus per curve, and the catalogue already put every pivot on its curve’s locus.
What a move does to an equation
Put the pivot at of the curve’s own coordinates and the curve’s equation in the arm’s coordinates becomes . Expanded, the top-degree part of is unchanged, and every lower degree gains new terms: the linear terms are ’s gradient at the pivot, the quadratic ones its second derivatives, and so on down. The constant changes too, but a constant costs nothing.
Each monomial expands into a fixed set of cosines of the arm’s angles. Writing the tip’s position as and , a linear term brings in and , written here as the combinations (1, 0) and (0, 1); a quadratic term brings in (2, 0), (0, 2), (1, 1) and (1, −1), in proportions that depend on which quadratic. The machine’s cost is the number of distinct combinations whose amplitudes survive. So a move can only raise the count by bringing in combinations the old equation lacked, and the count stays where it was only where the new lower-degree terms vanish, or bring in nothing new, or cancel something exactly.
Every curve, every pivot
That is a prediction with a measurement attached, and the measurement is cheap: one expansion per pivot, with no search. Each of eight catalogue curves was given 1,681 pivots, a square from −1 to 1 about its catalogue position in steps of 0.05, and its equation was expanded at every one.
Every curve’s count takes at most three values over the square — one for the parabola, two for most, three for the quintic — and never goes below the catalogue’s. The circle costs 1 at its centre and 3 anywhere else; the ellipse 4 at its centre and 6 elsewhere; the hyperbola 3 and 5; the lemniscate 5 and 9. The cubic costs 8 on the line and 12 off it, and the folium 11 on the line and 12 off it. The quintic costs 18 at the catalogue’s point, 22 elsewhere on the line , and 30 everywhere else. The parabola costs 6 at all 1,681 pivots.
So each curve has one cheapest locus — a point for the centred curves, a line for the cubics, a point on a line for the quintic, nothing for the parabola — and the catalogue’s pivot lies on it every time. The catalogue chose well, though not by design: it wrote each equation in its simplest form, and the simplest form puts the origin at a centre, at a double point or on a line the curve is built about, which is where the derivatives that a move would add vanish.
A floor and a ceiling
Two numbers bracket every count in the table, and neither depends on the pivot. The first is what a curve’s top-degree part costs on its own. Moving the pivot never changes that part, so it is a floor in practice: no pivot tried took any curve below it. The second is the most any polynomial of the curve’s degree can cost, an equation with every monomial present and nothing cancelling, which is for degree : 2 for a line, 6 for a conic, 12 for a cubic, 20 for a quartic, 30 for a quintic, 42 for a sextic. Each curve’s catalogue count lies between its floor and that ceiling, and off its locus each curve is pushed as high as its top-degree part lets it go.
For most of the catalogue that is all the way. The ellipse and the parabola reach 6 off their loci, the cubic and the folium 12, the quintic 30: anywhere but its locus each costs as much as any curve of its degree can. Three curves stop short, and for one reason. The circle’s top part is , the squared distance from the pivot, which expands into a single cosine; a circle costs one term found that, and its derivatives at a moved pivot are linear terms bringing two more, so the circle never costs more than 3. The lemniscate’s top part is the square of the same quantity and expands into two, and it never costs more than 9 against a quartic’s 20. The hyperbola’s top part, , carries no trace, so it never brings in and stops at 5. A curve built from the distance to the pivot stays cheap wherever its pivot goes, because the distance is the one quantity the arm measures for nothing.
At the other end, the quintic at its catalogue point costs exactly 18, the same as alone. Its other two terms, and , bring in no combination that does not already pay for. That is a coincidence of this equation and this pivot, and it is the whole of why the quintic looked cheap: from its catalogue point it is priced as its leading term, and from anywhere else as a general quintic.
Why the locus is a centre or a line
For a conic the new terms a move brings are linear, and they are the conic’s gradient at the pivot. A centred conic’s gradient vanishes only at its centre, so the centre is the one pivot with no linear terms, and anywhere else the linear terms add their two combinations, (1, 0) and (0, 1): four becomes six for the ellipse, three becomes five for the hyperbola. A parabola has no centre. Its own equation already contains a linear term, , so it already pays for (1, 0) and (0, 1), and moving its pivot adds linear terms it has already paid for. That is why it costs six everywhere: the move costs it nothing because it was already as dear as a conic can be.
For a cubic the new terms are quadratic, its second derivatives at the pivot. A quadratic generally brings in all four of its combinations, but one of them, (1, −1), is special: is what expands into, the squared distance from the pivot, and its amplitude is the trace of the quadratic part — for the new terms a move brings, half the Laplacian of the cubic part at the pivot. Where that Laplacian vanishes, the combination (1, −1) is missing and the count is one lower. For the folium, has Laplacian , which vanishes on the line : the folium’s locus.
Measured, the amplitude of is exactly three times the pivot’s displacement across the line in the units of the figure — 0.3 at a tenth, 1.2 at four tenths — and nought on it, where the count drops from 12 to 11. The cubic is cheaper on its line for a stronger reason. Its only cubic term is , whose second derivatives at the pivot all vanish when , so on that line a move adds no quadratic terms at all and the count stays at 8.
The quintic is cheap at one point
The quintic shows the same mechanism with more room. Moved along the y-axis, so that stays nought, is untouched and becomes : one new quadratic, four new combinations, 22. Moved anywhere with not nought, spills into , , and , every one of them bringing combinations the catalogue form lacks, and the count is 30, the most this curve reaches anywhere in the square.
That changes how the earlier essay’s best result reads. The quintic was nearly free because four of its eighteen terms — a line through the pivot bent by the square of the radius — draw it to 1.4% of the reach. Those eighteen terms are the quintic seen from one point. From a pivot a twentieth of a link to the side, the same curve’s equation has thirty, and nothing here says that its nearest cheap curve is still near: the cheap family is lines through the pivot, and the quintic passes through the pivot only at the catalogue’s point. Its cheapness belongs to where the arm is as much as to the curve.
The ellipse’s nearest cheap curve
Exact counts are one price. The earlier essay’s other price was the distance to the nearest curve a smaller budget can build, and that needs the full search, which is quick for a conic. With the arc being priced held fixed as the arc the catalogue placement draws — moving the pivot must not also change how much curve is asked for — the ellipse was priced at every pivot, in steps of 0.1, from which the arm reaches the whole ellipse: 197 of them.
At three terms the price barely moves: 0.228 link lengths from the centre, and between 0.224 and 0.251 from everywhere else. No pivot buys a nearer three-term curve worth having. At four terms the centre is exact and every other pivot is not: a tenth of a link away the best four-term curve is still 0.112 away, and from a fifth of a link out the fourth term buys nothing at all over the third. The ellipse is expensive in itself at every budget below its own four.
A jump in count, a slope in size
The count is a whole number, so leaving the locus is a jump: the folium goes from 11 to 12 the moment its pivot leaves its line, however small the step. The terms that jump in are small, though. The folium’s new cosine grows in proportion to the distance from the line, and the ellipse’s two new ones are its gradient at the pivot, which grows in proportion to the distance from its centre. A pivot a little off the locus costs a few more gadgets, each with a little amplitude.
That is what the ellipse’s prices show. A tenth of a link from its centre, the best four-term curve is 0.112 away: the four terms are the ones the centred ellipse uses, and the nearest curve they can build is essentially that ellipse with its centre back on the pivot, a tenth of a link from where it should be. The price of dropping the small new terms is the misplacement itself. The centred ellipse slid back onto the pivot is exactly a tenth of a link from the real one at the ends of its long axis, and the search, which fits by least squares and then measures the worst distance, lands slightly above that, at 0.112. From about a fifth of a link out the misplacement costs more than giving up a term altogether, and the four-term price joins the three-term price at around 0.23.
So a designer who cannot put the pivot exactly on the locus has a choice the counts alone hide. Pay for the extra terms and draw the curve exactly, or drop them and draw the curve as if the pivot were on its locus, with an error about the size of the misplacement. For a pivot misplaced by a manufacturing tolerance the second is cheap and nearly exact. For a pivot deliberately put somewhere else it is no use, and the full count is the price.
What a designer can take
Mount the arm where the curve’s own equation is simplest. That is a centre of symmetry for a centred curve and, for a cubic, a point where the Laplacian of its top-degree part vanishes. The catalogue’s placements are such points, and any other placement of the pivot costs terms.
A dear curve stays dear. The ellipse, the parabola, the lemniscate and the folium cost the most they can cost with the pivot almost anywhere, and their best placement is the one the earlier census already priced. Exact costs more than close found that close beats exact for straight lines; for these curves no placement of the pivot makes close cheap either.
A cheap curve may be cheap only where it is. A curve that a few terms draw well, as the quintic is, should be checked from the pivot the machine will actually have. Two circles for the price of one found curves that cost nothing extra because they share a cosine with another; the quintic is the converse case, a curve whose savings belong to a single point.
What the pivots do not settle
A square about the catalogue’s pivot. The search covered pivots within one link of each catalogue position. The counts are integers and the loci are explained by vanishing derivatives, which do not depend on how far away the pivot is, so nothing is expected to change further out, but it was not measured.
Pivots on the curve. The earlier essay suggested a pivot on the ellipse itself, where the curve passes through the pivot once with one tangent. No pivot on the ellipse can reach the whole ellipse, so it could not be priced on the same arc, and a different arc would make a different question.
Eight curves. The floor, the ceiling and the loci were measured on the catalogue’s eight curves. The argument from vanishing derivatives says what to expect of any other: a locus where the derivatives a move would add vanish or cancel, and the ceiling everywhere else unless the top-degree part is built from the distance to the pivot. A curve with more than one centre-like point, or none, would test it.
The quintic’s nearest curves from other pivots. Its nearest-curve search takes about half a minute a pivot and was not run over the square; how far its four-term price rises off the catalogue’s point is the open question below.
Still open: how far the quintic’s cheapness reaches
The quintic’s exact count jumps from 18 to 22 or 30 the moment the pivot leaves its point, but the nearest four-term curve is a different price. It is built from lines through the pivot bent by powers of the radius, and a curve that passes near the pivot, rather than through it, might still be near one of those.
The distinct argument would be the quintic’s four- and six-term prices as the pivot moves off its point, along the line where its exact count is 22 and across it where the count is 30. If the four-term price rises smoothly from 1.4% of the reach, a nearly-free curve is nearly free from a neighbourhood of pivots, and the exact count overstates what moving costs. If it jumps, the quintic’s cheapness is as much a property of one point as its exact count is, and a compiler handed a quintic should move the pivot to it before doing anything else.
What this makes readable
Essays that name this one as a prerequisite.
- The quintic's cheapness runs along a line The curve as an equation
- The quintic's cheap pivots lie off the line The curve as an equation
About the same objects
Not linked from either essay — found by the objects both name.
- A degree counted on a line algebraic curve · implicit equation
- The curve nobody eliminates algebraic curve · implicit equation
- The equation a four-bar satisfies algebraic curve · implicit equation
- Three linkages, one equation algebraic curve · implicit equation
- What universality is worth algebraic curve · cost model
What links here
Essays that link to this one from their own argument.
- The quintic's cheap pivots lie off the line The curve as an equation
- The quintic's cheapness runs along a line The curve as an equation
The objects this essay names
Each one links to every other essay that touches it.
Algebraic curveCost modelFrequency pairImplicit equationSparsityTwo-link arm