Will it move? Joints and degrees of freedom
On this page
A mechanism with too few degrees of freedom locks up and does nothing. One with too many flops around, going wherever the load pushes it. The difference between a useful machine and an expensive pile of parts is whether someone counted the constraints correctly, before any metal was cut. This lesson gives you that count from just the number of links and joints, and it is the very first check every mechanism designer runs.
Every joint trades freedom for constraint
Drop a single rigid part on a table and it has exactly three ways to move in the plane: slide left and right, slide up and down, and spin. Three degrees of freedom, no more. The moment you pin it to another part, you take some of those freedoms away. That is the whole idea: a joint permits the motion you want and removes the motion you do not. In a plane, for every joint, permitted plus removed always equals three.
Joints come in two families, and the only thing that separates them is how they touch.
One freedom left means one motor moves everything, the same way every time.
One equation for whether it moves
Add up the freedom of every moving part, subtract the constraint of every joint, and whatever is left is the mobility: the number of independent inputs the mechanism needs. That accounting is the Kutzbach-Grübler equation:
- n is the number of links, including the frame. The frame is fixed, so only n − 1 links can move, and each contributes 3 freedoms.
- j₁ is the number of lower pairs (revolute or prismatic). Each one removes 2 freedoms.
- j₂ is the number of higher pairs (cam or gear contact). Each one removes 1 freedom.
Read it as total freedom minus total constraint. What survives is mobility, written M or DOF (the same thing).
The value of M tells you what you have made:
- M of 1 is a single-input mechanism: one motor produces a fully determined, repeatable motion. This is what most designs aim for.
- M of 2 or more still moves, but it needs that many independent motors to control it.
- M of 0 is a structure: rigid, going nowhere (which is exactly right for a bridge, and useless for a machine).
- M below zero is over-constrained: it will bind or lock, unless special geometry rescues it.
Try it: the mobility explorer
Load a mechanism, or change the counts yourself. The bar below is the moving parts' total freedom: the grey part is what the joints use up, and the teal part left over is the mobility.
Two things worth noticing while you play. The four-bar and the slider-crank give the identical answer, because swapping one pin for one slider trades a lower pair for another lower pair, and the count does not change. And a rigid triangle lands on M of 0: three bars pinned in a triangle cannot move, which is why triangles brace everything from roof trusses to bicycle frames.
Lengths in mm, on a frame 140 mm long. The triangle has bars of 80 and 100. The four-bar has a crank of 50, a coupler of 130 and a rocker of 100. The five-bar has a crank of 50, two links of 90 and a second driven link of 70. With the five-bar, the faint shapes have the same crank angle and a different second motor angle: one motor is not enough to fix where it is.
Application: the four-bar diverter arm
A packaging line needs an arm that swings each box onto one of two belts, driven by a single motor. It is a crank-rocker four-bar, four bars pinned in a loop. Drive it below and predict what the rocker will do, then work out the question that decides whether the design is even buildable.
You are about to turn the crank to a new angle. How many positions can the rocker end up in?
Show the worked solution
- Count the links and joints
Include the frame: n = frame + crank + coupler + rocker, so n = 4.
All four connections are pins, which are revolute lower pairs, so j₁ = 4. There are no cam or gear contacts, so j₂ = 0.
- Apply the equation
M = 3(n − 1) − 2j₁ − j₂ = 3(4 − 1) − 2(4) − 0.
M = 9 − 8 = 1. One degree of freedom, so it needs one motor, applied at the crank O₂.
- Verify it in the animation above
The animation exposes exactly one input, the crank angle. Sweep it, and the coupler angle, the rocker angle, and the traced coupler path all follow from that single number.
There is no second freedom to set anywhere. That is the physical meaning of M = 1. If the mobility were 2, you would need a second independent input to pin the figure down, and one slider would leave the linkage floppy.
Application: the engine slider-crank
An engine does not use four pins. It turns a crank and drives a piston in a straight bore, yet its mobility is identical to the four-bar. Seeing exactly why sharpens the joint-counting intuition more than any amount of memorising.
Show the worked solution
- Count, and find the one prismatic joint
Links: frame, crank, connecting rod, piston, so n = 4.
Joints: three revolute pins (crank-to-frame, crank-to-rod, rod-to-piston) plus one prismatic slider (the piston in its bore). A prismatic joint is a lower pair as well, so j₁ = 4 and j₂ = 0.
- Apply the equation
M = 3(4 − 1) − 2(4) − 0 = 9 − 8 = 1, identical to the four-bar.
- Why swapping a pin for a slider changed nothing
Picture the four-bar's rocker growing longer and longer. Its tip traces an ever-flatter arc until, in the limit, the arc becomes a straight line and the pin becomes a slider. A slider is a pin on an infinitely long link, which is why the mobility is preserved.
Both the pin and the slider are lower pairs removing 2 constraints, so the count does not change. Even adding an offset (e ≠ 0) for a quick-return effect changes the path traced, never the joint count, so the mobility stays 1.
A toggle clamp holds a workpiece with huge force from a light hand push, and stays clamped when you let go. Model it as a four-bar: frame, handle, link, and clamping bar, joined by four revolute pins. (a) What is its mobility, and how many inputs does it need? (b) Its clamping power comes from a special position where the handle link and the coupler line up straight. Why does the clamping force spike there, even though the mobility never changes? Attempt both, then reveal.
Show the worked solution
- Mobility
It is a four-bar: n = 4, four revolute joints so j₁ = 4, and j₂ = 0.
M = 3(4 − 1) − 2(4) − 0 = 1. One degree of freedom, driven by one input, your hand on the handle.
- Why the force spikes at the toggle position
Mobility counts how many inputs a mechanism needs. It says nothing about how force flows at a given instant, which is set by the geometry of that moment.
When two links line up straight (the toggle, or singular, position), a large motion of the handle produces almost no motion at the clamp. By the balance of work in and work out, a small input force then produces a very large clamping force, and the mechanism naturally holds.
The mobility is still 1 the whole time. The singularity is about instantaneous force and motion, not the degree-of-freedom count. Telling these two apart, overall mobility versus instantaneous behaviour at a singular position, is the last idea of this lesson.
Application: the scissor lift, when the equation lies
So far the equation has matched reality exactly. Now the case every engineer must recognise: a mechanism that moves on a single motor, yet whose raw count comes out negative. The scissor lift is the classic example, and reconciling the contradiction is one of the most useful skills in this lesson.
A symmetric scissor lift plainly rises and falls on a single hydraulic cylinder. When you apply the mobility equation to it, what do you expect it to say?
Show the worked reconciliation
- Apply the equation naively
Inventory: n = 4, j₁ = 5 (three revolute and two prismatic), j₂ = 0.
M = 3(4 − 1) − 2(5) − 0 = 9 − 10 = −1. Read literally, that predicts an over-constrained structure that should not move at all, and might even bind.
- Compare with reality
A real scissor lift clearly moves: one cylinder raises the platform, and it stays horizontal at every height. That is the behaviour of a 1-DOF mechanism, not a −1 structure.
So the equation is off by 2: it says −1, the mechanism does +1. This gap is Grübler's paradox.
- Reconcile with redundant constraints
The equation assumes every joint imposes independent constraints. The scissor lift's symmetry breaks that assumption: equal-length arms pivoting at their shared midpoint force the platform to stay parallel to the base, and that one condition is enforced by several joints at once, so some constraints overlap and do no new work.
Let r be the number of redundant constraints. The corrected mobility is M = 3(n − 1) − 2j₁ − j₂ + r. Solving with the observed value: 1 = −1 + r, so r = 2 redundant constraints.
The visible signature is the platform staying level at every height: the symmetry enforces it automatically, which is exactly the overlap the raw equation could not see.
Check yourself
A planar mechanism has 5 links and 6 revolute joints (no higher pairs). What is its mobility?
Why does a prismatic (sliding) joint count the same as a revolute (pin) joint in the equation?
You compute the mobility of a four-bar and get M = −2. What did you most likely do wrong?
A scissor lift raises smoothly on one hydraulic cylinder, yet the equation gives a negative M (−1, as in the application above). What is going on?
- A free part in a plane has 3 freedoms; every joint trades some away. Lower pairs (pin, slider) remove 2; higher pairs (cam, gear) remove 1.
- Mobility M = 3(n − 1) − 2j₁ − j₂ is total freedom minus total constraint. Include the frame in n.
- M = 1 is the design sweet spot: one motor, fully determined motion. The four-bar and slider-crank both land here.
- On special geometry (parallel or symmetric links), trust the motion over the raw count: that is Grübler's paradox.
You now know whether a mechanism moves and how many motors it needs. The next question is where every link actually sits for a given input: pointing the crank at an angle and finding the exact position of the coupler and rocker. That is position analysis, and it is where you write the vector loop you will reuse for the rest of the course.
Discussion
No comments yet. Questions, results from your own build, a better way to explain it: all welcome.
My notes on this page
Kept on this device only. Nothing is sent anywhere.
Tip: select words in the lesson, or tap a figure or an equation, to put a note right there.
Notes on earlier wording
The lesson has changed and these words are no longer in it. Your notes are kept, with the words you chose.