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∫sin⁡x dx\int \sin x\,dx

∫sin⁡x dx=−cos⁡x+C\displaystyle \int \sin x\,dx = -\cos x + C
Show the work
  1. Integral of sine

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

    ∫sin⁡x dx=−cos⁡x+C=−cos⁡x\begin{aligned} \int \sin x\,dx &= -\cos x + C \\ &= -\cos x \end{aligned}
  2. Result

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

    ∫sin⁡x dx=−cos⁡x+C\int \sin x\,dx = -\cos x + C

Worked examples