Integral Calculator

Type a function of x to integrate it and see how each step is chosen.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Try

Result

You entered∫1x dx\int \frac{1}{x}\,dx

∫1x dx=ln⁡∣x∣+C\displaystyle \int \frac{1}{x}\,dx = \ln\left|x\right| + C
Show the work
  1. Power rule for integrals

    This is one of the basic integrals, so the answer is read straight from the table.

    ∫1x dx=ln⁡∣x∣+C=ln⁡∣x∣\begin{aligned} \int \frac{1}{x}\,dx &= \ln\left|x\right| + C \\ &= \ln\left|x\right| \end{aligned}
  2. Result

    An antiderivative is only defined up to a constant, so the constant of integration CC is added.

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

Worked examples