What Is an Integral? Antiderivatives, Definite and Indefinite Integrals
An integral is one of the two central tools of calculus. It answers two questions that look unrelated at first: “which function has this derivative?” and “how much area lies under this curve?” The surprise is that both questions have the same answer, and that is why integrals matter.
This article explains what an integral is, how indefinite and definite integrals differ, and how to compute both for a simple polynomial. If you want to check any example along the way, you can enter it in the integral calculator, which shows the solution step by step.
For the full workflow of choosing a method and solving integrals from scratch, see How to Solve Integrals Step by Step.
Two Ideas Behind the Integral
The word “integral” covers two ideas that turn out to be connected.
Idea 1: the reverse of differentiation. Differentiation takes a function and gives its rate of change. Integration goes backward: given a rate of change, it recovers the original function. If you know the speed of a car at every moment, integrating gives you its position.
Idea 2: accumulated area. Suppose you draw the graph of a function and want the area between the curve and the x-axis over some interval. Cut that region into many thin rectangles, add up their areas, and let the rectangles get thinner and thinner. The limit of that sum is the integral.
These two ideas are linked by the Fundamental Theorem of Calculus, which says that to find the area you only need an antiderivative. We will use this link in the examples below, and it is covered in detail in The Fundamental Theorem of Calculus.
Antiderivative and the Constant C
An antiderivative of a function f(x) is a function F(x) whose derivative is f(x):
F'(x) = f(x)
For example, the derivative of x^2 is 2x, so x^2 is an antiderivative of 2x.
But x^2 + 5 also has derivative 2x. So does x^2 - 3, and so does x^2 + 100. A constant disappears when you differentiate, so there is no way to tell from the derivative alone which constant was there.
That is why one function has infinitely many antiderivatives, all differing by a constant. We write the whole family at once by adding C, called the constant of integration:
\int 2x\,dx = x^2 + C
Graphically, the antiderivatives of a function are copies of the same curve shifted up or down. Each copy has the same slope at every x.
Indefinite Integral: Definition and Notation
The indefinite integral of f(x) is the family of all its antiderivatives:
\int f(x)\,dx = F(x) + C \quad \text{where } F'(x) = f(x)
The notation has three parts:
- \int is the integral sign (a stretched “S” for “sum”).
- f(x) is the integrand, the function you are integrating.
- dx shows the variable of integration.
The result of an indefinite integral is a function (more precisely, a family of functions), and the +\,C is always part of the answer.
The most useful basic rule is the power rule for integrals:
\int x^n\,dx = \frac{x^{n+1}}{n+1} + C, \qquad n \neq -1
You add 1 to the exponent and divide by the new exponent. This is the derivative rule run backward. The collection of such rules is gathered in Integral Formulas and Rules.
Definite Integral: Limits, Area, and a Number Instead of a Function
A definite integral has numbers, called limits of integration, attached to the integral sign:
\int_a^b f(x)\,dx
Here a is the lower limit and b is the upper limit. The definite integral measures the signed area between the graph of f and the x-axis, from x = a to x = b. “Signed” means that area above the axis counts as positive and area below the axis counts as negative.
Unlike an indefinite integral, the result is a single number, not a function. There is no C in the answer.
The Fundamental Theorem of Calculus gives the way to compute it. If F is any antiderivative of f, then
\int_a^b f(x)\,dx = F(b) - F(a)
The constant C cancels in the subtraction:
\big(F(b) + C\big) - \big(F(a) + C\big) = F(b) - F(a)
So you can drop the constant when evaluating a definite integral. Evaluation techniques for harder cases are in How to Evaluate Definite Integrals.
Definite vs. Indefinite Integrals
| Indefinite integral | Definite integral | |
|---|---|---|
| Notation | \int f(x)\,dx | \int_a^b f(x)\,dx |
| Limits | None | Lower a and upper b |
| Result | A function plus C | A single number |
| Meaning | All antiderivatives of f | Signed area from a to b |
| Constant C | Always included | Cancels, not written |
| How to compute | Find an antiderivative, add C | Find F(x), then compute F(b) - F(a) |
In practice you almost always start by finding an antiderivative. Whether the problem has limits decides what you do next.
Example 1: An Indefinite Integral
Find
\int (x^3 - 3x)\,dx
Step 1. Split the integral term by term. Integration is linear, so we can handle each term separately:
\int (x^3 - 3x)\,dx = \int x^3\,dx - 3\int x\,dx
Step 2. Apply the power rule to each term. Write x as x^1:
\int x^3\,dx = \frac{x^4}{4}, \qquad \int x\,dx = \frac{x^2}{2}
Step 3. Combine and add the constant.
\int (x^3 - 3x)\,dx = \frac{x^4}{4} - \frac{3x^2}{2} + C
Check by differentiating. The derivative of \frac{x^4}{4} is x^3. The derivative of \frac{3x^2}{2} is 3x. The derivative of C is 0. So
\frac{d}{dx}\left(\frac{x^4}{4} - \frac{3x^2}{2} + C\right) = x^3 - 3x
This matches the original integrand, so the answer is correct.
Example 2: The Same Function on [0, 2]
Now compute the definite integral of the same function over the interval from 0 to 2:
\int_0^2 (x^3 - 3x)\,dx
Step 1. Take the antiderivative from Example 1. We can leave out C:
F(x) = \frac{x^4}{4} - \frac{3x^2}{2}
Step 2. Evaluate at the upper limit.
F(2) = \frac{16}{4} - \frac{3 \cdot 4}{2} = 4 - 6 = -2
Step 3. Evaluate at the lower limit.
F(0) = 0 - 0 = 0
Step 4. Subtract.
\int_0^2 (x^3 - 3x)\,dx = F(2) - F(0) = -2 - 0 = -2
The result is negative. Is that a mistake? No. The function x^3 - 3x = x(x^2 - 3) is negative on (0, \sqrt{3}) and positive on (\sqrt{3}, 2), because \sqrt{3} \approx 1.73. Splitting the interval at that point shows how the signed area works:
\int_0^{\sqrt{3}} (x^3 - 3x)\,dx = F(\sqrt{3}) - F(0) = \frac{9}{4} - \frac{9}{2} = -\frac{9}{4}
\int_{\sqrt{3}}^{2} (x^3 - 3x)\,dx = F(2) - F(\sqrt{3}) = -2 + \frac{9}{4} = \frac{1}{4}
Adding them gives -\frac{9}{4} + \frac{1}{4} = -2, which matches. The region below the axis is larger than the region above it, so the net result is negative.
One caution: if you need the total (unsigned) area between the curve and the axis, you cannot just take -2. You add the absolute values of the two pieces: \frac{9}{4} + \frac{1}{4} = \frac{5}{2}.
You can check both examples step by step in the integral calculator: the indefinite integral of x^3 - 3x and the same integral from 0 to 2.
Key Takeaways
- An integral is both the reverse of a derivative and a limit of sums that measures area.
- An indefinite integral gives a family of functions, F(x) + C. Always write +\,C.
- A definite integral gives a number: the signed area, computed as F(b) - F(a).
- The constant C cancels in definite integrals.
- A negative definite integral means more area lies below the axis than above it.
- You can always verify an indefinite integral by differentiating your answer.
With these definitions in place, the next step is learning the standard integration rules and methods. The complete process, from recognizing the type of integral to checking the result, is laid out in How to Solve Integrals Step by Step.