Skip to content

What Is a Robot? Degrees of Freedom

A robot arm is a chain of joints. Count the numbers you can command, and you have counted its degrees of freedom

1. Two joints, two numbers

Look at the arm on this page. It has a base, a first link, an elbow, a second link, and a hand. The base is fixed. The two joints are revolute, so each one stores a single angle. Once you choose those two angles, the entire arm is determined: there is nothing else to decide. That is what a degree of freedom means here.

Configuration of a planar 2R arm

The first angle turns the whole arm around the base. The second angle turns the forearm around the elbow, relative to the first link. Two independent numbers, two degrees of freedom. A six-axis industrial arm has six joint angles and six degrees of freedom; a dishwasher door has one.

2. The vocabulary

The words below are the ones every robotics paper assumes. They are worth fixing before the equations arrive.

  • Link — a rigid body between two joints. Here, the upper arm and the forearm.
  • Joint — an allowed relative motion. A revolute joint has an angle; a prismatic joint has a displacement.
  • End-effector — the part that does the task. Here, the hand at the end of link 2.
  • Configuration — the complete set of joint values. For this arm, the pair (θ1, θ2).
  • Joint space — the space of configurations. Task space — the space of hand poses. For this planar arm, task space is the plane, plus an orientation if you care about the hand's direction.
  • Workspace — every hand position the arm can reach.

The distinction between joint space and task space is the source of most robotics confusion. The arm is controlled in joint space and asked to do something in task space. Forward kinematics goes from joint space to task space; inverse kinematics goes back. The next two lessons are those two directions.

Forward and inverse kinematics

The arrow on the right is not a function in the ordinary sense. Most hand positions have two joint-space preimages, some have one, and some have none. That asymmetry is the whole difficulty of inverse kinematics.

3. Configuration space

Plot θ1 on one axis and θ2 on the other. Every configuration is a point in that square. The left edge and the right edge are the same angle, −π and π, so the square wraps around into a torus. The arm drawing is the same point viewed in task space.

The arm can return to the same hand position through a different route in the square. That is not a quirk of the drawing; it is why a robot can reach around an obstacle without changing where its hand is. The configuration is the thing the controller actually owns.

4. The workspace

Hold the base fixed and sweep both joints through every angle. The hand traces an annulus. The outer radius is the sum of the link lengths: the arm is fully extended. The inner radius is the absolute difference: the arm is folded back on itself. If the links are equal, the inner radius is zero and the annulus becomes a disk.

Reachable radii for a planar 2R arm

Workspace is a property of the geometry, not of the controller. No gain, no planner, and no amount of torque can reach a point outside it. The boundary is also where the arm becomes singular: at full extension or full fold, the hand cannot move radially for a small change in the joint angles.

Example: L1 = 1.2 m, L2 = 0.8 m

The outer radius is 1.2 + 0.8 = 2.0 m. The inner radius is |1.2 − 0.8| = 0.4 m. A target at r = 1.5 m is reachable. A target at r = 0.2 m is inside the hole, and a target at r = 2.1 m is beyond the fingertip. The arm cannot fix either case by choosing a different elbow.

5. Practice

Try it

How many degrees of freedom does a planar arm with two revolute joints have?

Try it

A planar 2R arm has L1 = 1.0 m and L2 = 0.5 m. Is the point at the base, r = 0, reachable?

Try it

Does specifying the hand position (x, y) uniquely determine the two joint angles?

Try it

What does a sixth joint add to a spatial arm that already has five?

6. Resources

The arm playground is the fastest way to make the vocabulary concrete. Drag the target, switch the elbow branch, and change the link lengths; the workspace shrinks and grows exactly as the inequality predicts. Then read the next lesson to see where the hand goes when you choose the angles.

Next: forward kinematics →

Continue the track

Open the playground for this topic

Arm Playground →

Drag a target. The planar arm solves its own inverse kinematics, and you can switch elbows or change link lengths.

The mathematics behind this topic: Linear algebra.

Site soundtrack