A differential equation is an equation that involves an unknown function and its derivatives. Differential equations are the language of change in science: they describe population growth, radioactive decay, the motion of planets, the flow of heat, and the dynamics of electrical circuits. Learning to recognise and solve differential equations equips the student with one of the most broadly applicable techniques in all of mathematics.
This chapter begins with the definitions of order and degree of a differential equation and the general and particular solutions. It then studies the main classes of first-order equations: equations in which the variables can be separated, homogeneous differential equations, and linear differential equations. The methods of solution for each type are developed with worked examples, and the chapter also shows how to form a differential equation from a given family of curves by eliminating the arbitrary constants.
The chapter is highly examinable, with questions on order and degree, variable separation, homogeneous equations, and linear equations appearing year after year. Because the techniques are formula-driven, systematic practice converts this chapter into a guaranteed source of marks. The chapter also forms the conceptual bridge between the differential calculus of earlier chapters and the applied modelling problems that appear in higher studies.
The order of a differential equation is the order of the highest-order derivative appearing in it. The degree of a differential equation is the power of the highest-order derivative, provided the equation is expressed as a polynomial in the derivatives and their coefficients.
For example, $\frac{d^2y}{dx^2} + 3\frac{dy}{dx} + 2y = 0$ has order 2 and degree 1.
The equation $\left(\frac{d^3y}{dx^3}\right)^2 + \sin x = 0$ has order 3 and degree 2.
The degree is defined only when the derivatives occur with non-negative integer powers; equations involving trigonometric or logarithmic functions of derivatives have no defined degree.
A solution of a differential equation is a relation between x and y, free of derivatives, that satisfies the equation identically. The general solution contains arbitrary constants, and each choice of these constants gives a particular solution.
For example, the differential equation $\frac{dy}{dx} = 2x$ has general solution $y = x^2 + C$. If the additional condition $y(0) = 3$ is given, then $C = 3$ and the particular solution is $y = x^2 + 3$. The conditions used to fix the constants are called initial or boundary conditions.
To form a differential equation from a family of curves with n arbitrary constants: 1. Differentiate the given equation of the family n times to eliminate the constants. 2. The result is a differential equation of order n (or less) that the family satisfies.
The family of straight lines $y = mx$ has one constant m. Differentiating, $\frac{dy}{dx} = m$, and eliminating m:
$$y = x\frac{dy}{dx} \quad \text{or} \quad \frac{dy}{dx} = \frac{y}{x}$$
A differential equation of the form
$$\frac{dy}{dx} = f(x)g(y)$$
is solved by separating the variables and integrating:
$$\int \frac{dy}{g(y)} = \int f(x)\, dx + C$$
$$\frac{dy}{dx} = \frac{x}{y} \implies \int y\, dy = \int x\, dx \implies \frac{y^2}{2} = \frac{x^2}{2} + C$$
So $y^2 - x^2 = 2C$, a family of rectangular hyperbolas.
A differential equation $\frac{dy}{dx} = f(x, y)$ is homogeneous if f(x, y) can be expressed as a function of $\frac{y}{x}$, i.e., f(x, y) = g(y/x). To solve:
$$\frac{dy}{dx} = \frac{x + y}{x - y}$$
Put $y = vx$. Then
$$v + x\frac{dv}{dx} = \frac{1 + v}{1 - v}$$
This separates to give a solution involving $\tan^{-1}(y/x)$ and a logarithm.
A first-order linear differential equation has the form
$$\frac{dy}{dx} + P(x)y = Q(x)$$
It is solved using the integrating factor (IF):
$$\text{IF} = e^{\int P(x)\, dx}$$
Multiplying through by the IF makes the left side the derivative of $y \cdot \text{IF}$, so
$$y \cdot \text{IF} = \int Q(x) \cdot \text{IF}\, dx + C$$
$$\frac{dy}{dx} + 2y = e^{-x}$$
Here P = 2, so IF = $e^{2x}$. Then
$$y e^{2x} = \int e^{-x} e^{2x} dx = \int e^x dx = e^x + C$$
$$y = e^{-x} + Ce^{-2x}$$
| Type | Form | Method |
|---|---|---|
| Separable | dy/dx = f(x) g(y) | Separate and integrate |
| Homogeneous | dy/dx = g(y/x) | Substitute y = vx |
| Linear | dy/dx + P(x) y = Q(x) | Integrating factor e^(int P dx) |
| Term | Meaning |
|---|---|
| Order | Highest-order derivative present |
| Degree | Power of highest-order derivative (when polynomial) |
| General solution | Solution with arbitrary constants |
| Particular solution | Solution with constants fixed by conditions |
| Initial condition | Condition fixing the constants |
| Differential equation | General solution |
|---|---|
| dy/dx = k y | y = C e^(kx) |
| dy/dx = k | y = kx + C |
| d^2y/dx^2 = 0 | y = C1 x + C2 |
| dy/dx + P y = Q | y(IF) = int Q(IF) dx + C |
Differential equations express the fundamental principle that the rate of change of a quantity is governed by its current state, and solving such equations recovers the quantity itself. The classification into order and degree gives a first handle on any equation, and the three principal solution methods, variable separation, the homogeneous substitution, and the integrating factor for linear equations, cover the full first-order syllabus. Forming differential equations from families of curves shows the converse construction and completes the picture. Because the methods are mechanical once the type is identified, this is a chapter where careful, structured practice reliably produces full marks. The ideas also seed the modelling mindset essential for physics, biology, economics, and engineering, making differential equations one of the most valuable chapters in the course.