How to use the integrating factor?

Say you have a differential equation of the form:
dy/dx + Py = Q , where P and Q are functions of x.

Remember that even if your equation doesn't initially look like this, you may be able to rearrange it into this format!

The integrating factor is e^( ∫P dx).
If we multiply the whole equation by this integrating factor (not forgetting the right hand side!) then it will be in the form:

e^( ∫P dx) dy/dx + Pe^( ∫P dx) y = Qe^( ∫P dx)

This is useful to us because now the left hand side looks like something we might obtain from the product rule ( d/dx(uv)=u'v+v'u), with u=y and v=e^( ∫P dx).

So now we can write:

d/dx (ye^( ∫P dx)) = Qe^( ∫P dx)

Integrating both sides gives:

ye^( ∫P dx) = ∫ (Qe^( ∫P dx)) dx

This is the method, but it may be easier to understand with an example.

y = x dy/dx - 3x

This doesn't look like the form we want, but note that after a little rearranging, it can be expressed as:

dy/dx + y/x = 3

So here we have P=1/x, Q=3.

Our integrating factor is e^( ∫1/x dx) = e^(ln x) = x

Now we want to multiply the whole equation by this integrating factor, giving us:

x dy/dx + y = 3x

Noting that this looks like the product rule with u=y, v=x, we write:

d/dx (xy) = 3x

Integrating both sides gives

xy = ∫3x dx

xy = 1.5x^2 +c

Usually, you'll want the answer to be in the form y= something (although not always), so we divide through by x to give our final answer of:

y = 1.5x +c/x

Ella N. GCSE Maths tutor, A Level Maths tutor, A Level Further Mathem...

2 years ago

Answered by Ella, an A Level Further Mathematics tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£22 /hr

Ayyub A.

Degree: Mathematics Msci (Bachelors) - Bristol University

Subjects offered:Further Mathematics , Maths+ 1 more

Further Mathematics

“Hi I'm Ayyub, current student at Bristol university studying Maths. I have significant tutoring experience in maths and hopefully i'll be able to help you out.”

£24 /hr

Michelangelo M.

Degree: MMath Mathematics with Placement (Masters) - Bath University

Subjects offered:Further Mathematics , Maths+ 4 more

Further Mathematics

“Mathematics student at the University of Bath, willing to help you love this subject and improve your grades.”

£22 /hr

Guy P.

Degree: Mathematics (Masters) - Warwick University

Subjects offered:Further Mathematics , Maths+ 2 more

Further Mathematics

“Hi there. Thank you for taking the time to visit my profile, it would be great to meet in a FREE 15-minute meeting! I look forward to hearing from you soon!”

About the author

Ella N.

Currently unavailable: until 01/09/2016

Degree: Mathematics G103 (Masters) - Warwick University

Subjects offered:Further Mathematics , Maths+ 2 more

Further Mathematics
-Personal Statements-

“I was lucky enough to have amazing teachers for my GCSEs and A-levels, so I know how helpful it can be to have someone reliable to help you through these crucial periods. I hope that I can provide you with this support and that we can...”

You may also like...

Posts by Ella

How do I use two-way prepositions?

How to integrate cos^2(x) ? ("cos squared x")

How to use the integrating factor?

Other A Level Further Mathematics questions

The roots of the equation z^3 + 2z^2 +3z - 4 = 0, are a, b and c . Show that a^2 + b^2 +c^2 = -2

Find values of x which satisfy the inequality: x^2-4x-2<10

Using mathematical induction, prove that n^3+2n is divisible by 3 for all integers n

What modules have you done before?

View A Level Further Mathematics tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss