Skip to content

Introduction to Integrals: Antiderivatives and Area Under a Curve

By Sprout Calculator Editorial Team Bylines · Published November 5, 2026 · Updated November 6, 2026

An integral adds up many tiny pieces to find a total, such as the area under a curve. An indefinite integral is an antiderivative: it undoes a derivative and includes a constant C. A definite integral from a to b gives a number, found by evaluating the antiderivative at b and subtracting its value at a.

What is an integral?

An integral is a way to add up infinitely many tiny pieces. The most common picture is the area under a curve. Cut the area into thin strips, find the area of each strip and add them. As the strips get thinner, the sum gets closer to the true area. The integral is the exact value that sum approaches.

Integrals show up wherever a total builds up from small changes. They give distance from speed, volume from cross-sections, and total cost from a cost per unit. If derivatives measure how fast something changes, integrals measure how much has accumulated.

What is an antiderivative?

An antiderivative of a function f is a function F whose derivative is f. It reverses differentiation. Since the derivative of x³ is 3x², an antiderivative of 3x² is x³.

The antiderivative is not unique. The functions x³, x³ + 4 and x³ − 10 all have derivative 3x². So we write the general antiderivative with a constant:

∫3x2 dx=x3+C\int 3x^{2}\,dx = x^{3} + C

The symbol ∫ is the integral sign, and dx tells you the variable. This is the indefinite integral. The C stands for any constant.

How does the power rule work for integrals?

To integrate a power of x, raise the exponent by one, then divide by the new exponent.

∫xn dx=xn+1n+1+C(n≠−1)\int x^{n}\,dx = \frac{x^{n+1}}{n+1} + C \qquad (n \neq -1)

You can check the result by differentiating it. For a polynomial, integrate term by term. For ∫(6x² − 4x + 3) dx:

  • 6x² becomes 6x³⁄3 = 2x³.
  • −4x becomes −4x²⁄2 = −2x².
  • 3 becomes 3x.

So the answer is 2x³ − 2x² + 3x + C. Check it: the derivative of 2x³ is 6x², of −2x² is −4x, and of 3x is 3. It matches the original. Our guide to the power rule for derivatives and integrals shows both directions side by side.

What is a definite integral?

A definite integral has limits a and b. It gives a single number, the signed area between the curve and the x-axis from x = a to x = b. The fundamental theorem of calculus tells you how to compute it:

∫abf(x) dx=F(b)−F(a)\int_{a}^{b} f(x)\,dx = F(b) - F(a)

Here F is any antiderivative of f. You do not need the constant C, because it cancels when you subtract.

Find ∫ from 0 to 3 of x² dx.

  1. An antiderivative of x² is x³⁄3.
  2. Evaluate at 3: 3³⁄3 = 9.
  3. Evaluate at 0: 0.
  4. Subtract: 9 − 0 = 9.

The area under y = x² from 0 to 3 is 9 square units. Try it in the integral calculator, which also shows the antiderivative step.

How do you find an area with an integral?

Set up the integral of the function between the two x-values and evaluate it. Take the line y = 2x + 1 from x = 0 to x = 4.

  1. Find an antiderivative: x² + x.
  2. Evaluate at 4: 16 + 4 = 20.
  3. Evaluate at 0: 0.
  4. Subtract: 20.

The area is 20 square units. You can check this with geometry, since the region is a trapezoid. The heights are 1 at x = 0 and 9 at x = 4, and the width is 4. The area is (1 + 9) ÷ 2 × 4 = 20. The two methods agree, which gives confidence in the integral.

Why do rectangles approach the integral?

The idea behind the definition is a sum of thin rectangles. Take y = x² from 0 to 3 and use three rectangles of width 1.

  • Using the right edge of each strip: heights 1, 4 and 9, so the area estimate is 1 + 4 + 9 = 14.
  • Using the left edge: heights 0, 1 and 4, so the estimate is 0 + 1 + 4 = 5.

The true value, 9, lies between 5 and 14. With more and thinner strips, both estimates close in on 9. An integral is the limit of such sums as the strips become infinitely thin. This is why it gives exact areas for curves.

How do you handle negative values?

Area below the x-axis counts as negative. Compute ∫ from 0 to 2 of (x − 2) dx.

  1. An antiderivative is x²⁄2 − 2x.
  2. At 2: 2 − 4 = −2.
  3. At 0: 0.
  4. The result is −2.

The graph of y = x − 2 lies below the axis between 0 and 2, so the integral is negative. The shape is a triangle with base 2 and height 2, which has area 2. The integral gives −2 because the triangle is below the axis. For total area, use the absolute value. If a graph crosses the axis, split the interval at the crossing and add the absolute values.

How do integrals give distance, volume and totals?

If v(t) is velocity, then the integral of v from t = a to t = b is the change in position. Say a car's speed is v(t) = 8t + 3 meters per second.

  1. An antiderivative is 4t² + 3t.
  2. From t = 0 to t = 2: (4 × 4 + 3 × 2) − 0 = 22.

The car travels 22 meters in the first 2 seconds. If you also know the starting position, say 5 meters, then the position function is s(t) = 4t² + 3t + 5. The constant C is fixed by that starting condition. Compare this with the derivative idea in what is a derivative, where the same function s(t) gave velocity.

What can the calculator do?

The integral calculator handles sums of powers, sin, cos, tan, e^x, ln and abs, products that need integration by parts, such as x·sin(x), and simple u-substitutions, such as 2x·e^(x²). You can enter an expression and, optionally, a lower and an upper limit. It shows the antiderivative and names the method for each term.

For the harder cases it skips, the ideas are the same. You still look for an antiderivative, then use the fundamental theorem. Practicing with polynomials builds the habit of checking your answer by differentiating it.

What are common mistakes?

  • Forgetting + C on an indefinite integral.
  • Adding 1 to the exponent but dividing by the old one. Divide by the new exponent, n + 1.
  • Using the power rule when n = −1. The integral of 1⁄x is a logarithm, not a power.
  • Mixing up the order of the limits. Always compute F(b) − F(a), upper minus lower.
  • Ignoring negative area. Check whether the curve goes below the axis.
  • Forgetting the constant multiple. Keep the coefficient with its term.

Practice problems

  1. Find ∫(4x³ + 2x) dx. The answer is x⁴ + x² + C.
  2. Evaluate the integral of 3x² from 1 to 2. An antiderivative is x³, so 8 − 1 = 7.
  3. Find the area under y = x from 0 to 6. An antiderivative is x²⁄2, so 18 − 0 = 18.
  4. Evaluate the integral of (2x − 4) from 0 to 4. An antiderivative is x² − 4x, so (16 − 16) − 0 = 0. The areas above and below the axis cancel.

Check your answers with the calculator, and differentiate each antiderivative to confirm it returns the original function.

FAQ

Frequently asked questions

01Why is there a + C in an indefinite integral?

Many functions have the same derivative. The derivative of x² is 2x, but so is the derivative of x² + 5 and x² − 7. Constants vanish when you differentiate. So the antiderivative of 2x is x² plus an unknown constant C, which stands for every possible answer.

02Can an integral be negative?

Yes. A definite integral counts area above the x-axis as positive and area below it as negative. If a function is below the axis on the whole interval, the integral is negative. To find the total area between a curve and the axis, split the interval where the function changes sign.

03What is the fundamental theorem of calculus?

It links derivatives and integrals. It says that to evaluate a definite integral you can find an antiderivative F and compute F(b) − F(a). It also says that differentiating an integral with a variable upper limit returns the original function. The two operations undo each other.

04What is the difference between an integral and a derivative?

They are opposites. A derivative measures how fast something changes at one instant, like speed from position. An integral adds up change over an interval, like distance from speed. The fundamental theorem of calculus connects the two.

05Is integral calculus in Calculus 1 or Calculus 2?

Usually both. Most Calculus 1 courses introduce antiderivatives, definite integrals and the fundamental theorem. Calculus 2 then covers techniques such as integration by parts and substitution, plus applications and series. Course names vary by school.