CBSE Mathematics · 2026–27 · Class 12
The curve rises steeply near zero and gently farther along. How can one formula capture both behaviours? Start with the slope of ln x, then use logarithms to make products and changing powers easier to differentiate.
- Derive the slope 1/x from a logarithmic limit.
- Differentiate logarithms and exponentials with different bases.
- Include the inner derivative in a composite function.
- Use logarithmic differentiation on positive products and quotients.
- Differentiate x^x and interpret the sign of its derivative.
The slope of ln x is 1/x
At a positive input x, the derivative measures the limiting slope of nearby secants on . Begin with the definition:
For sufficiently small h, both x and x+h are positive. Combine the logarithms, then divide the small change by x:
As h approaches zero, h/x also approaches zero. The bracketed logarithm ratio tends to 1, giving
The formula agrees with the graph. Its slope is positive everywhere in its domain, so the curve increases. But the slope becomes smaller as x grows: at x=1 it is 1, at x=2 it is 1/2, and at x=5 it is 1/5.
A tangent slope is not the height of the curve. At x=1, the height is , while the slope is 1. Keep these quantities separate when reading the exploration. To find a tangent line, use both the point and the slope in .
There is no tangent to the real ln curve at x=0 because that point is outside the domain. The derivative formula does not extend the original function to nonpositive inputs.
Work it through
Example. Find the tangent to at x=1.
The point is (1,0) and the slope is 1. Therefore , or .
Enable JavaScript to explore the inputs. The explanation and worked example remain available here.
Pause. Think. Try.
Other bases keep a constant factor
Changing the logarithm base changes a constant multiplier. For a fixed , , Since does not depend on x, differentiation gives
If b>1, the factor ln b is positive and the derivative is positive. If 0<b<1, ln b is negative and the derivative is negative. This is the calculus version of the two logarithm graph families. For the common logarithm, , not simply 1/x.
Exponentials have a matching pair of rules. The standard limit for gives In particular, , because ln e=1. If a=1, the function is constant and the derivative is 0; the same expression gives 1·ln 1=0.
The multiplier ln a is essential. For example, the slope of is , whereas the slope of is negative. Differentiate the function that is actually written rather than treating every exponential as e^x.
In these rules the base is a fixed constant. If the base itself depends on x, as in x^x, a different argument is needed. We will build that method after the chain rule.
Work it through
Example. Differentiate .
The negative derivative matches the decreasing graph.
Pause. Think. Try.
Differentiate the inside as well
For , the logarithm is applied to an expression that changes three times as fast as x. The chain rule records both layers: differentiate the outer logarithm, then multiply by the derivative of its argument.
This rule requires f to be differentiable and on the interval being considered. The positivity condition belongs to the original logarithm; it cannot be discarded after simplifying the derivative.
For a fixed valid base b, the extra constant remains:
Similarly, , and for a fixed a>0. Always identify the inside function before applying a memorised rule.
Compare and . Their derivatives look similar, but their domains differ. The first exists for every real x and has derivative . The second requires or , and has derivative only on those intervals.
A useful check is to name the inside, its derivative and its allowed inputs in three short steps. This prevents both a missing multiplier and a derivative used where the original function never existed.
Work it through
Example. Differentiate .
The domain is 3 x−2>0, or x>2/3. The inner derivative is 3, so A denominator of 3 x−2 alone would omit the chain-rule factor.
Pause. Think. Try.
Use logs to untangle a positive product
A long product with powers may be easier to differentiate after taking a logarithm. Logarithms turn products into sums, quotients into differences and powers into coefficients. Differentiate the simpler relation, then recover the derivative of the original function.
Consider On this stated interval, every factor and y itself is positive. Taking natural logarithms is therefore legal:
Now differentiate both sides. The left side also needs the chain rule because y depends on x:
Finally multiply by y and substitute its original expression:
Stopping at y′/y would give the relative rate of change, not the derivative y′. The last multiplication is part of the method.
Why did we state x>0? It makes the positive-log expansion valid in every line. The original rational expression may exist elsewhere, but this derivation is deliberately restricted to the stated interval. If a problem asks for other sign intervals, handle them carefully with absolute-value logarithms or direct differentiation; do not take ln of a negative factor.
Choose this method because it simplifies the structure, not because every product must be treated this way. A short product may be quicker with the ordinary product rule.
Work it through
Example. For , find y′ at x=1.
Here y=8/3 and . Therefore
Pause. Think. Try.
When both the base and exponent change
In , neither the ordinary fixed-power rule nor the fixed-base exponential rule applies on its own: x appears in both positions. Work on x>0 so that the real variable power can be written as .
Taking logarithms exposes a familiar product:
Differentiate with respect to x. The left side gives y′/y; the right side uses the product rule:
Multiplying by y gives the result
The derivative’s sign is especially easy to read. The factor x^x is positive, so the sign comes from ln x + 1. It is negative for 0<x<1/e, zero at x=1/e and positive for x>1/e. Thus the function decreases and then increases, with a minimum at 1/e. A changing exponent does not force a function to increase everywhere.
The same method handles on an interval where f>0 and both functions are differentiable. Write , then use the product and chain rules:
Use the expanded reasoning until the two contributions are clear: one comes from the changing exponent, the other from the changing base. Keep the positive-base interval visible throughout.
Work it through
Example. Differentiate on x>−1.
Write . Then , giving
Pause. Think. Try.
Your chapter checkpoint
Mix the ideas. Try each question before opening its explanation.
Write the reasoning
Show the domain, the key steps and a check of your answer.
A product with a square root
Use logarithmic differentiation to find the derivative of on x>0, and check it by the product rule.Compare your solution
Both y and its factors are positive. Take logs:
Multiply by y and simplify:
The ordinary product rule gives the same first sum. The derivation above is on the requested x>0 interval.
A changing base and exponent
Find the derivative of on x>0, then evaluate it at x=1.Compare your solution
Take logs: . Differentiate using the product rule:
At x=1 this gives . The rewrite gives the same expression using the chain rule.
You can now differentiate a changing power
You have linked slopes, logarithm rules and the chain rule, then used them on positive products and variable powers. Practise x^x once more without the solution. Continue to logarithmic and exponential integrals to reverse the process.
