summary of solving ordinary differential equation (ode) 常微分方程解法总结 . Linear Equations 3. Exact Differential Equations


  1. Separate the variables

  2. Integrate both sides

  3. Solve for the solution y(t), if possible

PS: For $frac{dy}{f(y)}$, if $f(y)=0$, then if $f(y_0)=0$, $y(t)=y_0$ is a solution.

. Linear Equations

First-order linear equation

Form:

Homogeneous if $f(t)=0$, form:

$a(t), f(t)$ are called coefficients of the equation.

Solution of the homogeneous equation

Let $A$ be a constant, which can be either >0, <0 or =0

Solution of the inhomogeneous equation

The equation

  1. Rewrite the equation as

  2. Multiply by the integrating factor

    So that the equation becomes

  3. Integrate this equation

  4. Solve for x(t)

An alternate solution — Variation of parameters

The equation

  1. Get a partialicular solution to the homogeneous equation $y_h’ = ay_h$

  2. Substitute $y = vy_h$ into the inhomogeneous equation to find v, or remember that

    And solve $v$

  3. Write the v into the general solution $y = vy_h$

Theorem — Structure of the Solution

Every solution to the inhomogeneous equation is of the form

Where $A$ is an arbitrary constant,

$y_p$ is a partialicular solution to the inhomogeneous equation $y’ = a(t)y + f(t)$,

and $y_h$ is a partialicular solution to the associated homogeneous equation $y’ = a(t)y$.

3. Exact Differential Equations

Theorem

Let $omega = P(x,y)dx + Q(x,y)dy$ be a differential form where both P and Q are continuous and differentiable

(a) if $omega$ is exact, then

(b) if (a) is true in a rectangle R, then $omega$ is exact in R

Solving Exact Differential Equation

If the equation $P(x, y)dx + Q(x, y)dy = 0$ is exact, the solution is given by $F(x, y) = C$, where F is found by

  1. Solve $frac{partial F}{partial x} = P$ by integration:

  2. Solve $frac{partial F}{partial y} = Q$

Integrating Factors

The form $Pdx + Qdy$ has an integrating factor depending on one of the variables under the following conditions.

  • If

    is a function of x only, then $mu (x) = e^{int h(x)dx}$ is an integrating factor.

  • If

    is a function of y only, then $mu(y) = e^{-int g(y)dy}$ is an integrating factor.

Separable Equations

If the equation has the form

The solution is given by

Homogenous Equations

A function G(x, y) is homogenous of degree n if

A differential equation $Pdx + Qdy = 0$ is said to be homogenous if both of the coefficients P and Q are homogeneous of the same degree

Solve Homogenous Equations

Substitute y = xv

Then $P(x, y)dx + Q(x, y)dy = 0$ turns into $P(x, xv)dx + Q(x, xv)(vdx + xdv) = 0$

Dividing $x^n$, and collecting terms

The integrating factor is

Separate variables, and solve the equation