Skip to content
Skip to page content
soylai.com

Differential Equations — chapter notes

7 sections 5 min readBeta

1. Differential equations and their order

A differential equation is an equation involving an unknown function and its derivatives. When the unknown yy depends on one variable xx it is an ordinary differential equation, e.g. dydx=3x2\dfrac{dy}{dx} = 3x^2, d2ydx2+y=0\dfrac{d^2y}{dx^2} + y = 0.

The order is the order of the highest derivative present. Powers do not affect the order: d3ydx3−(dydx)4=x\dfrac{d^3y}{dx^3} - \left(\dfrac{dy}{dx}\right)^4 = x has order 33.

Order = order of the highest derivative.
EquationHighest derivativeOrder
dydx=3x2\dfrac{dy}{dx} = 3x^2dydx\dfrac{dy}{dx}11
d2ydx2+y=0\dfrac{d^2y}{dx^2} + y = 0d2ydx2\dfrac{d^2y}{dx^2}22
d3ydx3−(dydx)4=x\dfrac{d^3y}{dx^3} - \left(\dfrac{dy}{dx}\right)^4 = xd3ydx3\dfrac{d^3y}{dx^3}33

Formulas

  • Notation
    y′=dydx,y′′=d2ydx2y' = \dfrac{dy}{dx}, \quad y'' = \dfrac{d^2y}{dx^2}

Key terms

Differential equation

An equation involving an unknown function and its derivatives.

Order

The order of the highest derivative that appears.

2. Degree

If a differential equation is a polynomial in its derivatives, its degree is the highest power (a positive integer) of the highest-order derivative.

  • (d2ydx2)2+3x(dydx)3=sin⁡x\left(\dfrac{d^2y}{dx^2}\right)^2 + 3x\left(\dfrac{dy}{dx}\right)^3 = \sin x: order 22, degree 22.
  • d3ydx3+log⁡(dydx)=0\dfrac{d^3y}{dx^3} + \log\left(\dfrac{dy}{dx}\right) = 0: order 33, degree not defined.

Functions of xx alone (sin⁡x\sin x, exe^{x}, log⁡x\log x) do not stop the degree from being defined; a derivative inside such a function does.

Degree = highest power of the highest-order derivative, only for polynomial equations.
EquationPolynomial in derivatives?Degree
(d2ydx2)3+dydx=0\left(\dfrac{d^2y}{dx^2}\right)^3 + \dfrac{dy}{dx} = 0yes33
d2ydx2+(dydx)5=x\dfrac{d^2y}{dx^2} + \left(\dfrac{dy}{dx}\right)^5 = xyes11
dydx+sin⁡(dydx)=0\dfrac{dy}{dx} + \sin\left(\dfrac{dy}{dx}\right) = 0nonot defined
dydx=ex+sin⁡x\dfrac{dy}{dx} = e^{x} + \sin xyes (xx-terms are allowed)11

Key terms

Degree

Highest power of the highest-order derivative, when the equation is a polynomial in derivatives.

3. General and particular solutions

A solution is a function that satisfies the equation. The general solution contains arbitrary constants, as many (independent) as the order. A particular solution has all constants fixed, usually by an initial condition like y(x0)=y0y(x_0) = y_0.

To verify that a given function is a solution: differentiate it, substitute into the equation, and show that both sides agree. Example: y=e−x+2x−2y = e^{-x} + 2x - 2 satisfies dydx+y=2x\dfrac{dy}{dx} + y = 2x.

Not in the 2026–27 syllabus: forming a differential equation from a given family by eliminating arbitrary constants.

  • C=−2C = -2
  • C=0C = 0
  • C=2C = 2
Solutions of $\dfrac{dy}{dx} = 2x$: the general solution is a family; the condition $y(1) = 3$ picks $C = 2$.
Substitute and simplify: left side equals right side.
StepResult
yye−x+2x−2e^{-x} + 2x - 2
dydx\dfrac{dy}{dx}−e−x+2-e^{-x} + 2
dydx+y\dfrac{dy}{dx} + y−e−x+2+e−x+2x−2-e^{-x} + 2 + e^{-x} + 2x - 2
Simplified2x2x ✓

Key terms

General solution

A solution containing as many arbitrary constants as the order.

Particular solution

A solution with no arbitrary constants, chosen by given conditions.

Initial condition

A condition such as y(0)=2y(0) = 2 that fixes a constant.

4. Variables separable

If dydx=g(x) h(y)\dfrac{dy}{dx} = g(x)\,h(y), separate and integrate:

∫dyh(y)=∫g(x) dx+C.\int \dfrac{dy}{h(y)} = \int g(x)\,dx + C.

Examples: dydx=x(1+y2)\dfrac{dy}{dx} = x(1 + y^2) gives tan⁡−1y=x22+C\tan^{-1}y = \dfrac{x^2}{2} + C; dydx=ycos⁡x\dfrac{dy}{dx} = y\cos x with y(0)=2y(0) = 2 gives y=2esin⁡xy = 2e^{\sin x}.

Growth and decay: dNdt=kN\dfrac{dN}{dt} = kN gives N=N0ektN = N_0e^{kt}. Equal time intervals multiply NN by equal factors.

Variables separable in five steps.
  • N=500ektN = 500e^{kt}
Growth proportional to size: equal times give equal doublings.

Formulas

  • Growth or decay
    dNdt=kN  ⇒  N=N0ekt\dfrac{dN}{dt} = kN \;\Rightarrow\; N = N_0e^{kt}

Key terms

Separable equation

One that can be written as dydx=g(x)h(y)\dfrac{dy}{dx} = g(x)h(y).

5. Homogeneous equations

F(x,y)F(x, y) is homogeneous of degree nn if F(λx,λy)=λnF(x,y)F(\lambda x, \lambda y) = \lambda^nF(x, y). The equation dydx=F(x,y)\dfrac{dy}{dx} = F(x, y) is homogeneous when FF has degree 00.

Method: put y=vxy = vx, so dydx=v+xdvdx\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}; simplify to xdvdx=g(v)x\dfrac{dv}{dx} = g(v); separate dvg(v)=dxx\dfrac{dv}{g(v)} = \dfrac{dx}{x}; integrate; replace vv by yx\dfrac{y}{x}.

Example: xydydx=x2+2y2xy\dfrac{dy}{dx} = x^2 + 2y^2 gives x2+y2=Ax4x^2 + y^2 = Ax^4; with y(1)=1y(1) = 1, A=2A = 2.

(For dxdy=G(x,y)\dfrac{dx}{dy} = G(x, y) with GG of degree 00, the substitution x=vyx = vy works the same way.)

Homogeneous equations become separable after $y = vx$.
Replace $x, y$ by $\lambda x, \lambda y$ and try to pull out $\lambda^n$.
F(x,y)F(x, y)F(λx,λy)F(\lambda x, \lambda y)Homogeneous?
x2+3y2xy\dfrac{x^2 + 3y^2}{xy}λ0F(x,y)\lambda^0F(x, y)yes, degree 00
x2+y2\sqrt{x^2 + y^2}λF(x,y)\lambda F(x, y)yes, degree 11
x2y+y3x+y\dfrac{x^2y + y^3}{x + y}λ2F(x,y)\lambda^2F(x, y)yes, degree 22
x2+yx^2 + yλ2x2+λy\lambda^2x^2 + \lambda yno

Formulas

  • Substitution
    y=vx  ⇒  dydx=v+xdvdxy = vx \;\Rightarrow\; \dfrac{dy}{dx} = v + x\dfrac{dv}{dx}

Key terms

Homogeneous function

F(λx,λy)=λnF(x,y)F(\lambda x, \lambda y) = \lambda^nF(x, y).

Homogeneous equation

dydx=F(x,y)\dfrac{dy}{dx} = F(x, y) with FF homogeneous of degree 00.

6. Linear equations: the integrating factor

Standard form: dydx+Py=Q\dfrac{dy}{dx} + Py = Q, where PP and QQ are functions of xx (or constants).

Integrating factor: I.F.=e∫P dx\text{I.F.} = e^{\int P\,dx} (no constant needed).

Solution: y⋅I.F.=∫Q⋅I.F. dx+Cy \cdot \text{I.F.} = \int Q \cdot \text{I.F.}\,dx + C.

Examples: dydx+3y=e−x\dfrac{dy}{dx} + 3y = e^{-x} gives y=e−x2+Ce−3xy = \dfrac{e^{-x}}{2} + Ce^{-3x}; cos⁡xdydx+ysin⁡x=cos⁡2x\cos x\dfrac{dy}{dx} + y\sin x = \cos^2 x (divide by cos⁡x\cos x first) gives y=(x+C)cos⁡xy = (x + C)\cos x.

$e^{\log f(x)} = f(x)$ does most of the work.
P(x)P(x)∫P dx\int P\,dxIntegrating factor
333x3xe3xe^{3x}
1x\dfrac{1}{x}log⁡x\log xxx
2x\dfrac{2}{x}2log⁡x2\log xx2x^2
−1x-\dfrac{1}{x}−log⁡x-\log x1x\dfrac{1}{x}
tan⁡x\tan xlog⁡sec⁡x\log \sec xsec⁡x\sec x
2x1+x2\dfrac{2x}{1 + x^2}log⁡(1+x2)\log(1 + x^2)1+x21 + x^2
The integrating factor turns the left side into one derivative.

Formulas

  • Linear in y
    y⋅e∫P dx=∫Q e∫P dx dx+Cy \cdot e^{\int P\,dx} = \int Q\,e^{\int P\,dx}\,dx + C

Key terms

Linear equation

yy and dydx\dfrac{dy}{dx} appear only to the first degree and are not multiplied together.

Integrating factor

e∫P dxe^{\int P\,dx}, which makes the left side the derivative of y⋅I.F.y \cdot \text{I.F.}

7. Equations linear in x; choosing a method; applications

Linear in xx: dxdy+Px=Q\dfrac{dx}{dy} + Px = Q with PP, QQ functions of yy: I.F.=e∫P dy\text{I.F.} = e^{\int P\,dy} and x⋅I.F.=∫Q⋅I.F. dy+Cx \cdot \text{I.F.} = \int Q \cdot \text{I.F.}\,dy + C. Example: dxdy+x=y+1\dfrac{dx}{dy} + x = y + 1 gives x=y+Ce−yx = y + Ce^{-y}.

Choosing a method: separable? homogeneous of degree 00? linear in yy or in xx? An equation may fit more than one type.

Applications: cooling dTdt=−k(T−T0)\dfrac{dT}{dt} = -k(T - T_0) gives T=T0+(T(0)−T0)e−ktT = T_0 + (T(0) - T_0)e^{-kt}; a constant input with loss, dCdt+aC=b\dfrac{dC}{dt} + aC = b, approaches the steady value ba\dfrac{b}{a}.

Which method? Ask three questions in order.
  • soup
  • room, 30 °C
The excess over room temperature halves every 5 minutes.
  • C=4(1−e−0.5t)C = 4(1 - e^{-0.5t})
  • level 4
A linear equation with a constant input: the solution approaches a steady value.

Formulas

  • Linear in x
    x⋅e∫P dy=∫Q e∫P dy dy+Cx \cdot e^{\int P\,dy} = \int Q\,e^{\int P\,dy}\,dy + C

Key terms

Linear in x

dxdy+Px=Q\dfrac{dx}{dy} + Px = Q with PP, QQ functions of yy.

Exam tips

How marks are awarded

  • Order and degree (1–2 marks): order and degree stated separately; "degree not defined" with the reason.
  • Verifying a solution (2 marks): derivative(s) found, substitution, both sides shown equal.
  • Separable or homogeneous (3–5 marks): separation or substitution, integration, constant, final form (particular solution if a condition is given).
  • Linear (3–5 marks): standard form, integrating factor, integration (often by parts), constant, final answer.

Common mistakes

  1. Reading the degree from a lower derivative, or giving a degree when a derivative sits inside sin⁡\sin, log⁡\log or e(⋅)e^{(\cdot)}.
  2. Forgetting the constant of integration, or adding one on each side.
  3. Using the initial condition before integrating.
  4. After y=vxy = vx, writing dydx=dvdx\dfrac{dy}{dx} = \dfrac{dv}{dx} instead of v+xdvdxv + x\dfrac{dv}{dx}.
  5. Leaving the answer in terms of vv.
  6. Reading PP before reaching the standard form (dividing by the coefficient of dydx\dfrac{dy}{dx}), or losing the sign of PP.
  7. Adding a constant inside the integrating factor.
  8. Writing log⁡y\log y where yy may be negative: use log⁡∣y∣\log|y|.

Not in the 2026–27 syllabus: forming differential equations by eliminating arbitrary constants.