Linearization
A nonlinear state-space system
can be approximated by a linear-time-invariant (LTI) model near an equilibrium point satisfying . Defining perturbations , , , the first-order Taylor expansion gives
where the matrices are the Jacobians of and evaluated at the equilibrium:
The linearized model is valid only near : it captures the first-order response to small perturbations and discards second-order and higher terms. The approximation is accurate as long as the state stays close to the equilibrium; far-from-equilibrium behavior requires the original nonlinear model or a different local linearization.
Linearization is the bridge that lets all of LTI theory — eigenvalues, pole placement, controllability — apply to real, nonlinear systems. For a robot, the standard move is: identify an operating configuration with gravity-compensating torque , linearize the manipulator dynamics, and design a controller for small deviations.
Linearization Is About a Point, Not a Trajectory ) or uses feedback linearization to cancel the nonlinearity exactly. The simple "linearize about equilibrium" approach only works for set-point regulation.
Linearization about an equilibrium produces a single LTI model. For tracking a moving reference, one either re-linearizes continuously along the trajectory (yielding a time-varying linear model
Intuition
Linearization is a multivariable version of replacing a curve by its tangent line. At the equilibrium, and are zero (by construction) and vary smoothly with and . The first-order Taylor expansion captures how small deviations propagate — the curved nonlinear dynamics look straight if you zoom in enough.
The matrices , , , are all Jacobians. This matches the convention of robot Jacobians, which are also Jacobians of a nonlinear map (the forward kinematics). In both cases, the Jacobian tells you how small changes in the input translate to small changes in the output. Control-theory Jacobians take partial derivatives with respect to state and input rather than configuration, but the calculus is identical.
The crucial point is that linearization is a local approximation. A simple pendulum linearized about its downward equilibrium behaves like a harmonic oscillator for small angles, but linearization about the upward (inverted) equilibrium gives a fundamentally different system — unstable, with eigenvalues on both sides of the imaginary axis. Which equilibrium you pick determines the LTI model you get.
Properties
Procedure
(Find the equilibrium) Solve for a fixed-point .
Equilibria are the states where, given a constant input, the system remains at rest. For the pendulum , the equilibria satisfying , are (down, ) and (up, ). A system may have multiple equilibria, each with its own LTI model.
(Compute the Jacobians) , , , , each evaluated at .
The Jacobian captures how small state perturbations feed back into ; captures how input perturbations drive . The output Jacobians and capture how perturbations affect the measured . For physical systems almost always.
(Work in perturbation variables) , , .
The linearized system governs , not directly. Converting back to absolute variables requires adding to the linearized solution. This is straightforward but easy to forget when interpreting simulation results.
Properties of the Jacobian
(Linear map) The Jacobian of a linear function is just .
This is why LTI systems are their own linearization: . For a linear input-affine system , linearization at any equilibrium gives back the same .
(Chain rule) Composition composes Jacobians: if , then .
This is the multivariable chain rule. For cascaded systems (a motor driving a gearbox driving a link), the overall linearization is the product of per-stage Jacobians.
(Symbolic tools) SymPy, MATLAB Symbolic Math Toolbox, Mathematica, and Maple compute Jacobians symbolically.
For anything beyond a 2- or 3-DoF system, computing by hand is error-prone. Symbolic computation is the standard practice; the result is then evaluated numerically at the equilibrium point.
Validity
(Local approximation) The linear model agrees with the nonlinear one to first order in ; errors grow quadratically with distance from equilibrium.
If the nonlinear is Taylor-expanded as , the Hessian term bounds how fast the linear model degrades. Rule of thumb: within of a joint equilibrium the linear model is usually adequate; beyond you probably need the nonlinear model.
(Stability preservation) If the linearization has all eigenvalues in the open LHP, the nonlinear system is locally asymptotically stable at the equilibrium (Lyapunov’s first method).
Linearization provides a rigorous stability test: negative real parts imply local stability of the nonlinear system. Eigenvalues with zero real parts are inconclusive — the nonlinear terms determine stability there.
Examples
Linearizing a Pendulum
The pendulum has state . Linearize about the downward equilibrium .
Solution .
. At : .
.
Eigenvalues of : — purely imaginary, so small oscillations about the downward equilibrium are undamped sinusoids at the pendulum’s natural frequency. This matches the expected behavior of a frictionless pendulum.
Inverted Pendulum
Repeat the linearization at the upward equilibrium .
Solution : , so .
At
Eigenvalues: — one positive, one negative. The system is an unstable saddle: small angular deviations grow exponentially (the pendulum falls). Stabilizing the inverted equilibrium requires feedback — see 7.6. State Feedback.
Linearizing Manipulator Dynamics
Linearize the 1-DoF revolute link about equilibrium .
Solution (gravity compensation).
At equilibrium:
State , input . .
.
For (arm pointing downward from horizontal), so the entry is negative: stable oscillatory dynamics. For (arm horizontal), — marginally stable, unstable under nonlinear terms. For (arm pointing up), , : unstable equilibrium.
See Also
- 7.1. State-Space Representation — the nonlinear form being linearized
- 7.3. Solving LTI Systems — how to simulate the resulting linear model
- 7.5. Stability — eigenvalue-based stability criterion, applied to the linearized
- 5.2. Robot Jacobians — a related Jacobian: of forward kinematics rather than dynamics