Integration Using Completing the Square (College Board AP® Calculus AB): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Integration using completing the square

What is completing the square?

  • Completing the square is a way of rewriting quadratic expressions

    • A quadratic expression is of the form ax2+bx+c

    • Rewriting can make them easier to use for various purposes

  • The simple version of completing the square is

    • x2+bx+c=(x+b2)2+c(b2)2

      • E.g.  x26x+2=(x3)2+2(3)2=(x3)27

  • When there is a coefficient in front of the x2 this becomes

    • ax2+bx+c=a(x+b2a)2+ca(b2a)2

      • E.g.  3x2+12x7=3(x+2)273(2)2=3(x+2)219

How can I integrate using completing the square?

  • Recall the standard integrals

    • 11x2 dx=arcsinx+C,  1<x<1

    • 11+x2 dx=arctanx+C

    • See the 'Derivatives & Antiderivatives' study guide

  • Completing the square can be used to get integrals into a form where these results can be used

    • The methods from the 'Integrals of Composite Functions' study guide may be needed as well

  • E.g. 1x26x+13 dx

    • Complete the square on the denominator

      • x26x+13=(x3)2+4

    • Rewrite the function to be integrated

      • 1x26x+13=14+(x3)2=14·11+(x32)2

    • That is now a multiple of 11+()2

      • This tells us that arctan() is going to be be our likely answer

    • To see if 'adjust and compensate' is needed, use the chain rule to differentiate arctan(x32)

      • ddx(arctan(x32))=11+(x32)2·12

      • ddx(12arctan(x32))=11+(x32)2·14

    • Integrate

      • 1x26x+13 dx=12arctan(x32)+C

Worked Example

Find the indefinite integral 121x2+4x dx.

Answer:

Complete the square on the expression in the square root

21x2+4x=(x2)2+21((2)2)=25(x2)2

Rewrite the function to be integrated

121x2+4x=125(x2)2=15·11(x25)2

That is now a multiple of 11()2

This tells us that arcsin() is going to be be our likely answer

To see if 'adjust and compensate' is needed, use the chain rule to differentiate arcsin(x25)

ddx(arcsin(x25))=11(x25)2·15

Integrate

121x2+4x dx=15·11(x25)2 dx=arcsin(x25)+C

121x2+4x dx=arcsin(x25)+C

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.