The robot Jacobian, also called the manipulator Jacobian, is the matrix of partial derivatives that maps joint velocities to end-effector velocities, linking the joint space of an arm to the Cartesian space in which its tool moves. In robotics and especially in manipulation, it is the central tool for velocity control, force mapping and singularity analysis, because it describes how small joint motions translate into motion of the tool at the current configuration.
Unlike forward kinematics, which gives a position, the Jacobian is a configuration-dependent linear approximation: its entries change as the arm moves, so it must be recomputed at every control cycle.
How the robot Jacobian relates joint and Cartesian motion
The Jacobian answers a precise question: if each joint moves at a given rate, how fast and in which direction does the tool move? Written compactly, the relation is v = J(q) q̇, where q̇ is the vector of joint rates, v is the six-component twist of the end effector (three linear and three angular velocity components) and J(q) depends on the joint angles q.
For a manipulator with n joints, the Jacobian is a 6 × n matrix. Each column describes the contribution of one joint. For a revolute joint, the column contains the cross product of the joint axis with the vector from the joint to the tool center point, plus the axis itself for the angular part. For a prismatic joint, the linear part is the joint axis and the angular part is zero.
The following table summarizes the dimensions and meaning of the quantities in the velocity relation.
| Symbol | Dimension | Meaning |
|---|---|---|
| q | n × 1 | Joint positions (angles or displacements) |
| q̇ | n × 1 | Joint velocities |
| J(q) | 6 × n | Jacobian at the current configuration |
| v | 6 × 1 | Linear and angular velocity of the tool |
| F | 6 × 1 | Force and torque (wrench) at the tool |
| τ | n × 1 | Joint torques or forces |
Geometric and analytical Jacobian variants
Two forms are in common use, and confusing them is a frequent source of control errors. The geometric Jacobian expresses angular velocity as a physical vector, while the analytical Jacobian differentiates a minimal orientation representation such as Euler angles or roll-pitch-yaw. The two are related by a transformation matrix that itself becomes singular at representation singularities, which have nothing to do with the arm’s mechanics.
The reference frame also matters. A Jacobian can be expressed in the base frame, which suits world-fixed tasks, or in the tool frame, which suits tasks such as screwing or inserting along the tool axis. Libraries often call these the spatial and body Jacobians when the product-of-exponentials formulation is used instead of Denavit–Hartenberg parameters.
The table below compares the main variants and when each is preferred.
| Variant | Orientation part | Typical use |
|---|---|---|
| Geometric Jacobian | Angular velocity vector | Velocity control, force mapping |
| Analytical Jacobian | Derivative of Euler or RPY angles | Operational-space control with minimal coordinates |
| Spatial Jacobian | Twist in the fixed base frame | Screw-theory formulations |
| Body Jacobian | Twist in the tool frame | Tool-aligned tasks such as insertion |
| Position-only Jacobian | Omitted (3 × n) | Tasks where orientation is free |
Static force mapping through the Jacobian transpose
The same matrix also governs statics. By the principle of virtual work, a wrench F applied at the tool corresponds to joint torques τ = Jᵀ(q) F. This duality between velocity and force means one matrix tells a controller how to move the tool and how much each motor must push to exert a desired contact force.
Force mapping underpins impedance control, hybrid force-position control and gravity-free contact tasks such as polishing or peg-in-hole assembly. It also allows a robot to estimate external forces from measured joint torques without a wrist force sensor, although friction and model errors limit the accuracy of such estimates.
Singularities, manipulability and redundancy
A kinematic singularity occurs when the Jacobian loses rank. At that configuration, the tool cannot move in at least one Cartesian direction, and the inverse mapping demands unbounded joint speeds for motion close to that direction. Typical cases are a fully stretched elbow, aligned wrist axes and the wrist center passing over the shoulder axis.
Engineers quantify closeness to singularity with metrics derived from the matrix. The manipulability measure of Yoshikawa, the square root of det(J Jᵀ), drops to zero at a singularity, and the condition number grows without bound.
| Metric | Definition | Interpretation |
|---|---|---|
| Manipulability | sqrt(det(J Jᵀ)) | Volume of the velocity ellipsoid; zero at singularity |
| Condition number | Largest over smallest singular value | Values near 1 mean isotropic motion |
| Minimum singular value | Smallest singular value of J | Weakest achievable motion direction |
| Rank | Number of independent rows | Below 6 means lost Cartesian freedom |
For a redundant manipulator with more than six joints, the Jacobian has a null space: joint motions that leave the tool still. Controllers project secondary objectives into this null space, for example avoiding joint limits, obstacles or singular configurations while the tool follows its path unchanged.
Inverting the Jacobian for control and inverse kinematics
Resolved-rate control computes joint velocities from a desired tool velocity, which requires inverting the mapping. A plain inverse exists only for a square, full-rank Jacobian, so practical systems use one of several generalized inverses, each with a distinct trade-off between accuracy and robustness.
| Method | Behavior near singularity | Main trade-off |
|---|---|---|
| Direct inverse | Joint speeds explode | Exact but only for 6 × 6 full-rank cases |
| Moore–Penrose pseudoinverse | Large but finite speeds | Minimum-norm solution, still unstable |
| Damped least squares | Bounded speeds | Small tracking error in exchange for stability |
| Jacobian transpose | Always defined | Slow convergence, no exact tracking |
| Weighted pseudoinverse | Depends on weights | Favors some joints over others |
Iterative inverse kinematics solvers apply the same machinery: they repeatedly compute the pose error, multiply it by an inverse or transpose of the Jacobian and update the joints until convergence. Damped least squares, also known as the Levenberg–Marquardt approach, is the default choice in many motion planning frameworks, including MoveIt plugins, because it degrades gracefully near singular poses.
Common mistakes when working with the Jacobian
- Mixing reference frames, for instance computing the Jacobian in the base frame and commanding velocities in the tool frame.
- Using the analytical form with Euler angles and then blaming the arm for a singularity that exists only in the orientation parameterization.
- Reusing a stale Jacobian across several control cycles while the arm moves quickly.
- Ignoring unit scaling between meters and radians when computing condition numbers, which makes the metric depend on arbitrary units.
- Inverting without damping, which produces violent joint motion when a path passes close to a singular pose.
Explained without jargon
Imagine a robot arm as a chain of motors. Each motor turns a little, and the hand at the end moves as a result. The Jacobian is a lookup table that says, for the current pose of the arm, how much each motor moves the hand and in which direction.
The table changes as the arm changes shape. When the arm is fully stretched out, some motors no longer help in certain directions, and the hand gets stuck. That situation is called a singularity. The same table also works backward: it tells each motor how hard to push so the hand presses with exactly the right force.
A typical use case
A six-axis industrial arm in an automotive plant applies a bead of sealant along a car door seam. The program defines the seam as a path for the nozzle at a constant speed of 100 mm/s. At every 4-millisecond control cycle, the controller computes the Jacobian, converts the desired nozzle velocity into six joint velocities with damped least squares and sends them to the servo drives.
Near one corner, the wrist axes approach alignment and the manipulability measure falls sharply. The damping term rises automatically, which keeps the wrist speed within its limit at the cost of a deviation under half a millimeter. The result is a continuous, uniform bead without the sudden wrist flip that an undamped inverse would have caused.