WordGPT

Integral of 1x\frac{1}{x}

The integral of 1x\frac{1}{x} is ln⁡(∣x∣)+C\ln\left(\left|x\right|\right) + C.

Graph of f(x) = 1 / x with the area from 1 to 2 shaded0.40.60.811.21.41.61.822.22.42.60.511.52f(x)
Graph of f(x) = 1 / x with the area from 1 to 2 shaded. The shaded area equals the definite integral, about 0.69314718.

How to work it out

  1. 1

    We want an antiderivative of f(x) = 1 / x.

    ∫1x dx\int \frac{1}{x}\,dx
  2. 2

    Method: standard integral.

  3. 3

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

    ∫1x dx=ln⁡(∣x∣)+C\int \frac{1}{x}\,dx = \ln\left(\left|x\right|\right) + C
  4. 4

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

    ddx[ln⁡(∣x∣)]=sign⁡(x)∣x∣\frac{d}{dx}\left[\ln\left(\left|x\right|\right)\right] = \frac{\operatorname{sign}\left(x\right)}{\left|x\right|}
  5. 5

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

    ∫121x dx=[ln⁡(∣x∣)]12≈0.69314718\int_{1}^{2} \frac{1}{x}\,dx = \Big[\ln\left(\left|x\right|\right)\Big]_{1}^{2} \approx 0.69314718
LaTeX source of the formulas on this page
\[ \int \frac{1}{x}\,dx = \ln\left(\left|x\right|\right) + C \]
\[ \int \frac{1}{x}\,dx \]
\[ \frac{d}{dx}\left[\ln\left(\left|x\right|\right)\right] = \frac{\operatorname{sign}\left(x\right)}{\left|x\right|} \]
\[ \int_{1}^{2} \frac{1}{x}\,dx = \Big[\ln\left(\left|x\right|\right)\Big]_{1}^{2} \approx 0.69314718 \]

Definite integrals of the same function

IntervalValue
from 1 to 20.69314718
from 1 to 1.50.40546511

Questions

What is the integral of 1 / x?

The integral of 1x\frac{1}{x} is ln⁡(∣x∣)+C\ln\left(\left|x\right|\right) + 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 1 / x from 1 to 2?

About 0.69314718.

More integrals

    Integral of 1 / x: ln(abs(x)) + C (with steps) | WordGPT