Limits and Derivatives Explained
Limits and Derivatives Explained
1 / 83
Table of Contents
2 / 83
The Limit of a function
The following table and figure gives values of f (x) = x 2 − x + 2 for
values of x close to 2 but not equal to 2
lim f (x) = L
x→a
The notations limx→a f (x) = L means that the values of f (x) can be
made as close as we please to L by requiring x to be close enough to
a (but not equal to a).
4 / 83
The Limit of a function
lim f (x) = L
x→a
that is,
ε
if 0 < |x − 3| < δ then |x − 3| < .
4
This suggests that we should choose δ = ε/4.
6 / 83
The Limit of a function
7 / 83
The Limit of a function
Definition of a Limit (using series)
Let f be a function defined on some open interval that contains the number a,
except possibly at a itself. Then we say that the limit of f (x) as x approaches
a is L if for every series (xn ) approaches a, the corresponding range of values
(f (xn )) approaches L.
9 / 83
The Limit of a function
Definition of Left-Hand limit
lim f (x) = L
x→a−
lim f (x) = L
x→a+
Theorem
(
limx→a+ f (x) = L
lim f (x) = L ⇔
x→a limx→a− f (x) = L
Remark: We can use the above theorem to prove that a function has
no limit. It means that if neither the left nor the right-hand limit exists;
or if both the left and the right-hand limits exist but are different, then
the function has no limit.
|x|
Example: Calculate limx→0 .
x
11 / 83
The Limit of a function
Properties
Assume that limx→a f (x) = L1 and limx→a g(x) = L2 . Then,
limx→a [αf (x)] = αL1 with α ∈ R.
limx→a [f (x) ± g(x)] = L1 ± L2 .
limx→a [f (x)g(x)] = L1 L2 .
f (x) L1
limx→a = with L2 6= 0.
g(x) L2
If f (x) ≤ g(x) for all x in an open interval that contains the number
a, then L1 ≤ L2 .
12 / 83
The Limit of a function
lim f (x) = L.
x→a
13 / 83
The Limit of a function
14 / 83
Table of Contents
15 / 83
Continuity
Definition
A function f is continuous at a number a if
f (a) is defined (that is, a is in the domain of f ).
limx→a f (x) exists.
limx→a f (x) = f (a).
16 / 83
Continuity
17 / 83
Continuity
18 / 83
Continuity
19 / 83
Continuity
Definition
A function f is continuous from the right at a number a if
Theorem
(
limx→a+ f (x) = f (a)
lim f (x) = f (a) ⇔
x→a limx→a− f (x) = f (a)
20 / 83
Continuity
Definition
A function f is continuous on an interval if it is continuous at every
number in the interval.
Remark: Any elementary function (polynomials function, rational
functions, root functions, trigonometric functions, inverse trigonometric
functions,exponential functions, logarithmic functions,...) is continuous.
21 / 83
Continuity
Properties
If f and g are continuous at a and c is a constant, then the following
functions are also continuous at a
f ± g, cf , fg
f
if g(a) 6= 0
g
22 / 83
Continuity
23 / 83
Continuity
24 / 83
Continuity
4x 3 − 6x 2 + 3x − 2 = 0
between 1 and 2.
25 / 83
Table of Contents
26 / 83
Derivatives and rate of change
Definition
The derivative of a function f at a number a, denoted by f 0 (a), is
f (a + h) − f (a)
f 0 (a) = lim
h→0 h
if this limit exists.
Let us define
x =a+h
h = x − a.
We can see that
h → 0 ⇔ x → a.
Therefore an equivalent way of stating the definition of the derivative is
f (x) − f (a)
f 0 (a) = lim .
x→a x −a
27 / 83
Derivatives and rate of change
28 / 83
Derivatives and rate of change
Example: Find the derivative of the function f (x) = 1/x at the number
a 6= 0.
29 / 83
Derivatives and rate of change
Example: Let
(
x 2 sin(1/x), if x =
6 0,
f (x) =
0, if x = 0.
Find f 0 (0)?
30 / 83
Derivatives and rate of change
Tangents:
If a curve C has equation y = f (x) and we want to find the tangent line
to C at the point P(a, f (a)).
32 / 83
Derivatives and rate of change
Definition
The tangent line to the curve y = f (x) at the point P(a, f (a)) is the line
through P with slope
f (x) − f (a)
m = lim = f 0 (a)
x→a x −a
if this limit exists.
If we use the point-slope form of the equation of a line, we can write an
equation of the tangent line to the curve y = f (x) at the point (a, f (a))
33 / 83
Derivatives and rate of change
34 / 83
Derivatives and rate of change
The more we zoom in, the more the parabola looks like a line. In other
words, the curve becomes almost indistinguishable from its tangent
line.
35 / 83
Derivatives and rate of change
36 / 83
Derivatives and rate of change
37 / 83
Derivatives and rate of change
Rates of Change:
Suppose y is a quantity that depends on another quantity x. Let
us denote y = f (x).
If x changes from x1 to x2 , then the change in x (also called the
increment of x) is
∆x = x2 − x1
and the corresponding change in y is
∆y = f (x2 ) − f (x1 ).
38 / 83
Derivatives and rate of change
∆y f (x2 ) − f (x1 )
=
∆x x2 − x1
Remark:
The symbol d/dx is called differentiation operators because
they indicate the operation of differentiation, which is the process
of calculating a derivative.
The symbol d/dx should not be regarded as a ratio. It is simply a
synonym for f 0 (x).
40 / 83
Derivatives and rate of change
Definition
A function f is differentiable at a if f 0 (a) exists.
A function f is differentiable on an open interval
(a, b) ( or (a, +∞), (−∞, a), (∞, ∞)) if it is differentiable at every
number in the interval.
Theorem
If f is differentiable at a, then f is continuous at a.
41 / 83
Derivatives and rate of change
Higher Derivatives:
If f is a differentiable function, then its derivative f 0 is also a function.
Thus, f 0 may have a derivative of its own, denoted by (f 0 )0 = f 00 . It is
called the second derivative of f .
Notation
If y = f (x) then
d 2y
00 d dy
f (x) = = ,
dx dx dx 2
d d 2y d 3y
000
f (x) = = .
dx dx dx 3
42 / 83
Table of Contents
43 / 83
Differentiation rules
44 / 83
Differentiation rules
dy dy du
= .
dx du dx
45 / 83
Differentiation rules
√
Example: Find F 0 (x) with F (x) = x 2 + 1.
√
Solution: If we let u = x 2 + 1 and y = u, then
dy du 1 1 x
F 0 (x) = = √ (2x) = √ (2x) = √ .
du dx 2 u 2
2 x +1 2
x +1
46 / 83
Differentiation rules
47 / 83
Differentiation rules
1 1
g 0 (f (x)) = or g 0 (y ) = 0 .
f 0 (x) y
Example:
a. Find the derivative of the inverse function of the following function
y = f (x) = x + x 3 , x ∈ R.
b. Find (f −1 )0 (2).
48 / 83
Implicit differentiation
x 3 + y 3 = 6y .
Find y 0 (x).
Solution: Assume that y is differentiable at x. We take the derivative of
both sides of the previous equation with respect to x and we get
3x 2 + 3y 2 y 0 (x) = 6y 0 (x)
⇔ 3y 2 − 6 y 0 (x) = −3x 2
x2
⇔y 0 (x) = .
2 − y2
49 / 83
Table of Contents
50 / 83
Maximum and Minimum values
Definition
Let c be a number in the domain D of a function f . Then f (c) is the
absolute maximum value of f on D if f (c) ≥ f (x) for all x in D.
absolute minimum value of f on D if f (c) ≤ f (x) for all x in D.
51 / 83
Maximum and Minimum values
Example:
53 / 83
Maximum and Minimum values
Figure: This function has minimum value f (2) = 0, but no maximum value.
54 / 83
Maximum and Minimum values
55 / 83
Maximum and Minimum values
Fermat’s theorem
If f has a local maximum or minimum at c and f 0 (c) exists then
f 0 (c) = 0.
Definition
A critical number of a function f is a number c in the domain of f such
that either f 0 (c) = 0 or f 0 (c) doesn’t exist.
Theorem
If f has a local maximum or minimum at c, then c is a critical number of
f.
56 / 83
Maximum and Minimum values
f (x) = x 3 − 3x 2 + 1, −1/2 ≤ x ≤ 4.
57 / 83
Table of Contents
58 / 83
The Mean value theorem
The following theorems show the relationship between the derivatives
and the properties of function f
Rolle’s theorem
Let f be a function that satisfes the following three hypotheses
f is continuous on the closed interval [a, b].
f is differentiable on the open interval (a, b).
f (a) = f (b).
Then, there is a number c in (a, b) such that f 0 (c) = 0.
In each case it appears that there is at least one point (c, f (c)) on the
graph where the tangent is horizontal and therefore f 0 (c) = 0.
59 / 83
The Mean value theorem
60 / 83
The Mean value theorem
f (b) − f (a)
f 0 (c) =
b−a
⇔ f (b) − f (a) = f 0 (c)(b − a).
61 / 83
The Mean value theorem
62 / 83
The Mean value theorem
63 / 83
Table of Contents
64 / 83
Derivatives and the Shapes of curves
Increasing/Decreasing test
If f 0 (x) > 0 on an interval, then f is increasing on that interval.
If f 0 (x) < 0 on an interval, then f is decreasing on that interval.
65 / 83
Derivatives and the Shapes of curves
66 / 83
Derivatives and the Shapes of curves
Example: Find the local maximum and minimum values of the function
67 / 83
Derivatives and the Shapes of curves
Definition
If the graph of f lies above all of its tangents on an interval I, then
it is called concave upward on I.
If the graph of f lies below all of its tangents on an interval I, then
it is called concave downward on I.
A point P on a curve y = f (x) is called an inflection point if
B f is continuous.
B The curve changes from concave upward to concave downward or
from concave downward to concave upward at P.
68 / 83
Derivatives and the Shapes of curves
Concavity test
If f 00 (x) > 0 for all x ∈ I, then the graph of f is concave upward on
I.
If f 00 (x) < 0 for all x ∈ I, then the graph of f is concave downward
on I.
Example: Sketch a possible graph of a function fthat satisfes the
following conditions:
(i) f 0 (x) > 0 on (−∞, 1), f 0 (x) < 0 on (1, +∞).
(ii) f 00 (x) > 0 on (−∞, −2) and (2, +∞), f 00 (x) < 0 on (−2, 2).
(iii) limx→−∞ f (x) = −2, limx→+∞ f (x) = 0.
69 / 83
Derivatives and the Shapes of curves
70 / 83
Table of Contents
71 / 83
Indeterminate forms and L’hospital’s rule
0 ∞
The following results applies to the indeterminate forms as form , 0 × ∞,
0 ∞
L’hospital’s rule
Assume that f and g are differentiable and g 0 (x) 6= 0 on an open interval I
that contains a (except possibly at a). Suppose that
or that
Then,
f (x) f 0 (x)
lim = lim 0
x→a g(x) x→a g (x)
72 / 83
Indeterminate forms and L’hospital’s rule
Remark: L’hospital’s rule is also valid for one-sided limits and for limits
at infinity or negative infinity. It means that “x → a00 can be replaced by
any of the symbols x → a+ , x → a− , x → +∞, x → −∞.
Example:
ln(x)
a. Find limx→1 .
x −1
ex
b. Find limx→∞ 2 .
x
73 / 83
Indeterminate forms and L’hospital’s rule
75 / 83
Newton’s method
Problem:
For a quadratic equation ax 2 + bx + c = 0, there is a well-known
formula for the solution.
For third- and fourth-degree equations, there are also formulas for
the solutions, but they are extremely complicated.
If f is a polynomial of degree 5 or higher, there is no such formula.
How would you solve such these equation?
76 / 83
Newton’s method
We now want to solve an equation of the form f (x) = 0. So, the roots
of the equation corresponds to the x−intercepts of the graph of f .
The root that we are trying to find is labeled r in the following figure
Consider the tangent line L to the curve y = f (x) at the point (x1 , f (x1 )) and look at the
x−intercept of L, labeled x2 .
+ To find a formula for x2 in terms of x1 , we use the fact that the slope of L is f 0 (x). So,
its equation is
y − f (x1 ) = f 0 (x1 )(x − x1 ).
+ Since the x−intercept of L is x2 , we know that the point (x2 , 0) is on the line. So, we
have
0 − f (x1 ) = f 0 (x1 )(x2 − x1 ).
+ If f 0 (x1 ) 6= 0, we can solve this equation for x2
f (x1 )
x2 = x1 − .
f 0 (x1 ) 78 / 83
Newton’s method
We use x2 as a second approximation to r .
Next we repeat this procedure with x1 replaced by the second
approximation x2 using the tangent line at (x2 , f (x2 )). This gives a
third approximation
f (x2 )
x3 = x2 − .
f 0 (x2 )
If we keep repeating this process, we obtain a sequence of
approximations x1 , x2 , x3 , x4 , ... as shown in the following figure
79 / 83
Newton’s method
f (xn )
xn+1 = xn − .
f 0 (xn )
lim xn = r .
n→∞
80 / 83
Newton’s method
81 / 83
THANK YOU FOR YOUR
ATTENTION !
82 / 83