Escolar Documentos
Profissional Documentos
Cultura Documentos
CALCULUS
1S
S C H O O L O F M AT H E M AT I C S A N D S TAT I S T I C S
Copyright © 2018 AJW, after JJCN, TAW and others
1 Maclaurin Series. . . . . . . . . . . . . . . . . 7
2 Introduction to Integration . . . . . . . . . . . . 19
3 Techniques of Integration . . . . . . . . . . . . . 41
4 Ordinary differential equations . . . . . . . . . . . 67
5 Numerical methods . . . . . . . . . . . . . . . . 79
6 Limits . . . . . . . . . . . . . . . . . . . . . 85
7 Standard Integrals . . . . . . . . . . . . . . . . 91
TO S E E T H E W O R L D I N A G R A I N O F S A N D,
A N D A H E AV E N I N A W I L D F L O W E R ;
H O L D I N F I N I T Y I N T H E PA L M O F Y O U R H A N D ,
WILLIAM BLAKE
A M AT H E M AT I C I A N , L I K E A PA I N T E R O R A P O E T, I S A M A K E R O F PAT T E R N S .
I F H I S PAT T E R N S A R E M O R E P E R M A N E N T T H A N T H E I R S , I T I S B E C A U S E
G . H . H A R DY
M AT H E M AT I C S R E V E A L S I T S S E C R E T S O N LY T O T H O S E W H O A P P R O A C H I T
W I T H P U R E L O V E , F O R I T S O W N B E A U T Y.
ARCHIMEDES
Maclaurin Series
1
1.1 Introduction . . . . . . . . . . . . . . . . . . 8
1.1.1 Calculation of Maclaurin series 9
1.1.2 Manipulation of Maclaurin series 12
1.2 Some applications of Maclaurin series . . . . . . . . . . 14
1.2.1 Evaluation of limits 15
8 calculus
1.1 Introduction
Example 1.2 Show that the interval (−1, 1) is included in the range
of validity of the Maclaurin series for (1 − x )−1 .
For | x | < 1,
|x| N → 0 as N → ∞
therefore
R N (x) → 0 as N → ∞
and so
∞
1
= ∑ xn
1−x n =0
for x ∈ (−1, 1). Therefore the range of validity includes (−1, 1).
maclaurin series 9
f ( n ) (0)
c) Repeat this procedure to find that the general term is an = .
n!
Example 1.3 Some standard Maclaurin series are given in Table 1.1.
Observe that for the final series for (1 + x )α , that the range of validity
always includes (−1, 1). If α is a positive integer then the series
terminates (an = 0 when n > k for some k) and the Maclaurin series
is a polynomial. The notation2 2
This notation will be studied in depth
in 1S Algebra §2.2 Combinations and Per-
α(α − 1)(α − 2) · · · (α − r + 1) mutations.
α
= ,
r r!
α
for r > 0 (the numerator contains r terms). For r = 0, = 1.
0
Observe also that the powers appearing in the Maclaurin series
for cosine are all even and those for sine are odd. These words will
appear again in §3.7.1 when we discuss the symmetry of functions.
Example 1.4 Find the Maclaurin series for the following functions
a) f ( x ) = e x , c) h(t) = (1 − t)1/2 ,
1
b) g( x ) = log (1 + x ) , d) p(y) = .
2+y
Solution
x x2 x3 x4
ex = 1+ + + + +··· x∈R
1! 2! 3! 4!
x3 x5 x7
sin x = x− + − +··· x∈R
3! 5! 7!
x2 x4 x6
cos x = 1− + − +··· x∈R
2! 4! 6!
x2 x3 x4 x5
log(1 + x ) = x− + − + −··· x ∈ (−1, 1]
2 3 4 5
α
α 2
α 3 (−1, 1) if α < 0
(1 + x ) α = 1+ x+ x + x +··· x∈
1 2 3 R if α > 0
(−1)n+1 (n − 1)!
g(n) ( x ) = , n ≥ 1.
(1 + x ) n
Hence
g(n) (0) = (−1)n+1 (n − 1)!, n≥1
and g(0) = 0. Thus the coefficients are
x2 x3 x4 x5
log (1 + x ) = x − + − + −··· for some x ∈ R.
2 3 4 5
The techniques to determine the range of validity are introduced
in Level-2 Mathematics. Observe that since the domain of the nat-
ural logarithm is all
n positive real numbers,
o the domain of g( x ) =
log(1 + x ) is D = x ∈ R x > −1 . It follows that3 the range
3
since we want the power series to be
equal to the function
of validity must be a subset of D. In fact, the series can be shown4 4
using the ratio test covered in the
to converge and be equal to log(1 + x ) when −1 < x > 1. course 2E: Real Analysis
maclaurin series 11
1
Substituting these into the series expansion for (1 + x ) 2 we have
1
d) p(y) = .
2+y
1 1 1 y −1 1
Rewriting as y = 1 + = (1 + x ) −1
2+y 2 1+ 2 2 2
2
and since
−1
= (−1)n
n
we have that
1 1
= (1 + x ) −1
2+y 2
−1 −1 2 −1 3
1
= 1+ x+ x + x +···
2 1 2 3
1
= 1 − x + x2 − x3 + x4 − · · ·
2
1 y y 2 y 3 y 4
= 1− + − + −···
2 2 2 2 2
1 y y2 y3 y4
= − + − + −···
2 4 8 16 32
y
Valid for −1 < x = 2 < 1, that is for all y ∈ (−2, 2).
12 calculus
Consider the Maclaurin series for f ( x ) and g( x ) and let I be the inter-
section of the range of validity for both series5 . Then the Maclaurin 5
Since we wish to create new Maclaurin
series for f ( x ) + g( x ), f ( x ) g( x ) and f ( g( x )) can be found using the series out of known ones, we need both
series to be valid. That is x must belong
Maclaurin series for f ( x ) and g( x ). Suppose to both the range of validity of f ( x ) and
that of g( x ). Recall from 1R Calculus,
that x belonging to one set and another
∞ ∞
∑ ∑ gn x n
is equivalent to saying that x belongs to
f (x) = f n xn , g( x ) = the intersection of the two sets.
n =0 n =0
then, for x ∈ I,
∞
f ( x ) + g( x ) = ∑ ( f n + gn ) x n
n =0
∞ ∞
! !
f ( x ) g( x ) = ∑ fn x n
∑ gm x m
n =0 m =0
∞
!
n
= ∑ ∑ f r gn −r xn
n =0 r =0
!n
∞ ∞
f ( g( x )) = ∑ fn ∑ gm x m
n =0 m =0
e2x
a) up to the term x3 , and
1−x
Solution
and also
(1 − x ) −1 = 1 + x + x 2 + x 3 + x 4 + · · · , −1 < x < 1.
Therefore
maclaurin series 13
e2x
= e2x · (1 − x )−1
1−x
4x3 2x4
= 1 + 2x + 2x2 + + + · · · · 1 + x + x2 + x3 + x4 + · · ·
3 3
4
= 1(1 + x + x2 + x3 + · · · ) + 2x (1 + x + x2 + · · · ) + 2x2 (1 + x + · · · ) + x3 (1 + · · · ) + · · ·
3
4
= 1(1 + x + x2 + x3 ) + 2x (1 + x + x2 ) + 2x2 (1 + x ) + x3 + h.o.t.
3
4
= 1 + x + x2 + x3 + 2x + 2x2 + 2x3 + 2x2 + 2x3 + x3 + h.o.t.
3
2 19 3 The abbreviation ‘h.o.t.’ means
= 1 + 3x + 5x + x + h.o.t. higher order terms.
3
y2 y3 y4
log(1 + y) = y − + − +···
2 3 4
x2 x4 x6
−1 + cos x = −1 + 1 − + − +···
2! 4! 6!
x 2 x 4 x 6
=− + − −···
2! 4! 6!
Hence
a) Show that
x3 x5 x7
1+x
log =2 x+ + + +··· ,
1−x 3 5 7
1
for | x | < 1 and take x = 3 to find an approximation of log 2.
x n
b) Fix x and show that lim 1+ = e x . In particular then we’ll
n→∞ n
have9 9
Another definition for Euler’s con-
stant!
n
1
lim 1+ = e.
n→∞ n
Solution
a) We have, for y = − x,
1+x
log = log(1 + x ) − log(1 − x )
1−x
= log(1 + x ) − log(1 + y)
x2 x3 x4 y2 y3 y4
= x− + − +··· − y− + − +···
2 3 4 2 3 4
x2 x3 x4 x2 x3 x4
= x− + − + · · · − −x − − − −···
2 3 4 2 3 4
3 5
x x
= 2x + 2 +2 +···
3 5
x 3 x 5 x 7
=2 x+ + + +··· .
3 5 7
maclaurin series 15
1
1 (1 + x ) 1+ 3(4/3)
Take x = so = = = 2. Then
3 (1 − x ) 1
1− 3 ( 2/3)
3 5 7 !
1 1 1 1 1 1 1
log 2 = 2 + + + +···
3 3 3 5 3 7 3
!
1 1 1 3 1 1 5 1 1 7
53056
≈2 + + + =
3 3 3 5 3 7 3 76545
≈ 0.69313475
e3x − e x
a) Find lim . Consider
x →0 x
3x (3x )2 x2
3x x x
e −e = 1+ + +··· − 1+ + +···
1! 2! 1! 2!
= 2x + 8x2 + · · ·
e3x − e x e3x − e x
So = 2 + 8x + · · · so lim = 2.
x | {z } x →0 x
(?)
(?) goes to 0 as x → 0.
x cos 2x − sin x
b) Find lim . Consider
x →0 x3
(2x )2 x3
x cos 2x − sin x = x 1 − +··· − x− + · · · + h.o.t.
2! 3!
x3
= x − 2x3 − x + + h.o.t.
3!
11 3
=− x + h.o.t.
6
16 calculus
x cos 2x − sin x 11
So = − + h.o.t..
x3 6
x cos 2x − sin x 11
Hence lim 3
=− .
x →0 x 6
iθ (iθ )2
eiθ = 1 + + +···
1! 2!
θ2 iθ 3 θ4 iθ 5
= 1 + iθ − − + + −···
2! 3! 4! 5!
θ2 θ4 θ3 θ5
= 1− + −··· +i θ − + −···
2! 4! 3! 5!
= cos θ + i sin θ.
g ( n ) (0) = f ( n ) ( a )
so
∞
1 (n)
g( x ) = f ( x + a) = ∑ n!
f ( a) xn ,
n =0
or
∞
1 (n)
f (x) = ∑ n!
f ( a) ( x − a)n .
n =0
maclaurin series 17
x3 x5 x7
sin x = x − + − +...
3! 5! 7!
x2 x4 x6
cos x = 1 − + − +...
2! 4! 6!
Question 1.1
What functions have the following Maclaurin series?
x3 x5 x7
S( x ) = x + + + +...
3! 5! 7!
x2 x4 x6
C(x) = 1 + + + +...
2! 4! 6!
Note that
x2 x3 x4 x5
ex = 1 + x + + + + +...
2! 3! 4! 5!
x2 x3 x4 x5
e− x = 1 − x + − + − +...
2! 3! 4! 5!
addition of e x and e− x gives twice the sum of the terms with even
powers, subtraction gives twice the sum of the odd powers. So
1 x x3 x5 x7
e − e− x = x +
S( x ) = + + +...
2 3! 5! 7!
1 x x2 x4 x6
e + e− x = 1 +
C(x) = + + +...
2 2! 4! 6!
By analogy with sine and cosine we call these functions the hyper-
bolic sine and hyperbolic cosine. Definition
sinh hyperbolic sine,
1 x 1 x cosh hyperbolic cosine.
e − e− x , e + e− x
sinh x = cosh x =
2 2
Hyperbolic sine and cosine have similar properties to sine and co-
sine, including hyperbolic trigonometric identities and results in dif-
ferentiation and integration.11 These results can be proved form the 11
Hyperbolic sine and cosine are useful
definitions of sinh and cosh. when performing
√ integrals that involve
terms like x2 − 1.
18 calculus
Solution
a) We have that
1 x 2 1 x 2
cosh2 x − sinh2 x = e + e− x − e − e− x
4 4
1 2x −2x
= e +2+e − e2x − 2 + e−2x
4
=1
cosh2 x − sinh2 x = 1
and
b)
d d 1 x 1 x
e + e− x e − e− x = sinh x.
(cosh x ) = =
dx dx 2 2
Introduction to Integration
2
2.1 The area problem . . . . . . . . . . . . . . . . . 20
2.1.1 Area of a circle 21
2.1.2 The area under a curve 23
2.2 The definite integral . . . . . . . . . . . . . . . . 26
2.2.1 Riemann sum estimates 26
2.2.2 Interpreting integrals as area 28
2.2.3 Properties of definite integral 29
2.3 Fundamental theorems of Integral Calculus (FToC) . . . . . 32
2.3.1 First fundamental theorem of Integral Calculus 32
2.3.2 Antidifferentiation 34
2.3.3 Second fundamental theorem of Integral Calculus 35
2.4 Differentiation and integration as inverse processes . . . . . 36
2.4.1 The indefinite integral 36
2.4.2 Standard indefinite integrals 37
2.4.3 Linearity of indefinite integrals 38
20 calculus
Question 2.1
Given a suitable curve y = f ( x ) and two values a, b in the do-
main of f , what is the area under the curve between x = a and
x = b?
h
1 1 1
bh 2 bh 2 b1 h 2 b2 h
b b b1 b2
A4 A6 A8 A16
2πr
R4 R8 R32 R64
proaches can be used to define the area of the figure. In the following
section we focus on the third approach.
introduction to integration 23
Observation 2.1
The four approaches outlined above can be thought of in terms
of polar and cartesian coordinates. We outline this in Table 2.1.
1
2.1.2 The area under a curve
Returning to Question 2.1, we use the rectangular strip approach
to estimate and finally calculate precisely the area under a familiar
curve.
Solution The area we wish to estimate is the shaded region in Fig- Figure 2.8: Area under parabola be-
tween 0 and 1.
ure 2.8. Since the estimate is to be made with four strips and the total
width of the shaded region is one unit, each of the strips will have 4
There are other options, for example
a width of 41 unit. If we take the leftmost edge of each rectangular we could take the rightmost edge or
perhaps the midpoint of the strip to be
strip to be touching the curve,4 then the leftmost edges of the four resting on the curve. Indeed, in gen-
strips have x-values x = 0, 41 , 21 and 34 . The square of the x-value at eral a more accurate estimate will be
obtained by taking the midpoint, how-
the leftmost edge is the height of that rectangular strip. This data ever it is easier to calculate if one takes
plus the area of each strip is displayed in Table 2.2. the end points.
1 1 9 14
(area under y = x2 between 0 and 1) ≈ R4 = 0 + + + = = 0.21875.
64 16 64 64
This estimate is rather crude,5 let’s repeat the above example with 5
We can see from Figure 2.9 that this is
more strips an under estimation of the true value.
What would happen to this estimate
if we used the rightmost edge of the
Example 2.3 Estimate the area under the curve y = x2 between strips, or the midpoint?
x = 0 and x = 1 with sixteen rectangular strips.
24 calculus
y y y
y = x2 y = x2 y = x2
1 1 1
x x x
1 1 1
n = 16 n = 32 n = 64
1 15 n2
155
16 n∑
(area under y = x2 between 0 and 1) ≈ R16 = · = = 0.302734375.
=1 162 512
introduction to integration 25
1 (k − 1) ((k − 1) + 1)(2(k − 1) + 1) 1 1 1
Rk = · = − +
k3 6 3 2k 6k2
and therefore
1
Rk −→ as k −→ ∞.
3
Thus we can say that the shaded area in Figure 2.8 is 31 . In gen-
eral, we take can take this approach as the definition of the area —
answering the questions that began this section.
Definition
Defintion 2.5 Let y = f ( x ) be a continuous6 function and a, b two
area under a curve.
values in the domain of f . Then the area under the curve y = f ( x )
between x = a and x = b is the limit of the sum of the areas of the
rectangular strips, that is, the area is
n −1 6
Recall (see the margin note on p20),
f ( x0 )∆x + f ( x2 )∆x + s + f ( xn−1 )∆x ∑ f ( xi )∆x
lim = lim that the precise definition of continuous
n→∞ n→∞ will not be discussed here. For further
i =0
details, consult Stewart’s Calculus §1.8
where ∆x is the width of the strips. or the Level 2 course 2E Introduction to
Real Analysis.
26 calculus
y
f ( xi )
y = f (x)
a ∆x b x
y
An approximation to the area under the graph of y = f ( x ), called the
Riemann sum estimate of f ( x ), is the sum of the areas of the rectangles.
That is
Z b i = n −1 6
a
f ( x ) dx ≈ ∑ f ( xi ) ∆x = Rn
y = x3 − x
i =0
a
f ( x ) dx = lim
∆x →0
∑ f ( xi ) ∆x = lim
n→∞
∑ f ( xi ) ∆x . x
i =0 i =0 2
etc., are naturally expressed as the limit of a sum and can often be
expressed in integral form.
6
2.2.1 Riemann sum estimates y = x3 − x
Solution
(2 − 0) 1
∆x = = .
6 3
The first rectangle has its leftmost edge at x = 0 and each subse-
quent rectangle is 31 further to the right, hence
1 2 4 5
x0 = 0, x1 = , x2 = , x3 = 1, x4 = , and x5 = .
3 3 3 3
1 8 2 10
f ( x0 ) = f (0) = 0, f ( x1 ) = f ( ) = − , f ( x2 ) = f ( ) = − ,
3 27 3 27
4 28 5 80
f ( x3 ) = f (1) = 0, f ( x4 ) = f ( ) = , and f ( x5 ) = f ( ) = .
3 27 3 27
R6 = f ( x0 ) · ∆x + f ( x1 ) · ∆x + f ( x2 ) · ∆x + f ( x3 ) · ∆x + f ( x4 ) · ∆x + f ( x5 ) · ∆x
1
= f ( x0 ) + f ( x1 ) + f ( x2 ) + f ( x3 ) + f ( x4 ) + f ( x5 )
3
1 8 10 28 80
= 0− − +0+ +
3 27 27 27 27
10
= .
9
Z 2
( x3 − x ) dx = lim Rn
0 n→∞
28 calculus
where
n −1
Rn = ∑ f ( xi ) · ∆x
i =0
n −1
= ∑ f ( xi ) · ∆x
i =1
n −1
2i 2
= ∑ f ·
i =1
n n
!
n −1 3
2i 2i 2
= ∑ − · Since f ( x0 ) = f (0) = 0, we can omit
i =1
n n n this term and begin the sum at i = 1.
!
2 23 n−1 3 2 n−1
n3 i∑
= · i − ∑i Recall from 1R Algebra §5.2 & §5.4 that
n =1
n i =1 For scalars α, β and γ,
! k
2 23 (n − 1) ((n − 1) + 1) 2 2 (n − 1) ((n − 1) + 1)
∑
α ui + β vi + γ
= −
n n3 2 n 2 i =1
k k
2 2 ( n − 1)2 n2 = α ∑ ui + β ∑ vi + kγ ,
3
( n − 1) n
= 2 −2 i =1 i =1
n n2 22 2 2
k
k ( k + 1)
2 ∑ i3 =
= 2 2( n − 1)2 − ( n − 1) n i =1
2
n and
1 1 k
k ( k + 1)
= 2 1−3· +2· 2 . ∑i= .
n n i =1
2
Since both 1
n and 1
n2
−→ 0 as n −→ ∞,
Rn −→ 2 as n −→ ∞.
Hence Z 2
( x3 − x ) dx = lim Rn = 2.
0 n→∞
Z π y
Example 2.7 Evaluate the integral sin x dx.
−π y = sin x
sin x dx = 2A3
0
and the area below the x-axis is
Z 0
sin x dx = −2A3
−π Figure 2.11: Area under the sine curve
from −π to π split into 4 areas marked
so that the required integral is zero. That is A1 , A2 , A3 and A4 .
Z π
sin x dx = 0.
−π
Z 4
Example 2.8 Evaluate the integral 6 − 2x dx.
0 In §3.7.1 we develop these ideas on sim-
plifying integrals further with the con-
cept of odd and even functions. The
Solution We sketch y = 6 − 2x in Figure 2.12 and observe that the sine function is an example of an odd
function — it is ‘anti-symmetric’ about
integral between x = 0 and x = 4 of y = 6 − 2x with respect to x the y-axis, that is, sin(− x ) = − sin( x ).
can be interpreted in terms of the difference between two triangular
y
regions, marked T1 and T2 . Calculating the areas of the triangles we
have
1 1 y = 6 − 2x
T1 = · 6 · 3 = 9 and T2 = · 1 · 2 = 1. 6
2 2
Thus we conclude that
Z 4
6 − 2x dx = T1 − T2 = 8.
0 T1
3 4 x
T2
−2
Figure 2.12: Area under curve y = 6 −
2.2.3 Properties of definite integral 2x between 0 and 4 split into 2 areas
marked T1 and T2 .
Basic Fact 2.2 Linearity
Integration is linear. That is,
Z b Z b Z b
a) f ( x ) + g( x ) dx = f ( x ) dx + g( x ) dx, and
a a a
Z b Z b
b) k · f ( x ) dx = k · f ( x ) dx for all constants k.
a a
30 calculus
d) If f ( x ) ≤ 0 for x ∈ [ a, b] then
Z b
f ( x ) dx = − (shaded area in diagram)
a
Z b
e) (Integral of a constant) For k > 0 a constant k dx = k (b − a),
a
the area of a rectangle whose sides are length k and b − a.
Proof
a
f ( x ) dx = lim
n→∞
∑ f ( xi ) ∆x
i =1
b− a
where ∆x = n . For a < b,
Z a n −1
b
f ( x ) dx = lim
n→∞
∑ f ( xi ) ∆x
i =1
a−b
where ∆x = n < 0. Hence
Z a Z b
f ( x ) dx = − f ( x ) dx.
b a
Z a Z a
b) Take a = b in part (a), then f ( x ) dx = − f ( x ) dx and so
Z a a a
2 f ( x ) dx = 0 hence result.
a
y
c) (For f ( x ) > 0 on [ a, b] and a < c < b) Taking a geometric point of y = f (x)
view it is clear that the area under the curve y = f ( x ) between a
and b is the same as the sum of the areas under the curve between
a and c and between c and b as shown in Figure 2.13.
Z b
a c b x
d) The area between a positive function g( x ) and the x-axis is g( x ) dx,
a Figure 2.13: Area under the curve y =
if f ( x ) ≤ 0 then − f ( x ) ≥ 0 and area between − f ( x ) and the x-axis f (t) between a and c and c and b.
introduction to integration 31
y
is a b x
Z b Z b
− f ( x ) dx = − f ( x ) dx
a a
by a simple reflection this is equal to the shaded area in Fig-
Z b y = f (x)
ure 2.2.3 and so f ( x ) dx = − (shaded area in diagram).
a
Figure 2.14: Area between y = f ( x ) and
x-axis and between x = a and x = b.
Functions that change sign For example, the situation illustrated
Z b
in Figure 2.2.3, f ( x ) dx = area X − area Y + area Z.
a
Solution By Theorem 2.3 (f), the required area is the value of the
integral
Z 4
f ( x ) − g( x ) dx,
1
which by linearity is
y
Z 4 Z 4 y = g( x )
f ( x ) dx − g( x ) dx.
1 1 y = f (x)
Since a x
Z 5 Z 4 Z 5 b
f ( x ) dx = f ( x ) dx + f ( x ) dx Figure 2.17: Area of between two
1 1 4 curves.
by Theorem 2.3 (c) and
Z 5 Z 4
f ( x ) dx = − f ( x ) dx
4 5
Let f be a continuous function that takes positive values on the in- Definition
terval [ a, b] and consider the ‘area-so-far’ function A( x ) ‘area-so-far’ function.
Z x
A( x ) = f (t) dt.
a
This function7 gives for any a 6 x 6 b the area under the curve 7
Observe that f varies only with x!
y = f (t) between a and x. This is illustrated in Figure 2.18
y = f (t)
Z x
A( x ) = f (t) dt
a t
a x b
A 0 ( x ) = f ( x ).
A( x + h) − A( x ) B (x)
= h ,
h h
y = f (x)
Z x
A( x ) = f (t) dt Bh ( x )
a x
a x x+h b
Figure 2.3.1: Area under the curve y =
f (t) between t = x and t = x + h.
introduction to integration 33
hL( x ) 6 Bh ( x ) 6 hM( x ),
Bh
and so (as the DQ is )
h
A( x + h) − A( x )
L( x ) 6 6 M ( x ).
h
y = f (x)
M
L
Z x
A( x ) = f (t) dt Bh ( x )
a x
a x x+h b
DQ → f ( x ) as h→0
.
Now, as h → 0
A( x + h) − A( x )
→ A0 ( x )
h
d
and so A( x ) = f ( x ) as required.
dx
34 calculus
2.3.2 Antidifferentiation
We see from the 1st FToC above (Theorem 2.4) that integration is the
inverse of differentiation. Below we discuss the reverse question.10 10
This has been covered previously in
1R Calculus §4.3 and is included here
as revision.
Question 2.3
Given the derivative of some unknown function y( x ), what can
you say about that function? That is, given that
dy
= f (x)
dx
what can be said about y( x )?
Definition
Defintion 2.10 For a given f ( x ), F ( x ) is the antiderivative of f ( x ) on
antiderivative.
the interval I if
d
F ( x ) = f ( x ) for x ∈ I.
dx
1 3
Example 2.11 The function x is an antiderivative of x2 (on R)
3
since
d 1 3 1
x = · 3x2 = x2 .
dx 3 3
1 3 1
Note that x + 4, is also an antiderviative of x2 , as is x3 + c for
3 3
any constant c. In general we have the following theorem.
Theorem 2.5
If F ( x ) is an antiderivative of f ( x ) on the interval I, then F ( x ) + c
is also an antiderivative for any constant c. Any antiderivative
of f ( x ) can be written F ( x ) + d for some constant d.
d d
( F ( x ) + c) = F ( x ) + 0 = f ( x ).
dx dx
d
( G ( x ) − F ( x )) = G 0 ( x ) − F 0 ( x ) = f ( x ) − f ( x ) = 0.
dx
11
We could equally have used another
Theorem 2.6 The Second FToC variable instead of x, so
iu=b
With f as defined above in §2.3,
h
F (u) = F ( b ) − F ( a ).
u= a
Z b h ib
f ( x ) dx = F ( x ) = F (b) − F ( a)
a a
and we may assume12 that this is true for all x ∈ [ a, b]. Thus F ( a) = 12
This assumption rests on the Mean
A( a) + c and F (b) = A(b) + c. By Theorem 2.3 (b), Value Theorem and the continuity of A
and F.
Z a
A( a) = f (t) dt = 0.
a
Hence
h ib
F(x) = F (b) − F ( a) = A(b) + c − A( a) + c
a
= A(b) − A( a)
= A(b)
Z b
= f (t) dt.
a
Following Examples 2.4, 2.6 and 2.11 we see that power of the Fun-
damental Theorem of Integral Calculus in the following examples.
Solution
Z 2 2
1 4 1 2 1 4 1 2 1 4 1 2
( x3 − x ) dx = x − x = 2 − 2 − 0 − 0 = 2.
0 4 2 0 4 2 4 2
Together the first and second FToC (Theorems 2.4 and 2.6) state that
integration and differentiation are inverse operations to one another.
Rx
That is, a f (t) dt is an antiderivative of f ( x ) and the definite integral
Rb 0
a F ( x ) dx is the difference between the function F ( x ) evaluated at
the limits of integration, F (b) − F ( a). It is not very convenient to talk
in these terms and thus we introduce the indefinite integral.13 13
Or general antiderivative.
1 3
Z
x2 dx = x + c a particular antiderivative
3 the constant of integration
where c is a constant. the integrand
Warning 2.7
Z b
The definite integral f ( x ) dx is a number. However, the in-
Z a
definite integral f ( x ) dx is a function (or family of functions).
introduction to integration 37
Solution
1
a) The function log x is the antiderivative of on (0, ∞) as log x is
x
d 1
only defined on x ∈ (0, ∞) and log x = for x ∈ (0, ∞).
dx x
1
The function log(− x ) is the antiderivative of on (−∞, 0) because
x
log(− x ) is defined for x ∈ (−∞, 0); that is,
d 1 d −1 1
(log(− x )) = · (− x ) = · −1 =
dx −
|
x dx
{z }
x x
chain rule
In summary15 15
This is SI 8.
1
Z
dx = log | x | + c.
x
d
b) The derivative of sin is (sin x ) = cos x. Hence16 16
Note that in all cases the constant of
dx integration is important!
Z
cos x dx = sin x + c.
Solution
d h −1 x i 1 d x 1 1
sin = r · = r ·
dx a x 2 dx a x 2 a
1− 2 1− 2
a a
1
= s
x2
a2 1 − 2
a
1
= √
a2 − x2
It is enough toverify that the derivative of sin−1 x is as claimed.
x
Let y = sin−1 , so that
a
x d dy 1
sin y = =⇒ (sin y) = cos y = .
a dx dx a
38 calculus
dy 1 1
Thus = · .
dx a cos y
x2
Note that sin2 y = 2 and cos2 y + sin2 y = 1. Then 1 − cos2 y =
r a
x2 x2
, so cos y = 1 − 2 . Thus
a2 a
dy 1 1 1 1 1 1
= · = ·q = q = √ .
dx a cos y a 1− x2
a2 − a2 x 2 a2 − x2
a2 a2
Proof
a) Consider,
Z Z Z
d d d
Z
f ( x ) dx + g( x ) dx = f ( x ) dx + g( x ) dx
dx dx dx
= f ( x ) + g( x )
R R
so that f ( x ) dx + g( x ) dx is an antiderivative of f ( x ) + g( x )
and so
Z Z Z
( f ( x ) + g( x )) dx = f ( x ) dx + g( x ) dx.
b) Consider,
Z Z Z
d d d
k f ( x ) dx = k f ( x ) dx + k f ( x ) dx
dx dx dx
introduction to integration 39
Example 2.17 Using SI 1, SI 4 and SI 10 (see Chapter 7) In the next examples we use the result
that
a) Integration of a constant 1
Z
x a dx = x a +1 + c (SI 1).
a+1
Check that
Z Z Z
k dx = kx0 dx = k x0 dx = kx + c.
d 1
x a +1 + c = x a
dx a + 1
recall that
b) Integration of powers of x,
d
( x n ) = nx n−1
Z √ Z Z Z dx
( x4 + 3 x − 5) dx = x4 dx + 3 x1/2 dx − 5 x0 dx so
d 1
1 3 3/2 x a +1 + c
= x5 + x − 5x + c dx a+1
5 3/2 1
1 = ( a + 1 ) x a +1−1
a+1
= x5 + 2x3/2 − 5x + c.
5 = xa
as required.
c)
Z x
4 1
3 sec2 x − dx = 3 tan x − 4 tan−1 +c
x2 + 4 2 2
x
= 3 tan x − 2 tan−1 + c,
2
d2 y 4 1
Example 2.18 Given x ∈ (0, ∞) and 2
= 3 − 2 and y0 (1) = 0, This is a example of using antidifferen-
dx x x tiation to write down the solution to an
y(1) = 0, find y( x ).
ordinary differential equation, we will re-
turn to this later in the course.
d 0 4 1
Solution (y ) = 3 − 2 . Thus
dx x x
4 1 x −2 x −1
Z
y0 = − dx = 4 − +c
x3 x2 −2 −1
−2 1
= 2 + + c1 .
x x
−2 1
Since y0 (1) = 0, then y0 (1) =
+ + c1 = 0, so c1 = 1.
12 1
−2 1
Thus, y0 = 2 + + 1. Then
x x
−2 1 −2x −1
Z
y( x ) = + + 1 dx = + log | x | + x + c2 .
x2 x −1
2
Since y(1) = 0, then 0 = + log |1| + 1 + c2 , so c2 = −3. Hence
1
2
y( x ) = + log x + x − 3.
x
Example 2.19
a) Integration of powers of x,
Z √ Z Z
x ( x2 + 2) dx = x1/2 x2 + 2x1/2 dx = x5/2 + 2x1/2 dx
x7/2 2x3/2
= + +c
7/2 3/2
2 4
= x7/2 + x3/2 + c.
7 3
b) Integration of powers of x,
√ √
(1 − x )2 1−2 x+x
Z
1 2
Z Z
dx = dx = − √ + 1 dx
x x x x
2x1/2
= log | x | − +x+c
1/2
= log | x | − 4x1/2 + x + c.
c) Integration of powers of x,
2
x3 x −1
Z
1 1
Z
x+ dx = 2 + x2 + dx = 2x + + +c
x x2 3 −1
x3 1
= 2x + − + c.
3 x
1
Z
d) What is dx? First, note that
1 + sin x
1 1 − sin x 1 − sin x
= =
1 + sin x (1 + sin x )(1 − sin x ) cos2 x
1 sin x
= −
cos2 x cos2 x
= sec2 x − sec x tan x,
1
Z Z
so dx = sec2 x − sec x tan x dx = tan x − sec x + c.
1 + sin x
Standard Integrals
7
You should learn the following standard integrals and be able to
use the results in calculations.
x n +1
Z
SI 1 x n dx = + c; n is a constant, n 6= −1.
n+1
Z
SI 2 sin x dx = − cos x + c.
Z
SI 3 cos x dx = sin x + c.
Z
SI 4 sec2 x dx = tan x + c.
Z
SI 5 cosec2 x dx = − cot x + c.
Z
SI 6 sec x tan x dx = sec x + c.
Z
SI 7 e x dx = e x + c.
1
Z
SI 8 dx = log | x | + c.
x
Z
1 x
SI 9 √ dx = sin−1
+ c, a > 0.
a2 − x 2 a
1 1 −1 x
Z
SI 10 dx = tan + c, a is a positive constant.
x 2 + a2 a a
Z
SI 11 sec x dx = log | sec x + tan x | + c.
f 0 (x)
Z
SI 12 dx = log | f ( x )| + c.
f (x)
Z
SI 13 cot x dx = log | sin x | + c.
Z
SI 14 tan x dx = log | sec x | + c.
1
Z p
SI 15 √ dx = log x + x2 + k + c.
x2 + k