Differential Equations

Linear Differential Equations

Understand

A first-order linear equation has the form \(\frac{dy}{dx}+P(x)\,y=Q(x)\). Multiply by the integrating factor \(\text{IF}=e^{\int P\,dx}\); the left side becomes \(\frac{d}{dx}(y\cdot\text{IF})\), so

\[y\cdot\text{IF}=\int Q\cdot\text{IF}\,dx+C.\]

Example: \(\frac{dy}{dx}+\frac yx=x^2\) (\(x>0\)). \(\text{IF}=e^{\int\frac1x dx}=x\). Then \(xy=\int x^3dx=\frac{x^4}4+C\).

Similarly \(\frac{dx}{dy}+P_1(y)\,x=Q_1(y)\) is linear in \(x\): \(\text{IF}=e^{\int P_1dy}\) and \(x\cdot\text{IF}=\int Q_1\cdot\text{IF}\,dy+C\).

Key Concepts

  • Write in standard form first (coefficient of dy/dx must be 1).
  • IF = e^{∫P dx}; simplify e^{log u} = u.
  • y·IF = ∫Q·IF dx + C.

Formula Bank

Linear equation

\[\frac{dy}{dx}+Py=Q:\quad \text{IF}=e^{\int P\,dx},\quad y\,\text{IF}=\int Q\,\text{IF}\,dx+C\]

Common Mistakes

Standard form first

For \(x\frac{dy}{dx}+2y=x^2\), divide by \(x\) first: \(P=\frac2x\), \(\text{IF}=x^2\) – not \(e^{\int2\,dx}\).

Solved Examples

Linear equation

Solve \(\frac{dy}{dx}+y=e^{x}\).

Practice & Topic Test

Topic Practice

A fresh set of questions from this topic. Change answers freely – solutions appear after you submit.

Start Practice

Topic Test

Timed: up to 10 questions in 15 minutes.

Start Test

Topic Summary

Standard form → integrating factor → integrate Q·IF → divide by IF if y is wanted explicitly.

Ready to practise this topic?

Create a free account to take practice sessions and tests, see detailed explanations and track your progress.

Create Student Account