Chapter 23

Linear Differential Equations

[17/88%]
Show
LaTeX
Problem 23.1.1

Solve the initial value problem of dx→/dt=Ax→d\overrightarrow {x}/dt = A\overrightarrow {x}, where

A=(0110). A = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} .
?
Problem 23.1.2
?
(i)

Solve the initial value problem of dx→/dt=Ax→d\overrightarrow {x}/dt = A\overrightarrow {x}, where

A=(ac0b),a,b,c∈R. A = \begin{pmatrix} a & c \\ 0 & b \end{pmatrix}, \quad a, b, c \in \mathbb {R} .
(ii)

Let

A=(1101). A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} .

Calculate exp⁡(tA)\exp (tA), where t∈Rt \in \mathbb {R}. Find the solution of the initial value problem of the differential equation

(du1/dtdu2/dt)=A(u1u2) \begin{pmatrix} du_{1}/dt \\ du_{2}/dt \end{pmatrix} = A \begin{pmatrix} u_{1} \\ u_{2} \end{pmatrix}

with the initial conditions u1(t=0)=u10u_{1}(t=0) = u_{10}, u2(t=0)=u20u_{2}(t=0) = u_{20}. Use the result from (i).

Problem 23.1.3

Show that the nn-th order differential equation

dnxdtn=c0x+c1dxdt+⋯+cn−1dn−1xdtn−1,cj∈R \frac{d^{n}x}{dt^{n}} = c_{0}x + c_{1}\frac{dx}{dt} + \cdots + c_{n-1}\frac{d^{n-1}x}{dt^{n-1}}, \quad c_{j} \in \mathbb {R}

can be written as a system of first-order differential equation.

?
Problem 23.1.4

Let AA, XX, FF be n×nn \times n matrices. Assume that the matrix elements of XX and FF are differentiable functions of tt. Consider the initial-value linear matrix differential equation with an inhomogeneous part

dX(t)dt=AX(t)+F(t),X(t0)=C. \frac{dX(t)}{dt} = AX(t) + F(t), \quad X(t_{0}) = C .

Find the solution of this matrix differential equation.

?
Problem 23.1.5

Let AA, BB, CC, YY be n×nn \times n matrices. We know that AY+YB=CAY + YB = C can be written as

((In⊗A)+(BT⊗In))vec⁡(Y)=vec⁡(C) ((I_{n} \otimes A) + (B^{T} \otimes I_{n}))\operatorname {vec}(Y) = \operatorname {vec}(C)

where ⊗\otimes denotes the Kronecker product. The vec operation is defined as

vec⁡(Y):=(y11,…,yn1,y12,…,yn2,…,y1n,…,ynn)T. \operatorname {vec}(Y) := (y_{11}, \ldots , y_{n1}, y_{12}, \ldots , y_{n2}, \ldots , y_{1n}, \ldots , y_{nn})^{T} .

Apply the vec operation to the matrix differential equation

ddtX(t)=AX(t)+X(t)B \frac{d}{dt}X(t) = AX(t) + X(t)B

where AA, BB are n×nn \times n matrices and the initial matrix X(t=0)≡X(0)X(t=0) \equiv X(0) is given. Find the solution of this differential equation.

?
Problem 23.1.6

The motion of a charge qq in an electromagnetic field is given by

mdv→dt=q(E→+v→×B→) m\frac{d\overrightarrow {v}}{dt} = q(\overrightarrow {E} + \overrightarrow {v} \times \overrightarrow {B})

where mm denotes the mass and v→\overrightarrow {v} the velocity. Assume that

E→=(E1E2E3),B→=(B1B2B3) \overrightarrow {E} = \begin{pmatrix} E_{1} \\ E_{2} \\ E_{3} \end{pmatrix}, \qquad \overrightarrow {B} = \begin{pmatrix} B_{1} \\ B_{2} \\ B_{3} \end{pmatrix}

are constant fields. Find the solution of the initial value problem.

?
Problem 23.1.7

Consider a system of linear ordinary differential equations with periodic coefficients

du→dt=A(t)u→ \frac{d\overrightarrow {u}}{dt} = A(t)\overrightarrow {u}

where A(t)A(t) is an n×nn \times n matrix of periodic functions with a period TT. From Floquet theory we know that any fundamental n×nn \times n matrix Φ(t)\Phi (t), which is defined as a nonsingular matrix satisfying the matrix differential equation

dΦ(t)dt=A(t)Φ(t) \frac{d\Phi (t)}{dt} = A(t)\Phi (t)

can be expressed as

Φ(t)=P(t)exp⁡(tR). \Phi (t) = P(t)\exp (tR) .

Here P(t)P(t) is a nonsingular n×nn \times n matrix of periodic functions with the same period TT, and RR, a constant matrix, whose eigenvalues are called the characteristic exponents of the periodic system. Let

v→(t)=P−1(t)u→(t). \overrightarrow {v}(t) = P^{-1}(t)\overrightarrow {u}(t) .

Show that v→\overrightarrow {v} satisfies the system of linear differential equations with constant coefficients

dv→(t)dt=Rv→(t). \frac{d\overrightarrow {v}(t)}{dt} = R\overrightarrow {v}(t) .
?
Problem 23.1.8

Consider a system of linear ordinary differential equations with periodic coefficients

du→dt=A(t)u→,u→=(u2u2) \frac{d\overrightarrow {u}}{dt} = A(t)\overrightarrow {u}, \qquad \overrightarrow {u} = \begin{pmatrix} u_{2} \\ u_{2} \end{pmatrix}

where A(t)A(t) is a 2×22 \times 2 matrix of periodic functions with period TT. By the classical Floquet theory, any fundamental matrix Φ(t)\Phi (t), which is defined as a nonsingular matrix satisfying the matrix differential equation

dΦdt=A(t)Φ(t) \frac{d\Phi }{dt} = A(t)\Phi (t)

can be expressed as

Φ(t)=P(t)exp⁡(TR). \Phi (t) = P(t)\exp (TR) .

Here P(t)P(t) is nonsingular matrix of periodic functions with the same period TT, and RR, a constant matrix, whose eigenvalues λ1\lambda_{1} and λ2\lambda_{2} are called the characteristic exponents of the periodic system. For a choice of fundamental matrix Φ(t)\Phi (t), we have

exp⁡(TR)=Φ(t0)Φ(t0+T) \exp (TR) = \Phi (t_{0})\Phi (t_{0} + T)

which does not depend on the initial time t0t_{0}. The matrix exp⁡(TR)\exp (TR) is called the monodromy matrix of the periodic system. Calculate

tr⁡(exp⁡(TR)). \operatorname {tr}(\exp (TR)) .
?
Problem 23.1.9

Consider the autonomous system of nonlinear first-order ordinary differential equations

dx1dt=a(x2−x1)=f1(x1,x2,x3)dx2dt=(c−a)x1+cx2−x1x3=f2(x1,x2,x3)dx3dt=−bx3+x1x2=f3(x1,x2,x3) \begin{align} \frac{dx_{1}}{dt} & = a(x_{2} - x_{1}) = f_{1}(x_{1}, x_{2}, x_{3}) \\ \frac{dx_{2}}{dt} & = (c-a)x_{1} + cx_{2} - x_{1}x_{3} = f_{2}(x_{1}, x_{2}, x_{3}) \\ \frac{dx_{3}}{dt} & = -bx_{3} + x_{1}x_{2} = f_{3}(x_{1}, x_{2}, x_{3}) \end{align}

where a>0a > 0, b>0b > 0 and cc are real constants with 2c>a2c > a.

?
(i)

The fixed points are defined as the solutions of the system of equations

f1(x1∗,x2∗,x3∗)=a(x2∗−x1∗)=0f2(x1∗,x2∗,x3∗)=(c−a)x1∗+cx2∗−x1∗x3∗=0f3(x1∗,x2∗,x3∗)=−bx3∗+x1∗x2∗=0. \begin{align} f_{1}(x_{1}^{*}, x_{2}^{*}, x_{3}^{*}) & = a(x_{2}^{*} - x_{1}^{*}) = 0 \\ f_{2}(x_{1}^{*}, x_{2}^{*}, x_{3}^{*}) & = (c-a)x_{1}^{*} + cx_{2}^{*} - x_{1}^{*}x_{3}^{*} = 0 \\ f_{3}(x_{1}^{*}, x_{2}^{*}, x_{3}^{*}) & = -bx_{3}^{*} + x_{1}^{*}x_{2}^{*} = 0 . \end{align}

Find the fixed points. Obviously (0,0,0)(0,0,0) is a fixed point.

(ii)

The linearized equation (or variational equation) is given by

(dy1/dtdy2/dtdy3/dt)=A(y1y2y3) \begin{pmatrix} dy_{1}/dt \\ dy_{2}/dt \\ dy_{3}/dt \end{pmatrix} = A \begin{pmatrix} y_{1} \\ y_{2} \\ y_{3} \end{pmatrix}

where the 3×33 \times 3 matrix AA is given by

Ax→=x→∗=(∂f1/∂x1∂f1/∂x2∂f1/∂x3∂f2/∂x1∂f2/∂x2∂f2/∂x3∂f3/∂x1∂f3/∂x2∂f3/∂x3)x→=x→∗ A_{\overrightarrow {x}=\overrightarrow {x}^{*}} = \begin{pmatrix} \partial f_{1}/\partial x_{1} & \partial f_{1}/\partial x_{2} & \partial f_{1}/\partial x_{3} \\ \partial f_{2}/\partial x_{1} & \partial f_{2}/\partial x_{2} & \partial f_{2}/\partial x_{3} \\ \partial f_{3}/\partial x_{1} & \partial f_{3}/\partial x_{2} & \partial f_{3}/\partial x_{3} \end{pmatrix}_{\overrightarrow {x}=\overrightarrow {x}^{*}}

where x→=x→∗\overrightarrow {x} = \overrightarrow {x}^{*} indicates to insert one of the fixed points into AA. Calculate AA and insert the first fixed point (0,0,0)(0,0,0). Calculate the eigenvalues of AA. If all eigenvalues have negative real part then the fixed point is stable. Thus study the stability of the fixed point.

Problem 23.1.10

Let AA be an n×nn \times n matrix over R\mathbb {R}. Consider the initial value problem of the system of linear differential equations

du→(t)dt+Au→(t)=g→(t),u→(0)=u→0 \frac{d\overrightarrow {u}(t)}{dt} + A\overrightarrow {u}(t) = \overrightarrow {g}(t), \qquad \overrightarrow {u}(0) = \overrightarrow {u}_{0}

where g→(t)=(g1(t),g2(t),…,gn(t))T\overrightarrow {g}(t) = (g_{1}(t), g_{2}(t), \ldots , g_{n}(t))^{T}. The solution of the initial value problem is

u→(t)=e−tAu→0+∫0te−(t−τ)Ag→(τ) dτ. \overrightarrow {u}(t) = e^{-tA}\overrightarrow {u}_{0} + \int _{0}^{t} e^{-(t-\tau )A}\overrightarrow {g}(\tau )\, d\tau .

Apply it to the 3×33 \times 3 matrices

A=(001010100) A = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0 \end{pmatrix}

with initial values u→0=(1 1 1)T\overrightarrow {u}_{0} = (1 \ 1 \ 1)^{T} and g→(t)=(1 0 1)T\overrightarrow {g}(t) = (1 \ 0 \ 1)^{T}.

Discretize the system with the implicit Euler method with step size hh and h=0.1h = 0.1. One has

(In+hA)u→j=u→j−1+hg→(tj),j=1,…,M (I_{n} + hA)\overrightarrow {u}_{j} = \overrightarrow {u}_{j-1} + h\overrightarrow {g}(t_{j}), \qquad j = 1, \ldots , M

with

(A+hI3)−1=1h2(h+1)−h−1(h(h+1)0−h−10h2−10−h−10h(h2+1)). (A + hI_{3})^{-1} = \frac{1}{h^{2}(h+1) - h - 1} \begin{pmatrix} h(h+1) & 0 & -h-1 \\ 0 & h^{2}-1 & 0 \\ -h-1 & 0 & h(h^{2}+1) \end{pmatrix} .

Compare the two solutions for the matrix AA.

?
Problem 23.1.11

Let LL and KK be two n×nn \times n matrices. Assume that the entries depend on a parameter tt and are differentiable with respect to tt. Assume that K−1(t)K^{-1}(t) exists for all tt. Assume that the time-evolution of LL is given by

L(t)=K(t)L(0)K−1(t). L(t) = K(t)L(0)K^{-1}(t) .
?
(i)

Show that L(t)L(t) satisfies the matrix differential equation

dLdt=[L,B](t) \frac{dL}{dt} = [L, B](t)

where [ , ][\, , \, ] denotes the commutator and

B=−dKdtK−1(t). B = -\frac{dK}{dt}K^{-1}(t) .
(ii)

Show that if L(t)L(t) is hermitian and K(t)K(t) is unitary, then the matrix B(t)B(t) is skew-hermitian.

Problem 23.1.12

Solve the initial value problem for the matrix differential equation

[B,A(ϵ)]=dA(ϵ)dϵ [B, A(\epsilon )] = \frac{dA(\epsilon )}{d\epsilon }

where A(ϵ)A(\epsilon ) and B=σ1B = \sigma_{1} are 2×22 \times 2 matrices.

?
Problem 23.1.13

Let a,b∈Ra, b \in \mathbb {R}. Consider the linear matrix differential equation

d2Xdt2+adXdt+bX=0. \frac{d^{2}X}{dt^{2}} + a\frac{dX}{dt} + bX = 0 .

Find the solution of the initial value problem.

?
Problem 23.1.14

Let AA be an n×nn \times n matrix over R\mathbb {R}. The autonomous system of first-order differential equations du→/dt=Au→d\overrightarrow {u}/dt = A\overrightarrow {u} admits the solution of the initial value problem u→(t)=exp⁡(A)u→(0)\overrightarrow {u}(t) = \exp (A)\overrightarrow {u}(0). Differentiation of the differential equations yields the second-order system

d2u→dt2=Adu→dt=A2u→. \frac{d^{2}\overrightarrow {u}}{dt^{2}} = A\frac{d\overrightarrow {u}}{dt} = A^{2}\overrightarrow {u} .

Thus we can write

du→dt=v→=Au→,dv→dt=A2u→=Av→ \frac{d\overrightarrow {u}}{dt} = \overrightarrow {v} = A\overrightarrow {u}, \qquad \frac{d\overrightarrow {v}}{dt} = A^{2}\overrightarrow {u} = A\overrightarrow {v}

or in matrix form

(du→/dtdv→/dt)=(0nInA20n)(u→(0)v→(0)). \begin{pmatrix} d\overrightarrow {u}/dt \\ d\overrightarrow {v}/dt \end{pmatrix} = \begin{pmatrix} 0_{n} & I_{n} \\ A^{2} & 0_{n} \end{pmatrix} \begin{pmatrix} \overrightarrow {u}(0) \\ \overrightarrow {v}(0) \end{pmatrix} .

Find the solution of the initial value problem. Assume that AA is invertible.

?
Problem 23.1.15
?
(i)

Let u→=(u1,…,un)T\overrightarrow {u} = (u_{1}, \ldots , u_{n})^{T} and AA be an n×nn \times n matrix over R\mathbb {R}. Solve the initial value problem of the system of linear differential equations

du→dt=Au→ \frac{d\overrightarrow {u}}{dt} = A\overrightarrow {u}

using the Laplace transform, where u→(t=0)=u→(0)\overrightarrow {u}(t=0) = \overrightarrow {u}(0). Note that (applying integration by parts)

L(du→/dt)(s)=∫0∞e−stdu→dt dt=e−stu→(t)∣t=0t=∞+s∫0∞e−stu→(t) dt=sU→(s)−u→(0). \mathcal{L}(d\overrightarrow {u}/dt)(s) = \int _{0}^{\infty } e^{-st}\frac{d\overrightarrow {u}}{dt}\, dt = e^{-st}\overrightarrow {u}(t)\Big|_{t=0}^{t=\infty } + s\int _{0}^{\infty } e^{-st}\overrightarrow {u}(t)\, dt = s\overrightarrow {U}(s) - \overrightarrow {u}(0) .
(ii)

Apply it to the 2×22 \times 2 Hadamard matrix

H=12(111−1). H = \frac{1}{\sqrt{2}} \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix} .
Problem 23.2.1

Consider the Lotka-Volterra model

du1dt=f1(u1,u2)=u1−u1u2,du2dt=f2(u1,u2)=−u2+u1u2 \frac{du_{1}}{dt} = f_{1}(u_{1}, u_{2}) = u_{1} - u_{1}u_{2}, \qquad \frac{du_{2}}{dt} = f_{2}(u_{1}, u_{2}) = -u_{2} + u_{1}u_{2}

with the fixed point (u1∗=1,u2∗=1)(u_{1}^{*} = 1, u_{2}^{*} = 1). The linearized equation (variational equation) with

∂f1∂x1=1−u2,∂f1∂x2=−u1,∂f2∂x1=u2,∂f2∂x2=−1+u1 \frac{\partial f_{1}}{\partial x_{1}} = 1 - u_{2}, \quad \frac{\partial f_{1}}{\partial x_{2}} = -u_{1}, \quad \frac{\partial f_{2}}{\partial x_{1}} = u_{2}, \quad \frac{\partial f_{2}}{\partial x_{2}} = -1 + u_{1}

is given by

(dy1/dtdy2/dt)=(0−110)(y1y2). \begin{pmatrix} dy_{1}/dt \\ dy_{2}/dt \end{pmatrix} = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} y_{1} \\ y_{2} \end{pmatrix} .

Solve this system of linear differential equations. First show that the eigenvalues of the 2×22 \times 2 matrix are given by ±i\pm i.

?
Problem 23.2.2

Consider the initial problem of the matrix differential equation

dXdt=A(t)X,X(0)=In \frac{dX}{dt} = A(t)X, \qquad X(0) = I_{n}

where A(t)A(t) is an n×nn \times n matrix which depends smoothly on tt. It is known that the solution of this matrix differential equation can locally be written as

X(t)=exp⁡(Ω(t)) X(t) = \exp (\Omega (t))

where Ω(t)\Omega (t) is obtained as an infinite series

Ω(t)=∑k=1∞Ωk(t). \Omega (t) = \sum _{k=1}^{\infty } \Omega _{k}(t) .

This is the so-called Magnus expansion. Implement this recursion in SymbolicC++ and apply it to

A(t)=(cos⁡(ωt)−sin⁡(ωt)sin⁡(ωt)cos⁡(ωt)) A(t) = \begin{pmatrix} \cos (\omega t) & -\sin (\omega t) \\ \sin (\omega t) & \cos (\omega t) \end{pmatrix}

where ω\omega is a constant frequency.

?