The idea

In a mechanism, the geometry ties positions together, e.g. “these two sides and this angle make a triangle”. You often can’t rearrange that into , and you don’t need to. Differentiate both sides as they stand, using the chain rule on anything that depends on time. That turns a position equation into a velocity equation in one step.

The rule

Anything that changes with time gets the chain rule: Constants (fixed link lengths) differentiate to zero. Products need the product rule, which you’ll need again on the second differentiation:

The recipe for mechanisms

  1. Write the geometry: Pythagoras, trig, or the cosine rule .
  2. Differentiate with respect to time → velocities (, ).
  3. Differentiate again → accelerations (, ).
  4. Put in the numbers at the instant you care about. Watch the signs: a length that’s getting shorter has negative .

Worked example

A 5 m ladder leans against a wall. Its foot slides away from the wall at 0.5 m/s. How fast is the top sliding down when the foot is 3 m out?

This is exactly the same maths as a robot’s linear actuator pushing a link, or the A2 slider-crank.

Common mistakes

  • Forgetting the (the chain rule part) on each term.
  • Substituting numbers before differentiating. Differentiate the general equation first.
  • Using when the rate is constant. It’s that’s zero.

Check yourself