lesson 14: derivatives of exponential and logarithmic functions (section 041 slides)

65
Section 3.3 Derivatives of Exponential and Logarithmic Functions V63.0121.041, Calculus I New York University October 25, 2010 Announcements I Midterm is graded. Please see FAQ. I Quiz 3 next week on 2.6, 2.8, 3.1, 3.2 . . . . . .

Upload: mel-anthony-pepito

Post on 26-May-2015

159 views

Category:

Technology


0 download

DESCRIPTION

The exponential function is pretty much the only function whose derivative is itself. The derivative of the natural logarithm function is also beautiful as it fills in an important gap. Finally, the technique of logarithmic differentiation allows us to find derivatives without the product rule.

TRANSCRIPT

Page 1: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

Section 3.3Derivatives of Exponential and

Logarithmic Functions

V63.0121.041, Calculus I

New York University

October 25, 2010

Announcements

I Midterm is graded. Please see FAQ.I Quiz 3 next week on 2.6, 2.8, 3.1, 3.2

. . . . . .

Page 2: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Announcements

I Midterm is graded. Pleasesee FAQ.

I Quiz 3 next week on 2.6,2.8, 3.1, 3.2

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 2 / 34

Page 3: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Objectives

I Know the derivatives of theexponential functions (withany base)

I Know the derivatives of thelogarithmic functions (withany base)

I Use the technique oflogarithmic differentiationto find derivatives offunctions involving roducts,quotients, and/orexponentials.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 3 / 34

Page 4: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Outline

Recall Section 3.1–3.2

Derivative of the natural exponential functionExponential Growth

Derivative of the natural logarithm function

Derivatives of other exponentials and logarithmsOther exponentialsOther logarithms

Logarithmic DifferentiationThe power rule for irrational powers

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 4 / 34

Page 5: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Conventions on power expressions

Let a be a positive real number.I If n is a positive whole number, then an = a · a · · · · · a︸ ︷︷ ︸

n factors

I a0 = 1.I For any real number r, a−r =

1ar.

I For any positive whole number n, a1/n = n√a.

There is only one continuous function which satisfies all of the above.We call it the exponential function with base a.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 5 / 34

Page 6: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Properties of exponential Functions

TheoremIf a > 0 and a ̸= 1, then f(x) = ax is a continuous function with domain(−∞,∞) and range (0,∞). In particular, ax > 0 for all x. For any realnumbers x and y, and positive numbers a and b we have

I ax+y = axay

I ax−y =ax

ay

(negative exponents mean reciprocals)

I (ax)y = axy

(fractional exponents mean roots)

I (ab)x = axbx

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 6 / 34

Page 7: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Properties of exponential Functions

TheoremIf a > 0 and a ̸= 1, then f(x) = ax is a continuous function with domain(−∞,∞) and range (0,∞). In particular, ax > 0 for all x. For any realnumbers x and y, and positive numbers a and b we have

I ax+y = axay

I ax−y =ax

ay(negative exponents mean reciprocals)

I (ax)y = axy

(fractional exponents mean roots)

I (ab)x = axbx

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 6 / 34

Page 8: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Properties of exponential Functions

TheoremIf a > 0 and a ̸= 1, then f(x) = ax is a continuous function with domain(−∞,∞) and range (0,∞). In particular, ax > 0 for all x. For any realnumbers x and y, and positive numbers a and b we have

I ax+y = axay

I ax−y =ax

ay(negative exponents mean reciprocals)

I (ax)y = axy (fractional exponents mean roots)I (ab)x = axbx

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 6 / 34

Page 9: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Graphs of various exponential functions

. .x

.y

.y = 1x

.y = 2x.y = 3x.y = 10x .y = 1.5x.y = (1/2)x.y = (1/3)x .y = (1/10)x.y = (2/3)x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 7 / 34

Page 10: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The magic number

Definition

e = limn→∞

(1+

1n

)n= lim

h→0+(1+ h)1/h

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 8 / 34

Page 11: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Existence of eSee Appendix B

I We can experimentallyverify that this numberexists and is

e ≈ 2.718281828459045 . . .

I e is irrationalI e is transcendental

n(1+

1n

)n

1 22 2.253 2.3703710 2.59374100 2.704811000 2.71692106 2.71828

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 9 / 34

Page 12: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Logarithms

Definition

I The base a logarithm loga x is the inverse of the function ax

y = loga x ⇐⇒ x = ay

I The natural logarithm ln x is the inverse of ex. Soy = ln x ⇐⇒ x = ey.

Facts

(i) loga(x1 · x2) = loga x1 + loga x2

(ii) loga

(x1x2

)= loga x1 − loga x2

(iii) loga(xr) = r loga x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 10 / 34

Page 13: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Graphs of logarithmic functions

. .x

.y.y = 2x

.y = log2 x

. .(0,1)

..(1,0)

.y = 3x

.y = log3 x

.y = 10x

.y = log10 x

.y = ex

.y = ln x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 11 / 34

Page 14: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Change of base formula for logarithms

FactIf a > 0 and a ̸= 1, and the same for b, then

loga x =logb xlogb a

Proof.

I If y = loga x, then x = ay

I So logb x = logb(ay) = y logb a

I Thereforey = loga x =

logb xlogb a

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 12 / 34

Page 15: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Upshot of changing base

The point of the change of base formula

loga x =logb xlogb a

=1

logb a· logb x = (constant) · logb x

is that all the logarithmic functions are multiples of each other. So justpick one and call it your favorite.

I Engineers like the common logarithm log = log10I Computer scientists like the binary logarithm lg = log2I Mathematicians like natural logarithm ln = loge

Naturally, we will follow the mathematicians. Just don’t pronounce it“lawn.”

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 13 / 34

Page 16: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Outline

Recall Section 3.1–3.2

Derivative of the natural exponential functionExponential Growth

Derivative of the natural logarithm function

Derivatives of other exponentials and logarithmsOther exponentialsOther logarithms

Logarithmic DifferentiationThe power rule for irrational powers

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 14 / 34

Page 17: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of Exponential Functions

FactIf f(x) = ax, then f′(x) = f′(0)ax.

Proof.Follow your nose:

f′(x) = limh→0

f(x+ h)− f(x)h

= limh→0

ax+h − ax

h

= limh→0

axah − ax

h= ax · lim

h→0

ah − 1h

= ax · f′(0).

To reiterate: the derivative of an exponential function is a constanttimes that function. Much different from polynomials!

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 15 / 34

Page 18: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of Exponential Functions

FactIf f(x) = ax, then f′(x) = f′(0)ax.

Proof.Follow your nose:

f′(x) = limh→0

f(x+ h)− f(x)h

= limh→0

ax+h − ax

h

= limh→0

axah − ax

h= ax · lim

h→0

ah − 1h

= ax · f′(0).

To reiterate: the derivative of an exponential function is a constanttimes that function. Much different from polynomials!

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 15 / 34

Page 19: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of Exponential Functions

FactIf f(x) = ax, then f′(x) = f′(0)ax.

Proof.Follow your nose:

f′(x) = limh→0

f(x+ h)− f(x)h

= limh→0

ax+h − ax

h

= limh→0

axah − ax

h= ax · lim

h→0

ah − 1h

= ax · f′(0).

To reiterate: the derivative of an exponential function is a constanttimes that function. Much different from polynomials!

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 15 / 34

Page 20: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The funny limit in the case of e

Remember the definition of e:

e = limn→∞

(1+

1n

)n= lim

h→0(1+ h)1/h

Question

What is limh→0

eh − 1h

?

AnswerIf h is small enough, e ≈ (1+ h)1/h. So

eh − 1h

≈[(1+ h)1/h

]h − 1h

=(1+ h)− 1

h=

hh= 1

So in the limit we get equality: limh→0

eh − 1h

= 1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 16 / 34

Page 21: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The funny limit in the case of e

Remember the definition of e:

e = limn→∞

(1+

1n

)n= lim

h→0(1+ h)1/h

Question

What is limh→0

eh − 1h

?

AnswerIf h is small enough, e ≈ (1+ h)1/h. So

eh − 1h

≈[(1+ h)1/h

]h − 1h

=(1+ h)− 1

h=

hh= 1

So in the limit we get equality: limh→0

eh − 1h

= 1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 16 / 34

Page 22: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The funny limit in the case of e

Remember the definition of e:

e = limn→∞

(1+

1n

)n= lim

h→0(1+ h)1/h

Question

What is limh→0

eh − 1h

?

AnswerIf h is small enough, e ≈ (1+ h)1/h. So

eh − 1h

≈[(1+ h)1/h

]h − 1h

=(1+ h)− 1

h=

hh= 1

So in the limit we get equality: limh→0

eh − 1h

= 1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 16 / 34

Page 23: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural exponential function

Fromddx

ax =(limh→0

ah − 1h

)ax and lim

h→0

eh − 1h

= 1

we get:

Theorem

ddx

ex = ex

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 17 / 34

Page 24: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Exponential Growth

I Commonly misused term to say something grows exponentiallyI It means the rate of change (derivative) is proportional to the

current valueI Examples: Natural population growth, compounded interest,

social networks

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 18 / 34

Page 25: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Examples

Examples

Find derivatives of these functions:I e3x

I ex2

I x2ex

Solution

Iddx

e3x = 3e3x

Iddx

ex2= ex

2 ddx

(x2) = 2xex2

Iddx

x2ex = 2xex + x2ex

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 19 / 34

Page 26: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Examples

Examples

Find derivatives of these functions:I e3x

I ex2

I x2ex

Solution

Iddx

e3x = 3e3x

Iddx

ex2= ex

2 ddx

(x2) = 2xex2

Iddx

x2ex = 2xex + x2ex

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 19 / 34

Page 27: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Examples

Examples

Find derivatives of these functions:I e3x

I ex2

I x2ex

Solution

Iddx

e3x = 3e3x

Iddx

ex2= ex

2 ddx

(x2) = 2xex2

Iddx

x2ex = 2xex + x2ex

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 19 / 34

Page 28: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Examples

Examples

Find derivatives of these functions:I e3x

I ex2

I x2ex

Solution

Iddx

e3x = 3e3x

Iddx

ex2= ex

2 ddx

(x2) = 2xex2

Iddx

x2ex = 2xex + x2ex

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 19 / 34

Page 29: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Outline

Recall Section 3.1–3.2

Derivative of the natural exponential functionExponential Growth

Derivative of the natural logarithm function

Derivatives of other exponentials and logarithmsOther exponentialsOther logarithms

Logarithmic DifferentiationThe power rule for irrational powers

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 20 / 34

Page 30: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural logarithm function

Let y = ln x. Then x = ey

so

eydydx

= 1

=⇒ dydx

=1ey

=1x

We have discovered:

Fact

ddx

ln x =1x

. .x

.y

.ln x

.1x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 21 / 34

Page 31: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural logarithm function

Let y = ln x. Then x = ey

so

eydydx

= 1

=⇒ dydx

=1ey

=1x

We have discovered:

Fact

ddx

ln x =1x

. .x

.y

.ln x

.1x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 21 / 34

Page 32: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural logarithm function

Let y = ln x. Then x = ey

so

eydydx

= 1

=⇒ dydx

=1ey

=1x

We have discovered:

Fact

ddx

ln x =1x

. .x

.y

.ln x

.1x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 21 / 34

Page 33: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural logarithm function

Let y = ln x. Then x = ey

so

eydydx

= 1

=⇒ dydx

=1ey

=1x

We have discovered:

Fact

ddx

ln x =1x

. .x

.y

.ln x

.1x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 21 / 34

Page 34: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural logarithm function

Let y = ln x. Then x = ey

so

eydydx

= 1

=⇒ dydx

=1ey

=1x

We have discovered:

Fact

ddx

ln x =1x

. .x

.y

.ln x

.1x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 21 / 34

Page 35: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivative of the natural logarithm function

Let y = ln x. Then x = ey

so

eydydx

= 1

=⇒ dydx

=1ey

=1x

We have discovered:

Fact

ddx

ln x =1x

. .x

.y

.ln x

.1x

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 21 / 34

Page 36: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The Tower of Powers

y y′

x3 3x2

x2 2x1

x1 1x0

x0 0

? ?

x−1 −1x−2

x−2 −2x−3

I The derivative of a powerfunction is a power functionof one lower power

I Each power function is thederivative of another powerfunction, except x−1

I ln x fills in this gapprecisely.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 22 / 34

Page 37: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The Tower of Powers

y y′

x3 3x2

x2 2x1

x1 1x0

x0 0

? x−1

x−1 −1x−2

x−2 −2x−3

I The derivative of a powerfunction is a power functionof one lower power

I Each power function is thederivative of another powerfunction, except x−1

I ln x fills in this gapprecisely.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 22 / 34

Page 38: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

The Tower of Powers

y y′

x3 3x2

x2 2x1

x1 1x0

x0 0

ln x x−1

x−1 −1x−2

x−2 −2x−3

I The derivative of a powerfunction is a power functionof one lower power

I Each power function is thederivative of another powerfunction, except x−1

I ln x fills in this gapprecisely.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 22 / 34

Page 39: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Outline

Recall Section 3.1–3.2

Derivative of the natural exponential functionExponential Growth

Derivative of the natural logarithm function

Derivatives of other exponentials and logarithmsOther exponentialsOther logarithms

Logarithmic DifferentiationThe power rule for irrational powers

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 23 / 34

Page 40: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Use implicit differentiation to findddx

ax.

SolutionLet y = ax, so

ln y = lnax = x ln a

Differentiate implicitly:

1ydydx

= ln a =⇒ dydx

= (ln a)y = (ln a)ax

Before we showed y′ = y′(0)y, so now we know that

ln a = limh→0

ah − 1h

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 24 / 34

Page 41: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Use implicit differentiation to findddx

ax.

SolutionLet y = ax, so

ln y = lnax = x ln a

Differentiate implicitly:

1ydydx

= ln a =⇒ dydx

= (ln a)y = (ln a)ax

Before we showed y′ = y′(0)y, so now we know that

ln a = limh→0

ah − 1h

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 24 / 34

Page 42: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Use implicit differentiation to findddx

ax.

SolutionLet y = ax, so

ln y = lnax = x ln a

Differentiate implicitly:

1ydydx

= ln a =⇒ dydx

= (ln a)y = (ln a)ax

Before we showed y′ = y′(0)y, so now we know that

ln a = limh→0

ah − 1h

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 24 / 34

Page 43: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Use implicit differentiation to findddx

ax.

SolutionLet y = ax, so

ln y = lnax = x ln a

Differentiate implicitly:

1ydydx

= ln a =⇒ dydx

= (ln a)y = (ln a)ax

Before we showed y′ = y′(0)y, so now we know that

ln a = limh→0

ah − 1h

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 24 / 34

Page 44: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Findddx

loga x.

SolutionLet y = loga x, so ay = x. Now differentiate implicitly:

(ln a)aydydx

= 1 =⇒ dydx

=1

ay ln a=

1x ln a

Another way to see this is to take the natural logarithm:

ay = x =⇒ y ln a = ln x =⇒ y =ln xln a

Sodydx

=1ln a

1x.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 25 / 34

Page 45: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Findddx

loga x.

SolutionLet y = loga x, so ay = x.

Now differentiate implicitly:

(ln a)aydydx

= 1 =⇒ dydx

=1

ay ln a=

1x ln a

Another way to see this is to take the natural logarithm:

ay = x =⇒ y ln a = ln x =⇒ y =ln xln a

Sodydx

=1ln a

1x.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 25 / 34

Page 46: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Findddx

loga x.

SolutionLet y = loga x, so ay = x. Now differentiate implicitly:

(ln a)aydydx

= 1 =⇒ dydx

=1

ay ln a=

1x ln a

Another way to see this is to take the natural logarithm:

ay = x =⇒ y ln a = ln x =⇒ y =ln xln a

Sodydx

=1ln a

1x.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 25 / 34

Page 47: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Other logarithms

Example

Findddx

loga x.

SolutionLet y = loga x, so ay = x. Now differentiate implicitly:

(ln a)aydydx

= 1 =⇒ dydx

=1

ay ln a=

1x ln a

Another way to see this is to take the natural logarithm:

ay = x =⇒ y ln a = ln x =⇒ y =ln xln a

Sodydx

=1ln a

1x.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 25 / 34

Page 48: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

More examples

Example

Findddx

log2(x2 + 1)

Answer

dydx

=1ln 2

1x2 + 1

(2x) =2x

(ln 2)(x2 + 1)

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 26 / 34

Page 49: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

More examples

Example

Findddx

log2(x2 + 1)

Answer

dydx

=1ln 2

1x2 + 1

(2x) =2x

(ln 2)(x2 + 1)

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 26 / 34

Page 50: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Outline

Recall Section 3.1–3.2

Derivative of the natural exponential functionExponential Growth

Derivative of the natural logarithm function

Derivatives of other exponentials and logarithmsOther exponentialsOther logarithms

Logarithmic DifferentiationThe power rule for irrational powers

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 27 / 34

Page 51: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

A nasty derivative

Example

Let y =(x2 + 1)

√x+ 3

x− 1. Find y′.

SolutionWe use the quotient rule, and the product rule in the numerator:

y′ =(x− 1)

[2x

√x+ 3+ (x2 + 1)12(x+ 3)−1/2

]− (x2 + 1)

√x+ 3(1)

(x− 1)2

=2x

√x+ 3

(x− 1)+

(x2 + 1)2√x+ 3(x− 1)

− (x2 + 1)√x+ 3

(x− 1)2

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 28 / 34

Page 52: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

A nasty derivative

Example

Let y =(x2 + 1)

√x+ 3

x− 1. Find y′.

SolutionWe use the quotient rule, and the product rule in the numerator:

y′ =(x− 1)

[2x

√x+ 3+ (x2 + 1)12(x+ 3)−1/2

]− (x2 + 1)

√x+ 3(1)

(x− 1)2

=2x

√x+ 3

(x− 1)+

(x2 + 1)2√x+ 3(x− 1)

− (x2 + 1)√x+ 3

(x− 1)2

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 28 / 34

Page 53: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Another way

y =(x2 + 1)

√x+ 3

x− 1

ln y = ln(x2 + 1) +12ln(x+ 3)− ln(x− 1)

1ydydx

=2x

x2 + 1+

12(x+ 3)

− 1x− 1

So

dydx

=

(2x

x2 + 1+

12(x+ 3)

− 1x− 1

)y

=

(2x

x2 + 1+

12(x+ 3)

− 1x− 1

)(x2 + 1)

√x+ 3

x− 1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 29 / 34

Page 54: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Compare and contrast

I Using the product, quotient, and power rules:

y′ =2x

√x+ 3

(x− 1)+

(x2 + 1)2√x+ 3(x− 1)

− (x2 + 1)√x+ 3

(x− 1)2

I Using logarithmic differentiation:

y′ =(

2xx2 + 1

+1

2(x+ 3)− 1

x− 1

)(x2 + 1)

√x+ 3

x− 1

I Are these the same?I Which do you like better?I What kinds of expressions are well-suited for logarithmic

differentiation?

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 30 / 34

Page 55: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Compare and contrast

I Using the product, quotient, and power rules:

y′ =2x

√x+ 3

(x− 1)+

(x2 + 1)2√x+ 3(x− 1)

− (x2 + 1)√x+ 3

(x− 1)2

I Using logarithmic differentiation:

y′ =(

2xx2 + 1

+1

2(x+ 3)− 1

x− 1

)(x2 + 1)

√x+ 3

x− 1

I Are these the same?

I Which do you like better?I What kinds of expressions are well-suited for logarithmic

differentiation?

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 30 / 34

Page 56: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Compare and contrast

I Using the product, quotient, and power rules:

y′ =2x

√x+ 3

(x− 1)+

(x2 + 1)2√x+ 3(x− 1)

− (x2 + 1)√x+ 3

(x− 1)2

I Using logarithmic differentiation:

y′ =(

2xx2 + 1

+1

2(x+ 3)− 1

x− 1

)(x2 + 1)

√x+ 3

x− 1

I Are these the same?I Which do you like better?

I What kinds of expressions are well-suited for logarithmicdifferentiation?

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 30 / 34

Page 57: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Compare and contrast

I Using the product, quotient, and power rules:

y′ =2x

√x+ 3

(x− 1)+

(x2 + 1)2√x+ 3(x− 1)

− (x2 + 1)√x+ 3

(x− 1)2

I Using logarithmic differentiation:

y′ =(

2xx2 + 1

+1

2(x+ 3)− 1

x− 1

)(x2 + 1)

√x+ 3

x− 1

I Are these the same?I Which do you like better?I What kinds of expressions are well-suited for logarithmic

differentiation?

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 30 / 34

Page 58: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of powers.

.

QuestionLet y = xx. Which of these is true?

(A) Since y is a power function,y′ = x · xx−1 = xx.

(B) Since y is an exponentialfunction, y′ = (ln x) · xx

(C) Neither ..x

.y

..1

..1

Answer

(A) This can’t be y′ because xx > 0 for all x > 0, and this function decreasesat some places

(B) This can’t be y′ because (ln x)xx = 0 when x = 1, and this function doesnot have a horizontal tangent at x = 1.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 31 / 34

Page 59: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of powers.

.

QuestionLet y = xx. Which of these is true?

(A) Since y is a power function,y′ = x · xx−1 = xx.

(B) Since y is an exponentialfunction, y′ = (ln x) · xx

(C) Neither ..x

.y

..1

..1

Answer

(A) This can’t be y′ because xx > 0 for all x > 0, and this function decreasesat some places

(B) This can’t be y′ because (ln x)xx = 0 when x = 1, and this function doesnot have a horizontal tangent at x = 1.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 31 / 34

Page 60: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

It's neither! Or both?

SolutionIf y = xx, then

ln y = x ln x1ydydx

= x · 1x+ ln x = 1+ ln x

dydx

= (1+ ln x)xx = xx + (ln x)xx

Remarks

I Each of these terms is one of the wrong answers!I y′ < 0 on the interval (0,e−1)

I y′ = 0 when x = e−1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 32 / 34

Page 61: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

It's neither! Or both?

SolutionIf y = xx, then

ln y = x ln x1ydydx

= x · 1x+ ln x = 1+ ln x

dydx

= (1+ ln x)xx = xx + (ln x)xx

Remarks

I Each of these terms is one of the wrong answers!

I y′ < 0 on the interval (0,e−1)

I y′ = 0 when x = e−1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 32 / 34

Page 62: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

It's neither! Or both?

SolutionIf y = xx, then

ln y = x ln x1ydydx

= x · 1x+ ln x = 1+ ln x

dydx

= (1+ ln x)xx = xx + (ln x)xx

Remarks

I Each of these terms is one of the wrong answers!I y′ < 0 on the interval (0,e−1)

I y′ = 0 when x = e−1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 32 / 34

Page 63: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of power functions with any exponent

Fact (The power rule)

Let y = xr. Then y′ = rxr−1.

Proof.

y = xr =⇒ ln y = r ln x

Now differentiate:

1ydydx

=rx

=⇒ dydx

= ryx= rxr−1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 33 / 34

Page 64: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Derivatives of power functions with any exponent

Fact (The power rule)

Let y = xr. Then y′ = rxr−1.

Proof.

y = xr =⇒ ln y = r ln x

Now differentiate:

1ydydx

=rx

=⇒ dydx

= ryx= rxr−1

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 33 / 34

Page 65: Lesson 14: Derivatives of Exponential and Logarithmic Functions (Section 041 slides)

. . . . . .

Summary

I Derivatives of logarithmic and exponential functions:

y y′

ex ex

ax (ln a) · ax

ln x1x

loga x1ln a

· 1x

I Logarithmic Differentiation can allow us to avoid the product andquotient rules.

V63.0121.041, Calculus I (NYU) Section 3.3 Derivs of Exp and Log October 25, 2010 34 / 34