
Drag the tip of a two-link arm. Forward and inverse kinematics, both elbow solutions, the reachable workspace and the singularities where the arm is straight or folded.
Drag the green tip, or focus it and use the arrow keys (Shift for larger steps). Solid arm: the elbow down solution. Dotted: the other one. Shaded: where the tip can reach. Red circles: the boundaries, where the arm is straight or folded. Link lengths are illustrative.
Forward: set the joints
Links
Reach: 1.28 m of 0.30 to 1.70 m
| Elbow | θ1 | θ2 |
|---|---|---|
| up | 71.6° | -83.8° |
| down (shown) | 5.7° | 83.8° |
Jacobian
det J = 0.696 (l1 · l2 · sin θ2, at most 0.70)
Forward kinematics turns joint angles into where the tip is: add each link’s vector, rotated by the angles before it. Inverse kinematics runs it backwards, from “put the gripper there” to joint angles. Drag the tip and the arm follows by inverse kinematics.
For two links the inverse is closed-form. The law of cosines gives the elbow angle up to a sign, and the two signs are the two arms that reach the same point: elbow up and elbow down. Both are drawn, the one you pick bold. Small arms, and many six-joint arms with a spherical wrist, have closed-form solutions; in general solving is numerical.
The tip can only reach a ring: out to the sum of the link lengths when the arm is straight, in to their difference when it is folded back. Outside the ring there is no solution, and the page pulls the target to the nearest point on the boundary and says so.
The Jacobian says how tip speed follows joint speed, and its determinant for this arm is the product of the link lengths times the sine of the elbow angle. It is zero when the arm is straight or folded back: there the tip cannot move along the arm, however the joints turn, and a small step along it needs huge joint motion. The red ring marks those boundaries. Statics uses the same matrix: the torques that hold a pose against a force are the Jacobian transposed times that force.
The link lengths here are illustrative, not any real arm’s.
Solve a two-link arm yourself, then a real one.
Modern Robotics Modern Robotics: Mechanics, Planning, and Control (K. M. Lynch, F. C. Park; Cambridge University Press). 2017; updated first edition Dec 2019; free preprint PDF, print paid; read 2026-10-22.
Robotics Toolbox for Python Robotics Toolbox for Python (P. Corke; MIT). read 2026-10-22.
MoveIt 2 MoveIt 2 documentation (BSD-3-Clause). read 2026-10-22.
MuJoCo Menagerie MuJoCo Menagerie: curated robot models (per-model licences). read 2026-10-22.
ROS 2: URDF URDF (ROS 2 Lyrical documentation). lyrical branch df1973e, read from the docs repository; page opened in a browser 2026-10-22.
Everything here is paraphrased from the sources, not quoted, and every figure is attributed to one. Prices are as of the date read and change. Anything illustrative is labelled as such. Where a source is silent, or could not be checked, the page leaves the fact out.