Chapter 4 201 Integration
Chapter 4 201 Integration
Chapter 4 201 Integration
Integration
INTERNATIONAL UNIVERSITY
Given a nonnegative continuous function f (x), find the area of the region
R lying
under the curve y = f (x)
above the x-axis
between the vertical lines x = a and x = b, where a < b
y = f(x)
a b x
y y (1,1)
(1,1)
y=x2
y = x2
S
4
R
S1 S
3
S2
We can also use smaller rectangles whose heights are the values of f at
the left endpoints of the subintervals
y (1,1)
y=x2
y (1,1)
y=x2
n Ln Rn
10 0.2850000 0.3850000
20 0.3087500 0.3587500
30 0.3168519 0.3501852
50 0.3234000 0.3434000
100 0.3283500 0.3383500
1000 0.3328335 0.3338335
1
from this table, we see that Ln and Rn are approaching 3
Solution :
n n
1 X i2 1 X 2 (n + 1)(2n + 1)
Rn = = 3 i =
n n2 n 6n2
i=1 i=1
1
lim Rn =
n!1 3
y y
y = f(x)
y = f(x)
0 a x x2 x x4 x5 b x
a b x 1 3
Definition The area of the region R that lies under the graph of a
nonnegative continuous function f is the limit of the sum of the areas of
approximating rectangles :
f(x *)
i
0 a ⁄ ¤ ‹ xi-1 xi xn-1 b x
y = x3 − 6x +
+
0 x
__
__
__ __
Assume the velocity of an object is known all the times. Find the
distance travelled by this object during a certain time period
If the velocity remains constant, then
distance = velocity ⇥ time
Otherwise
Time (s) 0 5 10 15 20 25 30
Velocity (ft/s) 25 31 35 43 47 46 41
25 ⇥ 5 + 31 ⇥ 5 + 35 ⇥ 5 + 43 ⇥ 5 + 47 ⇥ 5 + 46 ⇥ 5 = 1135 ft
31 ⇥ 5 + 35 ⇥ 5 + 43 ⇥ 5 + 47 ⇥ 5 + 46 ⇥ 5 + 41 ⇥ 5 = 1215 ft
40
20
0 t
10 20 30
b a
Consider a = t0 < t1 < · · · < tn = b and t= n . Then the distance
can be calculated as
n
X n
X
d = lim f (ti 1 ) t = lim f (ti ) t
n!1 n!1
i=1 i=1
R
The symbol is called an integral sign
f (x) is called the integrand and a and b the limits of integration
a is the lower limit and b is the upper limit
x is the variable of integration
the process of finding an integral is called integration
Rb
a f (x)dx is a number ; it does not depend on x.
So Z Z Z
b b b
f (x)dx = f (t)dt = f (r )dr
a a a
Rb
If f is positive on [a, b], the definite integral a f (x)dx can be interpreted
as the area under the curve y = f (x) from a to b
y
y = f(x)
a b x
y
y=ƒ
0 a b x
R1 p
Evaluate the integral 0 1 x 2 dx by interpreting it in terms of
areas
y
y= œ„„„„„
1-≈
1 or
≈+¥=1
0 1 x
Ra
a f (x) dx = 0
Rb Ra
a f (x) dx = b f (x) dx
Rb Rb Rb
a [↵f (x) + g (x)] dx = ↵ a f (x) dx + a g (x) dx
Rb Rc Rc
a f (x) dx + b f (x) dx = a f (x) dx
Rb Rb
if f (x) g (x) and a b, then a f (x) dx a g (x) dx
Rb Rb
if a b, then | a f (x) dx| a |f (x)| dx
Ra
if f is an odd function, then a f (x) dx = 0
Ra Ra
if f is an even function, then a f (x) dx = 2 0 f (x) dx
y
M
y=ƒ
0 a b x
Theorem
If f is continuous on [a, b], then there exists c 2 [a, b] such that
Z b
f (x) dx = f (c) (b a)
a
y
y=ƒ
f(c)=fave
0 a c b x
N. DINH and J.J.STRODIOT (IU) Calculus I 26 / 59
The Mean Value Theorem for Integrals
Z b
f (x) dx = f (c) (b a)
a
2
y=x
A1 = A2
A1
f(c)
A
2
0 c 1 x
y
(2, 5)
y=1+≈
(_1, 2)
fave=2
_1 0 1 2 x
where t is the time (in months) since the patient began the diet.
Find the average cholesterol level for the patient over the first six months.
• Typing Speed. The function W (t) = 3.75t 2 + 30t + 40 describes a
typist’s speed (in words per minute) over a time interval [0, 5].
(a) Find the maximum W value and the time t when it occurs.
(b) Find the average speed over [0, 5].
Taking the limit of Riemann sums is often long and difficult. We will use
the relationship between integration and di↵erentiation.
Definition (Antiderivative)
On an interval J, an antiderivative of a function f is a function F whose
derivative is equal to f , i.e., F 0 (x) = f (x) for all x 2 J
Part A Suppose
R xf is continuous on an interval containing a.
Then F (x) = a f (t) dt is an antiderivative of f
F (x+h) F (x)
F 0 (x) = limh!0
⇣R h Rx ⌘
1 x+h
F 0 (x) = limh!0 h a f (t)dt a f (t)dt
R
1 x+h
F 0 (x) = limh!0 h x f (t)dt
F 0 (x) = limh!0 h1 f (c) h for some c between x and x + h
F 0 (x) = limh!0 f (c) = f (x) since c ! x as h ! 0
b
It is convenient to define the symbol F (x) a = F (b) F (a)
We define the indefinite integral of f as the set of antiderivatives of f
R R
Notation : f (x) dx. So f (x) dx = F (x) + C where F is any
antiderivative and C is an arbitrary constant, often called constant of
integration
Part B of the FTC can be written (Newton Leibniz formula)
Z b ✓Z ◆ b
f (x) dx = f (x) dx
a a
Theorem
If an object moves along a straight line with velocity v (t), then
• The displacement of the object during the time from t1 to t2 is :
Z t2
s(t2 ) s(t1 ) = v (t)dt.
t1
Examples
R
Find (2x 3 + 1)7 x 2 dx
R
Find x sin (x 2 + 1) dx
R
Find tan x dx
R2 p
• Evaluate 0 x 2 x 3 + 1dx,
• Calculate the area under the curve
x
y=
x2 +1
over [1, 3].
R 10
Find p3dx . Set u = 5x 1
2 5x 1
Re ln x
Evaluate 1 x dx
R ⇡/2 R ⇡/2
Prove that 0 cosn x dx = 0 sinn x dx for all positive integers n
Hint : cos x = sin ( ⇡2 x)
R dx
Example. Find x 1/2 (1+x 1/3 )
by using the inverse substitution x = u 6
R8 dx
Example. Find 1 x 1/2 (1+x 1/3 ) by using the inverse substitution x = u 6
Similarly Z
csc x dx = ln | csc x + cot x| + C
R
Letting u = sin x, so du = cos x dx, we get u m (1 u 2 )k du
m and n are both even then use the half-angle formulae
Example
R
Find R sin3 x cos8 x dx
Find sin4 x dx
p
Integrals involving a2 x 2 (a > 0)
! use x = a sin t
p
a2 x 2 makes sense if |x| a, i.e., if |t| ⇡/2
Thus cos t > 0, so
p p p
a2 x 2 = a 1 sin2 t = a cos2 t = a cos t
R
Example 1 Find I = (5 dxx 2 )3/2
p 1
Integrals involving a2 + x 2 or x 2 +a2
(a > 0)
! use x = a tan t
p
Integrals involving x2 a2 (a > 0)
! use x = a sec t
p p p
We have x 2 a2 = a sec2 t 1=a tan2 t = a | tan t|
p
If x a, then 0 t ⇡/2, so tan t 0 and x2 a2 = a tan t
p
If x a, then ⇡/2 t ⇡, so tan t 0 and x2 a2 = a tan t
R
Example 2 Find I = p dx
x 2 a2
R
Integrals of the form R(sin t, cos t) dt where
R(u, v ) is a rational function in u and v
! use x = tan 2t
x = tan 2t , so cos2 t
2 = 1/ sec2 t
2 = 1/[1 + tan2 2t ] = 1/(1 + x 2 )
Thus cos t = 2 cos2 2t 1 = 2/(1 + x 2 ) 1 = (1 x 2 )/(1 + x 2 )
sin t = 2 sin 2t cos 2t = 2 tan 2t cos2 t
2
= 2x /(1 + x 2 )
1
dx = 2 sec2 2t dt ) dt = 2 cos2 2t dx = 2 dx
1+x 2
If x = tan 2t then
1 x2 2x 2 dx
cos t = sin t = dt =
1 + x2 1 + x2 1 + x2
R dt
Example 3 Find I = 4 sin t+3 cos t+5
Suppose U(x) and V (x) are two di↵erentiable functions. The Product
Rule is
d dV dU
U(x) V (x) = U(x) + V (x)
dx dx dx
i.e.,
dV d dU
U(x) = U(x) V (x) V (x)
dx dx dx
Integrating both sides one obtains
Z Z
dV dU
U(x) = U(x) V (x) V (x) dx
dx dx
R R
or more simply U dV = U V V dU
Example 4.5.1
R 1x
(a) x tan dx
R
(b) ln x dx
Re
(c) 1 x 3 (ln x)2 dx
R P(x)
We consider Q(x) dx where P and Q are polynomials
A polynomial is a function P of the form
P(x) = an x n + an 1x
n 1
+ · · · + a2 x 2 + a1 x + a0
2 1 2(x + 2) 1(x 1) x +5
= = 2
x 1 x +2 (x 1)(x + 2) x +x 2
= 2 ln |x 1| ln |x + 2| + C
P(x) R(x)
= P1 (x) +
Q(x) Q(x)
R x 3 +x
Example 4.6.1 Find x 1 dx
A1 A2 An
+ + ··· +
x a (x a)2 (x a)n
For each factor (x 2 + bx + c)n in Q(x) which has no real roots, write
fractions
B1 x + C1 B2 x + C2 Bn x + Cn
+ 2 + ··· + 2
x 2 + bx + c (x + bx + c)2 (x + bx + c)n
x +4 A(x 3) + B(x 2)
=
(x 2)(x 3) (x 2)(x 3)
coe↵. of x : 1 = A + B constants : 4 = 3A 2B
R x+2
Find I = x 4 +x 2
dx
We can factorize x 4 + x 2 =
Then we can decompose into partial fractions :
x+2
x 4 +x 2
=
Add the fractions and equate the numerators of both sides :
Find the coefficients :
So the integral becomes : I =
Remark : sometimes another approach is quicker : for example
R x2
(x 1)5
dx can be found more easily by using the substitution u = x 1
p p
The table includes forms such as x 2 + a2 but not x 2 + bx + c
First we complete the square : x 2 + 2x + 4 = (x + 1)2 + 3
Then we use the substitution u = x + 1
R p R p
The integral becomes I = (x + 1)2 + 3 dx = u 2 + 3 du
In the table (see Formula 21 in Stewart) we find
R p p 2 p
a2 + u 2 du = u2 a2 + u 2 + a2 ln (u + a2 + u 2 ) + C
p p
So I = u2 3 + u 2 + 32 ln (u + 3 + u 2 ) + C
p p
I = x+12 x 2 + 2x + 4 + 3 ln (x + 1 + x 2 + 2x + 4) + C
2
R
Example : Find x (x 2 + 5)8 dx
By hand, using the substitution u = x 2 + 5 :
Z
(x 2 + 5)9
x (x 2 + 5)8 dx = +C
18
Maple and Mathematica give the solution :
x 18 5 x 16 1750 x 12
+ + 50 x 14 + + 4375 x 10 + 21875 x 8
18 2 3
218750 x 6
+ + 156250 x 4 + 390625 x 2
3
The answer is NO !
If 0
R f is an elementary function, then f is an elementary function but
f (x) dx is not necessarily elementary
R 2 R R p
Examples : e x dx, sin x 2 dx, x 3 + 1 dx
0 0 3.0 10.51
0.5 4.67 3.5 10.67
1.0 7.34 4.0 10.76
1.5 8.86 4.5 10.81
2.0 9.73 5.0 10.81
2.5 10.22
0 x¡
– –
x™ –
x£ –
x¢ x
Fig.:
JJS (IU) Calculus I 2007 68 / 93
Trapezoidal Rule
Z b
x
f (x) dx ⇡ [f (x0 ) + 2f (x1 ) + · · · + 2f (xn 1) + f (xn )]
a 2
b a
where x= n and xi = a + i x.
Each strip is approximated by a trapezoid.
y
0 x¸ ⁄ x™ x£ x¢ x
1
y=
x
1 2
JJS (IU) Calculus I 2007 70 / 93
Example (Cont’d)
The midpoints are 1.1, 1.3, 1.5, 1.7, 1.9 and the Midpoint Rule gives
(with x = 1/5)
Z 2
1
dx ⇡ 0.2[f (1.1) + f (1.3) + · · · + f (1.7) + f (1.9)] ⇡ 0.691908
1 x
1
y=
x
1 2
JJS (IU) Calculus I 2007 71 / 93
Simpson’s Rule
Use parabola instead of straight line segments to approximate the curve.
Rb x
a f (x) dx ⇡ 3 [f (x0 ) + 4f (x1 ) + 2f (x2 ) + · · · + 2f (xn 2 ) + 4f (xn 1 )
b a
+f (xn )] where x= n and n is even.
P¸ P¡
P∞ Pß
P™
P¢
P£
0 a=x¸ ⁄ x™ x£ x¢ x∞ xß=b x
P¸ (_h, y¸) P¡ (0, › )
P™ (h, fi )
_h 0 h x
y=e ≈
0 x
1
JJS (IU) Calculus I 2007 74 / 93
Example (Cont’d)
2) The midpoints are 0.05, 0.15, . . . , 0.85, 0.95 and the Midpoint Rule
gives (with x = 0.1)
Z 1
2
e x dx ⇡ 0.1[f (0.05) + f (0.15) + · · · + f (0.85) + f (0.95)] ⇡ 1.460393
0
2
y=e x
0 1 x
A radar gun was used to record the speed of a runner during the first 5
seconds of a race (see the table). Use Simpson’s Rule to estimate the
distance the runner covered during those 5 seconds.
0 0 3.0 10.51
0.5 4.67 3.5 10.67
1.0 7.34 4.0 10.76
1.5 8.86 4.5 10.81
2.0 9.73 5.0 10.81
2.5 10.22
R5
distance = 0 v (t)dt ⇡ 16 [v (0) + 4v (0.5) + 2v (1) + · · · + 4v (4.5) + v (5)]
1
= 6 (268.41) = 44.735 metres.
TRAPEZOIDAL RULE
#x
y
y
b
f %x& dx ! Tn ! $ f %x0 & " 2 f %x1 & " 2 f %x2 & " % % % " 2 f %xn!1 & " f %x n &'
a 2
where #x ! %b ! a&(n and xi ! a " i #x.
The reason for the name Trapezoidal Rule can be seen from Figure 2, which illustrates
the case f %x& $ 0. The area of the trapezoid that lies above the ith subinterval is
FIGURE 2 and if we add the areas of all these trapezoids, we get the right side of the Trapezoidal
Trapezoidal approximation Rule.
EXAMPLE 1 Use (a) the Trapezoidal Rule and (b) the Midpoint Rule with n ! 5 to
approximate the integral x12 %1(x& dx.
1
y= SOLUTION
x
(a) With n ! 5, a ! 1, and b ! 2, we have #x ! %2 ! 1&(5 ! 0.2, and so the Trape-
zoidal Rule gives
1 0.2
y
2
dx ! T5 ! $ f %1& " 2 f %1.2& " 2 f %1.4& " 2 f %1.6& " 2 f %1.8& " f %2&'
1 x 2
! 0.1 " 1
1
"
2
1.2
"
2
1.4
"
2
1.6
"
2
1.8
"
1
2
#
1 2 ! 0.695635
FIGURE 3 This approximation is illustrated in Figure 3.
(b) The midpoints of the five subintervals are 1.1, 1.3, 1.5, 1.7, and 1.9, so the Midpoint
Rule gives
2 1
y=
1
x
y1 x dx ! #x $ f %1.1& " f %1.3& " f %1.5& " f %1.7& " f %1.9&'
!
1
5
" 1
1.1
"
1
1.3
"
1
1.5
"
1
1.7
"
1
1.9
#
! 0.691908
This approximation is illustrated in Figure 4. M
a
f %x& dx ! approximation " error The error in using an approximation is defined to be the amount that needs to be added to
the approximation to make it exact. From the values in Example 1 we see that the errors
in the Trapezoidal and Midpoint Rule approximations for n ! 5 are
ET ! !0.002488 and EM ! 0.001239
498 |||| CHAPTER 7 TECHNIQUES OF INTEGRATION
In general, we have
ET ! y f %x& dx ! Tn EM ! y f %x& dx ! Mn
b b
and
a a
TEC Module 5.2/7.7 allows you to The following tables show the results of calculations similar to those in Example 1, but
compare approximation methods. for n ! 5, 10, and 20 and for the left and right endpoint approximations as well as the
Trapezoidal and Midpoint Rules.
1
Approximations to y n Ln Rn Tn Mn
2
dx
1 x
5 0.745635 0.645635 0.695635 0.691908
10 0.718771 0.668771 0.693771 0.692835
20 0.705803 0.680803 0.693303 0.693069
Corresponding errors n EL ER ET EM
5 !0.052488 0.047512 !0.002488 0.001239
10 !0.025624 0.024376 !0.000624 0.000312
20 !0.012656 0.012344 !0.000156 0.000078
B B
A D A D
FIGURE 5 x i-1 x–i xi
SECTION 7.7 APPROXIMATE INTEGRATION |||| 499
These observations are corroborated in the following error estimates, which are proved
in books on numerical analysis. Notice that Observation 4 corresponds to the n 2 in each
denominator because %2n&2 ! 4n 2. The fact that the estimates depend on the size of the
second derivative is not surprising if you look at Figure 5, because f )%x& measures how
much the graph is curved. [Recall that f )%x& measures how fast the slope of y ! f %x&
changes.]
) )
3 ERROR BOUNDS Suppose f )%x& ( K for a ( x ( b. If ET and EM are the
errors in the Trapezoidal and Midpoint Rules, then
Let’s apply this error estimate to the Trapezoidal Rule approximation in Example 1. If
f %x& ! 1(x, then f *%x& ! !1(x 2 and f )%x& ! 2(x 3. Since 1 ( x ( 2, we have 1(x ( 1, so
) f )%x& ) ! * *
2
x 3 (
2
13
!2
Comparing this error estimate of 0.006667 with the actual error of about 0.002488, we see
that it can happen that the actual error is substantially less than the upper bound for the
error given by (3).
V EXAMPLE 2 How large should we take n in order to guarantee that the Trapezoidal
and Midpoint Rule approximations for x12 %1(x& dx are accurate to within 0.0001?
) )
SOLUTION We saw in the preceding calculation that f )%x& ( 2 for 1 ( x ( 2, so we can
take K ! 2, a ! 1, and b ! 2 in (3). Accuracy to within 0.0001 means that the size of
the error should be less than 0.0001. Therefore we choose n so that
2%1&3
' 0.0001
12n 2
2
n2 &
12%0.0001&
1
N It’s quite possible that a lower value for n or n& ! 40.8
would suffice, but 41 is the smallest value for s0.0006
which the error bound formula can guarantee us
accuracy to within 0.0001. Thus n ! 41 will ensure the desired accuracy.
500 |||| CHAPTER 7 TECHNIQUES OF INTEGRATION
For the same accuracy with the Midpoint Rule we choose n so that
2%1&3
' 0.0001
24n 2
1
which gives n& ! 29 M
s0.0012
y V EXAMPLE 3
(a) Use the Midpoint Rule with n ! 10 to approximate the integral x01 e x dx.
2
(b) Give an upper bound for the error involved in this approximation.
SOLUTION
2
y=e x (a) Since a ! 0, b ! 1, and n ! 10, the Midpoint Rule gives
y
1 2
e x dx ! #x $ f %0.05& " f %0.15& " % % % " f %0.85& " f %0.95&'
0
! 0.1$e 0.0025 " e 0.0225 " e 0.0625 " e 0.1225 " e 0.2025 " e 0.3025
" e 0.4225 " e 0.5625 " e 0.7225 " e 0.9025'
0 1 x ! 1.460393
SIMPSON’S RULE
Another rule for approximate integration results from using parabolas instead of straight
line segments to approximate a curve. As before, we divide $a, b' into n subintervals of
equal length h ! #x ! %b ! a&(n, but this time we assume that n is an even number. Then
on each consecutive pair of intervals we approximate the curve y ! f %x& $ 0 by a parabola
as shown in Figure 7. If yi ! f %x i &, then Pi %x i , yi & is the point on the curve lying above x i .
A typical parabola passes through three consecutive points Pi , Pi"1 , and Pi"2 .
y y
P¸ P¡ P¸(_h, y¸)
P∞ Pß P¡ (0, ›)
P™
P¢ P™ (h, fi)
P£
0 a=x¸ ⁄ x™ x£ x¢ x∞ xß=b x _h 0 h x
FIGURE 7 FIGURE 8
SECTION 7.7 APPROXIMATE INTEGRATION |||| 501
To simplify our calculations, we first consider the case where x 0 ! !h, x 1 ! 0, and
x 2 ! h. (See Figure 8.) We know that the equation of the parabola through P0 , P1 , and P2
is of the form y ! Ax 2 " Bx " C and so the area under the parabola from x ! !h to
x ! h is
!2 A+ x3
3
" Cx, h
!2 A" h
3
3
#h
" Ch ! %2Ah 2 " 6C&
3
But, since the parabola passes through P0%!h, y0 &, P1%0, y1 &, and P2%h, y2 &, we have
h
%y0 " 4y1 " y2 &
3
Now, by shifting this parabola horizontally we do not change the area under it. This means
that the area under the parabola through P0 , P1 , and P2 from x ! x 0 to x ! x 2 in Figure 7
is still
h
%y0 " 4y1 " y2 &
3
h
%y2 " 4y3 " y4 &
3
If we compute the areas under all the parabolas in this manner and add the results, we get
h h h
y
b
f %x& dx ! %y0 " 4y1 " y2 & " %y2 " 4y3 " y4 & " % % % " %yn!2 " 4yn!1 " yn &
a 3 3 3
h
! %y0 " 4y1 " 2y2 " 4y3 " 2y4 " % % % " 2yn!2 " 4yn!1 " yn &
3
Although we have derived this approximation for the case in which f %x& $ 0, it is a rea-
sonable approximation for any continuous function f and is called Simpson’s Rule after
the English mathematician Thomas Simpson (1710–1761). Note the pattern of coeffi-
cients: 1, 4, 2, 4, 2, 4, 2, . . . , 4, 2, 4, 1.
502 |||| CHAPTER 7 TECHNIQUES OF INTEGRATION
1
y
2
dx % S10
1 x
"x
! ( f !1# ! 4 f !1.1# ! 2 f !1.2# ! 4 f !1.3# ! # # # ! 2 f !1.8# ! 4 f !1.9# ! f !2#)
3
!
0.1
3
& 1
1
!
4
1.1
!
2
1.2
!
4
1.3
!
2
1.4
!
4
1.5
!
2
1.6
!
4
1.7
!
2
1.8
!
4
1.9
!
1
2
'
% 0.693150 M
S2n ! 13 Tn ! 23 Mn
(Recall that ET and EM usually have opposite signs and $ EM $ is about half the size of $ ET $.)
In many applications of calculus we need to evaluate an integral even if no explicit for-
mula is known for y as a function of x. A function may be given graphically or as a table
of values of collected data. If there is evidence that the values are not changing rapidly,
then the Trapezoidal Rule or Simpson’s Rule can still be used to find an approximate value
for xab y dx, the integral of y with respect to x.
V EXAMPLE 5 Figure 9 shows data traffic on the link from the United States to SWITCH,
the Swiss academic and research network, on February 10, 1998. D!t# is the data through-
put, measured in megabits per second !Mb"s#. Use Simpson’s Rule to estimate the total
amount of data transmitted on the link up to noon on that day.
D
8
FIGURE 9
0 3 6 9 12 15 18 21 24 t (hours)
SECTION 7.7 APPROXIMATE INTEGRATION |||| 503
SOLUTION Because we want the units to be consistent and D!t# is measured in megabits
per second, we convert the units for t from hours to seconds. If we let A!t# be the
amount of data (in megabits) transmitted by time t, where t is measured in seconds, then
A'!t# ! D!t#. So, by the Net Change Theorem (see Section 5.4), the total amount of data
transmitted by noon (when t ! 12 & 60 2 ! 43,200) is
A!43,200# ! y
43,200
D!t# dt
0
We estimate the values of D!t# at hourly intervals from the graph and compile them in
the table.
Then we use Simpson’s Rule with n ! 12 and "t ! 3600 to estimate the integral:
"t
y
43,200
A!t# dt % (D!0# ! 4D!3600# ! 2D!7200# ! # # # ! 4D!39,600# ! D!43,200#)
0 3
3600
% (3.2 ! 4!2.7# ! 2!1.9# ! 4!1.7# ! 2!1.3# ! 4!1.0#
3
! 2!1.1# ! 4!1.3# ! 2!2.8# ! 4!5.7# ! 2!7.1# ! 4!7.7# ! 7.9)
! 143,880
Thus the total amount of data transmitted up to noon is about 144,000 megabits, or
144 gigabits. M
The table in the margin shows how Simpson’s Rule compares with the Midpoint Rule
n Mn Sn for the integral x12 !1"x# dx, whose true value is about 0.69314718. The second table shows
4 0.69121989 0.69315453 how the error Es in Simpson’s Rule decreases by a factor of about 16 when n is doubled.
8 0.69266055 0.69314765 (In Exercises 27 and 28 you are asked to verify this for two additional integrals.) That is
16 0.69302521 0.69314721 consistent with the appearance of n 4 in the denominator of the following error estimate for
Simpson’s Rule. It is similar to the estimates given in (3) for the Trapezoidal and Midpoint
Rules, but it uses the fourth derivative of f .
n EM ES
4 0.00192729 $0.00000735 4 ERROR BOUND FOR SIMPSON’S RULE Suppose that f !4#!x# % K for $ $
8 0.00048663 $0.00000047 a % x % b. If ES is the error involved in using Simpson’s Rule, then
16 0.00012197 $0.00000003
K!b $ a#5
$E $ %
S
180n 4
504 |||| CHAPTER 7 TECHNIQUES OF INTEGRATION
EXAMPLE 6 How large should we take n in order to guarantee that the Simpson’s Rule
approximation for x12 !1"x# dx is accurate to within 0.0001?
SOLUTION If f !x# ! 1"x, then f !4#!x# ! 24"x 5. Since x * 1, we have 1"x % 1 and so
$f !4#
!x# ! $ * *
24
x5
% 24
N Many calculators and computer algebra sys- Therefore we can take K ! 24 in (4). Thus, for an error less than 0.0001, we should
tems have a built-in algorithm that computes an choose n so that
approximation of a definite integral. Some of
these machines use Simpson’s Rule; others use 24!1#5
) 0.0001
more sophisticated techniques such as adaptive 180n 4
numerical integration. This means that if a func-
tion fluctuates much more on a certain part of 24
the interval than it does elsewhere, then that This gives n4 (
part gets divided into more subintervals. This 180!0.0001#
strategy reduces the number of calculations
required to achieve a prescribed accuracy. 1
or n( % 6.04
s 0.00075
4
Therefore n ! 8 (n must be even) gives the desired accuracy. (Compare this with
Example 2, where we obtained n ! 41 for the Trapezoidal Rule and n ! 29 for the
Midpoint Rule.) M
EXAMPLE 7
(a) Use Simpson’s Rule with n ! 10 to approximate the integral x01 e x dx.
2
y
1 2
e x dx % 1.463 M
0
Improper Integrals
Rb
So far we have considered definite integrals like I = a f (x) dx where
[a, b] is a finite interval and f is continuous and bounded on [a, b]
Example 4.8.1 : What is the area A of the region under the curve
y = 1/x 2 and above the x-axis to the right of x = 1 ?
R1 dx
Rtdx
It is reasonable to write A = 1 x2
= limt!1 1 x2
Rt
If a f (x) dx exists for every t a, then
Z 1 Z t
f (x) dx = lim f (x) dx
a t!1 a
Rb
If t f (x) dx exists for every t b, then
Z b Z b
f (x) dx = lim f (x) dx
1 t!1 t
R1 Ra
If both a f (x) dx and 1 f (x) dx exist then
Z 1 Z a Z 1
f (x) dx = f (x) dx + f (x) dx
1 1 a
divergent otherwise
We have
R0 dx
R 11 1+x 2 =
dx
0 1+x 2 =
For p = 1, Z Z
1 t
dx dx
= lim =
1 x t!1 1 x
For p 6= 1, Z Z
1 t
dx dx
= lim =
1 xp t!1 1 xp
if p > 1
if p < 1
Example 4.8.4 : What is the area A of the region under the curve
p
y = 1/ x and above the x-axis between x = 0 and x = 1 ?
It is reasonable to take
A = lim+ A(t) = 2
t!0
Rt
If a f (x) dx exists for every t 2 [a, b) and f is possibly unbounded
near b, then Z b Z t
f (x) dx = lim f (x) dx
a t!b a
provided this limit exists as a finite number
Rb
If t f (x) dx exists for every t 2 (a, b] and f is possibly unbounded
near a, then Z b Z b
f (x) dx = lim+ f (x) dx
a t!a t
provided this limit exists as a finite number
Rc
If f has an infinite discontinuity at c 2 (a, b), and both a f (x) dx
Rb
and c f (x) dx are convergent, then we define
Z b Z c Z b
f (x) dx = f (x) dx + f (x) dx
a a c
R3 dx
Evaluate, if possible, 0 x 1
We must use
Z 3 Z 1 Z 3
dx dx dx
= +
0 x 1 0 x 1 1 x 1
R1 dx
Now 0 x 1 =
R1 dx
R3 dx
So 0 x 1 diverges and hence 0 x 1 diverges
Comparison Test
Suppose that
for x a, f and g are continuous and non-negative
R1 x2
Determine whether or not 0 e dx converges
We cannot compute an elementary antiderivative
We can write
Z 1 Z 1 Z 1
x2 x2 x2
e dx = e dx + e dx
0 0 1
R1 x2
0 e dx is clearly convergent (it is a proper integral)
R1 x2
1 e dx
e x2 e x for every x 1
R1 x
Rt x 1 t)
1 e dx = limt!1 1 e dx = limt!1 (e e
= 1/e
x2 x
R1 x
e e for every x 1 and 1 e dx converges
R1 x2
By the comparison test, 1 e dx converges
R1 x2
Therefore 0 e dx converges
Example.
The rate at which a pollutant is being dumped into a small stream
at time t is given by P0 e kt , where is the amount of pollutant
released into the stream. Suppose that P0 = 1000 and k = 0.06.
Find the total amount of the pollutant that will be released into
the stream into the indefinite future.
The total amount of the pollutant that will be released into the
stream into the indefinite future is calculated as:
Z 1 Z 1
kt
P0 e dt = 1000e 0.06t dt.
0 0
We have
Z 1 Z b
0.06t 0.06t
1000e dt = lim 1000e dt
0 b!1 0
✓ ◆ b
1000 0.06t
= lim e
b!1 0.006 0
✓ ◆
1000 1000 0
= lim e
b!1 0.06e 0.06b 0.06
1000
=
0.06
⇡ = 16, 667.