BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Decoupling linear systems

A third language for x′ = Ax, used by many engineers: find new variables u, v in which the system decouples into u′ = k₁u, v′ = k₂v, two separate first-order equations. For an old ice-cube tray, two compartments of cross-sections 1 and 2 joined by a hole, x′ = −2x + 2y, y′ = x − y; physical insight suggests u = x + 2y, the total water, and v = x − y, the height difference, which give u′ = 0 and v′ = −3v. In general a system can be decoupled when its eigenvalues are real and complete (for example when A is real and symmetric): take as new basis the eigenvectors, x = Eu with E the matrix of eigenvectors. Because AE = EΛ, with Λ the diagonal matrix of eigenvalues, the system becomes u′ = Λu. The new variables are u = E⁻¹x, the decoupling matrix D = E⁻¹.

You need this first

Full reading path (42 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
  20. Complex numbers and complex exponentials (18.03)
  21. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  22. Combining sine and cosine; models for first-order linear equations (18.03)
  23. Second-order linear equations with constant coefficients (18.03)
  24. Complex characteristic roots and damped oscillations (18.03)
  25. Linear operators, the Wronskian and normalized solutions (18.03)
  26. Inhomogeneous equations, particular solutions and stability (18.03)
  27. Particular solutions: the exponential input theorem (18.03)
  28. Resonance and beats (18.03)
  29. Introduction to Fourier series (18.03)
  30. Fourier series: even and odd functions, convergence and other periods (18.03)
  31. Particular solutions via Fourier series, and how we hear (18.03)
  32. Introduction to the Laplace transform (18.03)
  33. Laplace transforms of derivatives and solving initial value problems (18.03)
  34. The convolution formula (18.03)
  35. The unit step and discontinuous inputs (18.03)
  36. Impulse inputs, the delta function and the weight function (18.03)
  37. Introduction to first-order systems (18.03)
  38. Linear systems with constant coefficients: eigenvalues and eigenvectors (18.03)
  39. Repeated and complex eigenvalues (18.03)
  40. Sketching the solutions of 2 × 2 linear systems (18.03)
  41. Fundamental matrices and inhomogeneous systems (18.03)
  42. The matrix exponential (18.03)
On this page · 4 sections
  1. What decoupling means
  2. The ice-cube tray
  3. The general method
  4. Summary

So far there are two ways to solve the homogeneous system x⃗ ′=Ax⃗\vec x\,' = A\vec x: eigenvalues and eigenvectors, and the "royal road" x⃗=eAtx⃗0\vec x = e^{At}\vec x_0, which in practice needs a fundamental matrix anyway (transcript, p. 1). This lecture adds a third, decoupling, which saves no work and is a change of language; it is taught because engineering departments asked for it, since many engineers and scientists talk about systems only in this way (p. 1). Everything works for n×nn \times n systems, though 2×22 \times 2 is enough for calculations (p. 1). It continues the matrix exponential.

What decoupling means#

Introduce new variables by a linear change of variables (transcript, p. 1):

Linear change of variables
u=ax+by,v=cx+dyu = ax + by, \qquad v = cx + dy
In words

u equals a x plus b y, v equals c x plus d y

chosen so that the system becomes decoupled (p. 1):

Decoupled system
u′=k1u,v′=k2vu' = k_1u, \qquad v' = k_2v
In words

u prime equals k sub 1 u, v prime equals k sub 2 v

That is not really a system at all: two first-order equations side by side, solved at once by u=c1ek1tu = c_1e^{k_1t}, v=c2ek2tv = c_2e^{k_2t} (p. 1). In a coupled system both variables appear on both right-hand sides. New variables that decouple a system usually have a physical meaning, which gives insight (p. 1).

The ice-cube tray#

An old metal ice-cube tray has two compartments joined by a hole at the bottom, the second with twice the cross-section of the first (transcript, p. 1). Let xx and yy be the water heights. The flow through the hole is proportional to the height difference, which sets the pressure there (pp. 1–2). The rate of flow into the second compartment is the rate of change of 2y2y, because of its larger area (p. 2). With the constant chosen as 2 (p. 2):

Ice-cube tray
x′=−2x+2y,y′=x−yx' = -2x + 2y, \qquad y' = x - y
In words

x prime equals minus 2 x plus 2 y, y prime equals x minus y

Decoupling by insight (p. 2). Two quantities matter more than the heights: the height difference v=x−yv = x - y, which drives the flow, and the total water u=x+2yu = x + 2y, which cannot change, since none enters or leaves. Substituting (p. 2):

The decoupled tray
u′=x′+2y′=0,v′=x′−y′=−3(x−y)=−3vu' = x' + 2y' = 0, \qquad v' = x' - y' = -3(x - y) = -3v
In words

u prime equals x prime plus 2 y prime equals 0, v prime equals x prime minus y prime equals minus 3 the quantity x minus y, equals minus 3 v

So u=c1u = c_1 and v=c2e−3tv = c_2e^{-3t} (p. 2). To return to the heights, invert the change of variables (p. 2):

Back to the heights
x=13(u+2v)=13(c1+2c2e−3t),y=13(u−v)=13(c1−c2e−3t)x = \frac{1}{3}(u + 2v) = \frac{1}{3}(c_1 + 2c_2e^{-3t}), \qquad y = \frac{1}{3}(u - v) = \frac{1}{3}(c_1 - c_2e^{-3t})
In words

x equals one third the quantity u plus 2 v, equals one third the quantity c one plus 2 c two e to the power minus 3 t, y equals one third the quantity u minus v, equals one third the quantity c one minus c two e to the power minus 3 t

which is 13c1(1,1)+13c2(2,−1)e−3t\frac{1}{3}c_1(1, 1) + \frac{1}{3}c_2(2, -1)e^{-3t}: the eigenvectors appear (p. 2).

The tray started with x=0x = 0 and y=3y = 3, computed from the decoupled solution with u=6u = 6 and v=−3e−3tv = -3e^{-3t}: the heights meet at the common level u/3=2u/3 = 2.

The general method#

A system can be decoupled only if the eigenvalues are real and complete: no complex eigenvalues and no defective ones; this holds in particular when AA is real and symmetric, as in many equilibrium problems (transcript, p. 3). Write the change of variables as u⃗=Dx⃗\vec u = D\vec x, with the decoupling matrix DD (p. 3). But for substituting, what is needed is the old variables in terms of the new ones, x⃗=Eu⃗\vec x = E\vec u with E=D−1E = D^{-1}, and the right choice is (p. 3)

Matrix of eigenvectors
E=(α⃗1α⃗2)E = \begin{pmatrix} \vec\alpha_1 & \vec\alpha_2 \end{pmatrix}
In words

capital E equals vector alpha one vector alpha two

Choosing new variables amounts to choosing new basis vectors in place of i⃗\vec i and j⃗\vec j, and the only vectors the matrix singles out are its eigenvectors. Indeed u=1u = 1, v=0v = 0 gives x⃗=α⃗1\vec x = \vec\alpha_1, and u=0u = 0, v=1v = 1 gives α⃗2\vec\alpha_2 (p. 3).

Another definition of eigenvectors (pp. 3–4). Most of the world writes the eigenvector equation as

Eigenvector equation
Aα⃗1=λ1α⃗1A\vec\alpha_1 = \lambda_1\vec\alpha_1
In words

capital A vector alpha one equals lambda one vector alpha one

The geometric view: AA is a linear transformation of the plane, and an eigenvector is a vector it keeps on the same line, stretching or shrinking it by the factor λ\lambda, and reversing it if λ\lambda is negative (pp. 3–4). Applied to both columns of EE (p. 4):

AE = EΛ
AE=(Aα⃗1Aα⃗2)=(λ1α⃗1λ2α⃗2)=E(λ100λ2)AE = \begin{pmatrix} A\vec\alpha_1 & A\vec\alpha_2 \end{pmatrix} = \begin{pmatrix} \lambda_1\vec\alpha_1 & \lambda_2\vec\alpha_2 \end{pmatrix} = E\begin{pmatrix} \lambda_1 & 0 \\ 0 & \lambda_2 \end{pmatrix}
In words

capital A capital E equals capital A vector alpha one capital A vector alpha two equals lambda one vector alpha one lambda two vector alpha two equals capital E lambda one 0; 0 lambda two

The substitution (p. 4). With Λ\Lambda the diagonal matrix of the eigenvalues, put x⃗=Eu⃗\vec x = E\vec u into x⃗ ′=Ax⃗\vec x\,' = A\vec x: Eu⃗ ′=AEu⃗=EΛu⃗E\vec u\,' = AE\vec u = E\Lambda\vec u, and multiplying by E−1E^{-1},

Decoupled form
u⃗ ′=(λ100λ2)u⃗:u′=λ1u,v′=λ2v\vec u\,' = \begin{pmatrix} \lambda_1 & 0 \\ 0 & \lambda_2 \end{pmatrix}\vec u: \qquad u' = \lambda_1u, \quad v' = \lambda_2v
In words

vector u prime equals lambda one 0; 0 lambda two vector u : u prime equals lambda one u, v prime equals lambda two v

decoupled, with the eigenvalues as constants: u=c1eλ1tu = c_1e^{\lambda_1t}, v=c2eλ2tv = c_2e^{\lambda_2t} (p. 4).

The tray again (p. 4). A=(−221−1)A = \begin{pmatrix} -2 & 2 \\ 1 & -1 \end{pmatrix} has trace −3-3 and determinant 0, so λ2+3λ=0\lambda^2 + 3\lambda = 0: λ=0\lambda = 0 with α⃗1=(1,1)\vec\alpha_1 = (1, 1), and λ=−3\lambda = -3 with α⃗2=(−2,1)\vec\alpha_2 = (-2, 1), the negative of the (2,−1)(2, -1) found by insight; the sign of an eigenvector does not matter. Then E=(1−211)E = \begin{pmatrix} 1 & -2 \\ 1 & 1 \end{pmatrix}, determinant 3, and (p. 4)

Decoupling matrix of the tray
D=E−1=13(12−11),u=x+2y3,v=−x+y3D = E^{-1} = \frac{1}{3}\begin{pmatrix} 1 & 2 \\ -1 & 1 \end{pmatrix}, \qquad u = \frac{x + 2y}{3}, \quad v = \frac{-x + y}{3}
In words

capital D equals capital E to the power minus 1 equals one third 1 2; minus 1 1, u equals the quantity x plus 2 y, all over 3, v equals the quantity minus x plus y, all over 3

the same variables as found by insight, up to the factors 13\frac{1}{3} and −13-\frac{1}{3}, which do not change the equations u′=0u' = 0, v′=−3vv' = -3v (p. 4).

Worked example

Decoupling a symmetric system

Decouple x′=3x+yx' = 3x + y, y′=x+3yy' = x + 3y, and solve it with x(0)=3x(0) = 3, y(0)=1y(0) = 1.

Eigenvalues and eigenvectors

The matrix is symmetric, so decoupling is possible. Trace 6, determinant 8: λ2−6λ+8=(λ−4)(λ−2)\lambda^2 - 6\lambda + 8 = (\lambda - 4)(\lambda - 2). For 4: (1,1)(1, 1); for 2: (1,−1)(1, -1).

New variables

E=(111−1)E = \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}, determinant −2-2, so E−1=12(111−1)E^{-1} = \frac{1}{2}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}: u=x+y2u = \frac{x + y}{2}, v=x−y2v = \frac{x - y}{2}, with u′=4uu' = 4u and v′=2vv' = 2v.

Solve and return

u(0)=2u(0) = 2 and v(0)=1v(0) = 1, so u=2e4tu = 2e^{4t}, v=e2tv = e^{2t}. Then x=u+v=2e4t+e2tx = u + v = 2e^{4t} + e^{2t} and y=u−v=2e4t−e2ty = u - v = 2e^{4t} - e^{2t}.

Summary#

  • Decoupling finds variables in which the system becomes u′=k1uu' = k_1u, v′=k2vv' = k_2v; they often have physical meaning (total water, height difference).
  • It is possible when the eigenvalues are real and complete, for example for real symmetric AA.
  • Take x⃗=Eu⃗\vec x = E\vec u with the eigenvectors as columns; AE=EΛAE = E\Lambda gives u⃗ ′=Λu⃗\vec u\,' = \Lambda\vec u.
  • The new variables are u⃗=E−1x⃗\vec u = E^{-1}\vec x; the constants of the decoupled equations are the eigenvalues.

Symbols on this page

Show the 34 symbols used here
α\alpha alpha.
An eigenvector. Say it: “alpha”.
λ\lambda lambda.
An eigenvalue. Say it: “lambda”.
Λ\Lambda capital lambda.
The diagonal matrix of the eigenvalues. Say it: “capital lambda”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
aa a.
A coefficient of the change of variables. Say it: “a”.
cc c.
A coefficient of the change of variables. Say it: “c”.
xx x.
The water height in the first compartment (area 1); as a vector, (x, y). Say it: “x”.
yy y.
The water height in the second compartment (area 2). Say it: “y”.
tt t.
Time. Say it: “t”.
dd d.
A coefficient of the change of variables. Say it: “d”.
ii i.
The first standard basis vector (1, 0). Say it: “i”.
jj j.
The second standard basis vector (0, 1). Say it: “j”.
nn n.
The size of an n × n system. Say it: “n”.
ee e.
Euler's number, 2.718… Say it: “e”.
vv v.
The second new variable; for the tray, the height difference x − y. Say it: “v”.
DD D.
The decoupling matrix D = E⁻¹: u = Dx. Say it: “capital D”.
AA A.
The matrix of the system. Say it: “capital A”.
bb b.
A coefficient of the change of variables. Say it: “b”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
x0x_{0} x nought.
The initial value vector. Say it: “x nought”.
uu u.
The first new variable; for the tray, the total amount of water x + 2y. Say it: “u”.
EE E.
The matrix whose columns are the eigenvectors: x = Eu. Say it: “capital E”.
x′x' x prime.
The derivative of x. Say it: “x prime”.
k1k_{1} first wavevector component.
The constant of the first decoupled equation. Say it: “k sub 1”.
k2k_{2} second wavevector component.
The constant of the second decoupled equation. Say it: “k sub 2”.
u′u' u prime.
The derivative of u. Say it: “u prime”.
v′v' v prime.
The derivative of v. Say it: “v prime”.
c1c_{1} c one.
The first arbitrary constant. Say it: “c one”.
c2c_{2} c two.
The second arbitrary constant. Say it: “c two”.
α1\alpha_{1} alpha one.
The first eigenvector. Say it: “alpha one”.
α2\alpha_{2} alpha two.
The second eigenvector. Say it: “alpha two”.
λ1\lambda_{1} lambda one.
The first eigenvalue. Say it: “lambda one”.
λ2\lambda_{2} lambda two.
The second eigenvalue. Say it: “lambda two”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 27 words used here

New here

decoupling.
Rewriting a set of linked equations in new variables so that each equation contains only one unknown and can be solved alone.

Also used

eigenvalue.
A number λ for which a matrix turns some non-zero vector into λ times that vector, only stretching or shrinking it. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
eigenvector.
A non-zero vector that a matrix only stretches or shrinks without turning: multiplying it by the matrix gives a number times the same vector. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
fundamental matrix.
A matrix whose columns are independent solutions of a linear system, so every solution is it times a constant vector. Explained in Fundamental matrices and inhomogeneous systems.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
matrix exponential.
The matrix e^(At), defined by the exponential series with a matrix in place of a number; it solves x′ = Ax. Explained in The matrix exponential.
linear.
The property that sums and multiples of solutions are again solutions, so the responses to separate inputs simply add. Explained in First-order linear equations and integrating factors.
change of variables.
Rewriting a problem in new variables suited to it; in an integral this needs a factor, the Jacobian, for how areas or volumes stretch. Explained in Change of variables in double integrals.
cross section.
The flat shape or area obtained by cutting through a solid, usually at right angles to its length. Explained in More max–min, and related rates.
proportional.
Of two quantities: always in the same ratio, so that doubling one doubles the other. Explained in Graphs, straight lines and slope.
pressure.
The force pushing on a surface divided by the area of the surface, so the push on each square metre. Explained in Density and pressure.
rate of change.
How fast one quantity changes compared with another, often time: the change in the first divided by the change in the second. Explained in Rates of change and area under a graph.
complete.
Of an eigenvalue repeated k times: having k independent eigenvectors. A matrix is complete when all its eigenvalues are. Explained in Repeated and complex eigenvalues.
defective.
Of a repeated eigenvalue: having fewer independent eigenvectors than the number of times it is repeated; also called incomplete. Explained in Repeated and complex eigenvalues.
symmetric.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
equilibrium.
A state that does not change by itself, because the influences acting on it balance. Explained in Newton's first law: inertia.
matrix.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
basis.
A set of independent vectors from which every vector in a space can be built, in exactly one way, as a combination. Explained in Independence, basis and dimension.
vector.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
diagonal.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
trace.
The sum of the numbers on the main diagonal of a square matrix; it equals the sum of the eigenvalues. Explained in Linear systems with constant coefficients: eigenvalues and eigenvectors.
determinant.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.

Academic

homogeneous.
Of a linear equation: with zero on the right-hand side, so that zero is a solution; its solutions form the homogeneous solution.
in practice.
In reality, as things are actually done or measured, rather than in theory.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.
insight.
A clear, deep understanding of how or why something works.
singles out.
Picks out one thing as special among many.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Check your understanding

  1. When can x⃗′=Ax⃗\vec x' = A\vec x be decoupled?
  2. In the substitution x⃗=Eu⃗\vec x = E\vec u that decouples the system, EE is…
  3. For the ice-cube tray, why is u=x+2yu = x + 2y constant?
0 of 3 answered

Flashcards

1 / 3