Linearized system along a trajectory

For a system of first order ODEs x˙=f(x), let γ(t) be an arbitrary reference trajectory that does not necessarily satisfy the differential equation (so γ˙(t)≠f(γ(t))).

Define the error e(t)=x(t)−γ(t). Its derivative is:

e˙(t)=x˙(t)−γ˙(t)=f(γ(t)+e(t))−γ˙(t)

Expanding f in a first-order Taylor series around γ(t):

f(γ(t)+e(t))≈f(γ(t))+dfγ(t)e(t)

Substituting this back gives:

e˙(t)=M(t)e(t)+d(t)

where:

1. If γ(t) is a solution

Then we have d(t)=0, and

e˙(t)=M(t)e(t)

is called the linearized system, or the variational equation. Its coefficient matrix M(t)=dfγ(t) is the Jacobian of the vector field, not of the flow: see Jacobian of the flow.

2. What Happens When γ(t) Is Not a Solution?

Because d(t)≠0, the error system is affine/forced rather than homogeneous:

3. Example: linearizing along a solution curve

Consider the 2D autonomous nonlinear system:

(x˙1x˙2)=(x1x12+x2)

Step 1: Define the Reference Trajectory

To linearize along a trajectory, first select a known nominal solution γ(t)=(γ1(t)γ2(t)).

Given the initial condition γ(0)=(11), solve the nonlinear equations:

  1. γ˙1=γ1⟹γ1(t)=exp⁡(t)
  2. γ˙2−γ2=(exp⁡(t))2=exp⁡(2t)⟹γ2(t)=exp⁡(2t)

The reference trajectory moving through state space is:

γ(t)=(exp⁡(t)exp⁡(2t))

Step 2: Compute the Time-Varying Jacobian M(t)

Calculate the general Jacobian matrix dfx for f(x)=(x1x12+x2):

dfx=(∂f1∂x1∂f1∂x2∂f2∂x1∂f2∂x2)=(102x11)

Evaluating dfx along the reference trajectory γ(t) yields the linear time-varying system matrix M(t):

M(t)=dfγ(t)=(102exp⁡(t)1)

Step 3: Formulate and Solve the Linearized Error System

Let e(t)=x(t)−γ(t)=(e1(t)e2(t)) represent a small tracking perturbation. The linearized error dynamics are given by e˙(t)=M(t)e(t):

(e˙1e˙2)=(102exp⁡(t)1)(e1e2)

Suppose the system is given a small initial displacement along x1: e(0)=(ϵ0).

  1. Solve for e1(t):
e˙1=e1⟹e1(t)=ϵexp⁡(t)
  1. Solve for e2(t):
e˙2=2exp⁡(t)(ϵexp⁡(t))+e2=2ϵexp⁡(2t)+e2

Solving this linear non-homogeneous differential equation with initial condition e2(0)=0:

e2(t)=2ϵexp⁡(2t)−2ϵexp⁡(t)

The linearized approximation predicts the perturbed trajectory as:

xlinearized(t)=γ(t)+e(t)=(exp⁡(t)+ϵexp⁡(t)exp⁡(2t)+2ϵexp⁡(2t)−2ϵexp⁡(t))

Step 4: Compare Linearized Prediction to True Nonlinear Trajectory

Solving the full nonlinear system with perturbed initial conditions x(0)=(1+ϵ1) gives the exact solution:

xexact(t)=((1+ϵ)exp⁡(t)(1+2ϵ+ϵ2)exp⁡(2t)−(2ϵ+ϵ2)exp⁡(t))

Subtracting the reference trajectory γ(t) yields the exact error:

eexact(t)=(ϵexp⁡(t)(2ϵ+ϵ2)exp⁡(2t)−(2ϵ+ϵ2)exp⁡(t))

Comparing the linearized prediction to the true error:

eexact(t)−elinearized(t)=(0ϵ2(exp⁡(2t)−exp⁡(t)))=O(ϵ2)

The linearized system along the reference trajectory successfully captures all primary linear dynamics (O(ϵ)), leaving an approximation error proportional only to ϵ2.

4. Example: Linearizing Along a Non-Solution Trajectory

Consider the same nonlinear autonomous system:

(x˙1x˙2)=(x1x12+x2)

Step 1: Define the Reference Trajectory and Exact Solution

x(t)=(exp⁡(t)exp⁡(2t)) γ(t)=(1+t21+t2)

Since γ˙(t)=(2t2t)≠f(γ(t)), this curve is not a trajectory of the system.

Step 2: Calculate System Matrices M(t) and Defect Vector d(t)

  1. Jacobian M(t)=dfγ(t):
M(t)=(102γ11)=(102(1+t2)1)
  1. Defect Vector d(t)=f(γ(t))−γ˙(t):
d(t)=(1+t2(1+t2)2+(1+t2))−(2t2t)=(t2−2t+1t4+3t2−2t+2)

Step 3: Solve the Linearized Error System e˙(t)=M(t)e(t)+d(t)

Since x(0)=γ(0), the initial error is e(0)=(00).

1. First Component e1(t)

e˙1=e1+(t2−2t+1),e1(0)=0

Using an integrating factor exp⁡(−t):

e1(t)=exp⁡(t)−t2−1

2. Second Component e2(t)

e˙2=2(1+t2)e1(t)+e2+(t4+3t2−2t+2),e2(0)=0

Substituting e1(t)=exp⁡(t)−t2−1:

e˙2−e2=2(1+t2)(exp⁡(t)−t2−1)+t4+3t2−2t+2=2(1+t2)exp⁡(t)−t4+t2−2t

Solving this linear first-order differential equation yields:

e2(t)=(23t3+2t−28)exp⁡(t)+t4+4t3+13t2+28t+28

Step 4: Construct the Approximated Trajectory

Combining xapprox(t)=γ(t)+e(t):

xapprox(t)=(1+t21+t2)+(exp⁡(t)−t2−1(23t3+2t−28)exp⁡(t)+t4+4t3+13t2+28t+28)

Simplifying each component:

xapprox(t)=(exp⁡(t)(23t3+2t−28)exp⁡(t)+t4+4t3+14t2+28t+29)

Step 5: Comparison of Exact x(t) vs. Approximated γ(t)+e(t)

Trajectory Component Exact Solution x(t) Approximated Solution xapprox​(t)
First Component (x1) exp⁡(t) exp⁡(t)
Second Component (x2) exp⁡(2t) (23t3+2t−28)exp⁡(t)+t4+4t3+14t2+28t+29

Key Analytical Insights

  1. Exact Agreement in x1(t):

    Because the first state equation x˙1=x1 is purely linear, the linearized error equation recovers the exact solution x1(t)=exp⁡(t) for all t.

  2. Local Accuracy Around t=0:

    Expanding both x2(t) and x2,approx(t) in a Taylor series around t=0:

    • Exact: x2(t)=exp⁡(2t)=1+2t+2t2+43t3+O(t4)

    • Approximated: x2,approx(t)=1+2t+2t2+0t3+O(t4)

    The approximation matches the exact solution up to order O(t2). The residual error for small times is x(t)−xapprox(t)=(043t3+O(t4)).

  3. Breakdown Over Time: Because the reference trajectory γ(t) is not a valid solution curve (d(t)≠0), the forcing term continuously injects artificial error dynamics. As t grows, exp⁡(2t) dominates the exact solution, whereas the linear approximation grows like t3exp⁡(t), causing rapid divergence for larger t.

5. Error equation in an alternative coframe

The error system above is written in canonical coordinates. To express it in a coframe chosen along the trajectory γ(t), see error equation in an alternative coframe.