Lecture Nine Calculus Main
Lecture Nine Calculus Main
1 Differentiation
Definition of the Derivative
The Derivative as a Function
Product and Quotient Rules
Rates of Change
Higher Derivatives
Trigonometric Functions
The Chain Rule
Derivatives of Inverse Functions
Derivatives of Exponential and Logarithmic Functions
Implicit Differentiation
Related Rates
Subsection 1
Difference Quotient
Consider the graph of the function f (x) and two points P(a, f (a))
and Q(x, f (x));
f (x) − f (a)
The difference quotient is the expression ;
x −a
It represents the slope of the secant line to y = f (x) through the
points P and Q;
Computing a Derivative
We have
f (9+h)−f (9)
f ′ (9) = limh→0 h √ √
√
9+h−3 ( 9+h−3)( 9+h+3)
= limh→0 h = limh→0 √
h( 9+h+3)
9+h−9 h
= limh→0 h(√ 9+h+3)
= limh→0 h(√9+h+3)
1
= limh→0 √9+h+3 = 16
1
Compute the equation of the tangent line to the graph of f (x) = x at
x = 2.
First, compute the slope
f (2+h)−f (2)
f ′ (2) = limh→0 h
1
2+h
− 21
= limh→0 h
2−(2+h)
2(2+h)
= limh→0 h
−h
2(2+h)
= limh→0 h
−1
= limh→0 2(2+h) = − 14 .
Now, set up the equation for the tangent y − f (2) = f ′ (2)(x − 2), i.e.,
y − 12 = − 14 (x − 2) or y = − 14 x + 1.
Subsection 2
Differentiability
To compute the derivative of a function at an arbitrary point x, we
use
f (x + h) − f (x)
f ′ (x) = lim .
h→0 h
If the limit exists, then f is differentiable at x.
Let us show that f (x) = x 3 − 12x is differentiable at all x ∈ R.
f (x+h)−f (x)
f ′ (x) = limh→0 h
(x+h)3 −12(x+h)−(x 3 −12x)
= limh→0 h
3 2 2 3 3
= limh→0 x +3x h+3xh +h h−12x−12h−x +12x
2 2 3
= limh→0 3x h+3xhh +h −12h
2 2 −12)
= limh→0 h(3x +3xh+h
h
= limh→0 (3x 2 + 3xh + h2 − 12) = 3x 2 − 12.
Another Example
Show that f (x) = x −2 is differentiable, for all x 6= 0 and find f ′ (x);
We compute the limit
Power Rule
d n
(x n )′ = x = nx n−1 .
dx
(f ± g )′ = f ′ ± g ′ .
(cf )′ = cf ′ .
A Geometric Application
Determine all points on the graph of f (x) = x 3 − 12x + 4, where the
tangent line to the graph is horizontal;
Now, set up the equation for the tangent y − f (1) = f ′ (1)(x − 1), i.e.,
y − 2 = − 65 (x − 1) or y = − 65 x + 16
5 .
Derivatives of Exponentials
Exponential Derivation Rules:
(b x )′ = b x ln b; In particular (e x )′ = e x .
Subsection 3
Product Rule
Example:
Some Examples
(x 2 e x )′ = (x 2 )′ e x + x 2 (e x )′
= 2xe x + x 2 e x
= (x 2 + 2x)e x .
Quotient Rule
f
Quotient Rule: If f and g are differentiable, with g (x) 6= 0, then g
is also differentiable and
′
f ′ (x)g (x) − f (x)g ′ (x)
f (x)
= ;
g (x) g (x)2
Example:
x ′ (x)′ (1+x 2 )−x(1+x 2 )′
( 1+x 2) = (1+x 2 )2
1+x 2 −x·2x 1−x 2
= (1+x 2 )2
= (1+x 2 )2 .
Example:
x (e x )′ (e x +x)−e x (e x +x)′
( e xe+x )′ = (e x +x)2
e x (e x +x)−e x (e x +1)
= (e x +x)2
x
e +xe x −e 2x −e x
2x
= (e x +x)2
= (x−1)e
(e x +x)2
.
A Geometric Example
3x 2 + x − 2
Find an equation for the tangent line to f (x) = at x = 1.
4x 3 + 1
For the slope, we have
f ′ (x)
(3x 2 +x−2)′ (4x 3 +1)−(3x 2 +x−2)(4x 3 +1)′
= (4x 3 +1)2
(6x+1)(4x 3 +1)−(3x 2 +x−2)12x 2
= (4x 3 +1)2
24x 4 +4x 3 +6x+1−36x 4 −12x 3 +24x 2
= (4x 3 +1)2
−12x −8x +24x 2 +6x+1
4 3
= (4x 3 +1)2
.
Thus, f ′ (1) = 11 2
25 , and, since f (1) = 5 , we
2 11
get the equation y − 5 = 25 (x − 1).
Subsection 4
Rates of Change
∆y f (x1 ) − f (x0 )
= ;
∆x x1 − x0
∆y f (x1 ) − f (x0 )
f ′ (x0 ) = lim = lim ;
∆x→0 ∆x x1 →x0 x1 − x0
Example
F (61) − F (60)
= 1.1 · 61 + 0.05 · 612 − (1.1 · 60 + 0.05 · 602 )
= 7.15.
Linear Motion
An Example
Subsection 5
Higher Derivatives
From the fourth derivative onwards the notation f (4) (x), f (5) (x), . . . is
used instead of f ′′′′ (x), f ′′′′′ (x), . . . since we want to avoid piling up
primes on the letter used to denote the function;
Thus, the statement that the (n + 1)-st derivative is the first
derivative of the n-th derivative may be written symbolically
f ′ (x) = (x −1 )′ = − x −2 ;
f ′′ (x) = (−x −2 )′ = + 1 · 2x −3 ;
f ′′′ (x) = (1 · 2x −3 )′ = − 1 · 2 · 3x −4 ;
f (4) (x) = (−1 · 2 · 3x −4 )′ = + 1 · 2 · 3 · 4x −5 ;
f (5) (x) = (+1 · 2 · 3 · 4x −5 )′ = − 1 · 2 · 3 · 4 · 5x −6 .
(−1)n n!
f (n) (x) = (−1)n 1 · 2 · · · · · nx −(n+1) = .
x n+1
= e x + (2 + x)e x = (3 + x)e x ;
Subsection 6
Trigonometric Functions
Example
A Geometry Problem
Therefore, f ′ ( π4 )
= sec3 π4 + sec π4 tan π4
√ 3 √ √
= 2 + 2 = 3 2.
Thus, an equation for the tangent
line is
√ √ π
y − 2 = 3 2(x − ).
4
Subsection 7
h′ (x) = (f (g (x)))′
= f ′ (g (x))g ′ (x)
= − sin (x 3 )(x 3 )′
= − 3x 2 sin (x 3 ).
More Examples
√
Calculate the derivative of h(x) = x 4 + 1;
√
Note that h(x) = f (g (x)), where f (x) = x and g (x) = x 4 + 1.
Thus, taking into account the chain rule, we obtain
h′ (x) = (f (g (x)))′ = f ′ (g (x))g ′ (x)
1 4 −1/2 (x 4 + 1)′
= 2 (x + 1)
3 3
= √4x = √2x .
2 x 4 +1 x 4 +1
x
Calculate the derivative of h(x) = tan ( x+1 );
x
Note that h(x) = f (g (x)), where f (x) = tan x and g (x) = x+1 .
Thus, taking into account the chain rule, we obtain
h′ (x) = (f (g (x)))′ = f ′ (g (x))g ′ (x)
= sec2 ( x+1
x x ′
)( x+1 )
′ ′
= sec2 ( x+1
x
) (x) (x+1)−x(x+1)
(x+1)2
1
= sec2 ( x+1
x
) x+1−x
(x+1)2
= (x+1)2
sec2 ( x+1
x
).
Department of Mathematics (UCC) Calculus I January 2025 48 / 73
Differentiation The Chain Rule
f ′ (x) = (e cos x )′
= e cos x (cos x)′
= − (sin x)e cos x .
Department of Mathematics (UCC) Calculus I January 2025 50 / 73
Differentiation The Chain Rule
Subsection 8
1
g ′ (x) = .
f ′ (g (x))
Two Examples
If f (x) = x 4 + 10, with domain {x : x ≥ 0}, compute g ′ (x), where
g = f −1 ;
First, note that f ′ (x) = 4x 3 . Next,√find a formula for g (x) by solving
x = y 4 + 10 for y : We have y = 4 x − 10 = (x − 10)1/4 ; Hence
g (x) = (x − 10)1/4 ; Thus, using the formula for the derivative of the
inverse, we get
1 1 1
g ′ (x) = ′ = 1/4 3
= (x − 10)−3/4 .
f (g (x)) 4((x − 10) ) 4
1 1
(sin−1 x)′ = √ , (cos−1 x)′ = − √ ,
1 − x2 1 − x2
1 1
(tan−1 x)′ = , (csc−1 x)′ = − √ ,
x2 +1 |x| x 2 − 1
A Geometric Application
Find an equation for the tangent line to f (x) = csc−1 (e x + 1) at
x = 0;
Compute
f ′ (x) = (csc−1 (e x + 1))′
1
= − p (e x + 1)′
x x
|e + 1| (e + 1) − 1 2
ex
= − √ .
(e x + 1) e 2x + 2e x
Therefore, the slope of the tangent at (0, π6 ) is
1
f ′ (0) = − √ .
2 3
Hence, the equation is
π 1
y− = − √ x.
6 2 3
Subsection 9
Derivatives of Exponential:
Examples:
(43x )′ = 43x ln 4 · (3x)′ = 3 · 43x ln 4.
2 2 2
(5x +1 )′ = 5x +1 ln 5 · (x 2 + 1)′ = 2x · 5x +1 ln 5.
Examples:
(x ln x)′ = (x)′ ln x + x(ln x)′ = ln x + x x1 = ln x + 1;
((ln x)2 )′ = 2 ln x(ln x)′ = 2 lnx x ;
2
(ln (x 3 + 1))′ = x 31+1 (x 3 + 1)′ = x3x
3 +1 ;
√ 1
√ 1
(ln sin x)′ = √sin ( sin x)′ = √sin √1 (sin x)′ = 2cos x 1
x x 2 sin x sin x = 2 cot x.
Logarithmic Differentiation
2 2
Let us find the derivative f ′ (x) of f (x) = (x+1)
√ (2x −3) ;
x 2 +1
First, we use properties of logarithms to rewrite ln f (x) as a
sum/difference of logs:
2 2
ln f (x) = ln (x+1)√ (2x −3)
x 2 +1
= ln [(x + 1)2 (2x 2 − 3)] − ln [(x 2 + 1)1/2 ]
= 2 ln (x + 1) + ln (2x 2 − 3) − 12 ln (x 2 + 1).
Next, compute the derivative of ln f (x) using sum/difference and
logarithmic rules:
(ln f (x))′ = [2 ln (x + 1) + ln (2x 2 − 3) − 12 ln (x 2 + 1)]′
= (2 ln (x + 1))′ + (ln (2x 2 − 3))′ − ( 12 ln (x 2 + 1))′
2 4x x
= x+1 + 2x 2 −3 − x 2 +1 .
f ′ (x) 2 4x x
Thus, we get f (x) = x+1 + 2x 2 −3 − x 2 +1 , i.e., that
2
f ′ (x) = f (x)[ x+1 + 2x4x x
2 −3 − x 2 +1 ].
Hyperbolic Functions
e x − e −x e x + e −x
sinh x = , cosh x = ;
2 2
Additional Definitions:
sinh x 1
tanh x = , sechx = ;
cosh x cosh x
x −e −x e x +e −x
Compute (sinh x)′ = ( e 2 )′ = 2 = cosh x;
Similarly, (cosh x)′ = sinh x;
(cosh x)′ sinh x−cosh x(sinh x)′ sinh2 x−cosh2 x
(coth x)′ = ( cosh
= x ′
sinh x ) sinh2 x
= sinh2 x
=
−1 2
sinh2 x
= − csch x;
Some Examples
Subsection 10
Implicit Differentiation
Example I
dy x
= − ;
dx y
Example II
4y 3 y ′ + y + xy ′ = 3x 2 − 1;
3x 2 − y − 1
y′ = ;
4y 3 + x
Example III
e x−y − 4x
y′ = ;
e x−y − 2y
Example IV
Find an equation for the tangent line to the graph of
y cos (y + t + t 2 ) = t 3 at (t, y ) = (0, 5π2 );
Take derivatives of both sides with respect to t:
(y cos (y + t + t 2 ))′ = (t 3 )′ ; Use again the rules:
(y )′ cos (y + t + t 2 ) + y (cos (y + t + t 2 ))′ = 3t 2 , whence
y ′ cos (y + t + t 2 ) − y sin (y + t + t 2 )(y + t + t 2 )′ = 3t 2 ;
Hence, we have
Subsection 11
Related Rates
Sliding Ladder
x 2 + h2 = 52 , whence dt
d
(x 2 + h2 ) = 0, and, therefore, 2x dx dh
dt + 2h dt = 0,
yielding dh x dx
dt = − h dt .
Note that,
√ at t = 1, we have x(1) = 2.3, whence we obtain
h(1) = 25 − 2.32 ≈ 4.44. Now, we substitute in these values:
dh 2.3
dt = − 4.44 · 0.8 = −0.41 meters per second.
The volume V is related to the height h and the radius r by the equation
V = 13 πhr 2 . Moreover, by the two similar triangles of the figure, we have
4
that hr = 10 , whence r = 25 h. Therefore, V = 13 πh 25
4 2
h , yielding
4π 3
V = 75 h . Computing derivatives of both sides with respect to t, we get
dV 4π 2 dh
dt = 75 3h dt . So, we obtain
dh 25 dV
= .
dt 4πh2 dt
dh 25 3
Substituting the appropriate values: dt = 4π25 6 = 2π m/min.
Department of Mathematics (UCC) Calculus I January 2025 72 / 73
Differentiation Related Rates
Velocity of a Rocket
The angle θ is related to the height h and the distance from the launching
pad by tan θ = h6 , whence we get h = 6 tan θ. Computing derivatives of
both sides with respect to t, we get
dh dθ
= 6 sec2 θ .
dt dt
dh
So, we obtain dt = 6 · 22 · 0.9 = 21.6 Km/min.
Department of Mathematics (UCC) Calculus I January 2025 73 / 73