Area Between Curves Calculator

Type two functions to find the area enclosed between them.

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

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

Leave both limits empty to use the outermost points where the curves meet.

Leave both limits empty to use the outermost points where the curves meet.

Try

Result

You entered∫01∣x−x2∣ dx\int_{0}^{1} \left|x - x^{2}\right|\,dx

A=16\displaystyle A = \frac{1}{6}
Show the work
  1. Area between two curves

    The area between y=f(x)y = f(x) and y=g(x)y = g(x) is the integral of the gap between them, always the upper minus the lower, so where the curves cross the roles swap and the integral is split there.

    A=∫ab∣f(x)−g(x)∣ dx=∫01∣x−x2∣ dx\begin{aligned} A &= \int_a^b \left|f(x) - g(x)\right|\,dx \\ &= \int_{0}^{1} \left|x - x^{2}\right|\,dx \end{aligned}
  2. Where the curves meet

    With no interval given, the region is bounded by the outermost points where the curves meet. Setting x=x2x = x^{2} and solving (searching −50 to 50) gives these.

    x=0, x=1x = 0,\ x = 1
  3. Antiderivative

    An antiderivative of f(x)−g(x)=−x2+xf(x) - g(x) = -x^{2} + x is found (see the integral calculator for the working of this step).

    F(x)=−x33+x22F(x) = -\frac{x^{3}}{3} + \frac{x^{2}}{2}
  4. Evaluate each piece

    Evaluate the antiderivative at the two limits and subtract.

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

    ∫01(−x2+x) dx=[−x33+x22]01=16\begin{aligned} \int_{0}^{1} \left(-x^{2} + x\right)\,dx &= \left[-\frac{x^{3}}{3} + \frac{x^{2}}{2}\right]_{0}^{1} \\ &= \frac{1}{6} \end{aligned}
  5. Result

    The area between the curves.

    A=16A = \frac{1}{6}
01
The region between y = x and y = x^2

Worked examples