0% found this document useful (0 votes)
6 views73 pages

Lecture Nine Calculus Main

The document outlines the curriculum for Calculus I at the University of Cape Coast, focusing on differentiation concepts such as the definition of the derivative, rules for derivatives, and applications. It includes detailed explanations of the difference quotient, computing derivatives, and the relationship between differentiability and continuity. The document also provides examples and exercises to illustrate these concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views73 pages

Lecture Nine Calculus Main

The document outlines the curriculum for Calculus I at the University of Cape Coast, focusing on differentiation concepts such as the definition of the derivative, rules for derivatives, and applications. It includes detailed explanations of the difference quotient, computing derivatives, and the relationship between differentiability and continuity. The document also provides examples and exercises to illustrate these concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 73

Calculus

UNIVERSITY OF CAPE COAST


DEPARTMENT OF MATHEMATICS

Department of Mathematics (UCC) Calculus I January 2025 1 / 73


Outline

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

Department of Mathematics (UCC) Calculus I January 2025 2 / 73


Differentiation Definition of the Derivative

Subsection 1

Definition of the Derivative

Department of Mathematics (UCC) Calculus I January 2025 3 / 73


Differentiation Definition of the Derivative

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;

Department of Mathematics (UCC) Calculus I January 2025 4 / 73


Differentiation Definition of the Derivative

Alternative Expression for Difference Quotient


The difference quotient of f from P(a, f (a)) to Q(x, f (x)) is
f (x) − f (a)
;
x −a
If we set h = x − a, then x = a + h, and the difference quotient can
be rewritten in the form: f (a + h) − f (a)
;
h

Department of Mathematics (UCC) Calculus I January 2025 5 / 73


Differentiation Definition of the Derivative

The Derivative f ′ (a) of f (x) at x = a


The derivative of f (x) at x = a is the limit of the difference
quotients (if it exists)
f (a + h) − f (a)
f ′ (a) = lim ;
h→0 h
When the limit exists, f is called differentiable at x = a;
Another expression is f ′ (a) = limx→a f (x)−f
x−a
(a)
;
The derivative f ′ (a) represents the slope of the tangent line to the
graph of y = f (x) at (a, f (a));

Department of Mathematics (UCC) Calculus I January 2025 6 / 73


Differentiation Definition of the Derivative

Computing a Derivative

Compute f ′ (3) if f (x) = x 2 − 8x;


We have
f ′ (3) = lim f (3+h)−f
h
(3)
h→0
2 −8(3+h)−(32 −8·3)
= lim (3+h) h
h→0
9+6h+h2 −24−8h+15
= lim h
h→0
2
= lim h −2h
h→0 h
= lim h(h−2)
h
h→0
= lim (h − 2)
h→0
= − 2.

Department of Mathematics (UCC) Calculus I January 2025 7 / 73


Differentiation Definition of the Derivative

Computing the Slope of a Tangent Line



Find the slope of the tangent line to the graph of f (x) = x at
x = 9.

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

Department of Mathematics (UCC) Calculus I January 2025 8 / 73


Differentiation Definition of the Derivative

Computing an Equation of a Tangent Line

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.

Department of Mathematics (UCC) Calculus I January 2025 9 / 73


Differentiation The Derivative as a Function

Subsection 2

The Derivative as a Function

Department of Mathematics (UCC) Calculus I January 2025 10 / 73


Differentiation The Derivative as a Function

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.

Department of Mathematics (UCC) Calculus I January 2025 11 / 73


Differentiation The Derivative as a Function

Another Example
Show that f (x) = x −2 is differentiable, for all x 6= 0 and find f ′ (x);
We compute the limit

f ′ (x) = lim f (x+h)−f


h
(x)
h→0
1
− 12
(x+h)2 x
= lim h
h→0
x 2 −(x+h)2
x 2 (x+h)2
= lim h
h→0
2 2 +2xh+h2 )
= lim x −(x
hx 2 (x+h)2
h→0
= lim −h(2x+h)
2 2
h→0 hx (x+h)
= lim −(2x+h)
2 2
h→0 x (x+h)
−2x
= x4
= − x23 .

Department of Mathematics (UCC) Calculus I January 2025 12 / 73


Differentiation The Derivative as a Function

Power Rule

For all exponents n, we have

d n
(x n )′ = x = nx n−1 .
dx

The following are examples of applications of the Power Rule:


(x 2 )′ = 2x
(x√20 )′ = 20x 19
( x)′ = (x 1/2 )′ = 12 x −1/2 = √1
2 x
( √51 3 )′ = (x −3/5 )′ = − 3 −8/5
5x = − 3

5 8
x 5 x

Department of Mathematics (UCC) Calculus I January 2025 13 / 73


Differentiation The Derivative as a Function

Sum/Difference and Constant Factor Rules

The Sum/Difference Rule:

(f ± g )′ = f ′ ± g ′ .

The Constant Factor Rule:

(cf )′ = cf ′ .

The following are examples of applications of these rules:


(2x 32 )′ = 2(x 32 )′ = 2 · 32x 31 = 64x 31 ;
(6x 5 − 3x 2 )′ = (6x 5 )′ − (3x 2 )′ = 6 · 5x 4 − 3 · 2x = 30x 4 − 6x;
(x 3 −12x 2 +36x −16)′ = (x 3 )′ −(12x 2 )′ +(36x)′ −(16)′ = 3x 2 −24x +36.

Department of Mathematics (UCC) Calculus I January 2025 14 / 73


Differentiation The Derivative as a Function

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;

We compute the derivative and find the points where it zeros:


f ′ (x) = (x 3 − 12x + 4)′ = 3x 2 − 12 = 0; So 3(x 2 − 4) = 0, i.e.,
3(x − 2)(x + 2) = 0, showing that x = −2 or x = 2; Thus the
tangent lines are horizontal at (−2, 20) and (2, −12);
Department of Mathematics (UCC) Calculus I January 2025 15 / 73
Differentiation The Derivative as a Function

Another Geometric Application

Find an equation of the tangent line to the graph of



f (x) = x −3 + 2 x − x −4/5 at x = 1;
First, compute the slope

f ′ (x) = (x −3 + 2x 1/2 − x −4/5 )′


= − 3x −4 + 2 12 x −1/2 − (− 45 )x −9/5
= − 3x −4 + x −1/2 + 45 x −9/5 .
4
Thus, f ′ (1) = − 3 + 1 + 5 = − 65 .

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 .

Department of Mathematics (UCC) Calculus I January 2025 16 / 73


Differentiation The Derivative as a Function

Derivatives of Exponentials
Exponential Derivation Rules:

(b x )′ = b x ln b; In particular (e x )′ = e x .

Example: Find an equation for the tangent line to the graph of


f (x) = 2e x − 3x 2 at the point x = 2.
f ′ (x) = (2e x − 3x 2 )′
= 2e x − 6x.
Thus, f ′ (2) = 2e 2 − 12. So, an equation
for the tangent line is

y − (2e 2 − 12) = (2e 2 − 12)(x − 2).

Department of Mathematics (UCC) Calculus I January 2025 17 / 73


Differentiation The Derivative as a Function

Differentiability Implies Continuity


Theorem
If f is differentiable at x = c, then f is continuous at x = c.

The hypothesis that f is differentiable at x = c means that the limit


f ′ (c) = limx→c f (x)−f
x−c
(c)
exists, i.e., it is some specific real number.
Therefore, we may compute

lim f (x) = lim [(f (x) − f (c)) + f (c)]


x→c x→c
= lim [ f (x)−f
x−c
(c)
· (x − c) + f (c)]
x→c
= lim f (x)−f
x−c
(c)
· limx→c (x − c) + limx→c f (c)
x→c
= f ′ (c) · 0 + f (c)
= f (c).

Since limx→c f (x) = f (c), f is continuous at x = c.


Department of Mathematics (UCC) Calculus I January 2025 18 / 73
Differentiation The Derivative as a Function

Continuity Does Not Imply Differentiability

If f (x) is continuous at x = c, this does not necessarily imply that


f (x) is differentiable at x = c.

−x, if x < 0
Consider, for instance f (x) = |x| = at x = 0;
x, if x ≥ 0
f (0+h)−f (0) |h|
lim h = lim h =
h→0− h→0−
lim |x| = lim (−x) = 0 −h
x→0− x→0− lim h = −1
h→0−
and whereas limh→0+ f (0+h)−f
h
(0)
=
|h| h
lim h = lim h = +1.
lim |x| = lim+ x = 0, h→0+ h→0−
x→0+ x→0 f (0+h)−f (0)
So lim
does not ex-
h
h→0
whence limx→0 |x| = 0 = |0|, so ist, i.e., f (x) = |x| is not differ-
f (x) = |x| is continuous at x = 0; entiable at x = 0.

Department of Mathematics (UCC) Calculus I January 2025 19 / 73


Differentiation Product and Quotient Rules

Subsection 3

Product and Quotient Rules

Department of Mathematics (UCC) Calculus I January 2025 20 / 73


Differentiation Product and Quotient Rules

Product Rule

Product Rule: If f and g are differentiable, then fg is also


differentiable and
(f (x)g (x))′ = f ′ (x)g (x) + f (x)g ′ (x);

Example:

(x 2 (9x + 2))′ = (x 2 )′ (9x + 2) + x 2 (9x + 2)′


= 2x(9x + 2) + x 2 · 9
= 18x 2 + 4x + 9x 2
= 27x 2 + 4x.

Department of Mathematics (UCC) Calculus I January 2025 21 / 73


Differentiation Product and Quotient Rules

Some Examples

Compute f ′ (x) if f (x) = (2 + x −1 )(x 3/2 + 1);

((2 + x −1 )(x 3/2 + 1))′ = (2 + x −1 )′ (x 3/2 + 1)


+ (2 + x −1 )(x 3/2 + 1)′
= − x −2 (x 3/2 + 1) + (2 + x −1 ) 32 x 1/2
= − x −1/2 − x −2 + 3x 1/2 + 32 x −1/2
1 −1/2
= 2x − x −2 + 3x 1/2 .

Compute f ′ (x) if f (x) = x 2 e x ;

(x 2 e x )′ = (x 2 )′ e x + x 2 (e x )′
= 2xe x + x 2 e x
= (x 2 + 2x)e x .

Department of Mathematics (UCC) Calculus I January 2025 22 / 73


Differentiation Product and Quotient Rules

More Theoretical Examples

Let f (x) = xg (x), for some function g . Moreover, suppose that


g (3) = 5 and that g ′ (3) = 2. What is then f ′ (3)?
We apply the product rule to compute f ′ (x):

f ′ (x) = (xg (x))′ = (x)′ g (x) + xg ′ (x) = g (x) + xg ′ (x).

Now substitute x = 3: f ′ (3) = g (3) + 3 · g ′ (3) = 5 + 3 · 2 = 11.


Discover a formula for (f (x)g (x)h(x))′ ;

(f (x)g (x)h(x))′ = f ′ (x)(g (x)h(x)) + f (x)(g (x)h(x))′


= f ′ (x)g (x)h(x) + f (x)(g ′ (x)h(x) + g (x)h′ (x))
= f ′ (x)g (x)h(x) + f (x)g ′ (x)h(x) + f (x)g (x)h′ (x).
Therefore,

(f (x)g (x)h(x))′ = f ′ (x)g (x)h(x)+f (x)g ′ (x)h(x)+f (x)g (x)h′ (x);

Department of Mathematics (UCC) Calculus I January 2025 23 / 73


Differentiation Product and Quotient Rules

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
.

Department of Mathematics (UCC) Calculus I January 2025 24 / 73


Differentiation Product and Quotient Rules

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).

Department of Mathematics (UCC) Calculus I January 2025 25 / 73


Differentiation Product and Quotient Rules

Example from Physics


For a battery of voltage V = 12 Volts and internal resistance r = 7
Ohms, the total power that the battery delivers to an apparatus of
V 2R 144R
resistance R is P(R) = = . Compute dPdR and find
(R + r )2 (R + 7)2
the value of the resistance R for which the tangent to the graph P vs
R is horizontal.
For the slope, we have P ′ (R) =
(144R)′ (R+7)2 −144R((R+7)2 )′
= ((R+7)2 )2
2
144(R+7) −144R·2(R+7)
= (R+7)4
144(R+7)2 −288R(R+7)
= (R+7)4
(R+7)[144(R+7)−288R]
= (R+7)4 Thus, P ′ (R) = 0 when R = 7
= 144(7−R) Ohms.
(R+7)3

Department of Mathematics (UCC) Calculus I January 2025 26 / 73


Differentiation Rates of Change

Subsection 4

Rates of Change

Department of Mathematics (UCC) Calculus I January 2025 27 / 73


Differentiation Rates of Change

Average and Instantaneous Rate of Change

The Average Rate of Change of y = f (x) per unit of x between x0


and x1 is given by

∆y f (x1 ) − f (x0 )
= ;
∆x x1 − x0

The Instantaneous Rate of Change of y = f (x) at x = x0 is given


by

∆y f (x1 ) − f (x0 )
f ′ (x0 ) = lim = lim ;
∆x→0 ∆x x1 →x0 x1 − x0

Department of Mathematics (UCC) Calculus I January 2025 28 / 73


Differentiation Rates of Change

Example

The area of a circle of radius r is given by A(r ) = πr 2 ; Compute the


rates of change dA
dr at r = 2 and r = 5 and explain (in practical
terms) why the second is larger than the first.
We have
dA
= (πr 2 )′ = 2πr .
dr
dA dA
Therefore dr |r =2 = 4π and dr |r =5 = 10π.
dA
dr is a measure of how much the
area increases as r increases by a
slight amount dr . Clearly, when
the radius is larger the increase in
the amount of area for the same
increase in the radius is larger!

Department of Mathematics (UCC) Calculus I January 2025 29 / 73


Differentiation Rates of Change

Approximating a One-Unit Change Using the Derivative

For small values of h, we have that


f (x + h) − f (x) f (x + h) − f (x)
f ′ (x) = lim ≈ .
h→0 h h
For some applications, especially those in which x denotes number of
items or units of a commodity, h = 1 may be already useful enough,
whence f (x + 1) − f (x) ≈ f ′ (x);

Department of Mathematics (UCC) Calculus I January 2025 30 / 73


Differentiation Rates of Change

An Example: Change in Stopping Distance

For speeds s between 30 and 75 mph, the stopping distance of a car


after the brakes are applied is approximately F (s) = 1.1s + 0.05s 2
feet. Estimate the change in stopping distance for s = 60 mph, when
the speed is increased by 1 mph. What is the exact change?
For an estimate, we use the derivative:
F ′ (s) = (1.1s + 0.05s 2 )′ = 1.1 + 0.1s, whence

F (61) − F (60) ≈ F ′ (60) = 1.1 + 0.1 · 60 = 7.1.

For the exact change, we compute

F (61) − F (60)
= 1.1 · 61 + 0.05 · 612 − (1.1 · 60 + 0.05 · 602 )
= 7.15.

Department of Mathematics (UCC) Calculus I January 2025 31 / 73


Differentiation Rates of Change

Another Example: Marginal Cost


If C (x) is the cost function in terms of the number x of items
produced, the marginal cost at production level x0 is the additional
cost for producing one additional unit;
According to previous work: C (x0 + 1) − C (x0 ) ≈ C ′ (x0 ); Thus, the
derivative C ′ (x) may be used to approximate the marginal cost;
Example: If the total cost of a flight for an airline company is
C (x) = 0.0005x 3 − 0.38x 2 + 120x, where x is the number of
passengers, estimate the marginal cost when the flight has 150
passengers.
Note that
C ′ (x) = (0.0005x 3 − 0.38x 2 + 120x)′ = 0.0015x 2 − 0.76x + 120,
whence
C (151) − C (150) ≈ C ′ (150)
= 0.0015 · 1502 − 0.76 · 150 + 120 = 39.75.

Department of Mathematics (UCC) Calculus I January 2025 32 / 73


Differentiation Rates of Change

Linear Motion

If s(t) is the position of a moving object at time t, then its average


velocity between t0 and t1 is vavg [t0 , t1 ] = s(t1t1)−s(t
−t0
0)
;
Its instantaneous velocity at t0 is given by
v (t0 ) = limt1 →t0 s(t1t1)−s(t
−t0
0)
= s ′ (t0 );
Similarly, its average acceleration between t0 and t1 is
aavg [t0 , t1 ] = v (t1t1)−v
−t0
(t0 )
;
Its instantaneous acceleration at t0 is given by
a(t0 ) = limt1 →t0 v (t1t1)−v
−t0
(t0 )
= v ′ (t0 );
Example: The position function of a truck entering the off-ramp of a
highway is s(t) = 25t − 0.3t 3 meters for 0 ≤ t ≤ 5 in seconds after
entering the ramp. How fast was the driver driving when he started
on the ramp?
v (t) = s ′ (t) = (25t − 0.3t 3 )′ = 25 − 0.9t 2 ; Therefore v (0) = 25
meters per second.
Department of Mathematics (UCC) Calculus I January 2025 33 / 73
Differentiation Rates of Change

Motion Under the Influence of Gravity

Suppose an object is tossed vertically upwards from an initial height


s0 with an initial velocity v0 ;
Since the only force acting on the object is that of gravity, the only
acceleration applied on the object is that of gravity, which is taken to
be constant and equal to −g = −9.8 m/s2 = −32 ft/sec2 ;
Thus, since the acceleration is the derivative of its velocity function,
we get
v (t) = − gt + v0 ;

Moreover, since its velocity function is the derivative of its distance


function, we get
1
s(t) = − gt 2 + v0 t + s0 ;
2

Department of Mathematics (UCC) Calculus I January 2025 34 / 73


Differentiation Rates of Change

An Example

If an object is shot upward with an initial velocity of 20 m/sec from


an initial height of 2 m, find its maximum height and the time at
which it reaches the maximum height.

We have v (t) = − gt + v0 = − 9.8t + 20;


To find the max height, we set v (t) = 0 and solve for t;
20
We get v (t) = 0 when t = 9.8 = 2.04 sec.
1 2
Since s(t) = − 2 gt + v0 t + s0 , i.e
s(t) = − 12 9.8t 2 + 20t + 2 = − 4.9t 2 + 20t + 2,
we get maximum height s(2.04) = 22.408 meters.

Department of Mathematics (UCC) Calculus I January 2025 35 / 73


Differentiation Higher Derivatives

Subsection 5

Higher Derivatives

Department of Mathematics (UCC) Calculus I January 2025 36 / 73


Differentiation Higher Derivatives

The n-th Derivative

The second derivative of a function f (x) is the first derivative of its


first derivative:
f ′′ (x) = (f ′ (x))′ ;
The third derivative is the derivative of its second derivative

f ′′′ (x) = (f ′′ (x))′ ;

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 (n+1) (x) = (f (n) (x))′ .

Department of Mathematics (UCC) Calculus I January 2025 37 / 73


Differentiation Higher Derivatives

Finding First Few Derivatives

Find the three first derivatives of f (x) = 3x 7 − 5x 2 + 7x −3 ;


For the first derivative
f ′ (x) = (3x 7 − 5x 2 + 7x −3 )′
= 21x 6 − 10x − 21x −4 .

For the second derivative


f ′′ (x) = (21x 6 − 10x − 21x −4 )′
= 126x 5 − 10 + 84x −5 .

Finally, for the third derivative

f ′′′ (x) = (126x 5 − 10 + 84x −5 )′


= 630x 4 − 420x −6 .

Department of Mathematics (UCC) Calculus I January 2025 38 / 73


Differentiation Higher Derivatives

Discovering a Pattern for the n-th Derivative

Calculate the five first derivatives of f (x) = x −1 and, then, find a


pattern to determine f (n) (x) for an arbitrary n;
Let f (x) = x −1 . We have

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 .

Thus, the pattern revealed is

(−1)n n!
f (n) (x) = (−1)n 1 · 2 · · · · · nx −(n+1) = .
x n+1

Department of Mathematics (UCC) Calculus I January 2025 39 / 73


Differentiation Higher Derivatives

One More Example

Calculate the three first derivatives of f (x) = xe x and, then, find a


pattern to determine f (n) (x) for an arbitrary n;
Let f (x) = xe x . We have

f ′ (x) = (xe x )′ = (x)′ e x + x(e x )′ = e x + xe x = (1 + x)e x ;


f ′′ (x) = ((1 + x)e x )′ = (1 + x)′ e x + (1 + x)(e x )′
= e x + (1 + x)e x = (2 + x)e x ;
f (x) = ((2 + x)e x )′ = (2 + x)′ e x + (2 + x)(e x )′
′′′

= e x + (2 + x)e x = (3 + x)e x ;

Thus, the pattern revealed is

f (n) (x) = (n + x)e x .

Department of Mathematics (UCC) Calculus I January 2025 40 / 73


Differentiation Trigonometric Functions

Subsection 6

Trigonometric Functions

Department of Mathematics (UCC) Calculus I January 2025 41 / 73


Differentiation Trigonometric Functions

Basic Trigonometric Derivatives:

(sin x)′ = cos x and (cos x)′ = − sin x;

Let us see why the first holds:

(sin x)′ = lim sin (x+h)−sin


h
x
h→0
= lim sin x cos h+sinh h cos x−sin x
h→0
= lim sin x(cos h−1)+sin
h
h cos x
h→0
= lim sin x(cos
h
h−1)
+ lim sin hhcos x
h→0 h→0
= sin x lim cos hh−1 + cos x lim sinh h
h→0 h→0
= sin x · 0 + cos x · 1
= cos x.

Department of Mathematics (UCC) Calculus I January 2025 42 / 73


Differentiation Trigonometric Functions

Example

Find f ′′ (x) if f (x) = x cos x;


We have
f ′ (x) = (x cos x)′
= (x)′ cos x + x(cos x)′
= cos x − x sin x.
Therefore,

f ′′ (x) = (cos x − x sin x)′


= (cos x)′ − (x sin x)′
= − sin x − ((x)′ sin x + x(sin x)′ )
= − sin x − (sin x + x cos x)
= − 2 sin x − x cos x.

Department of Mathematics (UCC) Calculus I January 2025 43 / 73


Differentiation Trigonometric Functions

More Trigonometric Formulas


For the other Trigonometric Functions we have

(tan x)′ = sec2 x, (sec x)′ = sec x tan x,

(cot x)′ = − csc2 x, (csc x)′ = − csc x cot x.

Let us see why the third holds:


(cot x)′ = ( cos x ′
sin x )
(cos x)′ sin x−cos x(sin x)′
= sin2 x
− sin x sin x−cos x cos x
= sin2 x
2
−(sin x+cos2 x)
= sin2 x
= − ( sin1 x )2
= − csc2 x.

Department of Mathematics (UCC) Calculus I January 2025 44 / 73


Differentiation Trigonometric Functions

A Geometry Problem

Find an equation for the tangent line to the graph of


f (x) = tan x sec x at x = π4 ;
For the slope, we have
f ′ (x) = (tan x sec x)′ = (tan x)′ sec x + tan x(sec x)′
= sec2 x sec x + tan x sec x tan x = sec3 x + sec x tan2 x;

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

Department of Mathematics (UCC) Calculus I January 2025 45 / 73


Differentiation The Chain Rule

Subsection 7

The Chain Rule

Department of Mathematics (UCC) Calculus I January 2025 46 / 73


Differentiation The Chain Rule

Chain Rule: If f and g are differentiable, then (f ◦ g )(x) = f (g (x))


is also differentiable and its derivative is given by

(f (g (x)))′ = f ′ (g (x))g ′ (x).

Example: Calculate the derivative of h(x) = cos (x 3 );


Note that h(x) = f (g (x)), where f (x) = cos x and g (x) = x 3 . Thus,
taking into account the chain rule, we obtain

h′ (x) = (f (g (x)))′
= f ′ (g (x))g ′ (x)
= − sin (x 3 )(x 3 )′
= − 3x 2 sin (x 3 ).

Department of Mathematics (UCC) Calculus I January 2025 47 / 73


Differentiation The Chain Rule

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

Example Involving Rates of Change

Suppose a sphere is inflated so that its radius is increasing at the rate


of 3 cm/sec. At what rate is the volume of the sphere increasing
when its radius is 10 cm?
We have
4
V (r ) = πr 3 .
3
Therefore,
dV d 4 4 dr dr
= ( πr 3 ) = π3r 2 = 4πr 2
dt dt 3 3 dt dt
Thus, we get
dV
= 4π · 102 · 3 = 1200π cm3 /sec.
dt

Department of Mathematics (UCC) Calculus I January 2025 49 / 73


Differentiation The Chain Rule

Power and Exponential Rules


Power and Exponential Rules: If g is differentiable, then

[g (x)n ]′ = ng (x)n−1 g ′ (x) and (e g (x) )′ = e g (x) g ′ (x).

Example: Compute f ′ (x) for f (x) = (x 2 + 7x + 2)−1/3 ;

f ′ (x) = [(x 2 + 7x + 2)−1/3 ]′


= − 13 (x 2 + 7x + 2)−4/3 (x 2 + 7x + 2)′
= − 13 (x 2 + 7x + 2)−4/3 (2x + 7).

Example: Compute f ′ (x) for f (x) = e cos x ;

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

Using Chain Rule Twice

Compute the derivatives:


p
3

( 1 + x 2 + 1)′ = [(1 + (x 2 + 1)1/2 )1/3 ]′
= 13 (1 + (x 2 + 1)1/2 )−2/3 (1 + (x 2 + 1)1/2 )′
= 13 (1 + (x 2 + 1)1/2 )−2/3 ·
1 2 −1/2 (x 2 + 1)′
2 (x + 1)
= 13 (1 + (x 2 + 1)1/2 )−2/3 12 (x 2 + 1)−1/2 2x
= 13 x(x 2 + 1)−1/2 (1 + (x 2 + 1)1/2 )−2/3 .
2 +7x)3 2 +7x)3
(e (x )′ = e (x · ((x 2 + 7x)3 )′
= e (x 2 +7x)3 · 3(x 2 + 7x)2 · (x 2 + 7x)′
2 +7x)3
= 3(2x + 7)(x 2 + 7x)2 e (x .

Department of Mathematics (UCC) Calculus I January 2025 51 / 73


Differentiation Derivatives of Inverse Functions

Subsection 8

Derivatives of Inverse Functions

Department of Mathematics (UCC) Calculus I January 2025 52 / 73


Differentiation Derivatives of Inverse Functions

Derivative of the Inverse Function


Suppose f is differentiable and one-to-one with inverse
g (x) = f −1 (x). If b belongs to the domain of g (x) and f ′ (g (b)) 6= 0,
then g ′ (b) exists and
1
g ′ (b) = .
f ′ (g (b))

Since f (g (x)) = x, by the


chain rule, we get
f ′ (g (x))g ′ (x) = 1. Therefore

1
g ′ (x) = .
f ′ (g (x))

Department of Mathematics (UCC) Calculus I January 2025 53 / 73


Differentiation Derivatives of Inverse Functions

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

If f (x) = x + e x , calculate g ′ (1), where g = f −1 ;


Since f (0) = 0 + e 0 = 1, we must have g (1) = f −1 (1) = 0. Next,
note that f ′ (x) = (x + e x )′ = 1 + e x . Thus f ′ (0) = 1 + e 0 = 2. Now,
we compute
1 1 1
g ′ (1) = ′ = ′ = .
f (g (1)) f (0) 2

Department of Mathematics (UCC) Calculus I January 2025 54 / 73


Differentiation Derivatives of Inverse Functions

Derivatives of Inverse Trigonometric Functions


Derivatives of sin−1 x, cos−1 x and tan−1 x:

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

Example: Find f ′ ( 12 ) if f (x) = sin−1 (x 2 );


We have, using the chain rule,
1 2x
f ′ (x) = [sin−1 (x 2 )]′ = p (x 2 )′ = √ .
1 − (x ) 2 2 1 − x4
Therefore
 
′1 2 · (1/2) 1 4
f =p =p =√ .
2 1 − (1/2)4 15/16 15

Department of Mathematics (UCC) Calculus I January 2025 55 / 73


Differentiation Derivatives of Inverse Functions

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

Department of Mathematics (UCC) Calculus I January 2025 56 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

Subsection 9

Derivatives of Exponential and Logarithmic Functions

Department of Mathematics (UCC) Calculus I January 2025 57 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

Derivatives of Exponential Functions

Derivatives of Exponential:

(b x )′ = b x ln b, (b f (x) )′ = b f (x) f ′ (x) ln b;

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.

Department of Mathematics (UCC) Calculus I January 2025 58 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

Derivatives of Logarithmic Functions

Derivatives of Logarithmic Functions:


1 f ′ (x)
(logb x)′ = , (logb f (x))′ = ;
x ln b f (x) ln b

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.

Department of Mathematics (UCC) Calculus I January 2025 59 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

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 ].

Department of Mathematics (UCC) Calculus I January 2025 60 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

Logarithmic Differentiation for Exponential Functions

Let us find the derivative f ′ (x) of f (x) = x x ;


We have
ln f (x) = ln (x x ) = x ln x.
f ′ (x)
Therefore f (x) = ln x + 1, i.e., f ′ (x) = f (x)(ln x + 1) = x x (ln x + 1);
Let us find the derivative f ′ (x) of f (x) = x sin x ;
We have
ln f (x) = ln (x sin x ) = sin x ln x.
f ′ (x) sin x
Therefore f (x) = cos x ln x + x , i.e.,
sin x sin x
f ′ (x) = f (x)(cos x ln x + x ) = x sin x (cos x ln x + x );

Department of Mathematics (UCC) Calculus I January 2025 61 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

Hyperbolic Functions

Basic 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;

Department of Mathematics (UCC) Calculus I January 2025 62 / 73


Differentiation Derivatives of Exponential and Logarithmic Functions

Some Examples

(cosh (3x 2 + 1))′ = sinh (3x 2 + 1)(3x 2 + 1)′


= 6x sinh (3x 2 + 1).

(sinh x tanh x)′ = (sinh x)′ tanh x + sinh x(tanh x)′


= cosh x tanh x + sinh xsech2 x
= sinh x + tanh xsechx.

Department of Mathematics (UCC) Calculus I January 2025 63 / 73


Differentiation Implicit Differentiation

Subsection 10

Implicit Differentiation

Department of Mathematics (UCC) Calculus I January 2025 64 / 73


Differentiation Implicit Differentiation

Example I

Compute dy dx if y is defined implicitly as a function of x by


x 2 + y 2 = 1;
Take derivatives of both sides with respect to x:
d 2 d1
(x + y 2 ) = ;
dx dx
Use sum rule:
d 2 d 2
(x ) + (y ) = 0;
dx dx
Then 2x + 2y dy
dx = 0; Now solve for
dy
dx :

dy x
= − ;
dx y

Department of Mathematics (UCC) Calculus I January 2025 65 / 73


Differentiation Implicit Differentiation

Example II

Find an equation for the tangent line to the graph of


y 4 + xy = x 3 − x + 2 at (x, y ) = (1, 1);
Take derivatives of both sides with respect to x:
(y 4 + xy )′ = (x 3 − x + 2)′ ; Use carefully the required rules:
(y 4 )′ + (xy )′ = (x 3 )′ − (x)′ + (2)′ , whence

4y 3 y ′ + y + xy ′ = 3x 2 − 1;

Thus, (4y 3 + x)y ′ = 3x 2 − y − 1; and, therefore

3x 2 − y − 1
y′ = ;
4y 3 + x

It follows that y ′ (1, 1) = 15 ; Thus, an equation for the tangent is


y − 1 = 15 (x − 1);

Department of Mathematics (UCC) Calculus I January 2025 66 / 73


Differentiation Implicit Differentiation

Example III

Find an equation for the tangent line to the graph of


e x−y = 2x 2 − y 2 at (x, y ) = (1, 1);
Take derivatives of both sides with respect to x:
(e x−y )′ = (2x 2 − y 2 )′ ; Use again the rules: e x−y (x − y )′ = 4x − 2yy ′ ,
whence
e x−y (1 − y ′ ) = 4x − 2yy ′ ;
Thus, (e x−y − 2y )y ′ = e x−y − 4x; and, therefore

e x−y − 4x
y′ = ;
e x−y − 2y

It follows that y ′ (1, 1) = 3; Thus, an equation for the tangent is


y − 1 = 3(x − 1);

Department of Mathematics (UCC) Calculus I January 2025 67 / 73


Differentiation Implicit Differentiation

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

y ′ cos (y + t + t 2 ) − y sin (y + t + t 2 )(y ′ + 1 + 2t) = 3t 2 ;



Thus, for t = 0 and y = 2 , y ′ cos 5π
2 −

2 sin 5π ′
2 (y + 1) = 0; and,
therefore
5π ′

(y + 1) = 0;
2
It follows that y ′ (0, 5π
2 ) = −1; Thus, an equation for the tangent is
y − 5π2 = −t;
Department of Mathematics (UCC) Calculus I January 2025 68 / 73
Differentiation Related Rates

Subsection 11

Related Rates

Department of Mathematics (UCC) Calculus I January 2025 69 / 73


Differentiation Related Rates

Sliding Ladder

A 5 meter ladder leans against a


wall. The bottom is 1.5 meters
from the wall at time t = 0 and
slides away at a rate of 0.8 meters
per second. What is the velocity
of the top of the ladder at t = 1?

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.

Department of Mathematics (UCC) Calculus I January 2025 70 / 73


Differentiation Related Rates

Filling a Rectangular Tank

Water pours into a tank at a rate of


0.3 cubic meters per minute. How fast
is water level rising if the base of the
tank is a rectangle of dimensions 2×3
meters?

The volume V is related to the height h by the equation V = 2 · 3 · h,


1 dV
whence dV dh dh
dt = 6 dt , and, therefore, dt = 6 dt .
Now, we substitute the appropriate value:
dh 1
= · 0.3 = 0.05 meters per minute.
dt 6

Department of Mathematics (UCC) Calculus I January 2025 71 / 73


Differentiation Related Rates

Filling a Conical Tank

Water pours into a conical tank of height


10 m and radius 4 m at a rate of 6
m3 /min. At what rate is the water ris-
ing when the level is 5 m high?

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

A rocket is launched vertically


from a launching pad 6 Km away from a
radar station. If at a certain moment the an-
gle θ between the line of observation and the
ground is π3 and increasing at 0.9 rad/min,
what is the rocket’s velocity v at that time?

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy