Skip to content
Sahithyan's S1
Sahithyan's S1 — Mathematics

Solving First Order Ordinary Differential Equations

Separable equation

When xx and yy functions can be separated into separate one-variable functions (as shown below).

dydx=f(x)g(y)\frac{\text{d}y}{\text{d}x} = f(x)g(y) 1g(y)dy=f(x)dx\int{\frac{1}{g(y)}\,\text{d}y} = \int{f(x)\,\text{d}x}

Homogenous equation

dydx=f(x,y)\frac{\text{d}y}{\text{d}x} = f(x,y)

A function f(x,y)f(x,y) is homogenous when f(x,y)=f(λx,λy)f(x,y) = f(\lambda x, \lambda y).

To solve:

  • Use y=vxy = vx substitution, where vv is a function of xx and yy
  • Differentiate both sides: dy=v+vdx\text{d}y = v + v\text{d}x
  • Apply the substitution to make it separable

Reduction to homogenous type

dydx=ax+by+cAx+By+C\frac{\text{d}y}{\text{d}x} = \frac{ax + by + c}{Ax + By + C}

This type of equation can be reduced to homogenous form.

If a:b=A:Ba:b=A:B, use the substitution: u=ax+byu=ax+by.

In other cases:

  • Find hh and kk such that ah+bk+c=0ah + bk + c = 0 and Ah+Bk+C=0Ah + Bk + C = 0
  • Use substitutions:
    • X=x+hX = x + h
    • Y=y+kY = y + k

The reduced equation would be:

dYdX=aX+bYAX+BY\frac{\text{d}Y}{\text{d}X} = \frac{aX + bY}{AX + BY}

Linear equation

dydx+P(x)y=Q(x)\frac{\text{d}y}{\text{d}x} + P(x)\,y = Q(x)

The above form is called the standard form.

The equation would be separable if Q(x)=0Q(x) = 0.

Otherwise:

  • Identify P(x)P(x) from the standard form
  • Calculate integrating factor: I=expP(x)dxI = \exp{\int{P(x) \text{d}x}}.
  • Multiply both sides by II
  • LHS\text{LHS} becomes ddx(yI)\frac{d}{dx}(yI)
  • Integrate both sides to solve for yy

Bernoulli’s equation

dydx+P(x)y=Q(x)yn    ;  nR\frac{\text{d}y}{\text{d}x} + P(x)y = Q(x)y^n \;\; ; \; n\in\mathbb{R}

When n=0n = 0 or n=1n = 1, the equation would be linear.

Otherwise, it can be converted to linear using v=y1nv = y^{1-n} as substituion.

None of the above

The equation must be converted to one of the above by using a suitable substitution.