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 Higher order derivatives
3.4 Logarithmic differentiation
3.5 Derivatives of inverse functions
3.6 Inverse trig derivatives
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
Wrapping up
Achievable logoAchievable logo
3.4 Logarithmic differentiation
Achievable AP Calculus AB
3. Advanced differentiation
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Logarithmic differentiation

6 min read
Font
Discuss
Share
Feedback

What you’ll learn

  • Applying log properties and using 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 directly can get tedious because you’d need to use several derivative rules (power, product, quotient, and chain), and some of them more than once.

Logarithmic differentiation streamlines the work by taking a logarithm first, then using log properties to rewrite a complicated expression as a sum and difference of simpler terms. After that, differentiation is much more straightforward.

This technique is also useful when the variable appears 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​(xn)=n⋅logb​(x)

Examples

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

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

1. Take the natural log of both sides

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

2. Expand using log properties

First use the quotient property to turn the fraction into a difference:

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

Apply the product property on the 2nd logarithm:

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

Now use the power property to bring exponents to the front:

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

At this point, each term is a constant multiple of a simple logarithm, which is much easier to differentiate.

3. Differentiate implicitly

Differentiate both sides with respect to x. On the left, use the chain rule: dxd​[ln(y)]=y1​⋅y′.

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

Simplifying,

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

4. Isolate y′ to find the derivative

Multiply both sides by y, then replace y with the original function so the final answer is written in terms of x.

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

Logarithmic differentiation is also useful when the function appears in an exponent (so the exponent is not a constant).

  1. Differentiate y=xx
(spoiler)

1. Take the natural log of both sides

ln(y)=ln(xx)

2. Use log properties

Apply the power property ln(ab)=bln(a):

ln(y)=xln(x)

3. Differentiate implicitly

Differentiate both sides. On the right, use the product rule.

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

4. Isolate y′ to find the derivative

Multiply both sides by y, then substitute y=xx.

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

  1. Find the derivative of y=xlnx
(spoiler)

1. Take the natural log of both sides

ln(y)=ln(xlnx)

2. Use log properties

Use the power property to bring the exponent down:

ln(y)=ln(x)⋅ln(x)=(lnx)2

3. Differentiate implicitly

Differentiate both sides with respect to x. On the right, use the chain rule.

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

4. Isolate y′ to find the derivative

Multiply both sides by y, then substitute y=xlnx.

y′=xlnx⋅x2ln(x)​​

If the function is already written as a logarithm, you can skip directly to expanding using logarithmic properties. The last step of multiplying by y is also not necessary.

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

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

Find R′(V).

(spoiler)

1. Expand using log properties

Use the product property first:

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

Now use the power and root properties:

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

Finally, use the quotient property:

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

2. Differentiate

Differentiate both sides with respect to V.

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

Simplifying,

R′(V)=V2+16V​−V−23​+10V+85​​

Logarithmic Differentiation Overview

  • Streamlines differentiation of complex products, quotients, and variable exponents
  • Steps: take natural log, expand with log properties, differentiate implicitly, solve for y′
  • Key log properties:
    • Product: logb​(xy)=logb​(x)+logb​(y)
    • Quotient: logb​(yx​)=logb​(x)−logb​(y)
    • Power: logb​(xn)=nlogb​(x)

Example: y=x3x2+2x​(2x+1)2​

  • Log expansion: 2ln(2x+1)−3ln(x)−21​ln(x2+2x)
  • Derivative: y′=(2x+14​−x3​−x2+2xx+1​)⋅x3x2+2x​(2x+1)2​

Variable in Both Base and Exponent (e.g., y=xx)

  • Log expansion: ln(y)=xln(x)
  • Derivative: y′=xx(1+ln(x))

Nested Exponents (e.g., y=xxx2)

  • Multiple log steps: ln(ln(y))=x2ln(x)+ln(ln(x))
  • Derivative: y′=(x+2xln(x)+xln(x)1​)⋅xxx2ln(xxx2)

Functions Already in Logarithmic Form

  • Expand using log properties before differentiating
  • Example: R(V)=ln[(V−2V2+1​)35x+4​]
    • Expansion: 3ln(V2+1)−3ln(V−2)+21​ln(5x+4)
    • Derivative: R′(V)=V2+16V​−V−23​+10x+85​

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

All rights reserved ©2016 - 2026 Achievable, Inc.

Logarithmic differentiation

What you’ll learn

  • Applying log properties and using 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 directly can get tedious because you’d need to use several derivative rules (power, product, quotient, and chain), and some of them more than once.

Logarithmic differentiation streamlines the work by taking a logarithm first, then using log properties to rewrite a complicated expression as a sum and difference of simpler terms. After that, differentiation is much more straightforward.

This technique is also useful when the variable appears 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​(xn)=n⋅logb​(x)

Examples

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

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

1. Take the natural log of both sides

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

2. Expand using log properties

First use the quotient property to turn the fraction into a difference:

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

Apply the product property on the 2nd logarithm:

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

Now use the power property to bring exponents to the front:

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

At this point, each term is a constant multiple of a simple logarithm, which is much easier to differentiate.

3. Differentiate implicitly

Differentiate both sides with respect to x. On the left, use the chain rule: dxd​[ln(y)]=y1​⋅y′.

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

Simplifying,

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

4. Isolate y′ to find the derivative

Multiply both sides by y, then replace y with the original function so the final answer is written in terms of x.

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

Logarithmic differentiation is also useful when the function appears in an exponent (so the exponent is not a constant).

  1. Differentiate y=xx
(spoiler)

1. Take the natural log of both sides

ln(y)=ln(xx)

2. Use log properties

Apply the power property ln(ab)=bln(a):

ln(y)=xln(x)

3. Differentiate implicitly

Differentiate both sides. On the right, use the product rule.

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

4. Isolate y′ to find the derivative

Multiply both sides by y, then substitute y=xx.

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

  1. Find the derivative of y=xlnx
(spoiler)

1. Take the natural log of both sides

ln(y)=ln(xlnx)

2. Use log properties

Use the power property to bring the exponent down:

ln(y)=ln(x)⋅ln(x)=(lnx)2

3. Differentiate implicitly

Differentiate both sides with respect to x. On the right, use the chain rule.

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

4. Isolate y′ to find the derivative

Multiply both sides by y, then substitute y=xlnx.

y′=xlnx⋅x2ln(x)​​

If the function is already written as a logarithm, you can skip directly to expanding using logarithmic properties. The last step of multiplying by y is also not necessary.

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

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

Find R′(V).

(spoiler)

1. Expand using log properties

Use the product property first:

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

Now use the power and root properties:

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

Finally, use the quotient property:

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

2. Differentiate

Differentiate both sides with respect to V.

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

Simplifying,

R′(V)=V2+16V​−V−23​+10V+85​​

Key points

Logarithmic Differentiation Overview

  • Streamlines differentiation of complex products, quotients, and variable exponents
  • Steps: take natural log, expand with log properties, differentiate implicitly, solve for y′
  • Key log properties:
    • Product: logb​(xy)=logb​(x)+logb​(y)
    • Quotient: logb​(yx​)=logb​(x)−logb​(y)
    • Power: logb​(xn)=nlogb​(x)

Example: y=x3x2+2x​(2x+1)2​

  • Log expansion: 2ln(2x+1)−3ln(x)−21​ln(x2+2x)
  • Derivative: y′=(2x+14​−x3​−x2+2xx+1​)⋅x3x2+2x​(2x+1)2​

Variable in Both Base and Exponent (e.g., y=xx)

  • Log expansion: ln(y)=xln(x)
  • Derivative: y′=xx(1+ln(x))

Nested Exponents (e.g., y=xxx2)

  • Multiple log steps: ln(ln(y))=x2ln(x)+ln(ln(x))
  • Derivative: y′=(x+2xln(x)+xln(x)1​)⋅xxx2ln(xxx2)

Functions Already in Logarithmic Form

  • Expand using log properties before differentiating
  • Example: R(V)=ln[(V−2V2+1​)35x+4​]
    • Expansion: 3ln(V2+1)−3ln(V−2)+21​ln(5x+4)
    • Derivative: R′(V)=V2+16V​−V−23​+10x+85​

More from Advanced differentiation

  • Chain rule
  • Implicit differentiation
  • Higher order derivatives
  • Derivatives of inverse functions
  • Inverse trig derivatives