Integrals of Composite Functions (College Board AP® Calculus BC): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Integrating composite functions

What is meant by integrating composite functions?

  • Integrating composite functions refers to integrating by inspection

    • by spotting that the chain rule would be used in the inverse (differentiation) process

    • This is sometimes referred to as reverse chain rule

  • This method can be used to integrate the product of

    • a composite function

    • and the derivative of its secondary ('inside') function

  • In function notation, this method is to integrate integrals of the form f'(g(x))·g'(x) dx

    • By the chain rule, ddx[f(g(x))]=f'(g(x))·g'(x)

    • And differentiation and integration are inverse operations, therefore

      • f'(g(x))·g'(x) dx=f(g(x))+C

  • If coefficients do not match exactly, ‘adjust and compensate’ can be used

    • E.g.  5x2 is not quite the derivative of g(x)=4x3

      • the algebraic part (x2) is 'correct'

      • but the coefficient 5 is ‘wrong’

        • g'(x)=12x2

      • use ‘adjust and compensate to ‘correct it

        • 5x2=512(12x2)=512g'(x)

Special case: a function raised to a power

  • One common example is an integral involving a function raised to a power

  • In this case the general pattern becomes

    • f'(x)·[f(x)]n dx=1n+1[f(x)]n+1+C

    • E.g. cosxsin5xdx=16sin6x+C

What are the steps for integrating composite functions?

  • STEP 1
    Spot the ‘main’ function

    • E.g. x(5x22)6 dx

    • Think: "the main function is ( ... )6 which would come from ( ... )7

  • STEP 2
    Adjust and compensate’ any coefficients required in the integral

    • E.g.  " ( ... )7 would differentiate to 7·( ... )6"

      • “Chain rule says multiply by the derivative of 5x22, which is 10x

      • “There is no '7' or ‘10’ in the integrand so adjust and compensate”

    • x(5x22)6 dx=17×110×7×10×x(5x22)6 dx

  • STEP 3
    Integrate and simplify

    • E.g. 17070x(5x22)6 dx

      • Now 70x(5x22)6 is the exact derivative of (5x22)7

    • So  x(5x22)6 dx=17070x(5x22)6 dx=170(5x22)7+C

  • After some practice, you may find Step 2 is not needed (because you can do it in your head)

    • Do use it on more awkward questions (negatives and fractions!)

Examiner Tips and Tricks

Integrals of this form can also be integrated by substitution

  • See the 'Integration Using Substitution' study guide

You can always check your work by differentiating, if you have time

  • Differentiating your answer should turn it back into the function you were trying to integrate

Worked Example

Let f be a function whose derivative, f', is given by f'(x)=5x2sin(2x3).

Given that the graph of f passes through the point (0, 1), find an expression forf(x).

Answer:

Find an antiderivative of 5x2sin(2x3)

Start by spotting the 'main' function, sin()

When differentiating, sin 'comes from' cos, so use the chain rule to find the derivative of cos(2x3)

ddx(cos(2x3))=sin(2x3)·6x2

'Adjust and compensate' to get the inside of the integral to be equal to that

f(x)=5x2sin(2x3) dx=56(sin(2x3)·6x2) dx=56cos(2x3)+C

Method 1 - Find C

The graph of f goes through (0, 1), therefore f(0)=1

56cos(0)+C=156+C=1C=116

Method 2 - Use the fundamental theorem of calculus

Use  f(x)=f(a)+axf'(t)dt

 f(x)=f(0)+0xf'(t)dt=1+0x5t2sin(2t3)dt=1+[56cos(2t3)]0x=1+(56cos(2x3))(56cos(2·03))=156cos(2x3)+56

f(x)=56cos(2x3)+116

Integrating f'(x)/f(x)

How do I integrate f'(x)/f(x) ?

  • A particularly useful special case of integrating composite functions is

    • f'(x)f(x) dx=ln|f(x)|+C

      • I.e.  the numerator of a fraction being integrated is the derivative of the denominator

    • Make sure you recognize this pattern!

      • It speeds up and simplifies integrals of this sort

  • 'Adjust and compensate' may need to be used to deal with any coefficients

    • e.g.  x2+1x3+3x dx=133x2+1x3+3x dx=133x2+3x3+3x dx=13ln |x3+3x|+C

Examiner Tips and Tricks

Don't forget the modulus sign in the answer when finding integrals of this form.

Worked Example

Find the indefinite integral 25xlnx dx.

Answer:

It may not be obvious at first, but this is an example of f'(x)f(x) dx

Recall that the derivative of lnx is 1x, and note that 25xlnx=25·(1x)lnx

All that's left is to 'adjust and compensate', and then use f'(x)f(x) dx=ln|f(x)|+C

25xlnx dx=25(1x)lnx dx=25ln|lnx|+C

25xlnx dx=25ln|lnx|+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.