Property — General solution

The equation y+p(x)y=q(x)y' + p(x)\,y = q(x) has general solution: y(x)=eP(x)[q(x)eP(x)dx+C],P(x)=p(x)dx.y(x) = e^{-P(x)}\left[\int q(x)\,e^{P(x)}\,dx + C\right], \qquad P(x)=\int p(x)\,dx.

Two cases are distinguished:

  • homogeneous case (q=0q=0): gives y=CeP(x)y = Ce^{-P(x)};
  • non-homogeneous case (q0q\ne 0): adds a particular solution to the homogeneous solution.

Topics: Differential equations
Concepts: First-order linear ODE
Skills: Integrating · Solving equations · Using formulae