Math 238 Module 5 - Integration (May 2019)
Math 238 Module 5 - Integration (May 2019)
Engineering and
Technology I
Module 5 – Integration
Table of Contents
Module 5: Integration .......................................................................................................................... 2
Introduction ....................................................................................................................................... 2
An Antiderivative of a Function ....................................................................................................... 2
Definition of an Antiderivative ..................................................................................................... 6
General Antiderivative .................................................................................................................. 6
Definition of the General Antiderivative ...................................................................................... 8
Indefinite Integral.............................................................................................................................. 9
Notation and Naming .................................................................................................................... 9
Definition of the Indefinite Integral .............................................................................................. 9
Four Basic Rules of Integration ...................................................................................................... 11
1. Power Rule for Integration ............................................................................................... 11
2. Integration of a Sum of Terms in an Integral ................................................................... 11
3. Integration Including a Multiplied Constant .................................................................... 11
4. General Power Rule for Integration.................................................................................. 13
Integration via Substitution ............................................................................................................. 14
Evaluating the constant of integration ............................................................................................ 19
Solving a simple differential equation ............................................................................................ 26
The definite integral ........................................................................................................................ 30
Definition of the definite integral: .............................................................................................. 30
Some things to remember about definite integrals ..................................................................... 31
Estimating a definite integral using the trapezoidal rule ................................................................ 35
Trapezoidal Rule ......................................................................................................................... 38
Introduction
Integration is a useful procedure that can be applied to many applications in science and
technology. It can be used to find areas and volumes of complicated shapes, calculating
forces that result due to liquid pressure, finding the work done by variable forces and in
moving fluids Integration is a fundamental tool in the analysis of motion and electrical
problems as well. This module covers basic integration theory and technique, and the next
module will concentrate on the applications of integration.
An Antiderivative of a Function
In the first half of this course the process of differentiation was discussed. Remember this
process allowed calculation of the derivative (slope of the tangent line or instantaneous
slope) of a function. The differentiation produced an equation for the derivative that was
valid for any point on the curve. Now, consider the reverse of this process – namely finding
the original function if the equation of the derivative is given.
It is often necessary to find the expression for a function when the equation of its derivative
is given. If the derivative of the function is given, then certain procedures can be applied
on the slope equation to get the antiderivative of the slope function (which is the original
function!).
For example, for a typical polynomial function, like y = x 3 , the derivative can be obtained with
the power rule for differentiation.
In the antidifferentiation process, at least for power rules, the reverse order and reverse
operation of the above steps must be undertaken, in order to make it an inverse process (one
that undoes whatever the derivative process does).
Keep in mind that unlike differentiation, the antiderivative that is produced is not exclusive to
the derivative. Many different original functions can produce the same derivative as a
consequence of addition of a constant. Since the antiderivative generated by this technique
is not unique, it can only be called an antiderivative, not the antiderivative.
dy
Example 5-1: The slope of a function is given by = 3 x 2 . Find the original function.
dx
Solution: The power over the variable is 2, so adding 1 to it produces a power of
3. Then divide by that same power.
dy
= 3x 2
dx
x 2+1
y = 3
2 +1
y = x3
So, the original function has indeed been regenerated using this
technique. One can always check whether the correct antiderivative
dy
function has been found by taking its derivative, and the given should
dx
be obtained.
In the first half of this course, more complicated derivatives than those that produce
monomials were discussed. Of those more complicated derivatives, the chain rule was a
very important method. Recognizing the antiderivatives of powers of functions as well, will
be necessary. In the chain rule, like the power rule for derivatives, to find the derivative the
power over the function is decreased by one.
d (u n ) du
Chain Rule for Derivatives: n u n −1 ⋅
=⋅
dx dx
Therefore, the original equation for the curve should have the power over the function
increased by 1 more than the derivative. The method to do so is fortunately the same
technique as already outlined.
So, making a guess using the rules that the original function gives:
(x + 1)
3 5
y=
5
Compute the derivative to see if this is reasonable:
= ⋅ 5 ⋅ ( x 3 + 1) ( 3 x 2 )
dy 1 4
dx 5
= 3 x 2 ( x 3 + 1)
dy 4
dx
y=
15
Check
⋅ 5 ⋅ ( x 3 + 1) ( 3 x 2 )
dy 1 4
=
dx 15
= x 2 ( x 3 + 1)
dy 4
dx
It works!
In the next section, some techniques and formulas will be introduced that will simplify this
process immensely. In fact, a substitution technique will be introduced that will eliminate any
guessing in regards to the factors in front of the generated original function.
General Antiderivative
Note that in the previous section that one possible solution for the antiderivative was
generated, but no mention of other solutions was undertaken. In order to generalize this
process, consider the functions y = x 2 , =
y x2 + 4 , =
y x 2 − 2 . Their graphs are illustrated
below:
Function Derivative
dy
y = x2 = 2x
dx
dy
=
y x2 + 4 = 2x
dx
dy
=
y x2 − 2 = 2x
dx
Thus, if an antiderivative of the relation 2x is to be found, any of the three functions illustrated
would work. Notice the three functions only differ by an additive constant.
Hence, one can say that the general antiderivative of 2x would be a function of the form
=y x 2 + c , where c is a constant, consisting of the entire family curves that all have the correct
slope. The constant that is added has only the effect of shifting the sketch of the curve
vertically and has no effect on slope!
If f ( x) is the slope of a function, the family of all possible antiderivative functions, called the
general antiderivative, F ( x) + c exists if F ′( x) = f ( x) , where c is an unknown constant.
dy
Example 5-4: Determine the general antiderivative of the slope = x
dx
Solution: Rewrite the problem using exponents:
dy
= x1/2
dx
Using the techniques previously outlined, add one to the power, and
divide by the same power.
x1/2+1
y= 1
2
+1
x 3/2
y=
3/ 2
Dividing by a fraction is the same as multiplying by its reciprocal:
2
y = x 3/2
3
To make it a general antiderivative, add the unknown constant c:
2 3/2
= y x +c
3
It can be verified that this function, no matter what the value for c, does
dy
indeed have a derivative of = x.
dx
Some notation has been developed to minimize the writing done in the process of integration.
The English statement “find the general antiderivative of the function f(x) with respect to the
variable x” can be shortened with mathematical notation to the following:
∫ f ( x)dx
where
Instead of calling the obtained function from the process a “general antiderivative” the word
“indefinite integral” will be preferentially used. “Integral” means that the process of
integration/antidifferentiation is to be applied, and “indefinite” refers to the fact that the
function is only one of a possible infinite set of solutions (since the value of c is not known).
Also, the additive constant c will be referred to as the constant of integration, to specifically
delineate it from other constants that may appear in the functions. Therefore, using notation
previously discussed:
∫ f ( x=
)dx F ( x) + c is the indefinite integral of f ( x) , where F ′( x) = f ( x) , and c is an unknown
constant.
With this new notation, the indefinite integral (general antiderivative) of relations can be
found.
I ′ = x5
It works!
Note: Once the integration process is complete, both the integration symbol and the
differential disappear, and the indefinite integral solution is all that remains.
8
Example 5-6: Solve R = ∫ dt .
t
Solution: Rewriting the radical as a power:
R = ∫ 8t −1/2 dt
t −1/2+1
R= 8⋅ +c
−1/ 2 + 1
t1/2
R= 8⋅ +c
1/ 2
=R 16 t + c
x n +1
∫ x= +c where n ≠ −1
n
dx
n +1
This has already been explained, it is the basic rule required to integrate simple powers of x.
It is just rewritten here in indefinite integral notation. Notice that the power in the integral
cannot be -1 in order to use this formula, or it would generate an undefined division by 0 error
(actually, this case can be integrated analytically, but its proof and solution are beyond the
scope of this course).
Anytime there are several terms inside the integral (which by definition are separated by
either a + or – sign, represented by any functions f(x) and g(x)) they can be individually
integrated, and the result is the sum of the integrals.
∫ c ⋅ f ( x)dx =
c ∫ f ( x)dx
If an integral has a constant multiplied by the entire function to be integrated, the constant
can be factored outside the integral sign, and assumed to be multiplied by the integral of the
function.
In this case, even though there is more than one integral, and each integral theoretically has
a constant of integration, consider all of the added integration constants to be combined into
a single integration constant c.
Find= ∫ 8z ⋅ dz
3
Example 5-9: M
Solution:
= ∫ 8z ⋅ dz
3
M
=
M 8∫ z 3
⋅ dz
z4
=
M 8 +c
4
=
M 2z4 + c
2 4
Example 5-10: Find T = ∫ 6 − r 2
+ ⋅ dr
r3
Solution:
4
2
T= ∫ 6 − r r3
2
+
⋅ dr
2 4
T =∫ 6dr − ∫ 2 dr + ∫ 3 dr
r r
T =6 ∫ r 0 dr − 2 ∫ r −2 dr + 4 ∫ r −3 dr
r1 r −1 r −2
T =6 − 2 + 4 +c
1 −1 −2
2 2
T = 6r + − 2 + c
r r
To use this rule, one must notice that there is a power of a function in the integral. The
critical part, however, is that the differential of the function that is raised to a power
must also be in the integral. If this differential is not present, another integration technique
must be used. A guessing technique was previously discussed which showed how to get an
antiderivative for a function of this form. However, since this is an extremely important
integral form, in fact critical for further studies in mathematics, there is a substitution method
that has been developed that greatly simplifies the analysis and removes the need for
guesswork.
∫ x(x + 1) dx
4
Example 5-11: Find=I 2
Solution: Notice this integral is not of the form of any of the first three rules as it
isn’t a simple power of x (unless the whole term is expanded, yielding a
multi-term polynomial consisting of power rules, which eventually can be
factored, but this is a lot of algebra), there is only one term, and there is
no multiplied constant, so only the fourth rule is available.
let =
u x2 + 1 the function will be replaced by u
determine = 2 x ⋅ dx
du
With the two substitutions that are boxed above, the integral becomes:
∫(x + 1) x ⋅ dx
4
I= 2
du
= ∫ (u ) ⋅
4
I
2
1 4
2∫
=I u ⋅ du
1 u5
= I +c
2 5
1 5
= I u +c
10
Now undo the original substitution to return to the original variable x.
(
1 2
x + 1) + c
5
=I
10
Check
(
1 2
x + 1) + c
5
=I
10
(5) ( x 2 + 1) (2 x) + 0
1 4
If I ′=
10
I ′ x ( x 2 + 1)
4
=
It works!
Notice this technique may require a little more time than it would take to just use the
“guessing” method outlined earlier when antidifferentiation was discussed. But it is
necessary to formally write down the substitutions. The advantage with this method is that
there is no guesswork as to the factor that appears in front of the solution, and it will be
extremely useful when integration procedures become much more complicated in any
subsequent calculus courses.
∫ 8m (1 − m )
4 2
Solution: =J 3
dm
Recognize there is a function in the integral that is raised to a power,
namely (1 − m 4 ) which is raised to a power of 2. Also recognize that the
differential of this function, −4m3 ⋅ dm is also present (within a multiplied
factor, which can be addressed with Rule 3).
∫ 8m (1 − m )
4 2
=J 3
dm
With the two substitutions that are boxed above, the integral becomes:
∫ (1 − m ) (8m ⋅ dm )
2
J= 4 3
= ∫u (−2 ⋅ du )
2
J
−2 ∫ u 2 ⋅ du
J=
u3
J=
−2 + c
3
− (1 − m 4 ) + c
2 3
J=
3
Solution:
t
s=∫ dt
(1 + t ) 2 2
∫ (1 + t ) ( t ⋅ dt )
2 −2
s=
let u = 1+ t2
du= 2t ⋅ dt
du
= t ⋅ dt
2
−2 du
s = ∫ (u )
2
1 −2
2∫
=s u ⋅ du
1 u −1
=s +c
2 −1
1
s= − +c
2u
1
s= − +c
2 (1 + t 2 )
let u= x − 4
du = dx
= ∫u ⋅ du
1/2
y
u 3/2
=y +c
3/ 2
2 3/2
=y u +c
3
2
y = ( x − 4)3/2 + c
3
x −1
Example 5-15: =
Find y ∫ x2 − 2 x + 1
⋅ dx
⋅ ( 2u1/2 ) + c
1
y=
2
= y u +c
=
y x2 − 2x + 1 + c
let u= x + 2
du = dx
x= u − 2 need to replace for x and x+2
= ∫ (u − 2) ( u ) du
1/2
y
y= ∫ ( u − 2u ) ⋅ du
3/2 1/2
2 5/2 2
=
y u − 2 ⋅ u 3/2 + c
5 3
2 4
y = ( x + 2)5/2 − ( x + 2)3/2 + c
5 3
A boundary condition could be information like a point that the curve passes through (an
ordered pair), or it could be initial conditions that define where the curve begins, or list a
certain behaviour that the curve has at a specific location. To use a boundary condition, one
only needs to substitute for the variables defined by the boundary condition and solve for the
integration constant.
dy
Solution: = 2x
dx
Therefore, the original function will be the integral of this slope with
respect to x .
= y ∫ 2 x ⋅ dx
x2
= y 2 + c
2
=
y x +c2
This function solves the family of curves that all have slope of 2x . Or,
another way to say it is that this is the general solution for the function
y . In order to solve for the integration constant, additional information
concerning the particular curve of interest is known, namely that the
curve passes through the point (1, 4). One can substitute the values
from this boundary condition to find the particular solution for y that is
needed.
=
y x2 + c General Solution for y
or Indefinite Integral
y x2 + 3 , =
Three curves are sketched ( y = x 2 , = y x 2 + 6 ), all of which have a slope of 2x .
However, only one of them passes through the point (1,4), which is = y x 2 + 3 denoted by the
green line.
1 2 3/2
= s u +c
23
s = (t 2 + 4) + c
1 3/2
General Solution
3
Applying the boundary condition that s = 0, and t = 0:
0 = ( 02 + 4 ) + c
1 3/2
3
1 3/2
= 0 ( 4) + c
3
8
c= −
3
s = (t 2 + 4) −
1 3/2 8
Particular Solution
3 3
8
1 −1/2
8∫
=y u ⋅ du
= y
1
8
( 2u1/2 ) + c
1
=y 8x + 9 + c General Solution
4
Applying the boundary condition that x = 2, and y = 3:
1
= 3 8(2) + 9 + c
4
1
= 3 25 + c
4
5
c= 3 −
4
7
c=
4
1 7
=y 8x + 9 +
4 4
Particular Solution
= y
1
4
(
8x + 9 + 7 )
In most differential equations, the goal is to solve for the missing function y that satisfies the
equation. For very simple cases, the equation can be rearranged for the differential dy .
Remember the differential dy represents an infinitesimal change in y , but it also represents
the differential of the function y . Since integration and differentiation are inverse
processes, applying the integration process to the differential can yield the original function.
x1
∫ dx = ∫ 1⋅ dx =∫ x ⋅ dx = 1 + c
0
∫ dx= x + c
It can be interpreted when the application of the integration process ∫ is adjacent to the
differential process d these two processes in effect cancel out (with the addition of an
integration constant) since they are inverse processes, as in:
∫ dx =
∫ d ( x) =
∫ d ( x) =
x+c
Therefore, dy (the differential of y ) can be isolated, integration should yield the function y .
∫ dy= y+c
Even if the differential dy cannot be isolated, as long as the left side contains the differential
and any function of y , it might still be integrable! If the differential equation can be
manipulated so that each variable and related differentials are separated onto their own side
It turns out that this differential interpretation of the integral will be a key concept in the
development of the applications of areas under curves, and volumes by revolution, and many
other integration applications.
dy
Example 5-22: Solve for y if = x2 .
dx
Solution: This type of problem has already been solved previously, but it can now
be approached from a differential perspective. Isolating the dy term in
the equation by cross-multiplying:
dy= x 2 ⋅ dx
Now, the differential of y is alone, so application of the integration
process should “undo” the differential process, and produce the function
y alone:
∫=
dy ∫ x ⋅ dx
2
=y ∫x 2
⋅ dx
Since there is an indefinite integral on the right side of the equation, an
integration constant will be introduced on that side, so there is no loss
of generality if the integration constant from the left side is not written (it
will be contained within the constant that will be introduced on the right
side). Now the problem is a regular integration problem.
= y ∫ x 2 ⋅ dx
x3
=
y +c
3
The general solution for y can in this way be obtained. It can be verified
that its derivative does indeed satisfy the original differential equation by
substitution.
∫9y ∫ ( 3 − 4 x ) dx
−2
⋅ dy =
9 y −1 x2
=3 x − 4 + c
−1 2
9
− = 3x − 2 x 2 + c
y
9
y= −
3x − 2 x 2 + c
The definite integral, like the indefinite integral, uses the antiderivative function F ( x) , but one
evaluates this function between two limits, thereby generating a numerical answer.
∫ f ( x) ⋅ dx=
a
F (b) − F (a )
In subsequent parts of this course, it will be seen that the definite integral can be interpreted
as a summation process, where the sizes of the pieces that are summed are infinitesimally
small.
2
Find= ∫x ⋅ dx
2
Example 5-25: J
1
Solution:
2
= ∫x ⋅ dx
2
J
1
2
x3
J=
3 1
23 13
=
J −
3 3
8 1
J= −
3 3
2
7
J= ∫x ⋅ dx =
2
1
3
1. The solution is a finite numerical result, not a function depending upon variables.
2. After the integration is completed, there is a vertical line that denotes the resulting
function is to be evaluated between two limits.
3. The integration constant is not present after integration. This is for conciseness,
because the integration constant could be written in as part of the function, but it
will always cancel out algebraically, so it is superfluous. For example, the integral
evaluated at the upper limit x = b should really be
F (b) + c
and the integral evaluated at the lower limit x = a should be
F (a) + c
But when the values are subtracted, the integration constant (which is the same in
each case since it’s the same function) will always cancel out.
[ F (b) + c ] − [ F (a) + c=] F (b) + c − F (a) − c
= F (b) − F (a )
3
1
Example 5-26: Solve =
E ∫x
2
2
⋅ dx
Solution:
3
1
=
E ∫x
2
2
⋅ dx
∫x
−2
=
E ⋅ dx
2
3
x −1
E=
−1 2
3
1
E= −
x2
1 1
E = − −−
3 2
1 1
E =− +
3 2
3
1 1
E = ∫ 2 ⋅ dx =
2
x 6
∫ x (5x + 4 ) dx
1/2
=I 2 3
let =
u 5 x3 + 4
=
du 15 x 2 ⋅ dx
du
= x 2 ⋅ dx
15
b
1
I = ∫ ( u ) du
1/2
15 a
b
1 2
I = u 3/2
15 3 a
( ) 0
2 3/2 5
=I 5 x 3
+ 4
45
2 2
= ( 629 ) − ( 4 )
3/2 3/2
I
45 45
=
I 701.1217664 − 0.3555... = 700.7662108
I 701
When using substitution in a definite integral, the variable changes. Therefore, the limits
must also change. They can be left as unknown limits (e.g. a and b ), but they cannot remain
as the original limits when the variable changes.
Solution: Rewrite as
4
W =∫ ( t 2 − 7 ) (t ⋅ dt )
−3
let u= t 2 − 7
du= 2t ⋅ dt
du
= t ⋅ dt
2
b
1 −3
2 ∫a
=
W u ⋅ du
b
1 u −2
W=
2 −2 a
b
1
W= −
4u 2 a
4
1
W= − 2
4(t − 7) 2 3
1 1
W =− −−
4(9) 4(2) 2
2
1 1
W= − + = 0.0594135802
324 16
W 0.0594
The sum of the areas of the rectangles in this case would be a small underestimate of the
actual area, since the unshaded regions above the rectangles are not being considered. The
length of any one rectangle is a constant, which means that over the interval width of each
rectangle, that the value of the curve is estimated to be constant. For any curve that is
changing, however, this is not a particularly good estimate, unless a very large number of
rectangles is used.
A better method would be to take into account the behaviour of the curve over the width of
each section, in order to compensate for changes in the value of the function. There are
various approximation techniques that could be used: if the curve is approximated in each
section with a straight line, this would form trapezoidal sections, hence this method is called
the Trapezoidal Rule; if the curve is approximated in each section with a parabolic arc, the
method is called Simpson’s Rule. Any technique that attempts to model the behaviour of
To use the trapezoidal rule to approximate the definite integral, divide the x -axis between
x = a and x = b under the curve into sections of equal width. For this demonstration, the
area will be broken into four sections. A line is drawn from the x -axis to the curve at the
boundaries of each of these sections. At the top of each section, a line segment is drawn
from the left-hand intersection of the curve with the section division lines to the right-hand
intersection of the curve with the section division lines (the red line segments shown). This
divides the area into a number of distinct trapezoids (which look like a rectangle with a right
triangle on top).
The area under the curve will be estimated by summing the areas of the trapezoids. Notice
that the interval between x = a and x = b was divided into equal parts, so the width of each
b−a
trapezoid will be the same, ∆x = , where n is the number of sections. The formula for
n
1
the area of a trapezoid is known to be A = b ⋅ ( h1 + h2 ) , where b represents the width of the
2
trapezoid and h1 and h2 represent the lengths of the two sides of the trapezoid. The estimate
∫ f ( x) ⋅ dx
a
= A A1 + A2 + A3 + A4
b
1 1 1 1
∫ f ( x) ⋅ dx 2 ∆x ⋅ ( y
a
0 + y1 ) + ∆x ⋅ ( y1 + y2 ) + ∆x ⋅ ( y2 + y3 ) + ∆x ⋅ ( y3 + y4 )
2 2 2
1
There is a common factor of ∆x here, which can be divided out of each term:
2
b
1
∫ f ( x) ⋅ dx 2 ∆x ( y
a
0 + y1 ) + ( y1 + y2 ) + ( y2 + y3 ) + ( y3 + y4 )
b
1
∫ f ( x) ⋅ dx 2 ∆x [ y
a
0 + 2 y1 + 2 y2 + 2 y3 + y4 ]
Notice since the trapezoid area formula uses both side lengths of the trapezoids that the
values of y at each interval point will be counted twice (the right-hand side of trapezoid 1 is
the same as the left-hand side of trapezoid 2, and so on), except the first and last values
(since these are on the outer edges of the area, only on the boundaries of the first and last
trapezoid respectively). This allows generalization of the equation into a standard form.
As the number of trapezoids increases (from 4 to very large numbers), the estimate for the
definite integral will get closer and closer to the actual value. So, for n trapezoids, the
summation of the areas would be:
Trapezoidal Rule
b
1
∫ f ( x) ⋅ dx 2 ∆x [ y
a
0 + 2 y1 + 2 y2 + ... + 2 yn −1 + yn ]
This is known as the trapezoidal rule approximation for the definite integral.
∫
0
16 − x 2 ⋅ dx 11.98283627 12.0
48 24 16 48 8 48 12
6
24 1
∫ x + 4 ⋅ dx 2 ( 0.5) 4 + 2 13 + 2
2
7
+ 2 + 2(3) + 2 + 2 + 2 +
5 17 3 19 5
6
24
∫ x + 4 ⋅ dx (0.25) [ 49.07478198]
2
6
24
∫ x + 4 ⋅ dx 12.26869549 12.3
2