WordGPT

Integral of ln⁡(x)\ln\left(x\right)

The integral of ln⁡(x)\ln\left(x\right) is xln⁡(x)−x+Cx \ln\left(x\right) - x + C.

Graph of f(x) = ln(x) with the area from 1 to 2 shaded0.40.60.811.21.41.61.822.22.42.6-1-0.50.51f(x)
Graph of f(x) = ln(x) with the area from 1 to 2 shaded. The shaded area equals the definite integral, about 0.38629436.

How to work it out

  1. 1

    We want an antiderivative of f(x) = ln(x).

    ∫ln⁡(x) dx\int \ln\left(x\right)\,dx
  2. 2

    Method: integration by parts with u = ln x, dv = dx.

  3. 3

    That gives the antiderivative; add the constant C because any constant disappears when you differentiate:

    ∫ln⁡(x) dx=xln⁡(x)−x+C\int \ln\left(x\right)\,dx = x \ln\left(x\right) - x + C
  4. 4

    Check by differentiating the answer; you must get the original function back:

    ddx[xln⁡(x)−x]=ln⁡(x)+x1x−1\frac{d}{dx}\left[x \ln\left(x\right) - x\right] = \ln\left(x\right) + x \frac{1}{x} - 1
  5. 5

    As a definite integral, evaluate the antiderivative at both ends and subtract. Between 1 and 2:

    ∫12ln⁡(x) dx=[xln⁡(x)−x]12≈0.38629436\int_{1}^{2} \ln\left(x\right)\,dx = \Big[x \ln\left(x\right) - x\Big]_{1}^{2} \approx 0.38629436
LaTeX source of the formulas on this page
\[ \int \ln\left(x\right)\,dx = x \ln\left(x\right) - x + C \]
\[ \int \ln\left(x\right)\,dx \]
\[ \frac{d}{dx}\left[x \ln\left(x\right) - x\right] = \ln\left(x\right) + x \frac{1}{x} - 1 \]
\[ \int_{1}^{2} \ln\left(x\right)\,dx = \Big[x \ln\left(x\right) - x\Big]_{1}^{2} \approx 0.38629436 \]

Definite integrals of the same function

IntervalValue
from 1 to 20.38629436
from 1 to 1.50.10819766

Questions

What is the integral of ln(x)?

The integral of ln⁡(x)\ln\left(x\right) is xln⁡(x)−x+Cx \ln\left(x\right) - x + C.

Why do we add + C?

Every function F(x) + C has the same derivative, so the antiderivative is only defined up to a constant.

What is the integral of ln(x) from 1 to 2?

About 0.38629436.

More integrals

    Integral of ln(x): x * ln(x) - x + C (with steps) | WordGPT