Question
Evaluate
∫x2+1xdx
Solution — Step by Step
The numerator x is (up to a constant) the derivative of x2+1. This is the dead giveaway for u-substitution.
du=2xdx, so xdx=21du.
∫x2+1xdx=∫u1⋅21du=21ln∣u∣+C
=21ln∣x2+1∣+C=21ln(x2+1)+C
(We drop the absolute value since x2+1>0 always.)
Final answer: 21ln(x2+1)+C.
Why This Works
The pattern ∫f′(x)/f(x)dx=ln∣f(x)∣+C is one of the highest-leverage tricks in CBSE Class 12 integration. Whenever the numerator looks like a derivative of the denominator, the answer is immediately a logarithm.
This single recognition cuts down 30% of CBSE 4-mark integration questions.
Alternative Method
Write x2+1x=21⋅x2+12x. The numerator is now exactly the derivative of the denominator, so the integral is 21ln(x2+1)+C in one line.
For ∫x2+11dx (no x in the numerator), the answer is tan−1x+C. Don’t confuse the two — the presence or absence of x in the numerator decides logarithm vs arctangent.
Common Mistake
Writing ∫x2+1xdx=tan−1(x2+1)+C. This mixes up two different patterns. The arctan formula needs x2+11 in the integrand (no x), not x2+1x.