Learn how to differentiate functions raised to powers, complicated products, and quotients by taking logarithms first. Three worked examples show the full method step by step.
Logarithmic differentiation is the go-to method when a function involves powers of x or y, long products, or messy quotients. This lesson first reviews the laws of logarithms you need, then works through three examples: a square-root quotient, the derivative of a constant raised to x, and a product of three bracketed factors. Each example follows the same routine of taking logs on both sides, simplifying, and differentiating implicitly.
What you'll learn
When to reach for logarithmic differentiation: powers of x or y, long products, and awkward quotients
The logarithm laws that turn products, quotients, and powers into sums and multiples
The take-logs-on-both-sides routine, then differentiating implicitly to find the derivative
Lesson chapters
0:00When to use logarithmic differentiation and the log laws
1:54Example 1: a square-root quotient
7:05Example 2: derivative of a constant raised to x
8:24Example 3: a product of three bracketed factors
Lesson notes
This lesson introduces logarithmic differentiation: the method you use when a function is a power of x or y, a complicated product, or a quotient that would be painful to differentiate directly. The idea is to take logarithms of both sides first, simplify with the log laws, and then differentiate.
When to use it
Use logarithmic differentiation when the function involves:
a power whose base or exponent contains x or y,
a product of more than two functions,
a complicated quotient.
Laws of logarithms
These are the rules we lean on to simplify before differentiating.
log(ab)=loga+logb
log(ba)=loga−logb
logxm=mlogx
Special cases follow from the power rule:
logx=logx1/2=21logx,logna=n1loga
and for products of three factors,
log(abc)=loga+logb+logc.
Also loge=1, log1=0, and logex=xloge=x.
Example 1: a square-root quotient
Differentiate
y=3x2+4x+3(x−3)(x2+4).
Set up. Write the square root as a power 21:
y=(3x2+4x+3(x−3)(x2+4))1/2.
Take logs on both sides and apply the laws:
logy=21[log(x−3)+log(x2+4)−log(3x2+4x+3)].
Differentiate with respect to x. The left side gives y1dxdy (implicit differentiation):
y1dxdy=21[x−31+x2+42x−3x2+4x+36x+4].
Solve for the derivative by multiplying through by y and substituting y back: