Salta al contenuto
Note per Studenti Linear Differential Equations and Systems Report

Linear Differential Equations and Systems

In questa pagina 8

Prerequisite: Existence and Uniqueness for the Cauchy ProblemFor y' = f(t, y), y(t0) = y0, Peano's theorem gives local existence when f is continuous (not uniqueness: y' = sqrt|y|), Cauchy-Lipschitz gives local existence and uniqueness when f is also Lipschitz in y (it suffices that f and df/dy are continuous), solutions may blow up in finite time (y' = y^2), global existence holds when f is Lipschitz on the whole strip, and an equation of order n reduces to a first-order system.Existence and Uniqueness for the Cauchy Problem →; eigenvalues and eigenvectors from linear algebra. Related: First-Order Equations - Separable and Reducible TypesSeparable equations y' = h(t) g(y) are solved by finding the stationary solutions (zeros of g) and separating variables; homogeneous equations y' = f(y/t), equations y' = f(at + by + c) and Bernoulli equations reduce to separable or linear ones by a substitution, and in every case the stationary solutions and the interval of existence must be checked.First-Order Equations - Separable and Reducible Types →.

Systems arise when several quantities influence each other: two tanks exchanging liquid, currents in two coupled loops of a circuit, position and velocity of an oscillator.

Variation of constants for second-order equations

For y′′+a(t)y′+b(t)y=f(t)y''+a(t)y'+b(t)y=f(t) the general integral is y=C1y1+C2y2+ypy=C_1y_1+C_2y_2+y_p, where y1,y2y_1,y_2 are independent solutions of the homogeneous equation and ypy_p a particular solution. The method of variation of constants (Lagrange) finds ypy_p even when ff is not compatible with the method of undetermined coefficients (e.g. tan⁡t\tan t, 1t\frac1t) and when a,ba,b are not constant, provided y1,y2y_1,y_2 are known.

Seek yp=C1(t)y1+C2(t)y2y_p=C_1(t)y_1+C_2(t)y_2. Then yp′=C1y1′+C2y2′+(C1′y1+C2′y2)y_p'=C_1y_1'+C_2y_2'+(C_1'y_1+C_2'y_2). There are two unknown functions but one equation, so one more condition may be imposed; choose it so that yp′y_p' contains no Ci′C_i': C1′y1+C2′y2=0.C_1'y_1+C_2'y_2=0. Then yp′′=C1y1′′+C2y2′′+C1′y1′+C2′y2′y_p''=C_1y_1''+C_2y_2''+C_1'y_1'+C_2'y_2', and substituting, the terms with C1,C2C_1,C_2 vanish since y1,y2y_1,y_2 solve the homogeneous equation; what is left is C1′y1′+C2′y2′=fC_1'y_1'+C_2'y_2'=f: {C1′y1+C2′y2=0C1′y1′+C2′y2′=f(t)\begin{cases}C_1'y_1+C_2'y_2=0\\C_1'y_1'+C_2'y_2'=f(t)\end{cases} The determinant of the coefficient matrix is the Wronskiandeterminant of the matrix formed by y1, y2 and their derivatives W=y1y2′−y2y1′≠0W=y_1y_2'-y_2y_1'\ne0 (independence), so the system has a unique solution. By Cramer: C1′=−y2fW,C2′=y1fW.C_1'=-\frac{y_2f}W,\qquad C_2'=\frac{y_1f}W. Any primitive will do: added constants only add a homogeneous solution, already in the general integral. Example: y′′−y=ety''-y=e^t, y1=ety_1=e^t, y2=e−ty_2=e^{-t}, W=−2W=-2: C1′=12C_1'=\frac12, C2′=−e2t2C_2'=-\frac{e^{2t}}2, yp=t2et−14ety_p=\frac t2e^t-\frac14e^t.

Integral formula. With primitives vanishing at t0t_0: yp(t)=∫t0ty1(s)y2(t)−y1(t)y2(s)W(s)f(s) dsy_p(t)=\int_{t_0}^t\frac{y_1(s)y_2(t)-y_1(t)y_2(s)}{W(s)}f(s)\,ds, the solution with yp(t0)=yp′(t0)=0y_p(t_0)=y_p'(t_0)=0. For y′′+y=fy''+y=f (W=1W=1): yp=∫t0tsin⁡(t−s)f(s) dsy_p=\int_{t_0}^t\sin(t-s)f(s)\,ds; with f=1f=1, t0=0t_0=0: yp=1−cos⁡ty_p=1-\cos t. The factor multiplying f(s)f(s) is the Green function: it depends only on the homogeneous equation.

Worked example: y′′+y=1sin⁡ty''+y=\frac1{\sin t} on (0,π)(0,\pi). Homogeneous: λ=±i\lambda=\pm i, y1=cos⁡ty_1=\cos t, y2=sin⁡ty_2=\sin t, W=1W=1. Cramer: C1′=−sin⁡t⋅1sin⁡t=−1C_1'=-\sin t\cdot\frac1{\sin t}=-1, C2′=cos⁡tsin⁡tC_2'=\frac{\cos t}{\sin t}; so C1=−tC_1=-t, C2=ln⁡sin⁡tC_2=\ln\sin t (the sine is positive on (0,π)(0,\pi)). yp=−tcos⁡t+sin⁡tln⁡(sin⁡t)y_p=-t\cos t+\sin t\ln(\sin t) and y=C1cos⁡t+C2sin⁡t−tcos⁡t+sin⁡tln⁡(sin⁡t).y=C_1\cos t+C_2\sin t-t\cos t+\sin t\ln(\sin t). The interval is (0,π)(0,\pi) because 1sin⁡t\frac1{\sin t} is undefined at 00 and π\pi. Undetermined coefficients cannot be used here.

Double root: y′′−6y′+9y=e3tty''-6y'+9y=\frac{e^{3t}}t, t>0t>0. λ=3\lambda=3 double: y1=e3ty_1=e^{3t}, y2=te3ty_2=te^{3t}, W=e6tW=e^{6t}. C1′=−1C_1'=-1, C2′=1tC_2'=\frac1t, so yp=−te3t+tln⁡t e3ty_p=-te^{3t}+t\ln t\,e^{3t}; the first term is homogeneous and is absorbed: y=C1e3t+C2te3t+tln⁡t e3ty=C_1e^{3t}+C_2te^{3t}+t\ln t\,e^{3t}.

First order. For y′=a(t)y+b(t)y'=a(t)y+b(t) the homogeneous solutions are CeA(t)Ce^{A(t)}, A′=aA'=a. With yp=C(t)eAy_p=C(t)e^{A}: C′eA+CaeA=aCeA+bC'e^A+Cae^A=aCe^A+b, so C′=e−AbC'=e^{-A}b: the solution formula for first-order linear equations.

Systems: form and existence

A first-order linear system in Rn\mathbb{R}^n is Y′(t)=A(t)Y(t)+B(t),Y'(t)=A(t)Y(t)+B(t), with Y=(y1,…,yn)TY=(y_1,\dots,y_n)^T, A(t)A(t) an n×nn\times n matrix of functions, B(t)B(t) a vector of functions.

Theorem. If A(t),B(t)A(t),B(t) are continuous on an interval II, then for every initial datum Y(t0)=Y0Y(t_0)=Y_0 there is a unique solution defined on the whole of II.

Example: Y′=(01−10)YY'=\begin{pmatrix}0&1\\-1&0\end{pmatrix}Y, Y(0)=(1,0)Y(0)=(1,0), has the unique solution Y=(cos⁡t,−sin⁡t)Y=(\cos t,-\sin t) on R\mathbb{R}. This is the global existence theorem: F(t,Y)=A(t)Y+B(t)F(t,Y)=A(t)Y+B(t) is Lipschitz in YY on each strip [a,b]×Rn[a,b]\times\mathbb{R}^n since ∥A(t)(Y1−Y2)∥≤L∥Y1−Y2∥\|A(t)(Y_1-Y_2)\|\le L\|Y_1-Y_2\| with LL related to the maximum of the entries of AA on [a,b][a,b].

Reduction of an order-nn equation. y(n)+an−1y(n−1)+⋯+a0y=f(t)y^{(n)}+a_{n-1}y^{(n-1)}+\dots+a_0y=f(t) becomes X′=AX+FX'=AX+F with xk=y(k−1)x_k=y^{(k-1)}, AA the companion matrix, F=(0,…,0,f)F=(0,\dots,0,f). For n=2n=2: (x1x2)′=(01−a0−a1)(x1x2)+(0f).\begin{pmatrix}x_1\\x_2\end{pmatrix}'=\begin{pmatrix}0&1\\-a_0&-a_1\end{pmatrix}\begin{pmatrix}x_1\\x_2\end{pmatrix}+\begin{pmatrix}0\\f\end{pmatrix}. det⁡(A−λI)=λ2+a1λ+a0\det(A-\lambda I)=\lambda^2+a_1\lambda+a_0 is the characteristic polynomial of the equation: the two methods coincide.

Homogeneous systems and fundamental matrix

The solutions of Y′=A(t)YY'=A(t)Y form a vector space of dimension nn.

Definition. A fundamental matrix is an n×nn\times n matrix whose columns are nn linearly independent solutions. Its determinant is the Wronskiandeterminant of the matrix whose columns are n solutions, nonzero at every point of the interval if the solutions are independent.

Example: for the system above Φ(t)=(cos⁡tsin⁡t−sin⁡tcos⁡t)\Phi(t)=\begin{pmatrix}\cos t&\sin t\\-\sin t&\cos t\end{pmatrix} is fundamental, det⁡Φ=1\det\Phi=1.

Why dimension nn. The map sending a solution to its value Y(t0)∈RnY(t_0)\in\mathbb{R}^n is linear and, by existence and uniqueness, bijective. The solutions with initial data e1,…,ene_1,\dots,e_n form a basis. Moreover the Wronskian is either zero at every point or never zero: independence at one instant means independence always.

The general integral of the homogeneous system is Φ(t)C\Phi(t)C, C∈RnC\in\mathbb{R}^n constant; that of the complete system is Φ(t)C+Yp(t)\Phi(t)C+Y_p(t).

Constant coefficients

Let Y′=AYY'=AY, AA constant. Seek Y=eλtVY=e^{\lambda t}V: substituting, λeλtV=AeλtV\lambda e^{\lambda t}V=Ae^{\lambda t}V, i.e. (A−λI)V=0(A-\lambda I)V=0. So λ\lambda is an eigenvalue (det⁡(A−λI)=0\det(A-\lambda I)=0) and V≠0V\ne0 an eigenvector. If AA has nn independent eigenvectors (e.g. distinct eigenvalues) the solutions eλitVie^{\lambda_it}V_i are independent (equal to ViV_i at t=0t=0), and Y=∑cieλitViY=\sum c_ie^{\lambda_it}V_i.

Example: distinct real eigenvalues. Y′=(1141)YY'=\begin{pmatrix}1&1\\4&1\end{pmatrix}Y.

  1. det⁡(A−λI)=(1−λ)2−4=λ2−2λ−3=0⇒λ1=3\det(A-\lambda I)=(1-\lambda)^2-4=\lambda^2-2\lambda-3=0\Rightarrow\lambda_1=3, λ2=−1\lambda_2=-1.
  2. λ1=3\lambda_1=3: (−214−2)V=0⇒v2=2v1\begin{pmatrix}-2&1\\4&-2\end{pmatrix}V=0\Rightarrow v_2=2v_1, V1=(1,2)V_1=(1,2).
  3. λ2=−1\lambda_2=-1: (2142)V=0⇒v2=−2v1\begin{pmatrix}2&1\\4&2\end{pmatrix}V=0\Rightarrow v_2=-2v_1, V2=(1,−2)V_2=(1,-2).

General solution Y=c1e3t(12)+c2e−t(1−2)Y=c_1e^{3t}\binom12+c_2e^{-t}\binom1{-2}. Cauchy problem with Y(0)=(2,0)Y(0)=(2,0): c1+c2=2c_1+c_2=2, 2c1−2c2=02c_1-2c_2=0, so c1=c2=1c_1=c_2=1: y1=e3t+e−ty_1=e^{3t}+e^{-t}, y2=2e3t−2e−ty_2=2e^{3t}-2e^{-t}. Check: y1′=3e3t−e−t=y1+y2y_1'=3e^{3t}-e^{-t}=y_1+y_2. In the phase plane the eigenspaces (1,2)(1,2) (λ=3\lambda=3) and (1,−2)(1,-2) (λ=−1\lambda=-1) are straight-line orbits and the other orbits are hyperbola branches c1e3t(1,2)+c2e−t(1,−2)c_1e^{3t}(1,2)+c_2e^{-t}(1,-2).

Complex case. If λ=α±iβ\lambda=\alpha\pm i\beta with eigenvector V=Re⁡V+iIm⁡VV=\operatorname{Re}V+i\operatorname{Im}V, the complex solution e(α+iβ)tVe^{(\alpha+i\beta)t}V yields two real solutions (real and imaginary parts): Y1=eαt(cos⁡βtRe⁡V−sin⁡βtIm⁡V),Y2=eαt(sin⁡βtRe⁡V+cos⁡βtIm⁡V).Y_1=e^{\alpha t}(\cos\beta t\operatorname{Re}V-\sin\beta t\operatorname{Im}V),\qquad Y_2=e^{\alpha t}(\sin\beta t\operatorname{Re}V+\cos\beta t\operatorname{Im}V). The conjugate eigenvalue gives nothing new.

Example: oscillator y′′+y=0y''+y=0, Y=(y,y′)Y=(y,y'), A=(01−10)A=\begin{pmatrix}0&1\\-1&0\end{pmatrix}. λ2+1=0\lambda^2+1=0, λ=±i\lambda=\pm i (α=0\alpha=0, β=1\beta=1). For λ=i\lambda=i: −iv1+v2=0-iv_1+v_2=0, V=(1,i)V=(1,i), Re⁡V=(1,0)\operatorname{Re}V=(1,0), Im⁡V=(0,1)\operatorname{Im}V=(0,1). Y1=(cos⁡t,−sin⁡t)Y_1=(\cos t,-\sin t), Y2=(sin⁡t,cos⁡t)Y_2=(\sin t,\cos t): the first components solve y′′+y=0y''+y=0, the second are their derivatives. In the phase plane they are circles run clockwise (no growth or decay since α=0\alpha=0).

Double eigenvalue with one eigenvector. If λ\lambda is double but (A−λI)V=0(A-\lambda I)V=0 has only a line of solutions, the solutions are eλtVe^{\lambda t}V and eλt(tV+W)e^{\lambda t}(tV+W) with (A−λI)W=V(A-\lambda I)W=V: the analogue of teλtte^{\lambda t}.

Elimination method for 2×22\times2 systems

For a constant-coefficient 2×22\times2 system there is an alternative to eigenvectors which reduces to one second-order equation: {x′=ax+by+f1(t)y′=cx+dy+f2(t),T=a+d, D=ad−bc.\begin{cases}x'=ax+by+f_1(t)\\y'=cx+dy+f_2(t)\end{cases},\qquad T=a+d,\ D=ad-bc. Method (if b≠0b\ne0).

  1. From the first equation, by=x′−ax−f1by=x'-ax-f_1.
  2. Differentiate the first equation: x′′=ax′+by′+f1′x''=ax'+by'+f_1'; substitute the second equation in by′=bcx+bdy+bf2by'=bcx+bdy+bf_2 and use bdy=d(x′−ax−f1)bdy=d(x'-ax-f_1): x′′−Tx′+Dx=f1′−df1+bf2.x''-Tx'+Dx=f_1'-df_1+bf_2. The polynomial λ2−Tλ+D\lambda^2-T\lambda+D is the characteristic polynomial of AA.
  3. Solve this scalar equation (homogeneous plus particular): two constants c1,c2c_1,c_2.
  4. Obtain y=x′−ax−f1by=\frac{x'-ax-f_1}b (differentiate xx; do not solve a second equation, to avoid extra constants).
  5. Initial data: x(0)x(0) and x′(0)=ax(0)+by(0)+f1(0)x'(0)=ax(0)+by(0)+f_1(0).

If b=0b=0 swap roles (eliminate xx, using c≠0c\ne0); if b=c=0b=c=0 the equations are independent.

Example 1 (homogeneous Cauchy). x′=x−yx'=x-y, y′=y−4xy'=y-4x, x(0)=−12x(0)=-\frac12, y(0)=1y(0)=1. a=1,b=−1,c=−4,d=1a=1,b=-1,c=-4,d=1, T=2T=2, D=−3D=-3, y=x−x′y=x-x'. The equation is x′′−2x′−3x=0x''-2x'-3x=0, λ=3,−1\lambda=3,-1, x=c1e3t+c2e−tx=c_1e^{3t}+c_2e^{-t}, and y=x−x′=−2c1e3t+2c2e−ty=x-x'=-2c_1e^{3t}+2c_2e^{-t}. Data: c1+c2=−12c_1+c_2=-\frac12, −2c1+2c2=1-2c_1+2c_2=1, so c2=0c_2=0, c1=−12c_1=-\frac12: x=−12e3t,y=e3t.x=-\tfrac12e^{3t},\qquad y=e^{3t}. Check: x′=−32e3t=x−yx'=-\frac32e^{3t}=x-y, y′=3e3t=y−4xy'=3e^{3t}=y-4x.

Example 2 (nonhomogeneous). x′=yx'=y, y′=−x+ty'=-x+t: a=0,b=1,c=−1,d=0a=0,b=1,c=-1,d=0, f2=tf_2=t, so x′′+x=tx''+x=t; xh=c1cos⁡t+c2sin⁡tx_h=c_1\cos t+c_2\sin t, xp=tx_p=t. Hence x=c1cos⁡t+c2sin⁡t+tx=c_1\cos t+c_2\sin t+t, y=x′=−c1sin⁡t+c2cos⁡t+1y=x'=-c_1\sin t+c_2\cos t+1. Check: y′=−x+ty'=-x+t.

A double eigenvalue is handled as in a scalar equation (x=(c1+c2t)eλtx=(c_1+c_2t)e^{\lambda t}, yy obtained by differentiating), with no generalized eigenvectors.

Matrix exponential

etA=∑k=0∞tkAkk!=I+tA+t22A2+⋯e^{tA}=\sum_{k=0}^\infty\frac{t^kA^k}{k!}=I+tA+\frac{t^2}2A^2+\cdots converges for all tt; term-by-term differentiation gives ddtetA=AetA\frac d{dt}e^{tA}=Ae^{tA} and e0A=Ie^{0A}=I, so the solution of Y′=AYY'=AY, Y(0)=Y0Y(0)=Y_0 is Y(t)=etAY0,Y(t)=e^{tA}Y_0, just as y=eaty0y=e^{at}y_0 solves y′=ayy'=ay. For A=(0100)A=\begin{pmatrix}0&1\\0&0\end{pmatrix}, A2=0A^2=0 and etA=(1t01)e^{tA}=\begin{pmatrix}1&t\\0&1\end{pmatrix}.

Computation. If A=diag⁡(λ1,…,λn)A=\operatorname{diag}(\lambda_1,\dots,\lambda_n), etA=diag⁡(eλ1t,…,eλnt)e^{tA}=\operatorname{diag}(e^{\lambda_1t},\dots,e^{\lambda_nt}). If A=PDP−1A=PDP^{-1} (columns of PP are eigenvectors), Ak=PDkP−1A^k=PD^kP^{-1} and etA=PetDP−1e^{tA}=Pe^{tD}P^{-1}. In the example above P=(112−2)P=\begin{pmatrix}1&1\\2&-2\end{pmatrix}, D=diag⁡(3,−1)D=\operatorname{diag}(3,-1), P−1=14(212−1)P^{-1}=\frac14\begin{pmatrix}2&1\\2&-1\end{pmatrix} and etA=14(2e3t+2e−te3t−e−t4e3t−4e−t2e3t+2e−t);e^{tA}=\frac14\begin{pmatrix}2e^{3t}+2e^{-t}&e^{3t}-e^{-t}\\4e^{3t}-4e^{-t}&2e^{3t}+2e^{-t}\end{pmatrix}; applied to Y0=(2,0)Y_0=(2,0) it gives (e3t+e−t, 2e3t−2e−t)(e^{3t}+e^{-t},\,2e^{3t}-2e^{-t}).

Variation of constants for systems

For Y′=AY+B(t)Y'=AY+B(t), with Φ\Phi a fundamental matrix, Yp(t)=Φ(t)∫Φ−1(t)B(t) dt.Y_p(t)=\Phi(t)\int\Phi^{-1}(t)B(t)\,dt. Derivation: with Yp=ΦC(t)Y_p=\Phi C(t), Φ′C+ΦC′=AΦC+B\Phi'C+\Phi C'=A\Phi C+B and Φ′=AΦ\Phi'=A\Phi leave ΦC′=B\Phi C'=B, i.e. C′=Φ−1BC'=\Phi^{-1}B. With constant AA and Φ=etA\Phi=e^{tA}: Y(t)=etAY0+∫0te(t−s)AB(s) dsY(t)=e^{tA}Y_0+\int_0^te^{(t-s)A}B(s)\,ds. Example: Y′=diag⁡(1,2)Y+(et,0)TY'=\operatorname{diag}(1,2)Y+(e^t,0)^T: Φ=diag⁡(et,e2t)\Phi=\operatorname{diag}(e^t,e^{2t}), Φ−1B=(1,0)\Phi^{-1}B=(1,0), Yp=(tet,0)Y_p=(te^t,0).

Common mistakes

  • Sign errors in the Wronskian or Cramer formulas; forgetting that the method needs normal form (divide by the coefficient of y′′y'' first, e.g. t2y′′+⋯=gt^2y''+\dots=g).
  • No need for integration constants in C1(t),C2(t)C_1(t),C_2(t).
  • Ignoring intervals where ff, WW or the coefficients are singular.
  • Forgetting to multiply by the eigenvector in the vector solution.
  • Counting four real solutions from a pair of complex conjugate eigenvalues: they give two.
  • Believing etAe^{tA} is the matrix of the exponentials of the entries: this holds only for diagonal matrices.

Versione ripasso

Variation of constants (y′′+ay′+by=fy''+ay'+by=f). y=C1y1+C2y2+ypy=C_1y_1+C_2y_2+y_p. Seek yp=C1(t)y1+C2(t)y2y_p=C_1(t)y_1+C_2(t)y_2 with C1′y1+C2′y2=0C_1'y_1+C_2'y_2=0; then C1′y1′+C2′y2′=fC_1'y_1'+C_2'y_2'=f. With W=y1y2′−y2y1′≠0W=y_1y_2'-y_2y_1'\ne0: C1′=−y2fW,C2′=y1fW.C_1'=-\frac{y_2f}W,\qquad C_2'=\frac{y_1f}W. Any primitive will do. Integral form yp=∫t0ty1(s)y2(t)−y1(t)y2(s)W(s)f(s)dsy_p=\int_{t_0}^t\frac{y_1(s)y_2(t)-y_1(t)y_2(s)}{W(s)}f(s)ds; for y′′+y=fy''+y=f: ∫sin⁡(t−s)f(s)ds\int\sin(t-s)f(s)ds.

  • y′′+y=1sin⁡ty''+y=\frac1{\sin t} on (0,π)(0,\pi): W=1W=1, C1=−tC_1=-t, C2=ln⁡sin⁡tC_2=\ln\sin t, yp=−tcos⁡t+sin⁡tln⁡sin⁡ty_p=-t\cos t+\sin t\ln\sin t.
  • y′′−6y′+9y=e3tty''-6y'+9y=\frac{e^{3t}}t: y1=e3ty_1=e^{3t}, y2=te3ty_2=te^{3t}, W=e6tW=e^{6t}, C1′=−1C_1'=-1, C2′=1tC_2'=\frac1t, yp=tln⁡t e3ty_p=t\ln t\,e^{3t} (plus absorbed −te3t-te^{3t}).
  • First order: yp=C(t)eAy_p=C(t)e^{A}, C′=e−AbC'=e^{-A}b.

Systems. Y′=A(t)Y+B(t)Y'=A(t)Y+B(t), A,BA,B continuous on II: unique solution on all of II. Order nn equation gives companion matrix; y′′+a1y′+a0y=fy''+a_1y'+a_0y=f: A=(01−a0−a1)A=\begin{pmatrix}0&1\\-a_0&-a_1\end{pmatrix}, characteristic polynomial λ2+a1λ+a0\lambda^2+a_1\lambda+a_0.

Homogeneous. Solutions form an nn-dimensional space; fundamental matrix Φ\Phi (columns = independent solutions), Wronskian det⁡Φ\det\Phi zero everywhere or nowhere; Y=ΦCY=\Phi C.

Constant coefficients. Y=eλtVY=e^{\lambda t}V with (A−λI)V=0(A-\lambda I)V=0.

  1. Distinct real: Y=∑cieλitViY=\sum c_ie^{\lambda_it}V_i. (1141)\begin{pmatrix}1&1\\4&1\end{pmatrix}: λ=3,−1\lambda=3,-1, V=(1,2),(1,−2)V=(1,2),(1,-2); Y(0)=(2,0)Y(0)=(2,0) gives c1=c2=1c_1=c_2=1.
  2. Complex α±iβ\alpha\pm i\beta: Y1=eαt(cos⁡βtRe⁡V−sin⁡βtIm⁡V)Y_1=e^{\alpha t}(\cos\beta t\operatorname{Re}V-\sin\beta t\operatorname{Im}V), Y2=eαt(sin⁡βtRe⁡V+cos⁡βtIm⁡V)Y_2=e^{\alpha t}(\sin\beta t\operatorname{Re}V+\cos\beta t\operatorname{Im}V). Oscillator: λ=±i\lambda=\pm i, V=(1,i)V=(1,i), (cos⁡t,−sin⁡t)(\cos t,-\sin t), (sin⁡t,cos⁡t)(\sin t,\cos t).
  3. Double with one eigenvector: eλtVe^{\lambda t}V, eλt(tV+W)e^{\lambda t}(tV+W), (A−λI)W=V(A-\lambda I)W=V.

Elimination (2×22\times2, b≠0b\ne0). x′′−Tx′+Dx=f1′−df1+bf2x''-Tx'+Dx=f_1'-df_1+bf_2, then y=x′−ax−f1by=\frac{x'-ax-f_1}b; x′(0)=ax(0)+by(0)+f1(0)x'(0)=ax(0)+by(0)+f_1(0). Example x′=x−yx'=x-y, y′=y−4xy'=y-4x, x(0)=−12x(0)=-\frac12, y(0)=1y(0)=1: x′′−2x′−3x=0x''-2x'-3x=0, x=−12e3tx=-\frac12e^{3t}, y=e3ty=e^{3t}. Example x′=yx'=y, y′=−x+ty'=-x+t: x′′+x=tx''+x=t, x=c1cos⁡t+c2sin⁡t+tx=c_1\cos t+c_2\sin t+t.

Matrix exponential. etA=∑tkAkk!e^{tA}=\sum\frac{t^kA^k}{k!}, Y=etAY0Y=e^{tA}Y_0; A=PDP−1⇒etA=PetDP−1A=PDP^{-1}\Rightarrow e^{tA}=Pe^{tD}P^{-1}; A=(0100)A=\begin{pmatrix}0&1\\0&0\end{pmatrix}: etA=(1t01)e^{tA}=\begin{pmatrix}1&t\\0&1\end{pmatrix}.

Non-homogeneous. Yp=Φ∫Φ−1B dtY_p=\Phi\int\Phi^{-1}B\,dt; Y=etAY0+∫0te(t−s)AB(s)dsY=e^{tA}Y_0+\int_0^te^{(t-s)A}B(s)ds. Example diag⁡(1,2)\operatorname{diag}(1,2), B=(et,0)B=(e^t,0): Yp=(tet,0)Y_p=(te^t,0).

Typical errors. Wrong signs in WW/Cramer; equation not in normal form; singular intervals; forgetting the eigenvector; four real solutions from one complex pair; etA≠e^{tA}\neq entrywise exponential unless AA diagonal.

Teoria collegata