Forced Systems and Variation of Constants

Combine the free state with the accumulated response to a vector input.

Builds on Matrix Exponentials and Repeated Modes

The bigger question: How do coupled variables move together?

On this page

The idea

For x′=Ax+b(t)\mathbf x'=A\mathbf x+\mathbf b(t), input continuously contributes new state. Each contribution then evolves under the homogeneous system. This gives a matrix version of convolution and keeps the initial state separate from forcing.

Visual guide

VISUAL GUIDEA cascade responds in two stages
For x′ = −x + 1 and y′ = x − y, both initially zero, x rises as 1 − e⁻ᵗ. The second state y = 1 − (1 + t)e⁻ᵗ initially has zero slope and lags behind because it is driven by x rather than directly by the step.001.50.330.64.50.961.2tstate
  • First stage x
  • Second stage y
For x′ = −x + 1 and y′ = x − y, both initially zero, x rises as 1 − e⁻ᵗ. The second state y = 1 − (1 + t)e⁻ᵗ initially has zero slope and lags behind because it is driven by x rather than directly by the step.

Method and assumptions

For constant AA, variation of constants gives x(t)=eAtx0+∫0teA(t−τ)b(τ)dτ\mathbf x(t)=e^{At}\mathbf x_0+\int_0^t e^{A(t-\tau)}\mathbf b(\tau)d\tau. Differentiate the expression to verify both the equation and initial data. For constant input and invertible AA, an equilibrium is x∗=−A−1b\mathbf x_*=-A^{-1}\mathbf b.

Worked example: independent driven modes

Let A=diag⁡(−1,−2)A=\operatorname{diag}(-1,-2), b=(1,2)\mathbf b=(1,2) and x0=(0,0)\mathbf x_0=(0,0). Solving each coordinate gives (1−e−t,1−e−2t)(1-e^{-t},1-e^{-2t}). Both approach the equilibrium (1,1)(1,1) at different rates.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

For x′=Ax+g(t), which term accounts for forcing when x(0)=0?

Hint 1 · Find a starting point

Each input at time s must propagate from s to t.

Hint 2 · Take the next step

The propagation factor is eᴬ⁽ᵗ⁻ˢ⁾.

Show the reasoning

Answer: ∫₀ᵗ eᴬ⁽ᵗ⁻ˢ⁾g(s) ds

Variation of constants sums those propagated contributions over 0≤s≤t.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: a coupled cascade

For x′=−x+1,y′=x−yx'=-x+1,y'=x-y with zero initial state, x=1−e−tx=1-e^{-t}. Multiplying the second equation by ete^t gives (ety)′=et−1(e^ty)'=e^t-1, so y=1−(1+t)e−ty=1-(1+t)e^{-t}. The second stage responds more slowly because its input first passes through the first stage.

Interpreting the result

An equilibrium can exist even if it is unstable. Long-time convergence requires stability of the homogeneous dynamics, not only successful solution of Ax∗+b=0A\mathbf x_*+\mathbf b=0.

Practice

  1. Find the equilibrium of x′=−2x+6x'=-2x+6.
  2. Find the equilibrium of x′=x+1x'=x+1 and assess it.
  3. What happens to the forcing integral at t=0t=0?
Show worked solutions
  1. x∗=3x_*=3, attracting.
  2. x∗=−1x_*=-1, unstable because the homogeneous mode is ete^t.
  3. Its integration interval is empty, so it is zero and the initial condition remains x0\mathbf x_0.

Further study

MIT OpenCourseWare: Differential Equations provides a full university course with additional lectures and exercises.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →