InThinking Revision Sites

INTHINKING REVISION SITES

Own your learning

Why not also try our independent learning self-study & revision websites for students?

We currenly offer the following DP Sites: Biology, Chemistry, English A Lang & Lit, Maths A&A, Maths A&I, Physics, Spanish B

"The site is great for revising the basic understandings of each topic quickly. Especially since you are able to test yourself at the end of each page and easily see where yo need to improve."

"It is life saving... I am passing IB because of this site!"

Basic (limited access) subscriptions are FREE. Check them out at:

Integration by substitution (tutorial)

Tutorial:  Integration by substitution

Throughout this tutorial you will often see the Leibniz notation for derivatives and differentials, named after the German mathematician Gottfried Wilhelm Leibniz (1646-1716). The beauty of this notation is that it provides an easy way to remember several important calculus formulas by making it seem as though the formulas were derived from algebraic manipulations of differentials.  For instance, in Leibniz notation, the rule for differentiating a composite function – often referred to as the Chain Rule – is written as dy dx = dy du du dx .

This statement appears to be true because the du’s cancel.  Even though this reasoning is theoretically incorrect, it is reasonable to consider that differentials such as dx and dy represent infinitesimally small numbers so in practice differentials can be manipulated using the rules of algebra.

In fact, the formula booklets for IB Maths HL & SL express the Chain Rule as follows.

The following is a formal definition of the Chain Rule that one may find in a standard calculus textbook.

Using the Chain Rule

Example 1:  Find dy dx for y= ( x 2 +1 ) 3 .

Explanation/Solution:

For this function, you can consider the “inside” function to be  g( x )=u= x 2 +1 and the “outside” function to be  f( u )=y= u 3 .  Hence,  y=f( g( x ) )=f( x 2 +1 )= ( x 2 +1 ) 3 .  Then by the Chain Rule, you obtain  dy dx = 3 u 2 dy du ( 2x ) du dx and since  u= x 2 +1 then  dy dx = 3 ( x 2 +1 ) 2 dy du ( 2x ) du dx =6x ( x 2 +1 ) 2 .

Questions 1 - 5

Find the derivative of each function:

1.  y= 1 ( x 2 3x ) 4 2.  y=sin( x 2 ) 3.  y= e x 2
4.  y= x+ x 5.  y=4 cos 2 ( πx )

Answers for Qs 1-5


Differentiation and integration are inverse operations.  Hence, a good starting point for investigating a particular integration method is to rewrite a differentiation rule backwards.

Integration by Substitution

The role of substitution in integration is comparable to the role of the Chain Rule in differentiation.  For differentiable functions given by y=F( u ) and u=g( x ) , the Chain Rule states that

d dx [ y ]= dy dx = dy du du dx or, alternatively d dx [ y ]= d dx [ F( g( x ) ) ]= F ( g( x ) ) g ( x )

Working backwards and letting f( x )= F ( x ) , i.e. F is the antiderivative of f, it follows that

f( g( x ) ) g ( x )dx=F( g( x ) )+C

If u=g( x ) , then du= g ( x )dx and f( u )du=F( u )+C

Note that in the integral f( g( x ) ) g ( x )dx , the integrand f( g( x ) ) g ( x )dx is a composite function made up of an “outside” function f and an “inside” function g.  Also the derivative of the “inside” function, g ( x ) , is a factor of the integrand.

Using Integration by Substitution

In order to apply this technique of integration – essentially performing the Chain Rule backwards –  one must recognize a pattern in the integrand as illustrated above. If the integrand follows the pattern f( g( x ) ) g ( x )dx   (can also be represented by  f( u )du ), then it will be possible to apply integration by substitution – which usually involves performing a u-substitution.  This change of variable technique uses the Leibniz notation for the differential.  That is, if  u=g( x ), then du= g ( x )dx and then the integral takes the form:

f( g( x ) ) g ( x )dx= f( u )du=F( u )+C                    (recall that F is the antiderivative of f )

Example 2: Evaluate ( x 2 +1 ) 2 ( 2x )dx

Explanation/Solution: 

Let u be the “inside” function, u= x 2 +1 ; then du=2xdx . Substitute to obtain the following:

( x 2 +1 ) 2 ( 2x )dx= u 2 du       Now continue by finding the antiderivative F of f( u )= u 2

u 2 du= 1 3 u 3 +C       re-substituting u= x 2 +1 gives u 2 du= 1 3 u 3 +C = 1 3 ( x 2 +1 ) 3 +C

Question 6

Use the Chain Rule to verify that the derivative of 1 3 ( x 2 +1 ) 3 +C is the integrand of the original integral in Example 2.

Answer for Q 6

d dx [ 1 3 ( x 2 +1 ) 3 ]= 1 3 [ 3 ( x 2 +1 ) 2 2x ]=2x ( x 2 +1 ) 2

Many integrands contain the essential part (i.e. the variable part) of du, but are missing a constant multiple.  In such cases, one can multiply and divide by the necessary constant multiple.

Example 3: Evaluate x ( x 2 +1 ) 2 dx

Explanation/Solution:

This is similar to the integral in Example 2, except that the integrand is missing a factor of 2.  Recognizing that 2x is the derivative of x 2 +1 , you can let u= x 2 +1 and since du=2xdx then it follows that 1 2 du=xdx and then substituting gives the following:

x ( x 2 +1 ) 2 dx = u 2 1 2 du= 1 2 u 2 du= 1 2 [ 1 3 u 3 ] +C= 1 6 ( x 2 +1 ) 3 +C

Example 4:  Evaluate sin 2 ( 3x )cos( 3x )dx

Explanation/Solution:

The key recognition is that sin 2 ( 3x )= ( sin( 3x ) ) 2 and that the derivative of sin( 3x ) is very close (only off by a constant) to cos( 3x ) . Therefore, let u=sin3x, then du=( cos3x )( 3 )dx and 1 3 du=cos3xdx . Substituting u and 1 3 u in the given integral gives the following:

sin 2 ( 3x )cos( 3x )dx = u 2 1 3 du= 1 3 u 2 du = 1 3 ( 1 3 u 3 )+C= 1 9 sin 3 ( 3x )+C

Question 7

Verify the result for Example 4 above by finding the derivative of 1 9 sin 3 ( 3x ) .

When using u-substitution with a definite integral (examples 2 – 4 were indefinite integrals), it is often convenient to determine the limits of integration for the variable u rather than to convert the antiderivative back to the variable x and evaluate at the original limits.  Symbolically, this can be expressed as

a b f( g( x ) ) g ( x )dx= g( a ) g( b ) f( u )du       Example 5 below illustrates this.

Answer for Q 7

d dx [ 1 9 sin 3 ( 3x ) ]= 1 9 [ 3 ( sin( 3x ) ) 2 cos( 3x )3 ]= sin 2 ( 3x )cos( 3x )

Example 5:    Evaluate 0 1 x x 2 +3 dx

Explanation/Solution:

Let u= x 2 +3, then du=2xdx and  1 2 du=xdx

Before substituting, determine the new upper and lower limits of integration.

lower limit:  when x=0,u= 0 2 +3=3         upper limit: x=1,u= 1 2 +3=4

Now, you can substitute to obtain

Question 8

Explain how you can check the result for Example 5 above using your GDC.

Answer for Q 8


Questions 9 & 10

Evaluate each integral in two different ways.  Explain any difference in the forms of the answers.

9.  ( 2x1 ) 2 dx                10.  sinxcosxdx

Answers for Qs 9 & 10


Questions 11-14

For each definite integral: (a) Evaluate for two different sets of limits: (i) from x=a to x=+a ; and (ii) from x=0 to x=+a . Evaluate the definite integrals by u-substitution and integrate with limits for u (as in Example 5).  (b) Verify each answer by graphing the function on your GDC and evaluating the definite integral on your GDC.

11.  x x 2 +3 dx a=3                  12.   sin 2 xcosxdxa= π 2

13.  cos 2 x sinxdxa= π 2              14.  x 2 cos( x 3 )dx a=1

Answer for Q 11


Answer for Q 12


Answer for Q 13


Answer for Q 14


Question 15

From your work on questions 11 – 14, form some conclusions/conjectures regarding definite integrals and the symmetry of certain types of functions.

Answer for Q 15


Question 16

Find an equation for the function f that has the indicated derivative and whose graph passes through the given point.
f ( x )=x 1 x 2         point ( 0, 7 3 )

Answer for Q 16

f( x )= ( 1 x 2 ) 3 +8 3

Questions 17-22

Determine whether the statement is true or false.  If it is true, show mathematical working and/or reasoning to verify the statement; and if it is false, explain why or give an example that shows it is false.

Answers for Qs 17-19


Answers for Qs 20-22


download tutorial here:

Integration by Substitution tutorial v1