A demand that is an equation
Assumes The problem the other way round.
Here is a request nothing on this site has been able to answer.
A curve is wanted: . Not a linkage whose coupler point passes near it. Not a four-bar fitted at five places along it. That curve, exactly, at every position the mechanism has.
The synthesis field has been running the design problem backwards for six phases and it cannot take this. Burmester’s constructions take positions — three of them, or four, or five — and return the finitely many linkages that hit those positions exactly. Approximate synthesis takes a sampled path and an objective function and returns a linkage that minimises it. Both are handed a finite list of things to be right about, and both are silent about everywhere else.
That is not a shortcoming of the methods. It is what their input is. A specification made of samples cannot ask for anything between the samples, and a mechanism has no reason to oblige.
This field’s input is different in kind.
Three things change at once
The specification is symbolic. A polynomial is not a sample of a curve; it is the curve — the whole set where it vanishes, at once, with no discretisation anywhere. There are no precision points, because every point is one.
The mechanism is compiled rather than searched for. There is no optimiser, no starting guess, no root count and no continuation. The polynomial is rewritten as a sum of cosines, each cosine becomes a link, and the sum being zero is the linkage closing. That is a compiler in the ordinary sense: a mechanical translation from one language into another, with no choices made along the way that a search would have had to make.
The answer is exact, and what it costs is size. Every other field on this site trades exactness against something. A cam profile buys the motion that was asked for and pays in accelerations nobody asked for. A gear tooth buys a constant ratio and pays in a contact point that slides. This field does not trade: the traced point satisfies to the floor of double arithmetic. It pays in bars, and the payment is enormous.
What “exactly” is worth, given what this site already knows
The word exact has appeared on this site before and it has been earned before. Peaucellier’s cell draws a straight line to of its span while Watt’s linkage is out by nine per cent of its stroke and Chebyshev’s by twelve. Sarrus’s linkage does it in space. Both are exact because an exact algebraic relation holds among their lengths, not because somebody tuned them well.
What is new here is not exactness. It is generality. Peaucellier’s cell is exact about one curve, and there is no procedure in it: the inversor was found, and the finding took the nineteenth century a long time and was reported as news. This field’s claim is that the finding is not needed — that for any algebraic curve there is a linkage drawing it exactly, and that the linkage can be written down from the polynomial by a procedure with no insight in it at all.
That claim is a theorem, and it is not proved here. What is done here is to build the machine for a stated polynomial, position every joint by a converged solve, and measure how far the traced point is from the curve.
The arm that turns two angles into a point
Everything rests on one arrangement, and it is the smallest one that could work.
Put a two-link arm at a fixed pivot, both links of length , at angles and from the frame. The tip is at
Two angles, two coordinates, and the tip covers the disc of radius . That is a mechanism with two degrees of freedom and no constraint on it yet — the serial field’s two-link arm, which is the first mechanism this collection ever drew.
Now put those expressions into the polynomial. What comes out is a function of and , and the whole of the next rung is that this function has a very particular shape: it is a constant plus a finite sum of terms with whole-number and . The curve’s equation becomes a statement about angles, and a statement about angles is something bars can be made to enforce.
Each crossing in that figure is an assembly. The curve equation is one condition on two angles, so it leaves one freedom, and a mechanism enforcing it is a one-degree-of-freedom linkage whose tracing point runs along the curve. That is the object this field is about, and everything else is how to enforce the condition with bars.
What is being claimed, precisely
It is worth being exact about the claim before the machinery arrives, because the machinery is large and it is easy to lose track of what it is for.
The claim is not that a linkage can be found for any curve by searching. Searching is what the synthesis field does and it is a different activity with different failure modes.
The claim is not that a compiled linkage is a good way to draw a curve. It is, on the evidence assembled over the next twelve rungs, an extraordinarily bad way: the machine for a general quintic has four hundred and thirteen bars and works over a tenth of a radian of its driving angle.
The claim is that the curve is drawn exactly, that the construction is mechanical, and that both of those can be measured rather than argued. The measurement is the same one this site makes everywhere: a solve reports its own residual, and a second route that shares no inputs with the first is used to check the answer.
Here the second route is unusually clean. The compiled machine’s constraint set is a list of bar lengths, rigid attachments and one line constraint. Nothing in it mentions the polynomial. So evaluating at the solved tracing point is a completely independent question, and the answer over a whole working arc is or better on every curve in this field’s catalogue.
Why the count is the interesting column
Look down that table and the pattern is not the one a reader arriving from the synthesis field expects.
A line costs five bars. A circle costs eleven — more than a line, and vastly more than the one bar a crank needs, which is the answer everybody already knows. A rectangular hyperbola costs twenty. A lemniscate, degree four, costs fifty; a general cubic, degree three, costs a hundred and one. A quintic costs four hundred and thirteen.
Two things are already visible and both get a rung of their own.
The cost is not the degree. The lemniscate is a higher-degree curve than the cubic and costs half as much, because its symmetry cancels terms the cubic keeps. What a curve costs is how many distinct frequency pairs survive in its expansion, and that is a fact about the polynomial’s coefficients rather than about its degree.
The compiler is bad at easy cases. It returns eleven bars for a circle. It has no way to notice that the circle’s single term makes the whole summing apparatus unnecessary, because it has no way to notice anything: a compiler that recognised special cases would be a search, and the point of the construction is that there is nothing to find.
That second observation is worth holding onto, because it is the honest shape of every universality result. A procedure that works for everything works for the easy cases the same way it works for the hard ones, which is to say badly.
The two ways it goes wrong, and they are different objects
A compiled machine draws its curve on an arc and not for ever, and it has assemblies that draw something else. Both are ahead, both are measured, and it is worth naming them now because they are the two halves of this field’s honesty.
A gadget has a singular configuration. Drive the machine far enough and one of its rhombi flattens, its two placements merge, and the continuation may come out on the other one. Nothing breaks — every bar is the length it was, the closure residual stays at — and the machine goes on drawing a different curve. That is the subject of Where the machine stops being the function, and it is why every arc in the cost table is a fraction of a turn.
A parallelogram has a second assembly. The same four bars close as an antiparallelogram, and a direction is then carried wrongly. This is a discrete alternative rather than a singularity, it is the gap in Kempe’s original argument of 1876, and unlike the first it is removable. Sixteen assemblies of the hyperbola’s machine, eight of which close: four put the tracing point on the curve and four put it somewhere else, at a closure residual of .
That picture is the reason this field exists as a field rather than as a paragraph in the synthesis one. A mechanism that satisfies every constraint it has and computes the wrong function is not something the site’s other instruments can see. Every gate here asks whether a loop closes; this is a machine whose loops close perfectly.
An equation is a stranger demand than it looks
There is a reason no earlier field on this site could have taken this input, and it is worth spelling out because it is not obvious.
Every mechanism this site has drawn is specified by numbers with units of length. A four-bar arrives as four bar lengths. A cam arrives as a lift and a set of spans. A gear pair arrives as a module and two tooth counts. Even the fields whose object is unusual keep that character: the topology field’s census produces chains with no lengths at all, and the first thing done with one is to give it lengths.
A polynomial has no lengths in it. Its coefficients are not distances, they do not scale like distances, and there is no operation that turns them into a set of bars. Between the specification and the mechanism there is a translation, and the translation is the field.
That is why the two-link arm matters so much. It is the piece that turns a statement about coordinates into a statement about angles, and a statement about angles is exactly the kind of thing a bar can enforce. A bar holds a distance; a rhombus holds an angle relation; and the whole of the next four rungs is the discovery that a small vocabulary of angle relations — bisect, reflect, carry — is enough to express any whole-number combination of two angles.
The arithmetic that makes this work is a hundred and fifty years old and the mechanisms are older. What is new here is that both halves are computed and both halves are checked: the algebra by comparing two evaluations that share no code, and the mechanism by solving every position and asking a question its constraints cannot answer.
The instrument, stated before it is used
Three numbers are read off every machine in this field, and confusing them is the way to get every later rung wrong.
The closure residual is how well the bars are satisfied — the norm of the constraint equations at the converged position. It is the number every field on this site quotes, and it sits at everywhere here, including on the assemblies that draw the wrong curve.
The curve residual is the polynomial evaluated at the tracing point. It is the specification, checked, and it is the number that separates a machine doing its job from a machine doing something else.
The departure is how far a gadget’s output angle is from the angle its specification asks for, given the machine’s own and . It is the finest of the three: it names which part of the machine has gone wrong and at which driving angle, where the curve residual only says that something has.
The three are independent, and the field’s central result is a statement about their independence: the first cannot see what the other two can. A tolerance on the closure — any tolerance, at any level — passes every assembly in the census, right and wrong alike.
Where this sits against the rest of the site
Three neighbours, and the boundary with each is worth stating once.
Against synthesis. Synthesis is given positions and returns lengths. This field is given an equation and returns a machine. The overlap is the word design and nothing else: there is no objective function here, no defect test to disqualify an answer, and no finite number of solutions to count. The compiler returns one machine, and it returns it in about the time it takes to multiply out a polynomial.
Against the algebra field. That field asks how many configurations a mechanism has, by elimination and by continuation, and its object is a polynomial system whose unknowns are the joint coordinates. Here the polynomial is the specification and its unknowns are the plane’s coordinates. The two meet exactly once, three rungs into this ladder’s neighbours, where the coupler curve of an ordinary four-bar turns out to have an implicit equation of degree six — and that is a curve a linkage already draws, read the other way round.
Against the curves field. What a coupler point draws is a description of what a given linkage does. This is a prescription of what a wanted linkage must do. Same object, opposite direction, and the direction is the whole difference between a subject that can be enumerated and a subject that has to be constructed.
What a reader should take from this rung
One sentence, and the rest of the ladder is the evidence for it.
A polynomial in the two angles of a two-link arm is a finite sum of cosines of whole-number multiples of them, every one of those cosines is a link a handful of bars can hold at the right angle, and the sum being zero is a linkage closing. Everything after this is the arithmetic of that sentence, the four constructions that do the work, the count of what they cost, and the two ways the resulting machine can be right about its bars and wrong about its curve.
The last of those is the part worth arriving with. This site’s habit is that every claim gets a test it could fail, and the test here is not the closure residual. The closure residual is at the floor on every branch, including the ones drawing the wrong curve. The test is the polynomial, evaluated at a point the mechanism reached without knowing the polynomial existed.
The change from a sampled demand to an equation moves the trade rather than removing it, and it is worth saying where it moves to. Everywhere else on this site a mechanism is right at some places and approximately right between them, so the design currency is accuracy: more precision points, a smaller residual, a better fit. Here the mechanism satisfies the equation identically, so accuracy has nothing left to buy — and what takes its place is size. The mechanism grows with the equation: more terms, higher degree, more links, more joints, more of everything a real machine is costed in. So the question a designer asks changes character completely. Not how close can this get but how many parts does this equation cost, and the answer is an integer that grows with the demand rather than a residual that shrinks with effort. That is a genuinely different design activity, and it is the reason the mechanisms in this rung run to hundreds of links where the rest of the site’s run to six. Exactness was available all along; nobody wanted it at that price.
What this makes readable
Essays that name this one as a prerequisite.
- Every curve is a sum of cosines The curve as an equation
- A compiled machine and its own scale The curve as an equation
About the same objects
Not linked from either essay — found by the objects both name.
- Prescribing a curve rather than points kinematic synthesis · precision position · universality
- A degree counted on a line algebraic curve · coupler curve
- Six things a compiled linkage is not exact mechanism · universality
- The mesh inside keeps the half algebraic curve · coupler curve
- Three linkages, one curve coupler curve · kinematic synthesis
What links here
Essays that link to this one from their own argument.
- What universality is worth The curve as an equation
- The equation a four-bar satisfies How many answers
- The price is on the equation The curve as an equation
- Three linkages, one equation The paths points trace
- Every curve is a sum of cosines The curve as an equation
- Exactness a micron destroys As built
- A compiled machine and its own scale The curve as an equation
- Where the boundary moved As built
The objects this essay names
Each one links to every other essay that touches it.
Algebraic curveCoupler curveExact mechanismInverse problemKinematic synthesisLinkagePrecision positionUniversality