Definite Integral Calculator

Type a function and two limits to find the signed area between the curve and the x-axis.

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

A number such as 0 or 1/2, pi, e, inf or -inf.

A number larger than the lower limit, pi, e, inf or -inf.

Try

Result

You entered∫0πsin⁡x dx\int_{0}^{\pi} \sin x\,dx

∫0πsin⁡x dx=2\displaystyle \int_{0}^{\pi} \sin x\,dx = 2
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. Fundamental theorem of calculus

    Evaluate the antiderivative F(x)=−cos⁡xF(x) = -\cos x at the two limits and subtract.

    Using ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)

    [−cos⁡x]0π=1−(−1)=2\begin{aligned} \left[-\cos x\right]_{0}^{\pi} &= 1 - \left(-1\right) \\ &= 2 \end{aligned}
  3. Result

    The value of the definite integral.

    ∫0πsin⁡x dx=2\int_{0}^{\pi} \sin x\,dx = 2
03.141593
The area between y = sin(x) and the x-axis from x = 0 to x = 3.141593

Worked examples