Definition

Second-Order Liner ODE

Higher-Order Liner ODE

Solution

Second-Order Homogeneous Linear ODE with Constant Coefficients

Definition

Solution

Assume the solutions will be form then ^[characteristic equation]

, are solutions

Two Distinct Real Roots

General Solution

Multiple Real Roots

by using the Reduction of Order, we can get .

General Solution

Complex Roots

General Solution

Examples

Link to original

Transclude of Higher-Order-Homogeneous-Linear-ODE-with-Constant-Coefficients

Euler-Cauchy Equations

Definition



Solution

Assume the solutions  form
then 

^[auxiliary equation]



Two Distinct Real Roots 



General Solution



Multiple Real Roots 



By using the Reduction of Order, we can get .

General Solution



Complex Roots 



General Solution

Examples

Link to original

Higher-Order Non-Homegeneous Linear ODE

Definition

Second-order

^[Non-homogeneous ODE]

^[Corresponding homogeneous ODE]

Higher-order

^[Non-homogeneous ODE]

^[Corresponding homogeneous ODE]

Facts

Thm 1

The sum of solution of ⑴ on some open interval and a solution of ⑵ on is a solution of ⑴ on

The difference of two solutions of ⑴ on is a solution of ⑵ on

Thm 2

If in Non-homogeneous ODE ⑴ are continuous on , then every solution of Non-homogeneous ODE ⑴ on can be obtained from ⑶

Solution

General Solutions of Non-homogeneous Linear ODE

, where is a general solution of the corresponding homogeneous ODE ⑵ is any solution (particular solution) of the Non-homogeneous ODE ⑴

By Thm 1 is a solution of Non-homogeneous ODE ⑴

Variation of parameters

Second-order

for

If are continuous on and if form a basis of solutions of the corresponding homogeneous ODE, then , is Wronskian Determinant

Higher-order

If are linearly independent solutions of the corresponding homogeneous equation of

Then, becomes , where Wronskian Determinant ,

Method of Undetermined Coefficients

Definition

To solve , we have to solve corresponding homogeneous ODE and find a particular solution

Table

Terms in Choice for
k x^n,\quad _{n=0, 1, 2}


Choice Rules

  1. Basic Rule: If belongs a column in the left, choose corresponding right
  2. Modification Rule: If is a solution of a corresponding homogeneous ODE, multiply the selected by or
  3. Sum Rule: If is a sum of several functions, is selected as the sum of functions corresponding to each.
Link to original

Examples

&y'' + 4y = x^{2}+ 3e^{x}\\ &\text{find the solution of the corresponding homogene ODE:}\\ &y'' + 4y = 0\\ &\text{by the solution of separable ODE}\\ &y_{h} = C_{1}\cos(2x) + C_{2}\sin(2x)\\ \\ &\text{by method of undetermined coefficients, assume}\\ &y_{p} = ax^{2}+bx+c+de^{x}\\ &y_{p}'' + 4y_{p} = (2a+de^{x}) + 4(ax^{2}+bx+c+de^{x}) = 5de^{x}+4ax^{2}+4bx+(2a+4c) = x^{2}+ 3e^{x}\\ &\Rightarrow a=\frac{1}{4}, b=0, c=-\frac{1}{8},d=\frac{3}{5}\\ &y_{p}= \frac{1}{4}x^{2} + \frac{3}{5}e^{x} -\frac{1}{8}\\ \\ &y = y_{h}+y_{p} = C_{1}\cos(2x) + C_{2}\sin(2x) +\frac{1}{4}x^{2} + \frac{3}{5}e^{x} -\frac{1}{8} \end{aligned}$$ $$\begin{aligned} &y''+4y=3\sin(2x)\\ &\text{find the solution of the corresponding homogene ODE:}\\ &y''+4y=0\\ &\text{by the solution of separable ODE}\\ &y_{h} = C_{1}\cos(2x)+C_{2}\sin(2x)\\ \\ &\text{by method of undetermined coefficients (modification rule), assume}\\ &y_{p}=ax\cos(2x)+bx\sin(2x)\\ &y_{p}''=-4a\sin(2x)+4b\cos(2x)-4ax\cos(2x)-4bx\sin(2x)\\ &y_{p}''+4y_{p}=-4a\sin(2x)+4b\cos(2x)=3\sin(2x)\\ &\Rightarrow a=-\frac{3}{4},b=0\\ &y_{p}= -\frac{3}{4}x\cos(2x)\\ \\ &y = y_{h}+y_{p} = C_{1}\cos(2x)+C_{2}\sin(2x)-\frac{3}{4}x\cos(2x) \end{aligned}$$

\begin{aligned} &y”-2y’+y=xe^{x}+4\ &\text{find the solution of the corresponding homogene ODE:}\ &y”-2y’+y=0\ &\text{by the solution of separable ODE}\ &y_{h}=C_{1}e^{x}+C_{2}xe^{x}\ \ &\text{by method of undetermined coefficients (modification rule), assume}\ &y_{p}=ax^{3}e^{x}+b\ &y_{p}‘=3ax^{2}e^{x}+ax^{3}e^{x}\ &y_{p}”=6axe^{x} + 6ax^{2}e^{x} + ax^{3}e^{x}\ &y_{p}”-2y_{p}‘+y_{p} = 6axe^{x} + b = xe^{x}+4\ &\Rightarrow a=\frac{1}{6}, b=4\ &y_{p} = \frac{1}{6}x^{3}e^{x}+4\ \ &y=y_{h}+y_{p} = C_{1}e^{x}+C_{2}xe^{x} + \frac{1}{6}x^{3}e^{x}+4 \end{aligned}

Link to original