3. Review of Calculus
3. Review of Calculus
This lecture contains a short review of those topics from single-variable calculus that
will be needed in later topics. A solid knowledge of calculus is essential for an
understanding of the analysis of numerical techniques, and more thorough review
might be needed if you have been away from this subject for a while.
And f is continuous at 𝑥0 if
lim 𝑓(𝑥) = 𝑓(𝑥0 )
𝑥→𝑥0
Differentiability
Let f be a function defined in an open
interval containing 𝑥0 . The function f
is differentiable at 𝑥0 if
𝑓(𝑥) − 𝑓(𝑥0 )
𝑓 ′ (𝑥0 ) = lim
𝑥→𝑥0 𝑥 − 𝑥0
exists, called the derivative of f at 𝑥0 .
Rolle’s Theorem
Suppose f ∈ C[a, b] and f is
differentiable on (a, b). If f (a) = f (b),
then a number c in (a, b) exists with
𝑓 ′ (𝑐) = 0.
* Learn the use of calculator, write a function and calculate its values at different
points.
Example
Show that 𝑥 5 − 2𝑥 3 + 3𝑥 2 − 1 = 0 has a solution in the interval [0, 1].
Solution:
Consider the function defined by
𝑓 (𝑥) = 𝑥 5 − 2𝑥 3 + 3𝑥 2 − 1
The function f is continuous on [0, 1]. In addition, f (0) = −1 < 0 and 0 < 1 = f (1).
The Intermediate Value Theorem implies that a number 𝑥 exists, with 0 < 𝑥 < 1, for
which 𝑥 5 − 2𝑥 3 + 3𝑥 2 − 1 = 0.
Work to do
Exercise 1.1
Q1: Show that following equations have at least one solution in the given intervals.
a. 𝑥 cos 𝑥 − 2𝑥 2 + 3𝑥 − 1 = 0, [0.2, 0.3] and [1.2, 1.3]
b. (𝑥 − 2)2 − ln 𝑥 = 0, [1, 2] and [𝑒, 4]
c. 𝑥 − (ln 𝑥)𝑥 = 0, [4, 5]