इस पर अटक गए? इसे AI से हल करें
Calculus · real student question

Evaluate the integral of ln x with respect to x from 0 to 1.

Question

Evaluate

∫01ln⁡x dx\int_0^1\ln x\,dx

Step-by-step solution

  1. Notice that the integral is improper before computing anything. ln⁡x→−∞\ln x\to-\infty as x→0+x\to0^+, so the integrand is unbounded at the lower endpoint. The integral must be defined as a limit:

    ∫01ln⁡x dx=lim⁡a→0+∫a1ln⁡x dx\int_0^1\ln x\,dx=\lim_{a\to0^+}\int_a^1\ln x\,dx

    Skipping this and plugging in 00 directly produces the undefined expression 0⋅ln⁡00\cdot\ln 0.

  2. Find the antiderivative by parts. Take u=ln⁡xu=\ln x and dv=dxdv=dx, so du=dxxdu=\tfrac{dx}{x} and v=xv=x:

    ∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+C\int\ln x\,dx=x\ln x-\int x\cdot\frac1x\,dx=x\ln x-x+C

    Choosing dv=dxdv=dx is what makes this work: it converts ln⁡x\ln x into 1/x1/x, which then cancels against v=xv=x.

  3. Evaluate on [a,1][a,1].

    ∫a1ln⁡x dx=[xln⁡x−x]a1=(0−1)−(aln⁡a−a)=−1−aln⁡a+a\int_a^1\ln x\,dx=\big[x\ln x-x\big]_a^1=(0-1)-(a\ln a-a)=-1-a\ln a+a

  4. Take the limit at the singular endpoint. The only delicate term is aln⁡aa\ln a. Writing it as ln⁡a1/a\dfrac{\ln a}{1/a} and applying L'Hôpital gives 1/a−1/a2=−a→0\dfrac{1/a}{-1/a^2}=-a\to0. So

    lim⁡a→0+(−1−aln⁡a+a)=−1\lim_{a\to0^+}\left(-1-a\ln a+a\right)=-1

    The integral converges even though the integrand blows up — the singularity is logarithmic, hence integrable.

  5. Sanity-check the sign and size. On (0,1)(0,1) we have ln⁡x<0\ln x<0, so a negative answer is expected. The mean value of ln⁡x\ln x over [0,1][0,1] is therefore −1-1, matching e−1≈0.368e^{-1}\approx0.368 as the point where ln⁡x\ln x equals its average — consistent with the graph ✓.

Answer

−1-1

Need to solve a different problem like this? Open the solver →