Method of integrating factor (HL)
This solves first order linear differential equations, which look like
dx dy+P(x)y=Q(x) You may need to do one or two steps of algebra before seeing the differential equation in this form.
Contents
Theory
The integrating factor is
e∫P(x) dx which is multiplied to both sides of the first order linear differential equation.
This is one of the few cases when the +C does not matter, as it would results multiplying both sides by eC, which does not affect the calculus.
e∫P(x) dx( dx dy+P(x)y)=Q(x)e∫P(x) dx Comparing the left side to product rule, it is very conveniently
dx d(ye∫P(x) dx)=e∫P(x) dx( dx dy+P(x)y) Then substitute this in, we obtain
dx d(ye∫P(x) dx)=Q(x)e∫P(x) dx This can be solved with integrating both sides then divide by the integrating factor.
Yes, you may have noticed that this requires two steps of integration, once for the integrating factor, and once to solve the differential equation.
Practice
Example: (May 2018 HL Paper 3 Calculus #5) Consider the differential equation
x dx dy−y=xp+1 where x∈R,x=0 and p is a positive integer, p>1. Given y=−1 when x=1, solve for y as a function of x.
We first need to get it in the desired form
dx dy+yx−1=xp−1+x1 The integrating factor is e∫x−1 dx
Even though ∫x−1=−ln∣x∣+C, because the initial point had x=1>0, we take only the branch −lnx+C. Likewise if we were given a point with negative x, we would have used −ln(−x)+C.
So the integrating factor is e−lnx=x−1
dx d(yx−1) dx d(yx−1)yx−1y=x−1(xp−1+x1)=xp−2+x21=p−11xp−1−x1+C=p−11xp−1+Cx Then substitute in (1,−1) to solve for C
−1−1+1−p−11=p−11(1)p−1+C(1)=p−11+C=C Putting everything together
y=p−1xp−1−p−1x■ Déja vu? Yes, this question can also be solved with the y=vx substitution.
Tips
The integrating factor may occasionally require integrating by parts and other integration techniques to simplify.