Inverse kinematics
425 words ยท 3 min read ยท 2 sources
Inverse kinematics is the math a robot uses to figure out which joint angles will put its hand exactly where you want it. It's the difference between "move forward" and "touch this specific point."
The concept concept: Inverse kinematics is the math a robot uses
Difficulty 3/5 ยท ClassroomInverse kinematics is the math a robot uses to figure out which joint angles will put its hand (or end-effector) exactly where you want it. It's the difference between "move forward" and "touch this specific point in 3D space."
๐ก Think of it likeโฆ
Think of it like a household object that does the same job โ the underlying idea is the same, just adapted for robots.
๐ฎ๐ณ In India
IIT Madras-built robot arms used in pharma packaging use IK solvers to pick vials at angles, no matter where the conveyor places them.
Why it matters
Without inverse kinematics, many concept systems in robotics simply couldn't work.
๐คฏ For a 6-axis robot arm, the inverse-kinematics solver often has 16 mathematically valid solutions โ the controller has to pick the safest one.
๐ฏ Quick challenge
What is the opposite of inverse kinematics?
Inverse kinematics is the math a robot uses to figure out which joint angles will put its hand (or end-effector) exactly where you want it. It's the difference between "move forward" and "touch this specific point in 3D space."
The simple case: forward kinematics
If you know all the joint angles of a robotic arm, calculating where the hand ends up is straightforward โ just add up the rotations and translations. That's forward kinematics: angles in, position out. Computers can do this in microseconds, even for arms with seven joints.
The hard case: inverse kinematics
But what we actually want is the opposite: given a target position for the hand, what joint angles get us there? That's inverse kinematics (IK). And it's hard, for three reasons:
-
Multiple solutions. For most arms, there's more than one way to reach the same point. Your own arm: you can touch your nose with your elbow up or your elbow down. Two valid solutions. A 7-joint arm has roughly infinite solutions for most targets.
-
No solutions. Some points are unreachable (out of arm length, or blocked by the body). IK has to detect this and give a sensible failure.
-
The math is nonlinear. Forward kinematics is a sequence of matrix multiplications. IK is solving for the angles inside those matrices โ a much harder algebraic problem.
How robots actually solve it
Analytical IK โ for simple arms (up to 6 joints, no funny geometry), there's a closed-form algebraic solution. Compute it in microseconds.
Numerical IK โ for complex arms (7+ joints, humanoid arms, robots with redundancy), the solver iterates: start with a guess, see how far off the hand is, adjust the angles to reduce the error, repeat. Converges in milliseconds.
Neural IK โ newer: train a neural network to learn the inverse mapping from data. Less accurate but much faster, and handles redundancy gracefully.
Why this matters for humanoids
A humanoid robot has roughly 30 joints. Getting its right hand to a specific point isn't "pick angles for the 6 joints in the arm" โ it's "pick angles for 30 joints such that the whole body keeps its balance, the legs stay where they are, and the left hand doesn't bump into the chest". This is called whole-body IK. It's the math problem that Atlas, Optimus, and Figure 03 are solving 500-1,000 times per second.
The simplest place to see IK in action is a robotic arm with 6 joints. We'll build one in the Wire 06 course.
Ask R2 Co-pilot anything you didn't understand about Inverse kinematics. It'll explain it plainly.
Learn this in the Academy
๐ฅF-02: Robot Manipulation with MoveIt2
Hands-on lesson ยท Forge track
Keep going
Atlas (Boston Dynamics)
Atlas is Boston Dynamics' bipedal humanoid robot โ the most acrobatic robot ever built, and now an electric maโฆ
RobotOptimus (Tesla)
Optimus is the humanoid robot Tesla is building to do general-purpose work โ in their factories first, and eveโฆ
ConceptServo motor
A servo motor is a small motor that knows its own angle โ you tell it where to point, and it goes there and hoโฆ
Last updated ยท 2026-05-19
Community discussion
0 questions & insightsLoading discussionโฆ
Spotted something off? Report an error โ