Calculus 1 Notes 1 1
Calculus 1 Notes 1 1
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is
stupid.
—Albert Einstein
Calculus is one of the milestones of Western thought. Building on ideas of Archimedes, Fermat,
Newton, Leibniz, Cauchy, and many others, the calculus is arguably the cornerstone of modern
science. Any well-educated person should at least be acquainted with the ideas of calculus, and a
scientifically literate person must know calculus solidly. Calculus has two main aspects: differential
calculus and integral calculus. Differential calculus concerns itself with rates of change. Various
types of change, both mathematical and physical, are described by a mathematical quantity called
the derivative. Integral calculus is concerned with a generalized type of addition, or amalgamation,
of quantities. Many kinds of summation, both mathematical and physical, are described by a
mathematical quantity called the integral.
Calculus is one of the most important parts of mathematics. It is fundamental to all of modern
science. How could one part of mathematics be of such central importance? It is because calculus
gives us the tools to study rates of change and motion. All analytical subjects, from biology to
physics to chemistry to engineering to mathematics, involve studying quantities that are growing
or shrinking or moving, in other words, they are changing. Astronomers study the motions of the
planets, chemists study the interaction of substances, physicists study the interactions of physical
objects. All of these involve change and motion. 1 2
1
To Archimedes, Pierre de Fermat, Isaac Newton, and Gottfried Wilhelm von Leibniz, the fathers of calculus
2
The true sign of intelligence is not knowledge but imagination—— Albert Einstein
Chapter 1
The Basics
—Leonardo da Vinci
Mathematics has its own language with numbers as the alphabet. The language is given structure
with the aid of connective symbols, rules of operation, and a rigorous mode of thought (logic). The
number systems that we use in calculus are the natural numbers, the integers, the rational numbers,
and the real numbers. Let us describe each of these :
1. The natural numbers are the system of positive counting numbers 1, 2, 3 . . . . We denote the
set of all natural numbers by N.
N = {1, 2, 3, 4, 5, 6, 7, 8, . . . }.
2. The integers are the positive and negative whole numbers and zero, . . . , −3, −2, −1, 0, 1, 2, 3, . . . .
We denote the set of all integers by Z.
3. The rational numbers are quotients of integers or fractions, such as 32 , − 54 . Any number
p
of the form , with p, q ∈ Z and q 6= 0, is a rational number. We denote the set of all rational
q
numbers by Q.
p
Q= p, q ∈ Z, q 6= 0 .
q
1
4. The real numbers are the set of all decimals, both terminating and non-terminating. We
denote the set of all real numbers by R. A decimal number of the form x = 3.16792 is actually
a rational number, for it represents
316792
x = 3.16792 = .
100000
A decimal number of the form
m = 4.27519191919 . . . ,
with a group of digits that repeats itself interminably, is also a rational number. To see this,
notice that
100 · m = 427.519191919 . . .
and therefore we may subtract
100m = 427.519191919 . . .
m = 4.27519191919 . . .
(a) algebraic means formalisations of the rules of calculation (addition, subtraction, multi-
plication, division). Example : 2(3 + 5) = 2 · 3 + 2 · 5 = 6 + 10 = 16.
3 1
(b) order denote inequalities. Example : − < .
4 3
(c) completeness implies that there are “no gaps” on the real line.
(A1) a + (b + c) = (a + b) + c. associativity
2
(A2) a + b = b + a. commutativity
(A3) There is a 0 such that a + 0 = a. identity
(A4) There is an x such that a + x = 0. inverse
Why these rules? They define an algebraic structure (commutative group). Now define anal-
ogous algebraic properties for multiplication :
Some useful rules for calculations with inequalities are : If a, b, c are real numbers, then :
3
⇒ N⊂Z⊂Q⊂R
In summary, the real numbers R are complete in the sense that they correspond to all points on
the real line, i.e., there are no “holes” or “gaps”, whereas the rationals have “holes” (namely
the irrationals).
You Try It : What type of real number is 3.41287548754875 . . . ? Can you express this
number in more compact form?
1.2 Intervals
Definition 1.2.1. A subset of the real line is called an interval if it contains at least two numbers
and all the real numbers between any of its elements.
Examples :
1. x > −2 defines an infinite interval. Geometrically, it corresponds to a ray on the real line.
Finite Intervals. Let a and b be two points such that a < b. By the open interval (a, b) we mean
the set of all points between a and b, that is, the set of all x such that a < x < b. By the closed
interval [a, b] we mean the set of all points between a and b or equal to a or b, that is, the set of all
x such that a ≤ x ≤ b. The points a and b are called the endpoints of the intervals (a, b) and [a, b].
By a half-open interval we mean an open interval (a, b) together with one of its endpoints. There
are two such intervals : [a, b) is the set of all x such that a ≤ x < b and (a, b] is the set of all x such
that a < x ≤ b.
Infinite Intervals. Let a be any number. The set of all points x such that a < x is denoted by
(a, ∞), the set of all points x such that a ≤ x is denoted by [a, ∞). Similarly, (−∞, b) denotes the
set of all points x such that x < b and (−∞, b] denotes the set of all x such that x ≤ b.
4
1.3 Solving Inequalities
Solve inequalities to find intervals of x ∈ R. Set of all solutions is the solution set of the inequality.
Examples:
1.
2x − 1 < x + 3
2x < x + 4
x < 4.
x + 3(2 − x) ≥ 4 − x when
x + 6 − 3x ≥ 4−x
6 − 2x ≥ 4−x
2 ≥ x ⇒ x ≤ 2.
2 3
You Try It: Solve the inequality < .
x−1 2x + 1
It is a quantity that gives the magnitude or size of a real number. The absolute value or modulus
of a real number x, denoted by |x|, is given by
x, if x ≥ 0
|x| =
−x, if x < 0.
Geometrically, |x| is the distance between x and 0. For example, | − 6| = 6, |5| = 5, |0| = 0.
5
1.4.1 Properties of the Absolute Value
2. The absolute value of a real number x is zero if and only if x = 0, that is, |x| = 0 ⇐⇒ x = 0.
2x − 3 = 7 2x − 3 = −7
2x = 10 2x = −4
x = 5 x = −2
2
Solving Inequalities Involving Absolute values: Sole the inequality 5 − < 1.
x
6
Solution: We have
2 2
5− < 1 ⇐⇒ −1 < 5 − < 1
x x
2
⇐⇒ −6 < − < −4
x
1
⇐⇒ 3 > > 2
x
1 1
⇐⇒ <x< .
3 2
Solve the inequalities and show the solution set on the real line. (a) |2x − 3| ≤ 1 (b) |2x − 3| ≥ 1.
Solution: (a)
|2x − 3| ≤ 1 ⇐⇒ −1 ≤ 2x − 3 ≤ 1
⇐⇒ 2 ≤ 2x ≤ 4
⇐⇒ 1 ≤ x ≤ 2.
(b)
|2x − 3| ≥ 1 ⇐⇒ 2x − 3 ≥ 1 or 2x − 3 ≤ −1
⇐⇒ x ≥ 2 or x ≤ 1.
It is an important property of the positive integers (natural numbers) and is used in proving state-
ments involving all positive integers when it is known for, for example, that the statements are valid
for n = 1, 2, 3, . . . but it is suspected or conjectured that they hold for all positive integers.
1.5.1 Steps
1. Prove the statement for n = 1 or some other positive integer. (Initial Step)
7
4. Since the statement is true for n = 1 (from 1) it must (from 3) be true for n = 1 + 1 = 2 and
from this for n = 2 + 1 = 3, and so on, so must be true for all positive integers. (Conclusion)
1(1 + 1) 2
1. Prove for n = 1, 1 = = = 1, which is clearly true.
2 2
2. Assume that the statement holds for n = k, that is,
k(k + 1)
1 + 2 + ··· + k = .
2
3. Prove for n = k + 1. So
k(k + 1)
1 + 2 + · · · + k + (k + 1) = + (k + 1) (by inductive hypothesis)
2
k(k + 1) + 2(k + 1)
=
2
k 2 + 3k + 2
=
2
(k + 1)(k + 2)
=
2
so holds for n = k + 1.
n(n + 1)
4. Hence by induction, 1 + 2 + · · · + n = is true for any positive integer n.
2
8
Example: Prove that 3n > 2n for all natural numbers n.
Solution:
3. Prove for n = k + 1.
3k+1 = 3k · 3
> 2k · 3 by inductive hypothesis
> 2k · 2 since 3 > 2
> 2k+1 ,
which is true.
2. Assume that the statement holds for n = k, that is, for k ≥ 1, 22k − 1 is divisible by 3, i.e.,
22k − 1 = 3l, for some l ∈ Z.
3. Prove for n = k + 1.
which is true.
9
22
2. Explain why π 6= 7
.
3. State, giving a reason, whether each of the following numbers is rational or irrational.
(i) 0.20200200020 . . . (ii) 537.137137137 . . . .
6. Show that if 0 < a < b then a2 < b2 . If a2 < b2 , is it necessarily true that a < b? Give an
example to illustrate your answer.
11. If x and y are real numbers, prove that |x| − |y| ≤ |x − y|.
10
(o) Prove that if a1 , a2 , a3 , . . . , an are real numbers, then
11
Chapter 2
Functions
We know that God exists because Mathematics is consistent and we know that the devil exists because we
cannot prove the consistency.
—Andre Weil
A function is a rule or a correspondence, relating two sets in such a manner that each element in
the first set corresponds to one and only one element in the second set. What do we mean when
we say y is a f unction of x? Symbolically, we write y = f (x), where
The set X is called the domain of f and the set of corresponding elements y in Y is called the
range of f where sets X and Y consists of real numbers. We write f : X → Y .
Examples: Stock market index depending on time, volume of sphere depending on radius, circle
of a given radius has only one area.
Let f be a function. The number y in the range that corresponds to a selected number x in the
domain is said to be the value of the function at x, or image of x, written f (x), so y = f (x).
12
Examples: f (x) = 3x4 + 2, g(t) = 4 − t2 , h(s) = 2s2 + 7.
The domain of a function f is the largest set of real numbers for which the rule makes sense.
1 1
Example: Let f (x) = , we cannot compute f (0), since is not defined. Then the domain of
x 0
1
f (x) = is the set of all real numbers except 0.
x
It is useful to draw pictures which represent functions. These pictures, or graphs, are a device
for helping us to think about functions. We graph functions in the x − y pane. The elements of
the domain of the function are thought of as points of the x−axis. The values of a function are
measured on the y−axis.The graph of f associates to x a unique y value that the function f assigns
to x. The graph of a function f is the set of points {(x, y)|y = f (x) in the domain of f } in the
Cartesian plane.
As a consequence, a function is characterised geometrically by the fact that any vertical line inter-
secting its graph does so in exactly one point.
13
2.3 Bounded Functions
If there is a constant M such that f (x) ≤ M for all x in the interval (or other set of numbers), we
say that f is bounded above in the interval (or the set) and call M an upper bound of the function.
If a constant m exists such that f (x) ≥ m for all x in an interval, we sat that f (x) is bounded below
in the interval and call m a lower bound. If m ≤ f (x) ≤ M in an interval, we call f (x) bounded.
Polynomial Function
Have the form f (x) = a0 xn + a1 xn−1 + · · · + an−1 x + an where a0 , a1 , . . . , an are constants and n is
a positive integer called the degree of the polynomial provided a0 6= 0.
Rational Functions
P (x)
A function f (x) = where P (x) and Q(x) are polynomial functions.
Q(x)
14
x3 + x + 5
Example: f (x) = is a rational function. Since (x + 1)(x − 4) and (x + 1)(x − 4) = 0
x2 − 3x − 4
for x = −1 and x = 4, the domain of f is the set of all real numbers except −1 and 4.
Power Function
1 1 2
Examples: y = , y = x2 , y = x3 .
x
A function need not be defined by a single formula. A piecewise defined function is a function
described by using different formula on different parts of its domain.
−1, x<0 −x, x<0
Examples: (a) f (x) = 0, x=0 (b) f (x) = x2 , 0≤x≤1
x + 2, x>0 1, x > 1.
15
Transcendental Functions
3. Trigonometric functions (also called circular functions because of their geometric interpreta-
sin x
tion with respect to the unit circle), e.g., sin x, cos x, tan x = , csc x, cot x, sec x.
cos x
4. Inverse trigonometric functions, e.g., y = sin−1 x, y = cos−1 x.
Let f (x) be a real-valued function of a real variable. Then f is even if f (x) = f (−x). (Symmetric
with respect to the y−axis)
16
Let f (x) be a real-valued function of a real variable. Then f is odd if −f (x) = f (−x) or
f (x) + f (−x) = 0. (Symmetric with respect to the origin)
3x
Example: Determine whether the following function is odd or even f (x) = .
x2 + 1
Solution:
3(−x) 3x
f (−x) = 2
=− 2 = −f (x).
(−x) + 1 x +1
The function is odd.
A function f can be combined with another function g by means of arithmetic operations to form
f
other functions, the sum f + g, difference f − g, product f g and quotient are defined as :
g
Let f and g denote functions, then
f
Example: If f (x) = 2x2 − 5 and g(x) = 3x + 4. Find f + g, f − g, f g, .
g
Solution:
17
2.6 Composition of Functions
Let f and g denote functions. The composition of f and g, written f ◦ g is the function
(f ◦g)(x) = f (g(x)) and the composition of g and f , written g◦f , is the function (g◦f )(x) = g(f (x)).
Solution:
(f ◦ g)(x) = f (g(x)) = f (x2 + 1) = (x2 + 1)2 = x4 + 2x2 + 1.
and
(g ◦ f )(x) = g(f (x)) = g(x2 ) = (x2 )2 + 1 = x4 + 1.
In general, f ◦ g 6= g ◦ f .
Classes of functions may be distinguished by the manner in which arguments and images are related
or mapped to each other.
18
Example: Show that the functions f (x) = 2x + 3 and g(x) = x3 − 2 are injective.
2x + 3 = 2y + 3
2x = 2y =⇒ x = y.
x3 − 2 = y 3 − 2
x3 = y 3 taking cube roots
x = y.
A function f : X → Y is called onto if for all y in Y there is an x in X such that f (x) = y. All
elements in Y are used. Such functions are referred to as surjective.
y+5
Solution: For onto f (x) = y, i.e., 3x − 5 = y. Solve for x, =⇒ x = .
3
y+5 y+5
So f =3 − 5 = y. Therefore f is onto.
3 3
Let X and Y be sets. A function f : X → Y that is one-to-one and onto is called a bijection
or bijective function from X to Y . If f is both one-to-one and onto, then we call f a 1 − 1
correspondence.
Inverse of a Function. Suppose f is a 1 − 1 function that has domain X and range Y . Since
every element y ∈ Y corresponds with precisely one element x of X, the function f must actually
determine a reverse function g whose domain is Y and range is X, where f and g must satisfy
f (x) = y and g(y) = x. The function g is given the formal name inverse of f and usually written
f −1 and read f inverse. Not all functions have inverses, those that do are called invertible functions.
19
Example: Find the inverse of the function f (x) = (2x + 8)3 .
A 1−1 function f can have only one inverse, i.e., f −1 is unique. A function f : X → Y is invertible
if and only if f is one-to-one and maps X onto Y .
Equality of Functions
Equality of functions does not mean the same as equality of two numbers (numbers have a fixed
value but values of functions vary). Each function is a relationship between x and y, the two
relationships are the same if for every value of x we get the same value of y.
20
Identity Function
Generally, an identity function is one which does not change the domain values at all. Its the
function f (x) = x. Denoted by IX .
Monotonic Functions
A function is called monotonic increasing in an interval, if for any two points x1 and x2 in the interval
such that if x1 < x2 , f (x1 ) ≤ f (x2 ). If f (x1 ) < f (x2 ) the function is called strictly increasing.
Similarly, if f (x1 ) ≥ f (x2 ) whenever x1 < x2 , then f (x) is monotonic decreasing, while if
f (x1 ) > f (x2 ) it is strictly decreasing.
21
5x + 3
5. If y = f (x) = , show that x = f (y).
4x − 5
6. Determine whether or not each of the following correspondences is a function.
(i) x2 + y = 1 (ii) x2 y 2 = 5 (iii) x2 y = 4 (iv) {(1, 5), (2, 5), (5, 1)}.
8. Determine whether each of the pairs of the following functions are equal and if they are not
equal, give √
where they are √
equal.
(i) f (x) = x2 , g(x) = ( x)2 (ii) f (x) = x2 , g(x) = x|x|.
ax + b
9. Show that if ad − bc 6= 0, then the function f (x) = is one-to-one and find its inverse,
cx + d
stating the domains of both the function and its inverse. What happens if ad − bc = 0?
10. Show that these functions are a one-to-one correspondence. Find their inverses.
√
(i) f (x) = 2x + 3 (ii) g(x) = x3 − 2 (iii) h(x) = (x − 2)2 (iv) k(x) = 3 x + 7.
√
11. Show that the function f (x) = ln(x+ x2 + 1) is an odd function and find the inverse function
of f (x).
22
Chapter 3
Sequences
A girl and a boy jump into a river. The boy swims over to the girl and says, “God, it’s cold.” What’s the
probability they will kiss?
Each number in the sequence is called a term and un is called the nth term. The sequence
u1 , u2 , u3 , . . . is written briefly as {un }, e.g., {un } = 2n, where u1 = 2, u2 = 4, u3 = 6 and so
on. A sequence can be finite or infinite. A finite sequence has only definite number of terms. An
1
infinite sequence is non-terminating, e.g., un = .
2n − 1
Recursive Definitions. The values of the terms in a sequence may be given explicitly by formulas
such as un = n3 − 73n.
A recursive calculation finds the value of un by looking to see which terms un depends on, then
which terms depend, and so on.
2
Example: u0 = 1, un+1 = , n ∈ N.
un
Solution:
2 2
u1 = u0+1 = = =2
u0 1
2 2
u2 = u1+1 = = =1
u1 2
2 2
u3 = u2+1 = = = 2.
u2 1
23
You Try It: Define recursively
a0 = a1 = 1, and an = an−1 + 2an−2 , n ≥ 2.
Find a6 recursively.
1
Lets consider the sequence un = . The sequence has the terms 1, 21 , 13 , 14 , . . . . We see that the
n
terms of the sequence tend to or approach 0.
Definition 3.1.1. A number L is called the limit of an infinite sequence a1 , a2 , a3 , . . . or {an }, if
for any positive number ε, we can find a positive number N depending on ε such that |an − L| < ε
for all integers n > N . We write lim an = L.
n→∞
If {an } is a convergent sequence, it means that the terms an can be made arbitrarily close to L for
n sufficiently large.
1 3n + 1
Example: If un = 3 + = , the sequence is 4, 27 , 10
3
, . . . and we can show that
n n
lim un = 3.
n→∞
If the limit of a sequence exists, the sequence is called convergent, otherwise, it is called divergent.
24
1
Example: Prove that lim = 0.
n→∞ n
1 1 1 1 1
Proof: Let ε > 0, we can find N (ε) such that −0 = = < ε. But n > . So N = .
n n n ε ε
1 1
Taking N to be the smallest integer greater than , we have, lim = 0.
ε n→∞ n
1
You Try It: Prove that lim = 0 if p ∈ N.
n→0 np
2n − 1 2
Example: Use the definition of a limit to prove that lim = .
n→∞ 3n + 2 3
2n − 1 2 3(2n − 1) − 2(3n + 3) 6n − 3 − 6n − 4 −7 7
− = = = = <ε
3n + 2 3 3(3n + 2) 3(3n + 2) 3(3n + 2) 3(3n + 2)
7
< ε
3(3n + 2)
7 − 6ε
n > .
9ε
7 − 6ε 7 − 6ε
Take N = . So taking N to be the smallest integer greater than , we have
9ε 9ε
2n − 1 2 2n − 1 2
− < ε , i.e., lim = .
3n + 2 3 n→∞ 3n + 2 3
an lim an A
4. lim = n→∞ = if lim bn = B 6= 0.
n→∞ bn lim bn B n→∞
n→∞
25
Proof: We must show that if lim un = l1 and lim un = l2 , then l1 = l2 . By hypothesis, given any
n→∞ n→∞
ε ε
ε > 0, we can find N such that |un − l1 | < when n > N and |un − l2 | < when n > N . Then
2 2
ε ε
|l1 − l2 | = |l1 − un + un − l2 | ≤ |l1 − un | + |un − l2 | < + = ε,
2 2
i.e., |l1 −l2 | is less than any positive ε (however small) and so must be zero, i.e., l1 −l2 = 0 =⇒ l1 = l2 .
Proof: We must show that for any ε > 0, we can find N > 0, such that |(an + bn ) − (A + B)| < ε
for all n > N . We have
n tends to infinity, n → ∞ (n grows or increases beyond any limit ). Infinity is not a number and
the sequences that tend to infinity are not convergent.
We write lim an = ∞, if for each positive number M , we can find a positive number N (depending
n→∞
on M ) such that an > M for all n > N .
Similarly, we write lim an = −∞, if for each positive number M , we can find a positive number N
n→∞
such that an < −M for all n > N .
Example: Prove that (a) lim 32n−1 = ∞ (b) lim (1 − 2n) = −∞.
n→∞ n→∞
Proof: (a) If for each positive number M we can find a positive number
N such
that an > M for
1 ln M
all n > N , then 32n−1 > M when (2n − 1) ln 3 > ln M , i.e., n > + 1 . Taking N to be
2 ln 3
1 ln M
the smallest greater than + 1 , then lim 32n−1 = ∞.
2 ln 3 n→∞
26
(b) If for each positive number M , we can find a positive number N such that an < −M for all
n > N , i.e., 1 − 2n < −M when 2n − 1 > M or n > 12 (M + 1). Taking N to be the smallest integer
greater than 12 (M + 1), we have lim (1 − 2n) = −∞.
n→∞
A sequence that tends to a limit l is said to be convergent and the sequence converges to l. A
sequence may tend to +∞ or −∞, and is said to be divergent and it diverges to +∞ or −∞.
If un ≥ m, the sequence is bounded below and m is called a lower bound. The largest lower bound
is called the greatest lower bound (g.l.b).
If un+1 ≥ un , the sequence is called monotonic increasing and if un+1 > un it is called strictly
increasing. If un+1 ≤ un , the sequence is called monotonic decreasing, while if un+1 < un it is
strictly decreasing.
Examples: 1. The sequence 1, 1.1, 1.11, 1.111, . . . is bounded and monotonic increasing.
2. The sequence 1, −1, 1, −1, 1, . . . is bounded but not monotonic increasing or decreasing.
1
Definition 3.4.1. A null sequence is a sequence that converges to 0, e.g., un = , n ≥ 11.
n − 10
If {un } does not tend to a limit or +∞ or −∞, we say that {un } oscillates (or is an oscillating
sequence). It can oscillate finitely (bounded) or infinitely (unbounded).
5 − 2n2
1 3
We want to be able to evaluate limits, for example, of the form lim 2− + 2 or lim .
n→∞ n n n→∞ 4 + 3n + 2n2
27
1 3 1 1
Example: lim 2 − + 2 = lim 2 − lim + 3 lim 2 = 2 − 0 + 0 = 2.
n→∞ n n n→∞ n→∞ n n→∞ n
3n2 − 5n 3 − n5 3+0 3
Example: lim = lim = = .
n→∞ 5n2 + 2n − 6 n→∞ 5 + 2 − 6
5+0+0 5
n n2
√ √
√ √ √ √ n+1+ n 1
Example: lim ( n + 1 − n) = lim ( n + 1 − n) · √ √ = lim √ √ = 0.
n→∞ n→∞ n+1+ n n→∞ n+1+ n
If lim an = l = lim bn and there exists an N such that an ≤ cn ≤ bn , for all n > N , then
n→∞ n→∞
lim cn = l.
n→∞
cos n
Example: Find lim .
n→∞ n
28
(iii) Recursively define s0 = 1, s1 = −3 and sn = 6sn−1 − 9sn−2 for n ≥ 2, find s5 .
(3n + 2)
4. Find the least positive integer N such that − 3 < ε for all n > N if
(n − 1)
(i) ε = 0.01 (ii) ε = 0.001 (iii) ε = 0.0001.
2n − 1 1
5. Use the definition of limits to show that lim cannot be .
n→∞ 3n + 4 2
an A
6. If lim an = A and lim bn = B, prove that lim (an · bn ) = AB and lim = if lim bn =
n→∞ n→∞ n→∞ n→∞ bn B n→∞
B 6= 0.
14. A sequence {un } is such that un+3 = 6un+2 − 5un+1 and u1 = 2, u2 = 6. Prove that
un = 5n−1 + 1.
15. A sequence {an } is such that a1 = 1, a2 = 3 and an+2 = 3an+1 − 2an . Prove that an = 2n − 1.
29
16. Define a sequence x1 , x2 , x3 , . . . by x1 = 5, x2 = 13 and xn+1 = 5xn − 6xn−1 . Prove by
induction that xn = 2n + 3n .
√
17. Define a sequence {xn } recursively by x1 = 1 and xn+1 = 2 + xn .
30
Chapter 4
A man has one hundred dollars and you leave him with two dollars. That’s subtraction.
—Mae West
The single most important idea in calculus is the idea of limit. More than 2000 years ago, the
ancient Greeks wrestled with the limit concept, and they did not succeed. It is only in the past 200
years that we have finally come up with a firm understanding of limits. The study of calculus went
through several periods of increased mathematical rigour beginning with the French mathematician
Augustin-Loius Cauchy (1789-1857) and later continued by the German mathematician, and former
high school teacher, Karl Wilhelm Weierstrass (1815-1897).
If f is a function, then we say lim f (x) = A, if the value of f (x) gets arbitrarily closer to A as x gets
x→a
closer and closer to a. For example, lim x2 = 9, since x2 gets arbitrarily close to 9 as x approaches
x→3
as close as one wishes to 3.
The definition can be stated more precisely as follows : lim f (x) = A if and only if, for any
x→a
chosen positive number ε, however small, there exists a positive number δ, such that, whenever
0 < |x − a| < δ, then |f (x) − A| < ε.
lim f (x) = A means that f (x) can be made as close as desired to A by making x close enough, but
x→a
not equal to a. How close is “close enough to a” depends on how close one wants to make f (x) to
A. It also of course depends on which function f is and on which number a is. The positive number
ε is how close one wants to make f (x) to A ; one wants the distance to be no more then ε. The
31
positive number δ is how close one will make x to a ; if the distance from x to a is less than δ (but
not zero), then the distance from f (x) to A will be less than ε. Thus δ depends on ε. The limit
statement means that no matter how small ε is made, δ can be made smaller enough. The letters
ε and δ can be understood as “error” and “distance”. In these terms the error (ε) can be made as
small as desired by reducing the distance (δ).
For any chosen positive number ε, however small, there exists a positive number δ, such that,
whenever 0 < |x − a| < δ, then |f (x) − A| < ε.
Solution: Need to find δ so that, for a given ε, |x2 + 1 − 2| < ε for |x − 1| < δ.
Now
x 2 + 1 − 2 = x2 − 1
= (x + 1)(x − 1).
Choose |x − 1| < 1 so that −1 < x − 1 < 1 ⇒ 0 < x < 2 ⇒ 1 < x + 1 < 3. You have |x2 + 1 − 2| < ε
ε
if 3|x − 1| < ε or |x − 1| < . You have now two conditions on x :
3
ε
|x − 1| < 1 and |x − 1| < .
3
Choose δ = min{1, 3ε }. For a given ε > 0, choose δ = min{1, 3ε }, then we have |x − 1| < δ, it would
be true that |x2 + 1 − 2| < ε.
Solution: Let ε > 0. We must produce a δ > 0 such that, whenever 0 < |x − 2| < δ then
|(x2 + 3x) − 10| < ε. First we note that
|(x2 + 3x) − 10| = |(x − 2)2 + 7(x − 2)| ≤ |x − 2|2 + 7|x − 2|.
ε
Also, if 0 < δ ≤ 1, then δ 2 ≤ δ. Hence, if we take δ to be the minimum of 1 and , then, whenever
8
0 < |x − 2| < δ,
|(x2 + 3x) − 10| < δ 2 + 7δ ≤ δ + 7δ = 8δ ≤ ε.
1
You Try It: Prove that lim x sin = 0.
x→0 x
32
Right and Left Limits
Considering x and a as points on the real axis where a is fixed and x is moving, then x can approach
a from the right or from the left. We indicate these respective approaches by writing x → a+ and
x → a− .
If lim+ f (x) = A1 and lim− f (x) = A2 , we call A1 and A2 respectively the right and left hand limits
x→a x→a
of f (x) at a.
We have lim f (x) = A if and only if lim+ f (x) = lim− f (x) = A. The existence of the limit from the
x→a x→a x→a
left does not imply the existence of the limit from the right and conversely. When a function f is
defined on only one side of a point a, then lim f (x) is identical to the one-sided limit, if it exists. For
√ x→a √ √
example, if f (x) = x, then f is only defined to the right of zero. Hence, lim x = lim+ x = 0.
x→0
√ √ x→0
Of course, lim− x does not exist, since x is not defined when x < 0. On the other hand, consider
x→0 r
1
the function g(x) = , which is defined only for x > 0. In this case, lim+ g(x) does not exist and,
x x→0
therefore lim g(x) does not exist.
x→0
Solution: Must show that if lim f (x) = A1 and lim f (x) = A2 , then A1 = A2 .
x→a x→a
Solution: We must show that for any ε > 0, we can find δ > 0 such that |(f (x)+g(x))−(A+B)| < ε
when 0 < |x − a| < δ.
By hypothesis, given ε > 0, we can find δ1 > 0 and δ2 > 0 such that
ε
|f (x) − A| < when 0 < |x − a| < δ1
2
ε
|g(x) − B| < when 0 < |x − a| < δ2 .
2
Then
ε ε
|(f (x) + g(x)) − (A + B)| ≤ |f (x) − A| + |g(x) − B| < + = ε,
2 2
when 0 < |x − a| < δ where δ is chosen as the smaller of δ1 and δ2 .
You Try It: Given lim f (x) = A and lim g(x) = B. Prove that
x→a x→a
ex − 1 x−1
3. lim = 1, lim = 1.
x→0 x x→1 ln x
34
4.4 Methods of Calculating lim f (x)
x→a
If f (a) is defined
If x = a is in the domain of f (x) and a is not an endpoint of the domain, and f (x) is defined by a
single expression, then
lim f (x) = f (a).
x→a
Solution: lim (x + 3) = 1 + 3 = 4.
x→1
1
Example: Find lim .
x→1 x+2
1 1 1
Solution: lim = = .
x→1 x + 2 1+2 3
x2 − 4
Example: Find lim .
x→2 x − 2
x2 − 4 (x + 2)(x − 2)
Solution: lim = lim = lim (x + 2) = 4.
x→2 x − 2 x→2 x−2 x→2
Suppose that f (x) is defined by one expression for x < a and by a different expression for x > a.
|x|
Example: Show that lim does not exist.
x→0 x
35
i.e., you seek a limit at x = 0 of a function that is defined differently on either side of x = 0.
|x|
lim− = lim (−1) = −1.
x→0 x x→0−
|x|
lim+ = lim (1) = 1.
x→0 x x→0+
sin 3x
Example: Find lim .
x→0 x
sin 3x sin 3x
Solution: Since =3 . Then
x 3x
sin 3x sin 3x sin 3x
lim = lim 3 = 3 lim = 3(1) = 3.
x→0 x x→0 3x x→0 3x
1 − cos 2x
Example: Find lim .
x→0 sin 3x
1 − cos 2x 1 − cos 2x 3x 1 2 1 − cos 2x 3x
Solution: Since = 2x = . Then
sin 3x 2x sin 3x 3x 3 2x sin 3x
1 − cos 2x 2 1 − cos 2x 3x 2
lim = lim lim = (0)(1) = 0.
x→0 sin 3x 3 x→0 2x x→0 sin 3x 3
sin x
Example: Find limπ .
x→ 4 cos x
π
sin x sin 4
Solution: limπ = π
= 1.
x→ 4 cos x cos 4
1 − cos θ
You Try It: Show that lim = 0.
θ→0 θ
Limits at Infinity
36
Similarly, we say that lim f (x) = −∞, if for each positive number M we can find a positive number
x→a
δ (depending on M in general) such that f (x) < −M whenever 0 < |x − a| < δ.
1 1
Note that lim = 0 and lim = 0.
x→∞ x x→−∞ x
pm (x)
A rational function is a quotient of two polynomials, f (x) = , where m and n are the degrees
qn (x)
of the two polynomials.
Solution: The degree of the numerator is one, the degree of the denominator is two. Therefore
1
x+1 x
+ x12 0+0
lim = 0, since lim = = 0.
x→∞ x2 + 4 x→∞ 1 + 42 1+0
x
2. If m > n, then lim f (x) = ±∞ . (sign depends on the polynomials pm (x) and qn (x), if they
x→∞
are of the same sign as x gets larger, the quotient is positive, if they are of opposite signs, the
quotient is negative)
x3 − 2x2 + 3x + 4
Example: Find lim .
x→∞ 3x + 5
2
x3 − 2x2 + 3x + 4 1− x
+ x32 + x43 1
Solution: lim = lim 3 = = ∞.
x→∞ 3x + 5 x→∞
x2
+ x53 0
a
3. If m = n, then lim f (x) = , where a is the coefficient of xm in the numerator and b is the
x→∞ b
coefficient of xn in the denominator.
37
x3 − 4x + 1
Example: Find lim .
x→∞ 3x3 + 2x + 7
4 1
x3 − 4x + 1 1− x2
+ x3 1−0+0 1
Solution: lim = lim 2 7 = = .
x→∞ 3x3 + 2x + 7 x→∞ 3 + + 3+0+0 3
x2 x3
a0 xm + a1 xm−1 + · · · + am
You Try It: What is lim , where a0 , b0 6= 0 and m and n are
x→∞ b0 xn + b1 xn−1 + · · · + bn
positive integers, when (a) m > n (b) m = n (c) m < n.
x−4
You Try It: Find lim √ .
x→4 x−2
4.5 Continuity
1. f (a) is defined.
Notice that, for f (x) to be continuous at x = a, all three conditions must be satisfied. If at least
one condition fails, f is said to have a discontinuity at x = a. For example, f (x) = x2 + 1 is
continuous at x = 2 since lim f (x) = 5 = f (2). The first condition above implies that a function
x→2 √
can be continuous only at points of its domain. Thus, f (x) = 4 − x2 is not continuous at x = 3
because f (3) is imaginary, i.e., not defined.
|x|
Example: Determine whether f (x) = is continuous at x = 0.
x
38
Example: Determine whether
|x|
(
f (x) = , if x 6= 0
x
0, if x = 0,
is continuous at x = 0.
Sine the limits are not the same, lim f (x) does not exist and f (x) is not continuous at x = 0.
x→0
A function f (x) is discontinuous at x = a if one or more of the conditions for continuity fails
there.
1
Example: (a) f (x) = is discontinuous at x = 2, because f (2) is not defined (has a zero
x−2
denominator) and because lim f (x) does not exist (equals ∞). The function is, however, continuous
x→2
everywhere except at x = 2, where it is said to have an infinite discontinuity.
x2 − 4
(b) f (x) = is discontinuous at x = 2 because f (2) is not defined (both numerator and
x−2
denominator are zero) and because lim f (x) = 4. The discontinuity here is called removable since
x→2
x2 − 4
it may be removed by redefining the function as f (x) = for x 6= 2 and f (2) = 4. (Note the
x−2
discontinuity in (a) cannot be removed because the limit also does not exist.)
f (x) is continuous at x = a, if for any ε > 0, we can find δ > 0, such that, |f (x) − f (a)| < ε
whenever 0 < |x − a| < δ.
39
Example: Prove that f (x) = x2 is continuous at x = 2.
Solution: Must show that, given any ε > 0, we can find δ > 0, such that |f (x)−f (2)| = |x2 −4| < ε
when |x − 2| < δ.
Choose δ ≤ 1, so that |x − 2| < 1 or 1 < x < 3 (x 6= 2). Then |x2 − 4| = |(x − 2)(x + 2)| =
|x − 2||x + 2| < δ|x + 2| < 5δ. Taking δ = min{1, 5ε } whichever is smaller, then we have |x2 − 4| < ε
whenever |x − 2| < δ.
You Try It: (a) Prove that f (x) = x is continuous at any point x = x0 .
(b) Prove that f (x) = 2x3 + x is continuous at any point x = x0 .
Theorems on Continuity
f (x)
Theorem 1. If f (x) and g(x) are continuous at x = a, so are the functions f (x) ± g(x), f (x)g(x) and
g(x)
if g(x) 6= 0.
Theorem 2. The following functions are continuous in every finite interval (a) all polynomials (b) sin x
and cos x (c) ax , a > 0.
You Try It: Suppose that f (x) ≤ g(x) ≤ h(x) for all x in an open interval containing a and
lim f (x) = lim h(x) = L. Then, show that lim g(x) = L.
x→a x→a x→a
Evaluate (i) lim f (x) (ii) lim f (x) (iii) lim+ f (x) (iv) lim− f (x) (v) lim f (x).
x→2 x→−3 x→0 x→0 x→0
3x + |x|
2. If f (x) = . Evaluate (i) lim f (x) (ii) lim f (x) (iii) lim+ f (x)
7x − 5|x| x→∞ x→−∞ x→0
(iv) lim− f (x) (v) lim f (x)
x→0 x→0
40
3. Use the theorems on limits √ to evaluate
√ each of the following limits.
3 2
x −8 3+x− 3 8x + 4
(i) lim (ii) lim (iii) lim 2−x+2
(iv) lim (4x2 − x + 5)
x→0 x√ − 2 x→0 x x→∞ 2x x→2
x+4−2 a0 + a1 x + · · · + am x m (3x − 1)(2x + 3)
(v) lim (vi) lim (vii) lim
x→0 x x→∞ b0 + b1 x + · · · + bn xn x→∞ (5x − 3)(4x + 5)
√
sin 3x 6x − sin 2x sin x 2x − 8 x + 8
(viii) lim (ix) lim (x) lim (xi) lim √ .
x→0 x x→0 2x + 3 sin 4x x→0 sin 2x x→4 x−2
4. For f (x) = 5x − 6, find a δ > 0 such that whenever 0 < |x − 4| < δ, then |f (x) − 14| < ε
when (i) ε = 12 (ii) ε = 0.001.
x2 − 4
2 1
5. Verify (i) lim = 4 (ii) lim x cos = 0.
x→2 x − 2 x→0 x
6. Give the points of discontinuity of each of the following functions.
x
(ii) f (x) = x2 sin x1 , f (0) = 0
(i) f (x) =
(x − 2)(x − 4)
p 1
(iii) f (x) = (x − 3)(6 − x), 3 ≤ x ≤ 6 (iv) f (x) = .
1 + 2 sin x
7. For what values of x in the domain of definition is each of the following functions continuous?
x 1 + cos x − 1
(i) f (x) = 2 (ii) f (x) = (iii) f (x) = 10 (x−3)2
x −1 3 + sin x
x − |x|
(iv) f (x) = .
x
8. Given that the function f : R → R be defined by
2
x − 4, x≥2
f (x) = 2ax + b, 0<x<2
x
e , x ≤ 0,
9. Find the values of a and b such that the function f will be continuous on R
ax − 3, x<2
2
f (x) = 3 − x − 2x , 2≤x≤4
bx + 7, x > 4.
10. Determine all values of the the constant A so that the following is continuous for all values of
x, 2
A x − A, x≥3
f (x) =
4, x < 3.
11. Determine all the values of the constants A and B so that the following is continuous for all
values of x,
Ax − B, x ≤ −1
f (x) = 2x2 + 3Ax + B, −1 < x ≤ 1
4, x > 1.
41
12. The function f : R → R is defined by
sin x, x≤0
f (x) = ax + b, 0<x≤3
3
x, x > 3.
42
Chapter 5
Differentiation
Any man who can drive safely while kissing a pretty girl is simply not giving the kiss the attention it
deserves.
—Albert Einstein
Let f (x) be defined at any point x0 in (a, b). The derivative of f (x) at x = x0 is defined as
f (x0 + h) − f (x0 )
f 0 (x0 ) = lim
h→0 h
if this limit exists. A function is called differentiable at a point x = x0 , if it has a derivative at
that point, i.e., if f 0 (x0 ) exists. If we write x = x0 + h, then h = x − x0 and h approaches 0 if and
only if x approaches x0 . Therefore, an equivalent way of stating the definition of the derivative, is
f (x) − f (x0 )
f 0 (x0 ) = lim .
x→x0 x − x0
43
Solution:
f (x + h) − f (x) [(x + h)3 − (x + h)] − [x3 − x]
f 0 (x) = lim = lim
h→0 h h→0 h
x3 + 3x2 h + 3xh2 + h3 − x − h − x3 + x
= lim
h→0 h
3x2 h + 3xh2 + h3 − h
= lim
h→0 h
= lim (3x + 3xh + h2 − 1) = 3x2 − 1.
2
h→0
√
Example: If f (x) = x, find the derivative of f .
Solution:
f (x + h) − f (x)
f 0 (x) = lim
h→0
√ h
√
x+h− x
= lim
h→0
√ h
√ √ √
x+h− x x+h+ x
= lim ·√ √
h→0 h x+h− x
(x + h) − x
= lim √ √
h→0 h( x + h + x)
1
= lim √ √
h→0 x+h+ x
1 1
= √ √ = √ .
x+ x 2 x
dy d d
The derivative at x may be denoted by f 0 (x), y 0 , , (f (x)). The symbol is called differ-
dx dx dx
entiation operator because it indicates the operation of differentiation. The process of finding
derivatives of functions is called differentiation.
Solution: If x > 0, then |x| = x and we can choose h small enough that x + h > 0 and hence
|x + h| = x + h. Therefore, for x > 0,
|x + h| − |x|
f 0 (x) = lim
h→0 x
(x + h) − x h
= lim = lim = 1,
h→0 h h→0 h
44
Similarly, for x < 0, we have |x| = −x and h can be chosen small enough that x + h < 0 and so
|x + h| = −(x + h). Therefore, for x < 0,
|x + h| − |x|
f 0 (x) = lim
h→0 h
−(x + h) − (−x) −h
= lim = lim = −1,
h→0 h h→0 h
f (0 + h) − f (0)
f 0 (0) = lim
h→0 h
|0 + h| − |0|
= lim (if it exists).
h→0 h
Let’s compute the left and right limits separately;
|0 + h| − |0| |h|
lim+ = lim+ = lim+ 1 = 1.
h→0 h h→0 h h→0
|0 + h| − |0| |h|
lim− = lim = lim− (−1) = −1.
h→0 h h→0− h h→0
Since these limits are different f 0 (0) does not exist. Thus, f is differentiable at all x except 0.
45
5. The derivative of a sum (difference) is the sum (difference) of the derivatives,
(f (x) ± g(x))0 = f 0 (x) ± g 0 (x).
For example,
(3x5 − 2x2 + 1)0 = (3x5 )0 − (2x2 )0 + 10 = 3(x5 )0 − 2(x2 )0 + 0 = 3(5x4 ) − 2(2x) = 15x4 − 4x.
6. Product Rule
(f (x)g(x))0 = f (x)g 0 (x) + g(x)f 0 (x).
7. Quotient Rule 0
g(x)f 0 (x) − f (x)g 0 (x)
f (x)
= .
g(x) (g(x))2
8. Parametric Equations. If the coordinates (x, y) of a point P on a curve are given as
functions x = f (u) and y = g(u) of a third variable or parameter u, the equations x = f (u)
and y = g(u) are called parametric equations of the curve. For example, x = 12 t, y = 4 − t2 or
x = cos θ, y = 4 sin2 θ.
dy
The First Derivative is given by
dx
dy dy/du
= .
dx dx/du
d2 y
The Second Derivative is given by
dx2
d2 y
d dy du
2
= .
dx du dx dx
dy d2 y
Example: Find and 2 given x = θ − sin θ and y = 1 − cos θ.
dx dx
dx dy
Solution: Note that = 1 − cos θ and = sin θ, so
dθ dθ
dy dy/dθ sin θ
= = .
dx dx/dθ 1 − cos θ
Also
d2 y
d sin θ dθ
2
=
dx dθ 1 − cos θ dx
cos θ − 1 1 1
= 2
· =− .
(1 − cos θ) 1 − cos θ (1 − cos θ)2
dy d2 y
Example: Find and 2 given x = et cos t and y = et sin t.
dx dx
dx dy
Solution: Note that = et (cos t − sin t) and = et (sin t + cos t), so
dt dt
dy dy/dt sin t + cos t
= = .
dx dx/dt cos t − sin t
46
Also
d2 y
d sin t + cos t dt
2
=
dx dt cos t − sin t dx
2 1 2
= 2
· t = t .
(cos t − sin t) e (cos t − sin t) e (cos t − sin t)3
Theorem 5.1.1. If f (x) = c is a constant function, then f 0 (x) = 0 for all real numbers x.
f (x + h) − f (x) c−c
Proof. Observe that f 0 (x) = lim = = 0.
h→0 h h
Theorem 5.1.2 (Product Rule). If f and g are both differentiable at x, then the product function
f g is also differentiable at x and (f g)0 (x) = f (x)g 0 (x) + g(x)f 0 (x).
Proof.
f (x + h)g(x + h) − f (x)g(x)
(f g)0 (x) = lim .
h→0 h
Trick of adding and subtracting f (x + h)g(x) to the numerator,
Proof.
1 1
g(x+h)
− g(x) g(x) − g(x + h)
lim = lim
h→0 h h→0 h(g(x))(g(x + h))
−(g(x + h) − g(x)) 1
= lim
h→0 h g(x)g(x + h)
−(g(x + h) − g(x)) 1
= lim lim
h→0 h h→0 g(x)g(x + h)
1
= −g 0 (x) .
(g(x))2
47
f
Theorem 5.1.4. If f and g are differentiable at x and g(x) 6= 0, then is differentiable at x and
0 g
f g(x)f 0 (x) − f (x)g 0 (x)
(x) = .
g (g(x))2
f 1
Proof. Since = f , we have
g g
0 0
f 1
(x) = f· (x)
g g
0
0 1 1
= f (x) + f (x) (x)
g(x) g
f 0 (x) g 0 (x)
= + f (x) −
g(x) (g(x))2
f 0 (x)g(x) − f (x)g 0 (x)
= .
(g(x))2
x 0 (x2 + 1) − x(2x) 1 − x2
Example: If f (x) = , then f (x) = = .
x2 + 1 (x2 + 1)2 (x2 + 1)2
1 1
Example: If f (x) = , then f 0 (x) = − 2 .
x x
dy
Example: If x = cos t and y = t sin t, find .
dx
Solution:
d
dy (t sin t) sin t + t cos t
= dt = .
dx d − sin t
(cos t)
dt
Recall :
sin h 1 − cos h
lim = 1 and lim = 0.
h→0 h h→0 h
48
sin(x + h) − sin x
(sin x)0 = lim
h→0 h
sin x cos h + cos x sin h − sin x
= lim
h→0 h
sin x(cos h − 1) + cos x sin h
= lim
h→0
h
(1 − cos h) sin h
= lim − sin x + cos x
h→0 h h
= − sin x(0) + cos x(1).
dy
Example: Find if y = x3 sin x.
dx
dy
Solution: = (x3 sin x)0 = x3 (sin x)0 + sin x(x3 )0 = x3 cos x + 3x2 sin x.
dx
is differentiable at x = 0.
d x d 1 d x
Derivatives of ln x and ex are e = ex and ln x = . Also (a ) = ax ln x, a > 0.
dx dx x dx
49
d
Example: Calculate the derivative [(sin x + x) · (x3 − ln x)].
dx
d d d 3 d 1
Solution: We know that sin x = cos x, x = 1, x = 3x2 and ln x = . Therefore, by
dx dx dx dx x
the addition rule,
d d d
(sin x + x) = sin x + x = cos x + 1
dx dx dx
and
d 3 d 3 d 1
(x − ln x) = x − ln x = 3x2 − .
dx dx dx x
Now we may conclude the calculation by applying the product rule;
d d d
[(sin x + x) · (x3 − ln x)] = (sin x + x) · (x3 − ln x) + (sin x + x) · (x3 − ln x)
dx dx dx
3 2 1
= (cos x + 1) · (x − ln x) + (sin x + x) · 3x −
x
1
= 4x3 − 1 + x3 cos x + 3x2 sin x − sin x − ln x cos x − ln x.
x
d
Example: Calculate the derivative (sin(x3 − x2 )).
dx
Solution: This is the composition of functions, so we must apply the Chain Rule. It is essential
to recognize what function will play the role of f and what function will play the role of g. Notice
50
that, if x is the variable, then x3 − x2 is applied first and sin applied next. So it must be that
d d
g(x) = x3 − x2 and f (s) = sin s. Notice that f (s) = cos s and g(x) = 3x2 − 2x. Then
ds dx
sin(x3 − x2 ) = f ◦ g(x)
and
d d
(sin(x3 − x2 )) = (f ◦ g(x))
dx dx
df d
= (g(x)) · g(x)
ds dx
= cos(g(x)) · (3x2 − 2x)
= [cos(x3 − x2 )] · (3x2 − 2x).
x2
d
Example: Calculate the derivative ln .
dx x−2
x2 x2
Solution: Let h(x) = ln . Then h = f ◦ g, where f (s) = ln s and g(x) = . So
x−2 x−2
d 1 d (x − 2) · 2x − x2 · 1 x2 − 4x
f (s) = and g(x) = = . As a result,
ds s dx (x − 2)2 (x − 2)2
d d
h(x) = (f ◦ g)
dx dx
df d
= (g(x)) · g(x)
ds dx
1 x2 − 4x
= ·
g(x) (x − 2)2
1 x2 − 4x
= ·
x2 (x − 2)2
x−2
x−4
= .
x(x − 2)
What is the relationship between continuity and differentiation? It appears that functions that
have derivatives must be continuous.
Theorem 5.4.1. If a function f is differentiable at a point x, then it is continuous at x.
51
Proof. We want to show that f is continuous at x, i.e., lim f (t) = f (x) or lim f (x + h) = f (x),
t→x h→0
where h = t − x. It will be sufficient to show that lim [f (x + h) − f (x)] = 0.
h→0
Now,
f (x + h) − f (x)
lim [f (x + h) − f (x)] = lim h
h→0 h→0 h
f (x + h) − f (x)
= lim lim h
h→0 h h→0
= f 0 (x) · 0
= 0,
Converse is false: For example, the function f (x) = |x| is continuous at x = 0, but it is not
differentiable there.
dy
If f (x) is differentiable in an interval, its derivative is given by f 0 (x), y 0 or where y = f (x).
dx
d2 y
0 00 d
00 dy
If f (x) is also differentiable in the interval, its derivative is denoted by f (x), y or = .
dx dx dx2
dn y
Similarly, the nth derivative of f (x), if it exists, is denoted by f (n) , y (n) or where n is called
dxn
the order of the derivative.
d 1 4
Solution: Derivative y 0 = f 0 (x) = ( x − 3x2 + 1) = 2x3 − 6x.
dx 2
d2 y d
Second derivative y 00 = f 00 (x) = = (2x3 − 6x) = 6x2 − 6.
dx2 dx
000 d3 y
000 d
Third derivative y = f (x) = 3 = (6x2 − 6) = 12x.
dx dx
d4 y d
Fourth derivative y (4) = f (4) (x) = 4
= (12x) = 12.
dx dx
52
5.6 Implicit Differentiation
Compare
√
1. x2 − y 3 = 3 ⇐⇒ y = 3
x2 − 3.
√
2. x2 + y 2 = 1 ⇐⇒ y = ± 1 − x2 .
3. x3 + y 2 = 3xy ⇐⇒????????.
Implicit Functions. A function in which the dependent variable is expressed solely in terms of
the independent variable x, namely y = f (x), is said to be an explicit function, for example,
y = 12 x3 − 1. An equation f (x, y) = 0, on perhaps certain restricted ranges of the variables, is said
to define y implicitly as a function of x.
1−x
Example: (a) The equation xy + x − 2y − 1 = 0, with x 6= 2, defines the function y = .
√ x−2
(b) The equation 4x2 + 9y 2 − 36 = 0 defines the function y = 23 9 − x2 when |x| ≤ 3 and y ≥ 0
√
and the function y = − 23 9 − x2 when |x| ≤ 3 and y ≤ 0.
2. Thinking of y as a function of x, differentiate both sides of the given equation with respect
to x and solve the resulting relation for y 0 . This differentiation process is known as implicit
differentiation.
dy
Example: Find if x2 + y 2 = 4.
dx
d2 y
Example: Find if x2 + y 2 = 4.
dx2
53
Solution: From the above example, we already know that the first derivative is
dy x
=− .
dx y
Hence by the Quotient Rule
d2 y
d x
2
= −
dx dx y
dy
y·1−x·
= − dx
y2
x
y−x −
y dy
= − 2
Substituting for
y dx
y + x2
2
= − .
y3
d2 y 4
= − .
dx2 y3
dy
Example: Find if sin y = y cos 2x.
dx
Solution:
d d
sin y = y cos 2x
dx dx
dy dy
cos y = y(− sin 2x · 2) + cos 2x
dx dx
dy
(cos y − cos 2x) = −2y sin 2x
dx
dy 2y sin 2x
= − .
dx cos y − cos 2x
Solution: We have
d d d d d d
x (y) + y (x) + (x) − 2 (y) − (1) = (0)
dx dx dx dx dx dx
1+y
or xy 0 + y + 1 − 2y 0 = 0, then y 0 = .
2−x
54
Solution:
d 2 d d 2 d 2
(x y) − (xy 2 ) + (x ) + (y ) = 0
dx dx dx dx
d d d d d 2 d 2
x2 (y) + y (x2 ) − x (y 2 ) − y 2 (x) + (x ) + (y ) = 0.
dx dx dx dx dx dx
y 2 − 2x − 2xy
Hence, x2 y 0 + 2xy − 2xyy 0 − y 2 + 2x + 2yy 0 = 0 and y 0 = .
x2 + 2y − 2xy
Solution:
d 2 d d 2 2x − y
(x ) − (xy) = (y ) = 2x − xy 0 − y + 2yy 0 = 0. So y 0 = .
dx dx dx x − 2y
Then
d d
(x − 2y) (2x − y) − (2x − y) (x − 2y) (x − 2y)(2 − y 0 ) − (2x − y)(1 − 2y 0 )
y 00 = dx dx =
(x − 2y)2 (x − 2y)2
2x − y
3x − 3y
3xy 0 − 3y x − 2y 6(x2 − xy + y 2 )
= = =
(x − 2y)2 (x − 2y)2 (x − 2y)2
18
= .
(x − 2y)2
Take natural logarithm (ln) both sides, differentiate implicitly and solve for y 0 .
√
2 3
x 7x − 14
Example: Compute y 0 if y = .
(1 + x2 )4
55
√ 2√
x2 3 7x − 14
x 3 7x − 14
Solution: y = ⇒ ln y = ln .
(1 + x2 )4 (1 + x2 )4
1
ln y = 2 ln x + ln(7x − 14) − 4 ln(1 + x2 )
3
1 (7x − 14)0 (1 + x2 )0
1 0 1
y = 2 + −4
y x 3 7x − 14 1 + x2
2 7 8x
= + −
x 3(7x − 14) 1 + x2
0 2 7 8x
y = y + −
x 3(7x − 14) 1 + x2
√
x2 3 7x − 14 2
7 8x
= + − .
(1 + x2 )4 x 3(7x − 14) 1 + x2
If x = sin y, the inverse function is written y = sin−1 x or y = arcsin x. The inverse trigonometric
functions are multivalued functions.
d 1 d 1 d 1
Some Derivatives. (cos−1 x) = − √ , (cot−1 x) = − , (sec−1 x) = √ .
dx 1 − x2 dx 1 + x2 dx x x2 − 1
1
You Try It: Show that the derivative of tan−1 x = .
1 + x2
56
d √ 1
2. Show from definition that ( x) = √ .
dx 2 x
3. Determine whether each of the following functions is differentiable at(
x = 0.
x − |x|
x sin x1 ,
3
x 6= 0 , x 6= 0 .
(i) f (x) = (ii) f (x) = x|x| (iii) f (x) = x
0, x=0 0, x=0
4. Show that f (x) = cos x is differentiable at any x ∈ R and that f 0 (x) = − sin x.
dy
5. Find for each of the following functions
dx
(i) y = sin2 (3x + π6 ) (ii) y = (ax + b)m (cx + d)n (iii) y = cos(x2 − 3x + 1)
r
x ax + b
(iv) y = 2
(v) y = (vi) exy + y ln x = cos 2x (vii) y = sec−1 x
1+x cx + d
x y2
(viii) x = t cos t and y = t sin t (ix) xy = sin(x + y) (x) 2 + =5
y x
(xi) cos(x − y) = yexy (xii) x = sec t and y = tan t (xiii) xy 3 − 3x2 = xy + 5.
57
(ii) y = tan−1 3x2 .
√ x
(iii) y = x a2 − x2 + a2 sin−1 .
a
√
−1 1
(iv) y = x csc + 1 − x2 .
x
1 b
(v) y = tan−1 tan x .
ab a
14. Find the first derivatives of the following functions
58
Chapter 6
Gravitation cannot be held responsible for people falling in love. How on earth can you explain in terms of
chemistry and physics so important a biological phenomenon as first love? Put your hand on a stove for a
minute and it seems like an hour. Sit with that special girl for an hour and it seems like a minute. That’s
relativity.
—Albert Einstein
A method for approximating the value of a function near a known value. The method uses the
tangent line at a known value of the function to approximate the function’s graph. Let ∆x and ∆y
represent the changes in x and y for the function and dx and dy represents the changes in x and y
for the tangent line.
59
This is also written as
f (x + ∆x) = f (x) + ∆y = f (x) + f 0 (x)∆x.
√
Example: Approximate 10 by differentials.
√ √ √
Solution: 10 is near 9, so we will use f (x) = x with x = 9 and ∆x = 10 − 9 = 1. Note that
1
f 0 (x) = √ . Therefore
2 x
√
10 = f (x + ∆x)
≈ f (x) + f 0 (x)∆x
√ 1 √ 1
= x + √ ∆x = 9 + √ (1)
2 x 2 9
19
= .
6
√
Example: Find an approximate value of 3 9.
√ 2
Solution: We set f (x) = 3 x. Suppose to find f (9). Note that f 0 (x) = 13 x− 3 and hence, f (8) = 2
and f 0 (8) = 12
1
, where x = 8 and ∆x = 9 − 8 = 1. Therefore,
√
3 1
9 = f (9) ≈ 2 + (1)
12
25
=
12
≈ 2.0833.
π π
Solution: Radial measure 46◦ = 45◦ + 1◦ corresponds to + and note that f (x) = tan x, then
4 180
60
f 0 (x) = sec2 x and f ( π4 ) = 1, f 0 ( π4 ) = 2. Therefore
π π π π π π
tan 46◦ = tan + ≈ tan + sec2 =1+ ≈ 1.0349.
4 180 4 4 180 90
Suppose f (x) is continuous on [a, b] and differentiable on (a, b). Then, there exists a c in (a, b) at
which the tangent line is parallel to the secant line joining the points (a, f (a)) and (b, f (b)), i.e., at
f (b) − f (a)
which f 0 (c) = ,
b−a
OR
If f (x) is continuous in [a, b] and differentiable in (a, b), then there exists a point c in (a, b) such
that
f (b) − f (a)
f 0 (c) = , a < c < b.
b−a
The word mean in The Mean Value Theorem refers to the mean (or average) rate of change of f
in the interval [a, b].
If f (a) = f (b) = 0, then the theorem says that there exists a c in (a, b) at which f 0 (c) = 0. The
graphs suggest that there must be at least one point on the graph, that corresponds to a number c
in (a, b), at which the tangent is horizontal. This special case of the Mean Value Theorem is called
Rolle’s Theorem 1 .
1
Michel Rolle, a French mathematician (1652-1719)
61
√
Example: Consider f (x) = x − 1 on [2, 5], f (x) is continuous when x − 1 ≥ 0, i.e., x ≥ 1. In
1
particular, f (x) is continuous on [2, 5] and f 0 (x) = √ , so differentiable when x > 1. In
2 x−1
particular, f (x) is differentiable on (2, 5).
√ √
f (b) − f (a) f (5) − f (2) 5−1− 2−1 1
= = = .
b−a 5−2 3 3
1
The Mean Value Theorem asserts that, for some c in (2, 5), f 0 (c) = . Let us find it.
3
1
f 0 (x) =
3
1 1
√ =
2 x−1 3
√
2 x−1 = 3
4(x − 1) = 9
9
x−1 =
4
13
x = .
4
13 13
Notice that is in (2, 5), so we may take c = .
4 4
π
Example: Show that if f (x) = tan x on the interval 0 ≤ x ≤ k where k < , then tan k ≥ k.
2
Solution: The function cos x is continuous and differentiable for all x. By the Mean Value Theorem
cos a − cos b
(cos x)0 =
a−b
cos a − cos b
|(cos x)0 | = ,
a−b
but (cos x)0 = − sin x and |(cos x)0 | ≤ 1, therefore
| cos a − cos b|
≤ 1 =⇒ | cos a − cos b| ≤ |a − b|.
|a − b|
b−a b−a
Example: Prove that 2
< tan−1 b − tan−1 a < for a < b.
1+b 1 + a2
1 1
Solution: Let f (x) = tan−1 x. Since f 0 (x) = 2
, f 0 (c) = . By the Mean Value Theorem
1+x 1 + c2
f (b) − f (a) tan−1 b − tan−1 a 1
= = , a < c < b.
b−a b−a 1 + c2
Then, from a < c < b, we have
a b b
Example: Use the Mean Value Theorem, to prove that if 0 < a < b, then 1 − < ln < − 1.
b a a
1 1
Hence show that < ln 1.2 < .
6 5
1
Solution: Let f (x) = ln x and f 0 (x) = . By the Mean Value Theorem, there exists c ∈ (a, b)
x
such that
1 ln b − ln a
f 0 (c) = = .
c b−a
Then, from a < c < b we have
1 1 1
a < c < b =⇒ < <
b c a
1 ln b − ln a 1 b−a b−a
< < =⇒ < ln b − ln a <
b b−a a b a
a b b
=⇒ 1 − < ln < − 1.
b a a
63
12 6
Now, ln(1.2) = ln = ln . Therefore a = 5 and b = 6. Substituting in
10 5
a b b
1 − < ln < − 1, we have
b a a
5 6 6 1 1
1 − < ln < − 1 =⇒ < ln 1.2 < .
6 5 5 6 5
Corollary 6.3.1. If f 0 (x) = 0 at all points of the interval (a, b), then f (x) must be a constant in
the interval.
Proof. Let x1 < x2 be any two different points in (a, b). By the Mean Value Theorem for
x1 < x < x 2 ,
f (x2 ) − f (x1 )
= f 0 (x) = 0.
x2 − x1
Thus f (x1 ) = f (x2 ). Since x1 and x2 are arbitrarily chosen, the function f (x) has the same value
at all points in the interval. Thus, f (x) is constant.
Corollary 6.3.2. If f 0 (x) > 0 at all points of the interval (a, b), then f (x) is strictly increasing.
Proof. Let x1 < x2 be any two different points in (a, b). By the Mean Value Theorem for
x1 < x < x 2 ,
f (x2 ) − f (x1 )
= f 0 (x) > 0.
x2 − x1
Thus f (x2 ) > f (x1 ) for x2 > x1 and so f (x) is strictly increasing.
f (x) 0 ∞ f (x) 0
Happens when lim tends to or as x → a. Think of the situation lim →
x→a g(x) 0 ∞ x→a g(x) 0
where f (x) and g(x) are differentiable (and therefore continuous so f (a) = lim f (x) = 0 and
x→a
64
g(a) = lim g(x) = 0.), then
x→a
f (x) − f (a)
= lim x−a (provided the denominator is not zero)
x→a g(x) − g(a)
x−a
f (x) − f (a)
lim
=
x→a x−a
g(x) − g(a)
lim
x→a x−a
0
f (a) lim f 0 (x)
x→a
= 0 = (provided f 0 (x) and g 0 (x) are also continuous.)
g (a) lim g 0 (x)
x→a
Example:
x2 − 4 (x2 − 4)0 2x
lim = lim = lim = 2 · 2 = 4.
x→2 x − 2 x→2 (x − 2)0 x→2 1
0 ∞
The form ∞ − ∞. A given limit that is not immediately or can be converted to one of these
0 ∞
forms by combination of algebra and a little cleverness.
1 + 3x 1
Example: Evaluate lim − .
x→0 sin x x
1 + 3x 1
Solution: We note → ∞ and → ∞. However, after writing the difference as a single
sin x x
65
0
fraction, we recognize the form .
0
3x2 + x − sin x
1 + 3x 1
lim − = lim
x→0 sin x x x→0 x sin x
6x + 1 − cos x
= lim
x→0 x cos x + sin x
6 + sin x
= lim
x→0 −x sin x + 2 cos x
6+0
= = 3.
0+2
The form 0 · ∞. By suitable manipulation, L’Hôpital’s Rule can sometimes be applied to the limit
form 0 · ∞.
1
Example: Evaluate lim x sin .
x→∞ x
and we see
lim ln y = lim g(x) ln f (x)
x→a x→a
lim f (x)g(x) = eL .
x→a
1
Example: Evaluate lim+ x ln x .
x→0
66
1
Solution: The form is 00 . Now, if we set y = x ln x , then
1
ln y = ln x = 1.
ln x
Notice we do not need L’Hôpital’s Rule in this case since
lim ln y = 1.
x→0+
1
Hence, lim+ y = e1 or equivalently lim+ x ln x = e.
x→0 x→0
1
Example: Evaluate lim (1 + x) x .
x→0
1
Solution: The limit form is of the form 1∞ . If y = (1 + x) x , then
1
ln y = ln(1 + x).
x
ln(1 + x) 0
Now, lim has the form and so
x→0 x 0
1
ln(1 + x)
lim = lim 1+x
x→0 x x→0 1
1
= lim = 1.
x→0 1 + x
Thus,
1
lim (1 + x) x = e.
x→0
2x
3
Example: Evaluate lim 1 − .
x→∞ x
2x
∞ 3 3
Solution: The limit form is 1 . If y = 1 − then ln y = 2x ln 1 − . Observe that the
x x
2 ln(1 − x3 )
3 0
form lim 2x ln 1 − is ∞ · 0, whereas the form of lim 1 is . Therefore,
x→∞ x x→∞
x
0
3
x2
2 ln(1 − x3 ) (1 − x3 )
lim 1 = lim 2
x→∞
x
x→∞ − x12
−6
= lim = −6.
x→∞ (1 − 3 )
x
67
6.5 Extrema of Functions
(ii) A number f (c1 ) is an absolute minimum of a function f if f (x) ≥ f (c1 ) for every x in the
domain of f .
Example: The function f (x) = x2 has the absolute minimum f (0) = 0 but has no absolute
maximum.
1
Example: f (x) = has neither an absolute maximum nor an absolute minimum.
x
The interval on which a function is defined is very important in the consideration of extrema.
Example: f (x) = x2 defined only on the closed interval [1, 2], has the absolute maximum f (2) = 4
and the absolute minimum f (1) = 1. On the other hand, if f (x) = x2 is defined on the open interval
(1, 2), then f has no absolute extrema. In this case, f (1) and f (2) are not defined.
Theorem 6.5.1 (Extreme Value Theorem). A function f continuous on [a, b] always has an absolute
maximum and an absolute minimum on the interval.
Definition 6.5.2. (i) A number f (c1 ) is a relative maximum of a function f if f (x) ≤ f (c1 )
for every x in some open interval that contains c1 .
(ii) A number f (c1 ) is a relative minimum of a function f if f (x) ≥ f (c1 ) for every x in some
open interval that contains c1 .
Definition 6.5.3. A critical value of a function f is a number c in its domain for which f 0 (c) = 0
or f 0 (c) does not exist.
68
Solution:
f 0 (x) = 3x2 − 15.
√
The critical values are those numbers for which f 0 (x) = 0, namely ± 5.
2
Example: Find the critical value of f (x) = (x + 4) 3 .
69
6.7 Graphing and the First Derivative
Knowing that a function does, or does not, possess relative extrema is a great aid in drawing its
graph.
Theorem 6.7.1. Let f be continuous on [a, b] and differentiable on (a, b), except possibly at the
critical value c.
(i) If f 0 (x) > 0 for a < x < c and f 0 (x) < 0 for c < x < b, then f (c) is a relative maximum.
(ii) If f 0 (x) < 0 for a < x < c and f 0 (x) > 0 for c < x < b, then f (c) is a relative minimum.
(iii) If f 0 (x) has the same algebraic sign on a < x < c and c < x < b, then f (c) is not an extremum.
Example: For each of the following functions, find all the critical points and classify each as a
5 2
relative maximum, relative minimum or neither. (a) f (x) = 3x 3 − 15x 3 and (b) f (x) = x3 − 3x2 +
3x − 1.
f 0 (x) = 3x2 − 6x + 3
= 3(x2 − 2x + 1)
= 3(x − 1)2 ,
70
which is defined everywhere and zero when x = 1. Therefore x = 1 is neither.
Sometimes there is an easier way to test a critical point. Our goal is to relate the concept of the
concavity of a graph with the second derivative of a function. Often a shape that is concave upwards
is said to “hold water” whereas a shape that is concave downwards “spills water”.
(i) If f 0 is an increasing function on (a, b), then the graph of f is concave upwards on the
interval.
(ii) If f 0 is a decreasing function on (a, b), then the graph of f is concave downwards on the
interval
Theorem 6.7.2 (Test for Concavity). Let f be a function for which f 00 exists on (a, b).
(i) If f 00 (x) > 0 for all x in (a, b), then the graph is concave upward on (a, b).
(ii) If f 00 (x) < 0 for all x in (a, b), then the graph is concave downward on (a, b).
Example: Determine the intervals on which the graph of f (x) = −x3 + 92 x2 is concave upward and
the intervals for which the graph is concave downward.
71
Solution: From
f 0 (x) = −3x2 + 9x
00 3
f (x) = −6x + 9 = 6 −x + ,
2
we see that f 00 (x) > 0 when 6 −x + 32 > 0 or x < 23 and that f 00 (x) < 0 when 6 −x + 23 < 0
or x > 32 . It follows that the graph of f is concave upward on (−∞, 23 ) and concave downward on
( 32 , ∞).
Definition 6.7.2. Let f be continuous at c. A point (c, f (c)) is a point of inflection if there
exists an open interval (a, b) that contains c such that the graph of f is either
As a consequence, we observe that a point of inflection (c, f (c)) occurs at a number c for which
f 00 (c) = 0 or f 00 (c) does not exist.
implies that the graph of f is concave upward on (−∞, 31 ) and concave downward on ( 13 , ∞). Thus
( 13 , f ( 13 )) or ( 31 , 27
2
) is a point of inflection.
Second Derivative Test. If c is a critical value of y = f (x) and, say, f 00 (c) > 0, then the graph
of f is concave upward on some interval (a, b) that contains c. Necessarily then, f (c) is a relative
minimum. Similarly, f 00 (c) < 0 at a critical value c implies f (c) is a relative maximum.
Theorem 6.7.3 (Second Derivative Test for Relative Extrema). Let f be a function for which f 00
exists on an interval (a, b) that contains the critical number c.
72
(i) If f 00 (c) > 0, then f (c) is a relative minimum.
(ii) If f 00 (c) < 0, then f (c) is a relative maximum.
However, if f 00 (c) = 0 then nothing can be concluded about the nature of the critical point.
Example: for each of the following functions, find all of the critical points and classify each as
relative maximum, relative minimum or neither. (a) f (x) = x3 − 3x + 2 (b) f (x) = 21 x − sin x
on 0 < x < 2π.
Solution: (a)
f 0 (x) = 3x2 − 3
= 3(x2 − 1) = 3(x − 1)(x + 1),
which is defined everywhere and zero at x = 1 and x = −1. Computing f 00 (x) = 6x, then
f 00 (−1) = −6 < 0 ⇒ relative maximum at x = −1.
f 00 (1) = 6 > 0 ⇒ relative minimum at x = 1.
(b) f 0 (x) = 12 −cos x which is defined everywhere and zero when cos x = 21 ⇒ x = π3 , 5π
3
. Computing
00
f (x) = sin x, then
π √
π 3 π
f 00 = sin = > 0 ⇒ relative minimum at x = .
3 3 2√ 3
5π 5π 3 5π
f 00 = sin =− < 0 ⇒ relative maximum at x = .
3 3 2 3
73
1 √
(vii) sin 48◦ (viii) (1005) 3 (ix) tan 31◦ (x) ln(1.2) (xi) 26 (xii) tan−1 (1.1)
1
(xiii) (1.1)2 + 6(1.1)2 (xiv) sin 1◦ (xv) √ .
96
2. Verify Rolle’s Theorem for f (x) = x2 (1 − x)2 , 0 ≤ x ≤ 1.
3. Find the value of c in Rolle’s Theorem when f (x) = (x − a)m (x − b)n where m and n are
positive integers.
4. If f 0 (x) ≤ 0 at all points of (a, b), prove that f (x) is monotonic decreasing in (a, b). Under
what conditions is f (x) strictly decreasing in (a, b)?
sin x
5. Use the mean value theorem to show that sin x ≤ x and tan x ≥ x. Hence show that is
x
strictly decreasing on (0, π2 ).
6. Suppose f and g are continuous on [a, b], differentiable on (a, b) and f 0 (x) = g 0 (x) for all
x ∈ (a, b). Show that f (x) = g(x) + c, where c is a constant.
7. Use the mean value theorem, to prove that, if 0 < a < b, then (1 − ab ) < ln( ab ) < ( ab − 1).
Hence show that 16 < ln(1.2) < 15 .
b−a b−a
8. Show that if 0 < a < b, then √ < sin−1 (b) − sin−1 (a) < √ . Hence show that
1 − a 2 1 − b 2
√ !
π 3 −1 π 1
+ < sin (0.6) < + .
6 15 6 8
74
Chapter 7
Integration
If it’s your job to eat a frog, it’s best to do it first thing in the morning. And If it’s your job to eat two
frogs, it’s best to eat the biggest one first.
—Mark Twain
7.1 Anti-derivatives
That is, for a given function f , we wish to find another function F for which F 0 (x) = f (x) for all
x on some interval.
There is always more than one anti-derivative of a function. For instance, in the foregoing example,
F1 (x) = x2 −1 and F2 (x) = x2 +10 are also anti-derivatives of f (x) = 2x since F10 (x) = F20 (x) = f (x).
Indeed, if F is an anti-derivative of a function f , then so is G(x) = F (x) + C, for any constant C.
This is a consequence of the fact that
d
G0 (x) = (F (x) + C) = F 0 (x) + 0 = F 0 (x) = f (x).
dx
Thus, F (x) + C stands for a set of functions of which each member has a derivative equal to f (x).
75
Theorem 7.1.1. If G0 (x) = F 0 (x) for all x in some interval [a, b], then
G(x) = F (x) + C
For convenience let’s introduce a notation for an anti-derivative of a function. If F 0 (x) = f (x), we
shall represent the most general anti-derivative of f by
Z
f (x)dx = F (x) + C.
Z Z
The symbol is called an integral sign, and the notation f (x) is called the indefinite integral
of f (x) with respect to x. The function f (x) is called the integrand. The process of finding an
anti-derivative is called anti-differentiation or integration. The number C is called Z a constant
d
of integration. Just as () denotes differentiation with respect to x, the symbol ()dx denotes
dx
integration with respect to x.
When differentiating the power xn , we multiply by the exponent n and decrease the exponent by
1. To find an anti-derivative of xn , the reverse of the differentiation rule would be : Increase the
exponent by 1 and divide by the new exponent n + 1.
xn+1
Z
xn dx = + C.
n+1
76
Z Z
6 1
Example: Evaluate (a) x dx (b) dx.
x5
Solution:
x7
Z
6
(a) x dx = + C.
7
x−4
Z
1 1
(b) By writing 5 as x , we have x−5 dx =
−5
+ C = − 4 + C.
x −4 4x
√
Z
Example: Evaluate x dx.
√
Z Z
1
Solution: We first write x dx = x 2 dx and therefore
Z 3
1 x2 2 3
x dx =
2
3 + C = x 2 + C.
2
3
The following property of indefinite integrals is an immediate consequence of the fact that the
derivative of a sum is the sum of derivatives.
Z
1
Example: Evaluate (x− 2 + x4 )dx.
The anti-derivative, or indefinite integral, of any finite sum can be obtained by integrating each
term.
Z
− 31 5
Example: Evaluate 4x − 2x + 2 dx.
x
77
Solution: It follows that
Z Z Z Z
− 13 5 − 13
4x − 2x + 2 dx = 4 xdx − 2 x dx + 5 x−2 dx
x
2
x2 x3 x−1
= 4· −2· 2 +5· +C
2 3
−1
2
= 2x2 − 3x 3 − 5x−1 + C.
Z
1
11. dx = tan−1 x + C.
1 + x2
Z
5 √
3
Example: Evaluate 2
− 2 x dx.
x
78
Solution: We may write
Z
5 √
3
Z
1
Z
2
2
− 2 x dx = 5 dx − 2 x 3 dx
x x
1 5
= 5 ln |x| − 2 5 x 3 + C
3
6 5
= 5 ln |x| − x 3 + C.
5
7.5 u−Substitution
Z
x
Example: Evaluate dx.
(4x2 + 3)6
−6
u
Z Z du
1 z 2 }| −6{ z }| {
(4x2 + 3)−6 xdx = (4x + 3) 8xdx
8
Z
1
= u−6 du
8
1 u−5
= · +C
8 −5
1
= − (4x2 + 3)−5 + C.
40
Z
Example: Evaluate x(x2 + 2)3 dx.
79
Solution: If u = x2 + 2 then du = 2xdx. Thus,
3u
Z Z du
1 z 2 }| {3 z }| {
x(x2 + 2)3 dx = (x + 2) 2xdx
2
Z
1
= u3 du
2
1 u4
= · +C
2 4
1 2
= (x + 2)4 + C.
8
p
You Try It: Evaluate 3
(7 − 2x3 )4 x2 dx.
Z
Example: Evaluate sin 10x dx.
Z
You Try It: Evaluate sec2 (1 − 4x) dx.
It is helpful to introduce a special notation that enables us to write an indicated sum of constants
1 1 1 1
such as 1 + 2 + 3 + · · · + n, 22 + 42 + 62 + · · · + (2n)2 and + + + · · · + in a concise
3 4 5 2n − 1
manner.
80
P
Since is the capital Greek letter sigma, it is called sigma notation or summation notation.
Xn
The variable k is called the index of summation. Thus, ak is the sum of all numbers of the
k=1
form ak as k takes on the successive values k = 1, k = 2, · · · , and concludes with k = n.
5
X
Examples: (a) (3k−1) = [3(1)−1]+[3(2)−1]+[3(3)−1]+[3(4)−1]+[3(5)−1] = 2+5+8+11+14.
k=1
4
X 1 1 1 1 1
(b) 2
= 2 + 2 + 2 + 2.
k=1
(k + 1) 2 3 4 5
100
X
(c) k 3 = 13 + 23 + 33 + · · · + 983 + 993 + 1003 .
k=1
The index of summation is often called a dummy variable since the symbol itself is not important,
it is the successive integer values of the index and the corresponding sum that are important. In
general,
X n Xn Xn Xn
ak = ai = aj = am
k=1 i=1 j=1 m=1
and so on.
n
X
1. c = nc.
k=1
n
X n(n + 1)
2. k= .
k=1
2
n
X n(n + 1)(2n + 1)
3. k2 = .
k=1
6
n
X n2 (n + 1)2
4. k3 = .
k=1
4
n
X n(n + 1)(6n3 + 9n2 + n − 1)
5. k4 = .
k=1
30
10
X
Example: Evaluate (k + 2)3 .
k=1
81
Solution: By the Binomial Theorem, we can write as
10
X 10
X
3
(k + 2) = (k 3 + 6k 2 + 12k + 8)
k=1 k=1
X10 10
X 10
X 10
X
3 2
= k +6 k + 12 k+ 8.
k=1 k=1 k=1 k=1
As the derivative is motivated by the geometric problem of constructing a tangent to a curve, the
historical problem leading to the definition of a definite integral is the problem of finding area.
Specifically, we are interested in finding the area A of a region bounded between the x−axis, the
graph of a non-negative function y = f (x) defined on some interval [a, b] and
Thinking integral as area, you can approximate the value of an integral by approximating the area.
Z b
A Riemann Sum is a sum of areas of rectangles. To estimate f (x) dx, where a < b.
a
82
First, divide the interval [a, b] into n subintervals, using x0 , x1 , x2 , . . . , xn as endpoints for the
subintervals,
a = x0 < x1 < · · · < xn−1 < xn = b.
The subintervals are then
[x0 , x1 ], [x1 , x2 ], · · · , [xn−1 , xn ].
b−a
For simplicity, let the subintervals have the same length, ∆x = . You then have xi = a + i∆x.
n
Choose a point c in each subinterval and construct a rectangle above the subinterval with height
f (c). For simplicity, above the ith subinterval [xi−1 , xi ] make the height of the rectangle f (xi ). The
Z b
sum of the area of the rectangles is an approximation to f (x) dx. The ith rectangle has width
a
∆x and height f (xi ), hence the area Ai = f (xi )∆x. Thus :
Z b
f (x) dx ≈ A1 + A2 + · · · + An
a
= f (x1 )∆x + f (x2 )∆x + · · · + f (xn )∆x
Xn
= f (xi )∆x.
i=1
Z b
This is the Riemann Sum for the integral f (x) dx. In general, if you increase n, you will improve
a
your approximation.
Example: Find the area of the region bounded by the graphs of f (x) = 2x, x = 0, x = 1 and the
x-axis by calculating the limit of the Riemann Sums.
Solution: First divide the interval [0, 1] into n subintervals of equal length,
b−a 1−0 1
∆x = = = .
n n n
Therefore,
1 i
xi = a + i∆x = 0 + i · = .
n n
83
The nth Riemann Sum is
n n
X X i
f (xi )∆x = f ∆x
i=1 i=1
n
n n
X i X i 1
= 2 ∆x = 2
i=1
n i=1
n n
n
X 2
= i
i=1
n2
2
Inside the summation, does not involve i, and so you can pull it outside the summation.
n2
n n
X 2 2 X
i = i
i=1
n2 n2 i=1
2n2 + 2n
2 n(n + 1)
= =
n2 2 2n2
1
= 1+ .
n
Finally, you can find the limit of the Riemann Sums :
n
X 1
lim f (xi )∆x = lim 1+ = 1.
n→∞
i=1
n→∞ n
Example: Find the area of the region bounded by the graphs of f (x) = (x − 1)2 + 2, x = −1, x = 2
and the x-axis by finding the limit of the Riemann Sums.
2 − (−1) 3 3i
Solution: Divide [−1, 2] as follows ∆x = = , then xi = a + i∆x = −1 + . Then, the
n n n
nth Riemann Sum is
n n
X X 3i 3
f (xi )∆x = f −1 + ·
i=1 i=1
n n
n
" 2 #
X 3i 3
= −1 + − 1 + 2 ·
i=1
n n
n
" 2 #
X 3i 3
= −2 +2 ·
i=1
n n
n 2
X 9i 12i 3
= 2
− +4+2 ·
i=1
n n n
84
n
X 27 236 18
= i − i +
i=1
n3 n2 n
n n n
27 X 2 36 X 18 X
= i − 2 i+ 1
n3 i=1 n i=1 n i=1
27 n(n + 1)(2n + 1) 36 n(n + 1) 18
= 3
− 2 + (n)
n 6 n 2 n
9(n + 1)(2n + 1) 18(n + 1)
= − + 18.
2n2 n
The area is the limit of the Riemann Sum
n
X 9(n + 1)(2n + 1) 18(n + 1)
lim f (xi )∆x = lim − + 18 = 9 − 18 − 18 = 9.
n→∞
i=1
n→∞ 2n2 n
You Try It: Find the area of the function f (x) = x on [0, 1] by finding the limit of the Riemann
Sums.
The geometric problems that motivated the development of the integral calculus (determination
of lengths, areas, and volumes) arose in the ancient civilizations of Northern Africa. Where so-
lutions were found, they related to concrete problems such as the measurement of a quantity of
grain. Greek philosophers took a more abstract approach. In fact, Eudoxus (around 400 B.C.)
and Archimedes (250 B.C.) formulated ideas of integration as we know it today. Integral calculus
developed independently, and without an obvious connection to differential calculus. The calculus
became a whole in the last part of the seventeenth century when Isaac Barrow, Isaac Newton, and
Gottfried Wilhelm Leibniz (with help from others) discovered that the integral of a function could
be found by asking what was differentiated to obtain that function.
Definition 7.8.1. Let f be a function defined on a closed interval [a, b]. Then the definite integral
Z b
of f from a to b, denoted by f (x) dx, is defined to be
a
Z b n
X
f (x) dx = lim f (xi )∆x.
a n→∞
i=1
The numbers a and b are called the lower and upper limits of integration, respectively. If the
limit exists, the function f is said to be integrable on the interval.
The following two definitions prove to be useful when working with definite integrals.
85
Theorem 7.8.1. If f (a) exists, then
Z a
f (x)dx = 0.
a
Example: By definition Z 1
(x3 + 3x)dx = 0.
1
Z b Z b
(i) kf (x) dx = k f (x) dx where k is any constant.
a a
Z b Z b Z b
(ii) [f (x) ± g(x)] dx = f (x) dx ± g(x) dx.
a a a
Z b Z c Z b
(iii) f (x) dx = f (x) dx + f (x) dx, where c is any number in [a, b].
a a c
The independent variable x in a definite integral is called a dummy variable of integration. The
value of the integral does not depend on the symbol used. In other words,
Z b Z b Z b Z b
f (x) dx = f (r) dr = f (s) ds = f (t) dt
a a a a
and so on.
Theorem 7.8.4. For any constant k,
Z b Z b
k dx = k dx = k(b − a).
a a
Theorem 7.8.5. Let f be integrable on [a, b] and f (x) ≥ 0 for all x in [a, b], then
Z b
f (x) dx ≥ 0.
a
In this theorem we shall see that the concept of an anti-derivative of a continuous function provides
the bridge between the differential calculus and the integral calculus.
86
Theorem 7.9.1. Let f be continuous on [a, b] and let F be any function for which F 0 (x) = f (x).
Then Z b
f (x) dx = F (b) − F (a).
a
Z 3
Example: Evaluate x dx.
1
x2
Solution: An anti-derivative of f (x) = x is F (x) = . Consequently,
2
3 3
x2
Z
9 1
x dx = = − = 4.
1 2 1 2 2
Useful
Z for integrands
Z involving products of algebraic and exponential or logarithmic functions, such
2 x
as x e dx and x ln x dx. This is the inverse operation of differentiating a product. If u and v
are functions of x, then
d dv du
(uv) = u + v .
dx dx dx
du dv
Integrate both sides, if and are continuous, then
dx dx
Z Z
dv du
uv = u dx + v dx
dx dx
Z Z
dv du
u dx = uv − v dx
dx dx
Z Z
u dv = uv − v du.
87
Z
Example: Evaluate xex dx.
Z Z
x
Solution: Let u = x, du = dx and dv = e dx ⇒ v = dv = ex dx = ex . Then,
Z
xex dx = xex − ex + C.
Z
Example: Evaluate x2 ln x dx.
Z
Example: Evaluate ln x dx.
Z Z
1
Solution: Choose dv = dx ⇒ v = dv = dx = x and u = ln x ⇒ du = dx, therefore
x
Z Z
1
ln x dx = x ln x − x · dx
x
Z
= x ln x − dx
= x ln x − x + C.
Z
You Try It: Evaluate x tan−1 x dx.
88
Solution: Notice that the derivative of x2 becomes simpler, whereas the derivative of ex does not.
So you should let u = x2 and dv = ex dx. So
Z Z
dv = e dx ⇒ v = dv = ex dx = ex
x
u = x2 ⇒ du = 2x dx.
Integrating by parts one time we get,
Z Z
x e dx = x e − 2xex dx.
2 x 2 x
= x2 ex − 2xex + 2ex + C
= ex (x2 − 2x + 2) + C.
Z e
Example: Evaluate ln x dx.
1
Solution:
Z e e
ln x dx = (x ln x − x)
1 1
= (e ln e − e) − (1 · ln 1 − 1)
= (e − e) − (0 − 1)
= 1.
These are formulas in which a given integral is expressed in terms of similar integrals of simpler
form.
89
Example: Let n be a positive integer. Use integration by parts to derive the reduction formula
Z Z
x e dx = x e − n xn−1 ex dx + C.
n x n x
Z Z
n x
Solution: Let u = x , dv = e dx. Then du = nx n−1
,v= dv = ex dx = ex . So
Z Z
n x n x
x e dx = x e − ex (nxn−1 ) dx
Z
= x e − n xn−1 ex dx + C.
n x
Z
To illustrate the use of the reduction formula we calculate xn ex dx for n = 1, 2.
Z Z
x x
n=1 : ex dx = xex − ex + C.
xe dx = xe −
Z Z
n=2 : x e dx = x e − 2 xex dx = x2 ex − 2xex + 2ex + C.
2 x 2 x
Z
Example: Evaluate sinn x dx.
Z Z
n
Solution: Rewrite as sin x dx = sinn−1 x sin x dx.
ThenZ u = sinZn−1 x ⇒ du = (n − 1) sinn−2 x cos x dx and dv = sin x ⇒
v = dv = sin x dx = − cos x. Then ,
Z Z
n n−1
sin x dx = − sin x cos x + (n − 1) sinn−2 x cos x cos x dx
Z
n−1
= − sin x cos x + (n − 1) sinn−2 x cos2 x dx
Z
n−1
= − sin x cos x + (n − 1) sinn−2 x(1 − sin2 x) dx
Z
n−1 n−2 n
= − sin x cos x + (n − 1) sin x dx − sin x dx
Z Z Z
n n n−1
sin x dx + (n − 1) sin x dx = − sin x cos x + (n − 1) sinn−2 x dx
Z Z
n n−1
n sin x dx = − sin x cos x + (n − 1) sinn−2 x dx
sinn−1 x cos x n − 1
Z Z
n
sin x dx = − + sinn−2 x dx.
n n
90
7.14 Partial Fractions
This technique involves the decomposition of a rational function into the sum of two or more
simpler rational functions. We will consider rational functions (quotients of polynomials) in which
the numerator has a lower degree than the denominator. If this condition is not meet, we first
carry out long division process, dividing the denominator into the numerator, until we reduce the
problem to an equivalent one involving a fraction in which the numerator has a lower degree than
the denominator.
x+7 2 1
Example: = − , then
x2 − x − 6 x−3 x+2
Z Z
x+7 2 1
dx = − dx
x2 − x − 6 x−3 x+2
Z Z
1 1
= 2 dx − dx
x−3 x+2
= 2 ln |x − 3| − ln |x + 2| + C.
Z
2x + 1
You Try It: Evaluate dx.
(x − 1)(x + 3)
5x2 + 20x + 6
Z
Example: Find dx.
x3 + 2x2 + x
Solution: Factorise the denominator as x(x + 1)2 . Then write the partial decomposition as
5x2 + 20x + 6 A B C
= + + .
x(x + 1)2 x x + 1 (x + 1)2
5x2 + 20x + 6
Z Z Z Z
6 1 9
3 2
dx = dx − dx + dx
x + 2x + x x x+1 (x + 1)2
9(x + 1)−1
= 6 ln |x| − ln |x + 1| + +C
−1
x6 9
= ln − + C.
x+1 x+1
6x − 1
Z
You Try It: Evaluate dx.
x3 (2x − 1)
91
7.14.2 Integrating an Improper Rational Function
x5 + x − 1
Z
Example: Find dx.
x4 − x3
Solution: This rational is improper, its numerator has a degree greater than that of its denomi-
nator. Carrying out long division, we have
x5 + x − 1 x3 + x − 1
= x + 1 + .
x4 − x3 x4 − x3
Now, applying partial fraction decomposition produces
x3 + x − 1 A B C D
3
= + 2+ 3+ .
x (x − 1) x x x x−1
x3 − 2x
Z
You Try It: Evaluate dx.
x2 + 3x + 2
Z
dx
Example: Find .
x2 − 4x + 5
Solution: Here we cannot find real factors, but we can complete the square,
x2 − 4x + 5 = (x − 2)2 + 1,
therefore Z Z
dx dx
2
= 2
= tan−1 (x − 2) + C.
x − 4x + 5 (x − 2) + 1
Z
(x + 3)dx
Example: Find .
x2 − 4x + 5
92
x+3 x+3
Solution: Completing the square, = . Now since x + 3 = x − 2 + 5, we
x2 − 4x + 5 (x − 2)2 + 1
have
(x − 2 + 5) dx
Z Z
(x + 3)dx
=
x2 − 4x + 5 (x − 2)2 + 1
(x − 2) dx
Z Z
5 dx
= 2
+
(x − 2) + 1 (x − 2)2 + 1
1
= ln((x − 2)2 + 1) + 5 tan−1 (x − 2) + C.
2
Z
(x + 1) dx
Example: Find .
x(x2 + 1)
Z
4x
You Try It: Evaluate dx.
(x2 + 1)(x2 + 2x + 3)
Integrals of rational expressions that involve sin x and cos x can be reduced to integrals of quotients
of polynomials by means of the substitution
x
t = tan .
2
1 − t2 2t dx 2
It then follows that cos x = 2
, sin x = 2
and = .
1+t 1+t dt 1 + t2
Z
dx
Example: Evaluate .
2 + 2 sin x + cos x
93
Since t2 + 4t + 3 = (t + 1)(t + 3), we use partial fractions,
Z Z
dx 1 1
= − dt
2 + 2 sin x + cos x t+1 t+3
= ln |t + 1| − ln |t + 3| + C
t+1
= ln +C
t+3
1 + tan x2
= ln + C.
3 + tan x2
Z
dx
Example: Evaluate .
5 + 3 cos x
Z Z 2dt
dx 1+ t2
=
5 + 3 cos x 1 − t2
5+3
1 + t2
Z 2dt Z
1 + t2 2dt
= 2 2 =
5(1 + t ) + 3(1 − t ) 8 + 2t2
Z 1 + t2
dt 1 −1 t
= 2
= tan +C
t +4 2 2
1 −1 1 x
= tan tan + C.
2 2 2
Z
dx
You Try It: Evaluate .
5 + 4 cos x
With the aid of trigonometric identities, it is possible to evaluate integrals of the type
Z
sinm x cosn x dx.
Case 1: m or n is an odd positive integer. Let us first assume that m is an odd positive
integer. By writing
sinm x = sinm−1 x sin x,
94
where m − 1 is even, and using sin2 x = 1 − cos2 x, the integrand can be expressed as a sum of
powers of cos x times sin x.
Z
Example: Evaluate sin3 x dx.
Solution:
Z Z
3
sin x dx = sin2 x sin x dx
Z
= (1 − cos2 x) sin x dx
Z Z
= sin x dx + cos2 x(− sin x) dx
1
= − cos x + cos3 x + C.
3
Z
Example: Evaluate sin5 x cos2 x dx.
Solution:
Z Z
5 2
sin x cos x dx = cos2 x sin4 x sin x dx
Z
= cos2 x(sin2 x)2 sin x dx
Z
= cos2 x(1 − cos2 x)2 sin x dx
Z
= cos2 x(1 − 2 cos2 x + cos4 x) sin x dx
Z Z Z
= − cos x(− sin x) dx + 2 cos x(− sin x) dx − cos6 x(− sin x) dx
2 4
1 2 1
= − cos3 x + cos5 x − cos7 x + C.
3 5 7
If n is an odd positive integer, the procedure for evaluation is the same except that we seek an
integrand that is the sum of powers of sin x times cos x.
Z
Example: Evaluate sin4 x cos3 x dx.
95
Solution:
Z Z
4 3
sin x cos x dx = sin4 x cos2 x cos x dx
Z
= sin4 x(1 − sin2 x) cos x dx
Z
= sin4 x(cos x) dx − sin6 x(cos x) dx
1 5 1
= sin x − sin7 x + C.
5 7
Z
You Try It: Evaluate sin2 x cos3 x dx.
Case II: m and n are both even non-negative integers. When both m and n are even
non-negative integers, the evaluation of the integral relies heavily on the identities,
1 1 − cos 2x 1 + cos 2x
sin x cos x = sin 2x, sin2 x = , cos2 x = .
2 2 2
Z
Example: Evaluate cos4 x dx.
Solution:
Z Z
4
cos x dx = (cos2 x)2 dx
Z 2
1 + cos 2x
= dx
2
Z
1
= (1 + 2 cos 2x + cos2 2x) dx
4
Z
1 1 + cos 4x
= 1 + 2 cos 2x + dx
4 2
Z
1 3 1
= + 2 cos 2x + cos 4x dx
4 2 2
3 1 1
= x + sin 2x + sin 4x + C.
8 4 32
Z
You Try It: Evaluate sin2 x cos2 x dx.
96
Z 2π
More generally, find sin px cos qx dx. Use the identity
0
1 1
sin px cos qx = sin(p + q)x + sin(p − q)x.
2 2
1 1
Thus sin 8x cos 6x = sin 14x + sin 2x. Separated like this, sine are easy to integrate,
2 2
Z 2π 2π
1 cos 14x cos 2x
sin 8x cos 6x dx = − − = 0.
0 2 14 4 0
With two sines or two cosines, the addition formula, derive these formulas,
1 1
sin px cos qx = − cos(p + q)x + cos(p − q)x.
2 2
1 1
cos px cos qx = cos(p + q)x + cos(p − q)x.
2 2
Z
You Try It: Evaluate sin 2x sin 4x dx.
97
7. UseZa suitable substitution
Z to evaluate the following integrals.
Z
dθ sin θ dθ
(i) sec θdθ (ii) (iii) dθ (iv) if a > b > 0.
1 + sin θ 2 + sin θ a + b cos θ
8. Evaluate
Z each of theZ following integrals.Z Z Z
(i) 3x
xe dx (ii) ex sin xdx (iii) tan−1 xdx (iv) ax
e cos pxdx (v) x3 cos xdx.
Z
m m+1 ln x 1
9. (a) Show that x ln xdx = x − , m 6= −1.
m + 1 (m + 1)2
− sinn−1 x cos x n − 1
Z Z
n
(b) Show that sin xdx = + sinn−2 xdx, n 6= 0.
n n
xn eax n
Z Z
n ax
(c) Show that x e dx = − xn−1 eax dx, n > 0.
a a
sinm−1 x cosn+1 x m − 1
Z Z
m n
(d) Show that sin x cos xdx = − + sinm−2 x cosn xdx and so
Z m + n m + n
find sin6 x cos5 xdx.
secn−2 x tan x n − 2
Z
(e) Let In = secn xdx, n = 2, 3, . . . . Show that In = + In−2 .
n−1 n−1
Z
(f) Let In = (ln x)n dx, n = 1, 2, . . . . Show that In = x(ln x) − nIn−1 .
Z Z
(g) Let In = x e dx, n = 1, 2, 3, . . . . Show that In = x e − In−1 . Find x3 ex dx.
n x n x
Z
(h) Let In = (1 + ax2 )n dx. Show that (2n + 1)In = 2nIn−1 + x(1 + ax2 )n .
Z a
n n
(i) Let (x2 + a2 ) 2 dx. Show that (n + 1)In = 2 2 an+1 + na2 In−2 .
0
98