Concept

Jacobian — where it appears

The matrix of a mechanism's first derivatives, whose rank decides what motions are available and whose columns for an arm are its joint axes. It is the single object most of this site's measurements go through: its rank is the measured mobility, its null space is the available self-motion, and its condition is the sensitivity.

Named by 27 essays across 7 fields — each of them below, with the objects they name alongside it.

The output is a band, not an angle. The rocker's angle through one turn of the crank, for a four-bar whose four lengths are each specified to ±0.01. The line is the nominal mechanism; the band is where the output of an actual one lies, found by building all sixteen extreme combinations of the four lengths at every crank angle and solving each. The band is not a constant width: it is 0.73° at its widest, near 30°, and 0.36° at its narrowest — a factor of 2.0. Which of those a designer is told depends entirely on where the mechanism was measured.

A length is a range

Every figure on this site so far has been drawn from four numbers. No four numbers were ever cut. Give each of them a tolerance of ±0.01 and the rocker's output stops being an angle and becomes a band 0.73° wide at one part of the turn and 0.36° wide at another — and which of those a designer is told depends only on where somebody measured.

practice · Tolerance
elbow arm at a posture. elbow arm, drawn from 6 joint values through a product of 6 exponentials — no equation is solved anywhere in this picture, because an open chain has none to solve. The thin lines are the joint axes at this configuration, which are also the columns of the arm's Jacobian: the tool's velocity is a sum of turns about exactly those lines. Here the smallest singular value of that Jacobian is 0.3674 and the largest is 2.407, so the arm is comfortably away from a configuration where a direction of motion is lost. Drag θ₂ shoulder.

The chain that does not close

Every mechanism on this site so far has been a loop, and a loop is why a configuration here is a solve. An arm has no loop. Its pose is a product of six transforms, evaluated, with nothing to converge and nothing to refuse — and the difficulty does not disappear, it moves to the other end of the problem.

serial · Serial
Three bars and four bars. On the left, two bars to a common point: three links, three joints, and Grübler gives 3(3−1) − 2(3) = 0. The Jacobian agrees — two free coordinates, rank 2, nothing left over — and the shape cannot change without a bar changing length. On the right, one more bar and one more joint gives mobility 1, and the whole of this site follows from that difference. The triangle is why bridges are triangulated and the quadrilateral is why machines are not.

What decides whether it moves

Before a mechanism does anything it has to be able to. Two bars pinned to a point cannot move; three can. The count that separates them is one subtraction, it is the first thing anybody computes about a machine, and it can be wrong in a way that no amount of care with the arithmetic will catch.

constraint · Mobility
Mobility, counted and measured. Grübler's criterion counts links and joints and knows nothing about the dimensions; the rank of the constraint Jacobian measures the dimensions and knows nothing about the topology. They agree for four of these five. The parallelogram with a redundant third bar is the exception: the formula declares it a structure with zero degrees of freedom, and it moves. The formula is the one that is wrong, because it cannot see that the third bar's constraint equations are already implied by the other two.

Counting and measuring mobility

Grübler's criterion counts links and joints and never asks how long anything is. The rank of the constraint Jacobian measures the lengths and never asks what a joint is. Two calculations with no inputs in common, producing one number — which is the only arrangement under which agreement is evidence.

constraint · Mobility
Grashof's classification, predicted and then swept. Four sets of link lengths. For each, Grashof's condition predicts from the lengths alone whether the input can rotate a full turn, and the solver then attempts all 180 positions and reports how many assembled. The prediction and the measurement agree in every case, which is what licenses quoting the classification for a mechanism nobody has swept.

Grashof, predicted and then swept

Add the shortest link to the longest. If the total does not exceed the other two, some link can turn a full revolution. It is a sentence about four numbers, it was published in 1883, and it is the kind of claim this site refuses to print without measuring — so every linkage here is also asked for all 360 positions and required to agree.

linkages · Fourbar
Losing a freedom and gaining one. Left, the nearest inverse-kinematic singularity: a leg is straight to 1.1e-5 and cannot reach further, so the platform has lost a freedom. That is the workspace boundary and it is a serial arm's singularity. Right, the nearest direct-kinematic singularity: the three leg lines pass through one point to 0.0001, so the three forces the legs transmit are no longer independent and the platform can turn about that point with every actuator locked. It has gained a freedom, and it is 1.97 from the other configuration and nowhere near the edge of the reach.

Locked, and still moving

A serial arm goes singular at the edge of its reach, where it loses a freedom, and the failure is visible as an arm gone straight. A parallel mechanism has a second kind with no serial counterpart — it gains a freedom, in the middle of the workspace, at poses nothing about the legs' reach marks out.

parallel · Parallel
Two routes to the same derivative. How much the output angle moves when the coupler length moves, through one turn, computed twice. One route rebuilds the mechanism at b ± 10⁻⁶ and solves both from scratch; the other differentiates the constraint equations and solves one linear system against the analytic Jacobian. They lie on top of each other — the strip beneath plots the difference on a four-decade log scale, and its largest value anywhere in the turn is 2.9e-10 against a sensitivity of order 0.41. That is the only independent check there is of the Jacobian itself, whose coupler rows carried four wrong signs from the foundation phase to 2026-08-12 without ever drawing anything wrong.

Two routes to a sensitivity

How far the output moves when a link length moves can be found by rebuilding the mechanism and solving it again, or by differentiating the constraint equations and solving one linear system. The two agree to two parts in a hundred million across a whole turn — and the second route is an independent test of the constraint Jacobian itself, whose coupler rows had carried wrong signs unnoticed.

practice · Tolerance
Two things that are not the same configuration. The mechanical advantage of a four-bar, from the velocity solution: for a lossless mechanism it is the reciprocal of the output-to-input speed ratio, so wherever the output momentarily stops the force ratio diverges. It reaches 1673 at 222° — a toggle, where crank and coupler line up, and the reason a knee-joint clamp holds with almost no effort. The transmission angle is at its worst somewhere else entirely: 46.5° at 0°, 222° away, where coupler and rocker line up instead. Both get called "the mechanism jamming" and they are opposite situations — one is enormous force output, the other is force going into the bearings.

Two things called jamming

A four-bar's mechanical advantage peaks at 1,673 in one configuration and its transmission angle collapses in another, 222° away. Both get described as the mechanism jamming. One is enormous force output and the other is force disappearing into the bearings, and they are opposite situations.

wrong · Misconception
The four lengths do not matter equally. Each length's average contribution to the output band, for a tolerance of ±0.01 on all four, averaged over the 48 crank positions the mechanism reaches. The coupler contributes 38% of the total and the rocker 11% — a factor of 3.4 between the ends of the ranking. A tolerance specified equally on all four therefore spends most of its cost buying accuracy the mechanism does not notice, which is what a sensitivity ranking is for.

The four lengths do not matter equally

Averaged over a whole turn, the coupler contributes 38% of a four-bar's output band and the rocker 11% — a factor of 3.4 between the ends of the ranking. A tolerance specified equally on all four therefore spends most of its money buying accuracy the mechanism cannot use, and the ranking that says so costs four linear solves.

practice · Tolerance
Three parallel bars, and a formula that says this cannot move. Five links and six pin joints, so Grübler's criterion gives 3(5−1) − 2(6) = 0 and calls it a structure. The Jacobian has rank 5 against 6 free coordinates, so it measures one degree of freedom — and the sweep assembles 59 of 60 positions, which settles the matter. The third bar removes no freedom because its constraint is already implied by the other two, and a formula that counts joints cannot notice that they happen to be parallel. Mechanisms of exactly this kind carry drafting machines, anglepoise lamps and locomotive coupling rods, where the redundant bar is there for load sharing and for keeping the linkage out of its change point.

The mechanism Grübler says cannot move

Three parallel bars between two frames. Five links, six pins, and the criterion every engineering course teaches gives zero degrees of freedom — a structure. It is a mechanism, it is in drafting machines and locomotive coupling rods, and the formula cannot see why.

constraint · Mobility
Six legs, six numbers. A Gough–Stewart platform at (0.00, 0.00, 2.40) with a rotation vector of (0.00, 0.00, 0.15). The six leg lengths run from 3.077 to 3.263, and every one of them was computed from the pose by a single subtraction and a square root, with no leg consulting another. Going the other way — six lengths in, one pose out — takes an iterative solve and does not have one answer. The six leg lines span a screw system of order 6; the smallest singular value of the six is 0.0316, which is how far this pose is from a configuration where they become dependent and the platform stops being controllable.

Six legs and a square root

A Gough–Stewart platform's inverse problem is one subtraction and one square root per leg, computed six times without any leg consulting another. Its forward problem has forty solutions. That gap is the whole design, and it is why flight simulators are built this way and robot arms are not.

parallel · Parallel
A defect that draws nothing wrong. The same four-bar swept 360 times with the pre-correction Jacobian and with the corrected one, at eight coupler-point offsets. Corrected, every position is reached at every offset. Uncorrected: 5 of the offsets lose nothing at all, and then it loses 58, 159, 267 of 360. The picture was never wrong — a refused position is simply not drawn — so the only symptom was a sweep with fewer frames in it than it asked for.

The solver was refusing a quarter of the sweep

Four numbers in this site's Jacobian had the wrong sign, from the foundation phase until now. Every picture it ever drew was correct, because a wrong derivative does not move a converged answer — it just makes Newton crawl, until the stall rule declares the position unreachable. The symptom was a sweep quietly returning fewer frames than it asked for, and no gate in the fleet has a rule against that.

wrong · Misconception
elbow arm at a posture. elbow arm, drawn from 6 joint values through a product of 6 exponentials — no equation is solved anywhere in this picture, because an open chain has none to solve. The thin lines are the joint axes at this configuration, which are also the columns of the arm's Jacobian: the tool's velocity is a sum of turns about exactly those lines. Here the smallest singular value of that Jacobian is 0.3674 and the largest is 2.407, so the arm is comfortably away from a configuration where a direction of motion is lost. Drag θ₃ elbow.

Two routes to a Jacobian

An open chain's Jacobian is a list of its joint axes, drawn as lines in the same picture as the arm. A finite difference of its own forward kinematics is a completely different computation and has to agree — and when the two disagreed by 5 × 10⁻⁵, the fault was in a function six phases old that every spatial loop on this site had been using.

serial · Serial
What each kind of joint takes away. Grübler's formula is M = 3(n − 1) − 2j₁ − j₂, and the 2 and the 1 in it are not conventions. A lower pair — a pin or a slide — holds two bodies together over a surface and leaves one relative freedom, so it costs 2. A higher pair — a cam against a follower, a wheel on a rail — touches at a point, the contact travels along both surfaces, and it costs 1. Five chains, each built and each measured from the rank of its constraint Jacobian, which has never heard of the formula. The last row is the one worth having: count that cam contact as a pin, as is very easily done, and the formula returns 0 where the mechanism has 1. The Jacobian does not move.

What each joint takes away

Grübler's formula has a 2 in it for pins and a 1 for cam contacts, and those numbers are not conventions to be memorised. They are the number of constraints each kind of joint imposes, they are measurable as the rank of a matrix, and miscounting one of them is the commonest way the formula is got wrong.

constraint · Mobility
Two ways of adding four tolerances. The output band from ±0.01 on each of four lengths, combined two ways. The upper curve is worst case — every error at its extreme and conspiring — and the lower is root-sum-square, which treats the four as independent random errors. RSS is smaller everywhere, by between 1.42 and 1.95, and with four contributions the most it can ever be is √4 = 2. That factor is not a saving found in the geometry; it is bought with the assumption that the four errors are independent, and one fixture that locates two of the holes takes it straight back.

Worst case and the square root

Four tolerances can be added as a straight sum or as a root-sum-square, and the second is smaller by between 1.42 and 1.96 through this linkage's cycle. The ceiling is √4 = 2 and no geometry can beat it. That factor is not found in the mechanism — it is bought entirely with an assumption of independence, and one fixture that locates two holes takes it straight back.

practice · Tolerance
Where a tolerance stack-up stops meaning anything. The ratio between the first-order tolerance estimate and the band measured by building every corner linkage, for two four-bars at ±0.002 on each length. The crank-rocker's ratio is 1 at all 180 positions — a stack-up is exactly right for it, everywhere. The parallelogram is a change-point linkage, where all four bars can lie on one line, and at that position the estimate exceeds the measurement by a factor of 4.8e+5. The difference is not in the arithmetic, which is identical; it is that a derivative describes a map that can be inverted, and at a change point the map cannot.

Where a stack-up stops working

On a crank-rocker the first-order tolerance estimate matches the measured band at every one of 180 positions, to eight parts in ten thousand. On a parallelogram it exceeds it by a factor of 475,512. Same arithmetic, same tolerance, two linkages that differ only in their proportions — and nothing in the calculation says which one it is being run on.

practice · Tolerance
A pin in a hole is a short link. Left: a pin of radius 0.86 in a hole of radius 1, so the clearance is 0.14. The pin's centre may sit anywhere within that of the hole's centre. Right: the same joint as it enters the kinematics — a binary link of fixed length 0.14 and free direction, with a revolute at each end. That is not an analogy. It is the same set of relative positions, so every count, every Jacobian and every solve on this site applies to it unchanged, and a four-bar with play at each pin is a mechanism with eight links and eight joints.

A clearance is a link

A pin in a hole is not a joint at a point. Its centre may sit anywhere within the difference of the two radii, so the two links it joins are connected by a body of fixed length and free direction — a binary link with a revolute at each end. That is not an analogy, and taking it literally makes a four-bar a mechanism with eight links, eight joints and five degrees of freedom.

practice · Clearance
What each loop's constraint system is made of. For each mechanism: the order of the screw system its joints span, the order of the reciprocal system — the wrenches it carries without moving, which is always six minus the first — and what those wrenches are. A planar four-bar carries one force and two couples; a mechanism whose motion lies in no subgroup carries screws of finite pitch instead, and 2 of these 6 do.

What a mechanism cannot do

A mechanism's freedoms are a subspace of screw space. Everything orthogonal to that subspace under the reciprocal product is a force the mechanism carries without moving — so the constraints are not a separate thing to be worked out, they are what is left, and one matrix gives both.

spatial · Spatial
Three singularities, and where each one is. The elbow singularity is at the edge of the workspace, where the arm is straight and cannot reach further — nothing is lost that could have been used. The shoulder singularity is where the two ways of facing the target merge, on a cylinder of radius 0.18 m about the base axis which is also the boundary of a hole the arm cannot reach into at all. The wrist singularity is the one that stops real machines: axes four and six in line, one rotation gone, in the middle of an ordinary working volume with nothing about the tool's position to suggest it. The rank falls by exactly one in all three — and what is lost differs. The elbow and the shoulder are constrained by a pure force, along the arm and across it; the wrist is constrained by a screw of pitch −0.629, which is a force and a couple together. Those are reciprocal screws rather than singular vectors, because a singular vector's direction depends on whether the arm was written in metres or millimetres and a screw does not.

Where the arm loses a direction

An arm has three singularities and they are three different events. Two of them are inside an ordinary working volume, all three drop the rank by exactly one, and what each one takes away is a screw — a pure force along the arm at the elbow, a pure force across it at the shoulder, and at the wrist a screw of pitch −0.629 that is a force and a couple together.

serial · Serial
How far a joint-space move bows off the line. Every joint runs from its start value to its end value at a constant rate — the simplest possible move, and the one that can never be refused, because every point along it is a set of joint values and every set of joint values is a pose. The tool does not travel in a straight line while it happens. It bows away by 402 mm over a move of 1223 mm, which is 32.9% of the distance travelled and enough to hit something that the straight line would have missed.

A straight line at constant speed

Run every joint from its start value to its end value and the tool bows 402 mm off the line between them. Insist on the line instead and the arm will follow it — until the path passes near a singularity, where the joint rates a metre a second demands grow as one over the distance, measured at an exponent of −1.010.

serial · Serial
One tool pose, a curve of postures. 41 postures of S-R-S arm, every one of them holding the tool at the same pose. The tool moved 1.0e-13 of a metre over the whole sweep, which is the arithmetic's noise floor rather than a tolerance. The joint that moves most is the elbow, and it runs on a circle of radius 0.192 m about the line from shoulder to wrist — a curve computed here by walking the Jacobian's null space, and known independently as the intersection of two spheres. The two agree to 10⁻¹³.

The freedom that does nothing

Give an arm a seventh joint and one tool pose stops having eight answers and starts having infinitely many. The arm changes shape while the tool stands still — measured at 3.3 × 10⁻¹² of a metre over forty-one postures — and the elbow runs on a circle that two entirely different computations agree about to a tenth of a picometre.

serial · Serial
Where enumerating the corners stops being affordable. The two routes to a tolerance band, costed against the number of toleranced lengths. Enumerating every extreme combination is 2ⁿ mechanisms at every crank position; differentiating the constraints is n linear solves. A four-bar is 16 corners and a Watt six-bar is 128, which is still cheap — 142 solves for one position — and the curve is the point rather than either number: at twenty parameters, which is an ordinary spatial mechanism, the corner route is a million mechanisms and the derivative route is twenty. Both are drawn because the corner route is not merely slower, it is the one that assumes nothing, and its answer is what the cheap route has to be checked against.

Seven lengths and a hundred corners

Nothing in a tolerance analysis is about four. A Watt six-bar has seven lengths, its corner enumeration is 128 mechanisms rather than 16, and the two routes still agree to a hundredth of a per cent — but the costs have separated — 142 solves against seven. At twenty parameters, which is an ordinary spatial mechanism, it is a million against twenty.

practice · Tolerance
Every joint's lever arm. The thin lines run from the tool to each joint's axis, meeting it square. Their lengths are what a radian of error at each joint costs the tool in metres — not a rule of thumb but the Jacobian column, which is ω × r and therefore that perpendicular exactly. The shortest of them belongs to the joint nearest the work and the longest to the joint furthest from it, which is why an arm's accuracy is decided at the shoulder and its resolution at the wrist.

Where an error at the shoulder ends up

The same angular error at every joint of an arm, and the tool is out by 0.156 mm because of the shoulder, 0.017 mm because of the wrist roll and exactly nothing because of the last joint. The numbers are not properties of the joints. Each one is the distance from the tool to that joint's axis, measurable off the drawing with a ruler.

serial · Tolerance
Which pin's play costs the most. Each pin's clearance taken one at a time, at 0.01 on links of 1 to 4, with the direction swept rather than assumed. The ranking runs A 32%, B 25%, O₂ 22%, O₄ 21% — a spread of 1.52 against the 3.43 the four lengths spread over. Clearances are more evenly weighted than length tolerances because each pin joins two links and so enters two of the four sensitivities, which is why the best bearing buys less than the best-held length does — and why it still goes somewhere the load path does not suggest.

Which pin to buy

The four lengths of a four-bar contribute 38, 26, 25 and 11 per cent of its output error — a spread of 3.4. Its four pins contribute 32, 25, 22 and 21 — a spread of 1.5. Clearances are more evenly shared than length tolerances, because every pin joins two links and so appears in two of the four sensitivities, and that changes what a better bearing is worth.

practice · Clearance
What a calibration can and cannot see. The singular values of elbow arm's identification Jacobian — the matrix of how the tool pose moves when each model parameter is nudged, over 11 postures. There are 36 parameters and only 30 of them can be found: the last 6 directions come out at 2.3e-8, which is the difference noise, against 6.3e-4 for the weakest real one — a gap of 3e+4. And 30 is exactly 4R + 2P + 6 for this arm's 6 turning and 0 sliding joints, which is a count from the literature meeting a rank measured from the arm's own arithmetic.

What a calibration cannot see

A six-joint arm's model has thirty-six parameters and a measurement can find thirty of them. The other six are not hard to measure — they are combinations that move the tool by exactly nothing, at every posture, and no instrument ever built will separate them. The count is 4R + 2P + 6, and it comes out of a rank on four different arms.

serial · Serial
Tolerancing the holes rather than the lengths. The output band from ±0.01, computed on the four link lengths and then on the features those lengths are derived from. The ground length is the distance between two frame holes, and what happens to it depends entirely on how they were made: located separately, two independent errors combine to √2 times one and the lengths-only answer is optimistic by 11%; bored in one setup, the common part of the machine's error cancels out of the distance between them and the lengths-only answer is pessimistic by 34%. Neither is a correction to apply; it is a question for the machine shop, and this site can compute the sensitivity and not the answer.

Tolerancing the holes

A drawing does not tolerance link lengths. It tolerances holes, and the lengths are derived from them — so what a length's tolerance really means depends on whether its two holes were bored in one setup. Located separately, a lengths-only stack-up is optimistic by 11%; bored together, it is pessimistic by 34%. Neither is a correction to apply blind.

practice · Tolerance
A fourth leg through the meeting point, and one beside it. The platform with similar triangles at its singular orientation, at one position, with a fourth base pivot at (0, -2). Left: the fourth platform point placed where the similarity puts it, so the fourth leg's line passes 2.8e-17 from the point the other three meet at, and the smallest singular value of all four is 2.59e-9 — nothing has changed. Right: the same base pivot with the platform point moved 0.28 round the platform, so the fourth line misses the meeting point by 0.3993 and the four legs hold at 2.914e-1. The ringed point is where the three original lines meet, and it moves with the platform.

One placement of every placement

A planar platform whose two triangles are similar is singular at every position it can be put in, at two orientations. A fourth leg removes both — unless its own pair of attachment points is related by the same similarity, and then it changes nothing at all. Swept right round the platform, exactly one placement of the fourth attachment fails, the similarity names it in advance, and the holding a placement buys is proportional to how far it sits from that one point.

parallel · Parallel

Named alongside it

The objects these essays reach for when they reach for this one.

ConstraintRankToleranceMobilitySensitivityFour-barSerial manipulatorDead centreDerivativeSingularityAllocationConditioning

All concepts