Further Mathematics Core Pure Year 2, chapter 7 (Methods in differential equations), section 7.1
The standard form
A first-order linear differential equation can be written
dxdy+P(x)y=Q(x)
The integrating factor
Multiply through by the integrating factor
I(x)=e∫P(x)dx
The left-hand side becomes the derivative of I(x)y (the product rule in reverse):
dxd[I(x)y]=I(x)Q(x)⇒I(x)y=∫I(x)Q(x)dx
Method
Write the equation in standard form (coefficient of dxdy equal to 1).
Find I=e∫Pdx (the constant of integration is not needed here).
Multiply, integrate both sides (with +c), and divide by I.
Worked example 1
Solve dxdy+2y=ex.
I=e2x. Then dxd(e2xy)=e3x, so
e2xy=3e3x+c⇒y=3ex+ce−2x
Worked example 2: standard form first
Solve xdxdy+y=x2.
Divide by x: dxdy+x1y=x. Then I=elnx=x, so dxd(xy)=x2, giving xy=3x3+c and y=3x2+xc.
Worked example 3: a particular solution
If y=1 when x=0 in Example 1: 1=31+c, so c=32 and y=3ex+32e−2x.
Separable equations
Equations that can be separated, dxdy=f(x)g(y), can also be solved by separating the variables.
Common mistake: forgetting to put the equation in standard form before finding I. If the coefficient of dxdy is not 1, divide first. Also, multiply the right-hand side by I as well, and include +c before dividing by I.
Exam tip: write P(x) clearly, find I, show the step dxd(Iy)=IQ, integrate, and divide. Use any boundary condition at the end.
Check yourself
Find the integrating factor for dxdy+3y=x.
e3x.
Find the integrating factor for dxdy+x2y=1.
e2lnx=x2.
What does the integrating factor method turn the left side into?