CBSE Mathematics · 2026–27 · Class 12
If differentiation turns ln x into 1/x, integration should help us travel back. The return journey has an extra detail: signs and intervals matter. Learn to recognise a logarithm hiding inside an integrand and verify the result by differentiating it.
- Use ln|x| as an antiderivative of 1/x away from zero.
- Recognise an inner derivative divided by its function.
- Integrate exponentials while keeping the correct coefficient.
- Integrate ln x by parts with a clear choice of factors.
- Evaluate definite integrals on allowed intervals and reject crossings of a singularity.
Why 1/x leads to ln absolute x
Integration asks for a function whose derivative matches the integrand. Since for x>0, we already know an antiderivative of 1/x on the positive side. On the negative side, , and the chain rule gives
We can write both cases with an absolute value:
This formula applies on an interval that does not contain zero. For positive x, ln|x|=ln x; for negative x, ln|x|=ln(−x). The absolute value keeps the logarithm argument positive. It does not make the original integrand defined at zero.
The constant C matters because every vertical translate has the same derivative. On separate negative and positive intervals, the constants may be chosen independently; there is no requirement to join the antiderivatives through the missing point.
Do not try the usual power rule by substituting exponent−1 into : its denominator would be zero. The reciprocal case is the special one that produces a logarithm.
A quick derivative check is more reliable than memorising a shape. Differentiate your proposed answer on the interval in the question. If its derivative equals 1/x and its logarithm exists there, you have an antiderivative. If the problem crosses zero, pause and inspect the interval before using any endpoint subtraction.
Work it through
Example. Find on x<0.
An answer is , equivalently . Its derivative is . Writing 3 ln x would not define a real function on the requested negative interval.
Pause. Think. Try.
Spot a derivative divided by its function
A logarithm often hides in a fraction. If the numerator is the derivative of the denominator, reverse the chain rule:
Use this on an interval where f is differentiable and nonzero. A continuous nonzero f has a constant sign on that interval, so the absolute-value logarithm is well behaved there.
For a linear denominator, the inner derivative is its coefficient. Thus, for a≠0, The factor 1/a compensates for the chain-rule factor a that appears when you differentiate the answer.
Sometimes the match is exact. In , the numerator 2 x is the derivative of x²+4, so the result is . Here x²+4 is always positive, so absolute-value signs are unnecessary.
Sometimes a constant adjustment is needed. In , the numerator is half the inner derivative, giving .
Look for the pattern rather than declaring that every denominator gives a logarithm. For instance, lacks the factor x needed for this particular substitution. Recognising a useful method also means recognising when its numerator condition is missing. Finish by differentiating your result and checking the interval.
Work it through
Example. Find .
Set u=2 x−3, so du=2 dx and dx=du/2. Then Work on an interval lying entirely below or above x=3/2. Differentiation gives , the original integrand.
Pause. Think. Try.
Undo an exponential derivative
The exponential e^x is its own derivative, so it is also its own antiderivative:
If its exponent is a linear expression, compensate for the inner derivative. For a≠0, Differentiating the right side brings down a and cancels the factor 1/a.
For a fixed exponential base b>0 with b≠1, the derivative of b^x contains ln b. Reverse that multiplier:
More generally, when a≠0 and b≠1. If either factor in that denominator is zero, return to the actual function instead of dividing by zero. For example, b=1 makes the integrand 1, whose antiderivative is x+C; a=0 makes the integrand the constant b^c.
A base between 0 and 1 is allowed. Its logarithm is negative, so an antiderivative such as is negative before adding C. That does not contradict the positive integrand: the derivative of the antiderivative is positive. Function values and rates of change need not have the same sign.
Keep the two adjustments separate: one for the exponential base, and one for a changing inner exponent. A derivative check exposes either missing factor immediately.
Work it through
Example. Find .
Differentiating 2^(3 x) produces both ln 2 and the inner factor 3. Therefore Its derivative is .
Pause. Think. Try.
Integrate ln x by choosing two factors
The integral of ln x does not match the reciprocal pattern. Instead, view it as a product: . Integration by parts reverses the derivative of a product:
Choose the factor that becomes simpler when differentiated as u. On x>0, take Substitute every part before simplifying:
Hence
Check it: the derivative of x ln x is ln x + 1, and the derivative of−x is−1. The unwanted constants cancel, leaving ln x. The subtraction is doing real work; x ln x alone is not an antiderivative.
The same choice of u helps with a polynomial times ln x. For , keep u=ln x but choose dv=x dx, so v=x²/2. The remaining integral is simpler because the 1/x from du removes one power of x.
Before calculating, write a small two-column plan: what will be differentiated, and what will be integrated? If the second integral becomes harder, reconsider that choice. Here the logarithm is the factor to differentiate because its derivative is a simple reciprocal.
Work it through
Example. Find on x>0.
Differentiation gives x ln x+x/2−x/2=x ln x.
Pause. Think. Try.
Add an interval before subtracting endpoints
A definite integral combines an integrand with an interval. If 0<a<b, the function 1/x is positive and continuous on[a,b], so Its value is also the area below 1/x between those positive bounds. Reversing the bounds reverses the sign of the integral.
The answer depends on a ratio. From 1 to 2 and from 2 to 4, the integral is the same: ln 2. The second interval is twice as wide, but its curve is correspondingly lower. Use the area exploration to compare these intervals without confusing width with area.
Now inspect . Zero lies inside the interval, and 1/x is undefined there. You cannot substitute endpoints into ln|x| and announce 0. The fundamental endpoint rule needs its hypotheses: this integrand is not continuous across the interval.
If interpreted as an improper integral, the negative and positive sides must each converge separately. They do not, so the integral does not converge. Equal-looking areas on a symmetric sketch do not justify cancelling two divergences.
For every definite integral, use this order: check the whole interval, choose an antiderivative valid there, evaluate the upper endpoint, then subtract the lower endpoint. A logarithm’s absolute value keeps an argument positive but cannot repair a singularity inside the integration interval.
Work it through
Example. Evaluate .
The denominator is positive throughout[1,3]. An antiderivative is ln(x²+1), so The integrand is positive, and ln 5 is positive, providing a useful sign check.
Enable JavaScript to explore the inputs. The explanation and worked example remain available here.
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 negative interval is allowed
Evaluate , and explain the sign.Compare your solution
The interval stays entirely below zero, so the integrand is continuous there and 2 ln|x| is a valid antiderivative.
The result is negative because 2/x is below the horizontal axis throughout the interval. Negative bounds are allowed; crossing the singularity at zero is the problem to avoid.
Combine parts with definite bounds
Evaluate .Compare your solution
Integration by parts gives , valid for x>0. The entire interval [1,e] lies in that domain.
The integrand is nonnegative on[1,e], matching the positive result.
You can now recognise the logarithm inside an integral
You can reverse a chain rule, compensate for exponential multipliers and integrate ln x by parts. Revisit interval checks before mixing definite integrals. For a broader algebra workout, explore the JEE challenge route, or return to the logarithms course map.
