MATH1.001 - Calculus I - Chapter 2 (Handout)
MATH1.001 - Calculus I - Chapter 2 (Handout)
MATH1.001 - Calculus I - Chapter 2 (Handout)
1 Derivatives of Functions
2 Differentiation Rules
4 Implicit Differentiation
5 Related Rates
6 Linear Approximations
Definition
Let D ⊂ R and let f : D → R be a function. We define the tangent
(or tangent line) to the curve y = f (x) (or graph of f (x)) at the
point a to be the line going through the point (a, f (a)) with slope
f (x) − f (a)
m = lim (if the limit exists).
x→a x −a
If this limit does not exist then we say that the graph does not have
a tangent at that point.
f (a + h) − f (a)
m = lim .
h→0 h
Example
Suppose that a ball is dropped from the upper observation deck of the
“CN Tower” (Canadian National Tower, Toronto) 450 m above the
ground. Find the velocity of the ball after say 5 seconds.
f (a + h) − f (a)
Since this type of limit lim actually occurs widely and
h→0 h
arises whenever we calculate a rate of change in any of the sciences
or engineering, it is given a special name and notation.
f (x) − f (a)
f 0 (a) = lim .
x→a x −a
We can now say that the tangent line to y = f (x) at (a, f (a)) is the line
through (a, f (a)) whose slope is equal to f 0 (a), the derivative of f at a.
Definition
The derivative of a function f (x) (w.r.t. the variable x) is defined by the
following rule:
f (x + h) − f (x)
f 0 (x) = lim , if this limit exists at x.
h→0 h
dy df d
f 0 (x) = y 0 = = = f (x).
dx dx dx
d
Here the symbol are called differentiation operators because they
dx
indicate the operation of differentiation, which is the process of
calculating a derivative.
Definition
A function f (x) is differentiable at a point a if f 0 (a) exists. It is
differentiable on an open interval (finite or infinite) (a, b), or (a, ∞),
or (−∞, a), or (−∞, ∞), if it is differentiable at every point of the
interval.
It is differentiable on a closed interval [a, b] if it is differentiable on
the interior interval (a, b) and if the one-side limits at a
f (a + h) − f (a) f (a + h) − f (a)
lim+ , lim
h→0 h h→0− h
exist.
Theorem
If f (x) is differentiable at a, then f is continuous at a.
Note. The inverse implication of the theorem above is false. That is,
there are functions that are continuous but not differentiable.
Example
Determine the derivative of f (x) = |x|. State the domain of f 0
−1, if x < 0
Solution. We have f 0 (x) = is not differentiable at x = 0.
1, if x > 0
The curve and its tangent and normal lines are graphed in the figure
below.
d 2y
d dy
= .
dx dx dx 2
d d 2y d 3y
000 000
y = f (x) = = .
dx dx 2 dx 3
d n−1 y d ny
(n) (n) d
y =f (x) = = .
dx dx n−1 dx n
ds
v (t) = s0 (t) = .
dt
or in Leibniz notation
dv d 2s
a(t) = = 2.
dt dt
We already defined
ds
the velocity v (t) = s0 = (the rate of change of position w.r.t.
dt
time), and
the acceleration a(t) = v 0 (t) = s00 (t) (the change of velocity w.r.t.
time).
We now define also the speed which is the absolute value of velocity
|v (t)|.
(5) 28 (m).
(6) 12 (m/sec2 ).
(8)
1 Derivatives of Functions
2 Differentiation Rules
4 Implicit Differentiation
5 Related Rates
6 Linear Approximations
d d s
(c) = 0 (x ) = sx s−1
dx dx
0
f f 0 g − fg 0
(fg)0 = f 0g + fg 0 Product = Quotient
g g2
1 1
(tan x)0 = = sec2 x (cot x)0 = − = − csc2 x
cos2 x sin2 x
1 Derivatives of Functions
2 Differentiation Rules
4 Implicit Differentiation
5 Related Rates
6 Linear Approximations
dy dy du
= · ,
dx du dx
dy
where is evaluated at u = g(x).
du
x2 − 1
F (x) = sin .
x2 + 1
f 0 (x) = cos x.
Let us make explicit the special case of the Chain Rule where the
outer function f is a power function.
dy dy du du
= · = su s−1 = s [g(x)]s−1 g 0 (x).
dx du dx dx
So we obtain the following result.
Theorem
If s is a real number and u = g(x) is differentiable, then
d s du d
(u ) = su s−1 ⇐⇒ [g(x)]s = s [g(x)]s−1 g 0 (x).
dx dx dx
Solution.
(a) For y = sin(x 2 ), we have the outer function is sin u, while the inner
function is x 2 . So the Chain Rule gives
dy dy du
= · = cos u · (2x) = 2x cos(x 2 ).
dx du dx
(b) For y = sin2 x = (sin x)2 , we have the outer function is u 2 , while
the inner function is sin x. So the Chain Rule gives
dy dy du
= · = 2u · cos x = 2 sin x cos x = sin 2x.
dx du dx
MATH1.001 CALCULUS I - AY2021/22 37 / 66
The reason for the name Chain Rule becomes clear when we make a
longer chain by adding another link.
dy dy dx dy du dx
= · = · · .
dt dx dt du dx dt
It is similar for more functions.
1 Derivatives of Functions
2 Differentiation Rules
4 Implicit Differentiation
5 Related Rates
6 Linear Approximations
x 2 + y 2 = 25, y 2 − x = 0, x 3 + y 3 − 9xy = 0.
Implicit differentiation.
Differentiate both sides of the equation w.r.t x (considering y
as a differentiable function of x)
dy
Collect the terms with on one side of the equation and
dx
dy
solve for .
dx
Solution.
(a) - Differentiate both sides of the equation:
d 2 d d 2 d 2
(x + y 2 ) = (25) ⇐⇒ (x ) + (y ) = 0.
dx dx dx dx
Remembering that y is a function of x and using the Chain Rule, we
have
d 2 d 2 dy dy
(y ) = (y ) = 2y .
dx dy dx dx
MATH1.001 CALCULUS I - AY2021/22 44 / 66
Thus
dy
2x + 2y = 0.
dx
dy
- Now we solve this equation for :
dx
dy x
=− .
dx y
3
y − 4 = − (x − 3) ⇐⇒ 3x + 4y = 25.
4
MATH1.001 CALCULUS I - AY2021/22 45 / 66
Outline
1 Derivatives of Functions
2 Differentiation Rules
4 Implicit Differentiation
5 Related Rates
6 Linear Approximations
In the real life, there are many problems that ask for the rate at which
some variable changes when it is known how the rate of some other
related variables changes.
For example, if we pump air into a balloon, both the volume and the
radius of the balloon increase, and their rates of increase are highly
related to each other.
But it is much easier to measure the increasing rate of the volume than
the increasing rate of the radius.
The procedure
First, find an equation of the two quantities
Next, use the Chain Rule (to differentiate both sides w.r.t. time) to
get the relation between their rates.
m
p
dx 30 (0.8)2 + (0.6)2 + 0.6(100)
= = 112.5
dt 0.8
Thus at the moment in the question, the speeding car’s speed is 112.5
km/h.
1 Derivatives of Functions
2 Differentiation Rules
4 Implicit Differentiation
5 Related Rates
6 Linear Approximations
Near the point of tangency, the curve always lies close to its tangent
line. In fact, by zooming in toward a point on the graph, we see that the
graph looks more and more like its tangent line.
is the linearization of f at a.
The approximation
f (x) ≈ L(x)
dy = f 0 (x) dx.
we see that dy represents the amount that the tangent line rises or falls
(the change in the linearization), when x changes by an amount dx.
On the other hand, ∆y represents the amount that the curve y = f (x)
rises or falls, when x changes by an amount dx = ∆x. That is,
∆y = f (x + ∆x) − f (x).
Comment. From the example, we can see that the differential dy can
be used as an approximation of ∆y . Clearly, compute dy is easier than
finding ∆y .
Solution. Let r be the radius of the sphere. Then the volume V of the
4
sphere is V = πr 3 .
3
If the error of r (in the measured value) is denoted by dr = ∆r , then
the corresponding error in the calculated value of V is ∆V , which can
be approximated by the differential dV = V 0 dr = 4πr 2 dr .
When r = 21 and dr = 0.05, this becomes