How Logarithms Tame a Function Like x to the Power x
Use logarithmic differentiation for functions with variable powers and long products, find second-order derivatives of explicit and parametric functions, and choose the right differentiation technique for any function.
Why do some functions need a special differentiation trick?
The power rule handles and the exponential rule handles , but neither handles , where both the base and the power vary. Taking logarithms first turns such powers into products. Differentiating twice then shows how a rate itself is changing.
This lesson covers logarithmic differentiation, second-order derivatives, and choosing the right technique.
This lesson covers logarithmic differentiation, second-order derivatives, and choosing the right technique.
How do you use logarithmic differentiation when y is f(x) raised to the power g(x)?
**For , take natural logarithms to get , differentiate both sides with respect to x, and multiply by y, giving .
Worked example.** Differentiate for .
At , .
Worked example 2. For :
Long products and quotients. For , , so .
An everyday example. Estimating how fast the number of possible codes grows when a lock uses n positions, each with n symbols, means differentiating — exactly this method.
The substance. **For , neither the power rule nor the exponential rule alone is right** — they give and , and the true derivative is their sum.
Worked example.** Differentiate for .
At , .
Worked example 2. For :
Long products and quotients. For , , so .
An everyday example. Estimating how fast the number of possible codes grows when a lock uses n positions, each with n symbols, means differentiating — exactly this method.
The substance. **For , neither the power rule nor the exponential rule alone is right** — they give and , and the true derivative is their sum.
How do you find the second-order derivative of a function?
**The second-order derivative is the derivative of , found by differentiating the first derivative again, and it measures how fast the slope itself is changing.
Worked example (explicit).** For :
At , .
Worked example (proving a relation). If , then and . Hence .
Worked example (parametric). For , , , so
An everyday example. A car's position, velocity and acceleration are a function, its first derivative and its second derivative.
The substance. ** is not ** — and for parametric curves it is not either.
Worked example (explicit).** For :
At , .
Worked example (proving a relation). If , then and . Hence .
Worked example (parametric). For , , , so
An everyday example. A car's position, velocity and acceleration are a function, its first derivative and its second derivative.
The substance. ** is not ** — and for parametric curves it is not either.
How do you choose the right differentiation technique for a given function?
Choose by the structure of the function: the chain rule for one function inside another, logarithmic differentiation for variable powers or long products, implicit differentiation when y is tangled with x, and parametric differentiation when x and y are both given in terms of a third variable.
A quick guide:
- Composite, such as — chain rule
- Variable power or long product, such as — logarithmic differentiation
- Implicit, such as — implicit differentiation
- Parametric, such as , — parametric differentiation
- Sums of variable powers, such as — differentiate each term separately
Worked example. Find for .
- gives
- gives
-
Worked example 2. For and , , which is 3 at .
An everyday example. A mechanic choosing a spanner, a screwdriver or pliers by looking at the fitting makes the same kind of decision as choosing a method from the form of a function.
The substance. Never take the logarithm of a sum in one step — does not split, so must be handled term by term.
A quick guide:
- Composite, such as — chain rule
- Variable power or long product, such as — logarithmic differentiation
- Implicit, such as — implicit differentiation
- Parametric, such as , — parametric differentiation
- Sums of variable powers, such as — differentiate each term separately
Worked example. Find for .
- gives
- gives
-
Worked example 2. For and , , which is 3 at .
An everyday example. A mechanic choosing a spanner, a screwdriver or pliers by looking at the fitting makes the same kind of decision as choosing a method from the form of a function.
The substance. Never take the logarithm of a sum in one step — does not split, so must be handled term by term.
Exam tip
What earns full marks on logarithmic differentiation and second derivatives?
**Write the line '' explicitly and multiply back by y at the end — an answer left as loses marks.**
- :
- Second derivative: differentiate again
- Parametric second derivative:
- Sums of variable powers: differentiate each term separately
The trap. Writing the logarithm of as . The logarithm of a sum does not split.
- :
- Second derivative: differentiate again
- Parametric second derivative:
- Sums of variable powers: differentiate each term separately
The trap. Writing the logarithm of as . The logarithm of a sum does not split.
Did you know
Where does x to the power x reach its lowest value?
For positive x, the function starts close to 1 when x is tiny, dips, and then climbs steeply. Its lowest point comes where the derivative is zero.
Since is never zero, the minimum is where , at . The minimum value is about 0.692.
So logarithmic differentiation leads straight to the number e — and to the next chapter's search for maxima and minima.
Since is never zero, the minimum is where , at . The minimum value is about 0.692.
So logarithmic differentiation leads straight to the number e — and to the next chapter's search for maxima and minima.
Exam relevance
How are logarithmic differentiation and second derivatives tested in JEE Main?
Continuity and Differentiability is a recurring JEE Main chapter, and second derivatives lead straight into maxima and minima and differential equations.
What gets asked. Derivatives of variable powers such as at a point, second derivatives of parametric curves, and relations to be proved, such as .
Question types. Mostly numerical-value and multiple-choice questions.
The trap that costs marks. **Dividing by ** for a parametric second derivative.
What gets asked. Derivatives of variable powers such as at a point, second derivatives of parametric curves, and relations to be proved, such as .
Question types. Mostly numerical-value and multiple-choice questions.
The trap that costs marks. **Dividing by ** for a parametric second derivative.
Key takeaways
What must you be able to do from this lesson?
- Logarithmic differentiation: take logs of , differentiate, and multiply by y
- Second-order derivatives: differentiate the first derivative; for parametric curves, divide by
- Choosing a method: chain rule, logarithmic, implicit or parametric, according to the form of the function
What is for at ?
- Second-order derivatives: differentiate the first derivative; for parametric curves, divide by
- Choosing a method: chain rule, logarithmic, implicit or parametric, according to the form of the function
What is for at ?