Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
3.1 Chain rule
3.2 Implicit differentiation
3.3 Logarithmic differentiation
3.4 Derivatives of inverse functions
3.5 Inverse trig derivatives
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
9. Testing details tag
10. test
Wrapping up
Achievable logoAchievable logo
3.3 Logarithmic differentiation
Achievable AP Calculus AB
3. Advanced differentiation
Our AP Calculus AB course is currently in development and is a work-in-progress.

Logarithmic differentiation

7 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • Apply log properties and use logarithmic differentiation to simplify expressions.
  • Differentiating functions with variables in both the base and exponent (e.g. y=xx)

Consider the function y=x3x2+2x​(2x+1)2​

Differentiating this would be fairly tedious since it uses every standard derivative rule (power, product, quotient, chain) at some point, some of those more than once.

Logarithmic differentiation simplifies this entire process by utilizing log properties to break complex functions apart into simpler ones before differentiating.

The technique is also useful for differentiating functions that have the variable in both the base and the exponent, such as y=xx.

Here’s how to do this:

Step-by-step process

  1. Take the natural logarithm of both sides (skip if one side is already a single logarithm with a complicated argument)
  2. Expand using log properties.
  3. Differentiate implicitly
  4. Isolate y′ to find the derivative

The log properties to remember are:

Name Formula
Product logb​(xy)=logb​(x)+logb​(y)
Quotient logb​(yx​)=logb​(x)−logb​(y)
Power logb​(xp)=p⋅logb​(x)
Root logb​(rx​)=r1​⋅logb​(x)

Let’s use the function at the start as an example:

Differentiate y=x3x2+2x​(2x+1)2​

1. Take the natural log of both sides

ln(y)=ln(x3x2+2x​(2x+1)2​)

2. Expand using log properties

Using the product and quotient properties,

ln(y)=ln(2x+1)2−ln(x3)−ln(x2+2x​)

Using the power and root properties,

ln(y)=2ln(2x+1)−3ln(x)−21​ln(x2+2x)

Now this is significantly easier to differentiate.

3. Differentiate implicitly

Don’t forget the chain rule!

y1​⋅y′=2(2x+11​)⋅2−3(x1​)−2(x2+2x)1​⋅(2x+2)

y1​⋅y′=2x+14​−x3​−x2+2xx+1​

4. Isolate y′ to find the derivative

Just multiply by y on both sides and replace y with the original function to write y′ in terms of x only.

y′=(2x+14​−x3​−x2+2xx+1​)⋅(x3x2+2x​(2x+1)2​)​

Logarithmic differentiation is also useful when a function is in the exponent of another function, as opposed to either the base or the exponent being a constant.

Here’s a classic example:

1. Differentiate y=xx

Solution

1. Take the natural log of both sides

ln(y)=ln(xx)

2. Use log properties

Applying the power property of logs,

ln(y)=xln(x)

3. Differentiate implicitly

y1​⋅y′=x⋅x1​+ln(x)⋅1

y1​⋅y′=1+ln(x)

4. Isolate y′ to find the derivative

Multiplying both sides by y,

y′=(1+ln(x))⋅y

Replace y with the original function so that the derivative is in terms of x:

y′=xx(1+ln(x))​

Let’s increase the difficulty:

Find the derivative of

y=xxx2

Solution

(spoiler)

1. Take the natural log of both sides

ln(y)=ln(xxx2)

2. Use log properties

Using the power property,

ln(y)=xx2ln(x)

Because the right side still has a variable in the exponent of the variable, take the natural log of both sides again:

ln(ln(y))=ln(xx2ln(x))

Using the product property to separate the right side,

ln(ln(y))=ln(xx2)+ln(ln(x))

Then using the power property,

ln(ln(y)))=x2ln(x)+ln(ln(x))

3. Differentiate implicitly

Don’t forget the chain rule!

ln(y)1​⋅y1​⋅y′=x2⋅x1​+ln(x)⋅(2x)+ln(x)1​⋅x1​

yln(y)1​⋅y′=x+2xln(x)+xln(x)1​

4. Isolate y′ to find the derivative

Multiplying both sides by yln(y),

y′=(x+2xln(x)+xln(x)1​)⋅yln(y)

Lastly, replace every instance of y with the original function.

y′=(x+2xln(x)+xln(x)1​)⋅xxx2ln(xxx2)​

Examples

1. The total resistance in a circuit is modeled by the function

R(V)=(V−2V2+1​)3⋅5x+4​

Find R′(V) (or in other words, dVdR​) using logarithmic differentiation.

Solution

(spoiler)

1. Take the natural log of both sides

ln(R(V))=ln((V−2V2+1​)3⋅5x+4​)

2. Expand using log properties

Using the product property,

ln(R(V))=ln((V−2V2+1​)3)+ln(5x+4​)

Using the power and root properties,

ln(R(V))=3ln(V−2V2+1​)+21​ln(5x+4)

Using the quotient property,

ln(R(V))=3ln(V2+1)−3ln(V−2)+21​ln(5x+4)

3. Differentiate implicitly

Don’t forget the chain rule!

R(V)1​⋅dVdR​=V2+13​⋅(2V)−V−23​+2(5x+4)1​⋅(5)

Simplifying,

R(V)1​⋅dVdR​=V2+16V​−V−23​+10x+85​

4. Isolate dVdR​ to find the derivative

Multiply both sides by R(V) and replace with the original function (that was in terms of V).

dVdR​=(V2+16V​−V−23​+10x+85​)⋅(V−2V2+1​)3⋅5x+4​​

2. The population of a bacterial culture is modeled by

P(t)=(t2−t)3⋅e2t⋅ln(t+1)

Find the instantaneous rate of change of the population at time t=1.

Solution

(spoiler)

1. Take the natural log of both sides

ln(P)=ln((t2−t)3⋅e2t⋅ln(t+1))

2. Expand using log properties

Using the product property,

ln(P)=ln((t2−t)3)+ln(e2t)+ln(ln(t+1)))

Then using the power property,

ln(P)=3ln(t2−t)+2tln(e)+ln(ln(t+1)))

ln(e)=1 so the equation simplifies to

ln(P)=3ln(t2−t)+2t+ln(ln(t+1)))

3. Differentiate implicitly

P1​⋅P′(t)=3⋅t2−t1​⋅(2t−1)+2+ln(t+1)1​⋅t+11​⋅1

4. Isolate P′ to find the derivative

Multiply both sides by P and replace with the original function that was in terms of t:

P′(t)=[t2−t6t−3​+2+(t+1)ln(t+1)1​]⋅(t2−t)3⋅e2t⋅ln(t+1)

At t=1, the instantaneous rate of change of the population is

P′(1)=[(1)2−16(1)−3​+2+(1+1)ln(1+1)1​]⋅(12−1)3⋅e2(1)⋅ln(1+1)

=0​

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.