Question
Evaluate the definite integral:
∫01xnln(x)dx
where n>0.
(JEE Advanced 2023, similar pattern)
Solution — Step by Step
Let u=ln(x) and dv=xndx.
Then du=x1dx and v=n+1xn+1.
Using integration by parts: ∫udv=uv−∫vdu.
∫01xnln(x)dx=[n+1xn+1⋅ln(x)]01−∫01n+1xn+1⋅x1dx
=[n+1xn+1ln(x)]01−n+11∫01xndx
At x=1: n+11n+1⋅ln(1)=n+11⋅0=0.
At x=0: We need limx→0+n+1xn+1ln(x). Since n>0, xn+1→0 faster than ln(x)→−∞. By L’Hopital’s rule or direct analysis, this limit is 0.
So the boundary term vanishes: [n+1xn+1ln(x)]01=0−0=0.
−n+11∫01xndx=−n+11⋅[n+1xn+1]01=−n+11⋅n+11
=−(n+1)21
Why This Works
The trick is recognising that ln(x) becomes −∞ as x→0+, but xn goes to 0 fast enough to “tame” the logarithm. The product xnln(x) approaches 0 as x→0+ for any n>0. This is why the boundary term vanishes.
The result −(n+1)21 is negative, which makes sense: on [0,1], xn>0 but ln(x)<0 (since ln(x) is negative for 0<x<1). So the integrand is negative throughout the interval, and the integral must be negative.
This result has a beautiful connection to the Euler-Mascheroni constant and the Gamma function in advanced mathematics.
Alternative Method — Differentiation under the integral sign
Consider I(n)=∫01xndx=n+11.
Differentiate both sides with respect to n:
dndI=∫01∂n∂(xn)dx=∫01xnln(x)dx
And dnd(n+11)=−(n+1)21.
This technique — differentiating a known integral with respect to a parameter — is sometimes called Feynman’s trick. It’s extremely powerful for JEE Advanced and often gives results faster than integration by parts. If you see a parameter inside the integrand and a known “base” integral, try this approach.
Common Mistake
Many students panic at the lower limit x=0 because ln(0) is undefined. They declare the integral “divergent” without checking. But the integral is perfectly convergent — xn kills the ln(x) singularity. Always evaluate the limit carefully before concluding that an improper integral diverges.