Differential Equations
2026 Syllabus Objectives
By the end of this topic, you should be able to:
- Find an integrating factor for a first order linear differential equation, and use it to find the general solution
- Recall the meaning of 'complementary function' and 'particular integral', and know that the general solution is their sum
- Find the complementary function for first or second order linear differential equations with constant coefficients (including cases with distinct real roots, repeated roots, or complex roots)
- Recall and find the form of a particular integral for polynomial, exponential, and trigonometric functions
- Use given substitutions to reduce differential equations to simpler forms
- Use initial conditions to find particular solutions and interpret solutions in context
1. First Order Linear Differential Equations and Integrating Factors
What is a First Order Linear Differential Equation?
A first order linear differential equation is an equation involving a function y, its first derivative dy/dx, and possibly x. It has the standard form:
dxdy+P(x)y=Q(x)
where P(x) and Q(x) are functions of x (or constants).
Examples:
- dxdy−2y=x2 (here P(x) = -2, Q(x) = x²)
- xdxdy−y=x4 (needs to be rearranged first)
- dxdy+ycothx=coshx (here P(x) = coth x, Q(x) = cosh x)
What is an Integrating Factor?
An integrating factor is a special function that we multiply through the entire differential equation to make it easier to solve. It's like a mathematical "trick" that transforms the equation into something we can integrate directly.
The integrating factor is denoted by I(x) or just I, and is calculated using:
I=e∫P(x)dx
where P(x) is the coefficient of y in the standard form.
How to Solve Using an Integrating Factor
Step-by-step method:
Step 1: Rearrange the equation into standard form dxdy+P(x)y=Q(x)
Step 2: Identify P(x) and calculate the integrating factor I=e∫P(x)dx
Step 3: Multiply the entire equation by the integrating factor
Step 4: The left side becomes dxd(Iy), so write: dxd(Iy)=I⋅Q(x)
Step 5: Integrate both sides: Iy=∫I⋅Q(x)dx
Step 6: Solve for y: y=I1∫I⋅Q(x)dx
Worked Example 1: dxdy−2y=x2
This is already in standard form with P(x) = -2 and Q(x) = x².
Calculate integrating factor:
I=e∫−2dx=e−2x
Multiply through by I:
e−2xdxdy−2e−2xy=x2e−2x
The left side is dxd(ye−2x), so:
dxd(ye−2x)=x2e−2x
Integrate both sides:
ye−2x=∫x2e−2xdx
To integrate the right side, use integration by parts twice:
∫x2e−2xdx=−21x2e−2x+21xe−2x−41e−2x+c
Therefore:
ye−2x=−21x2e−2x+21xe−2x−41e−2x+c
Multiply through by e2x:
y=−21x2+21x−41+ce2x
This is the general solution.
Worked Example 2: xdxdy−y=x4
First, rearrange to standard form by dividing through by x:
dxdy−x1y=x3
Now P(x) = -1/x and Q(x) = x³.
Calculate integrating factor:
I=e∫−x1dx=e−lnx=elnx−1=x−1=x1
Multiply through by I = 1/x:
x1dxdy−x21y=x2
This gives:
dxd(xy)=x2
Integrate:
xy=3x3+c
Therefore:
y=3x4+cx
Worked Example 3: dxdy+ycothx=coshx
This is in standard form with P(x) = coth x and Q(x) = cosh x.
Calculate integrating factor:
I=e∫cothxdx=eln(sinhx)=sinhx
Multiply through:
sinhxdxdy+ysinhxcothx=sinhxcoshx
Since cothx=sinhxcoshx:
sinhxdxdy+ycoshx=sinhxcoshx
This is:
dxd(ysinhx)=sinhxcoshx
Integrate:
ysinhx=∫sinhxcoshxdx
Using the substitution u = sinh x, du = cosh x dx:
ysinhx=2sinh2x+c
Therefore:
y=2sinhx+sinhxc