Definite Integrals: What Are They and How to Calculate Them

01.17.2022 • 5 min read

Rachel McLean

Subject Matter Expert

Knowing how to find definite integrals is an essential skill in calculus. In this article, we’ll learn the definition of definite integrals, how to evaluate definite integrals, and practice with some examples.

What is a definite integral? Definite integrals are used to calculate the area between a curve and the x-axis on a specific interval. (If you need to review, see our beginner's guide to integrals).

If we want to evaluate the definite integral of a real-valued function $f$ with respect to $x$ on the interval [a, b], where $a$ and $b$ are real numbers and $a \leq b$, we use the following notation:

$\int_{a}^{b} f(x)dx = A$

In this notation, the curved integral sign $\int$ indicates the operation of taking an integral. The rest of this notation is composed of three parts:

The integrand $f(x)$

The integral bounds $a$ and $b$, where $a$ is the lower bound and $b$ is the upper bound. These are also referred to as limits.

The differential $dx$, which tells us that we are integrating $f$ with respect to the variable $x$.

Altogether, this notation represents the area enclosed by $f(x)$, the x-axis, and the lines $x=a$ and $x=b$. Graphically, we can visualize $\int_{a}^{b} f(x)dx$ as something like this:

Definite Integrals vs. Indefinite Integrals

Before we learn exactly how to solve definite integrals, it’s important to understand the difference between definite and indefinite integrals.

Definite integrals find the area between a function’s curve and the x-axis on a specific interval, while indefinite integrals find the antiderivative of a function. Finding the indefinite integral and finding the definite integral are operations that output different things.

Calculating the indefinite integral takes in one function, and outputs another function: the antiderivative function of $f(x)$, notated by $F(x)$.

This output function is accompanied by an arbitrary constant C and does not involve lower and upper boundaries. By contrast, calculating the definite integral always outputs a real number, which represents the area under the curve on a specific interval. You can see the difference in their notations below:

The indefinite integral $\int f(x)dx = F(x) + C$

The definite integral $\int_{a}^{b} f(x)dx = A$, for some real number A.

Given $f(x)$, the indefinite integral answers the question, “What function, when differentiated, gives us $f(x)$?” The indefinite integral gives us a family of functions $F$ since an infinite number of functions will satisfy this question. Thus, the indefinite integral gives us an “indefinite” answer. The definite integral gives us a real number — a unique “definite” answer.

You can learn more about the difference with this lesson sample on indefinite integrals by one of our instructors Dr. Hannah Fry.

How to Calculate Definite Integrals

To find the definite integral of a function, we can use the Fundamental Theorem of Calculus, which states: If $f$ is continuous and $F$ is an antiderivative of $f$, then $\int_{a}^{b} f(x)dx = [F(x)]^b_a = F(b) - F(a)$.

This means that to find the definite integral of a function on the interval [a, b], we simply take the difference between the indefinite integral of the function evaluated at $a$ and the indefinite integral of the function evaluated at $b$.

We can break this process down into four steps:

Find the indefinite integral $F(x)$. You can use the Rules of Integration that you learned with indefinite integrals to help with this part.

Find $F(b)$. This is found by plugging the upper bound $b$ into the indefinite integral found in Step 1.

Find $F(a)$. This is found by plugging the lower bound $a$ into the indefinite integral found in Step 1.

Take the difference $F(b) - F(a)$.

Let’s do one example together. Let’s calculate the definite integral of the function $f(x) = 4x^3-2x$ on the interval [1, 2].

We'll follow the four steps given above.

Step 1:

$\int (4x^3-2x) dx = x^4 - x^2 = F(x)$

Step 2:

$F(2) = 2^4-2^2 = 16-4 = 12$

Step 3:

$F(1) = 1^4-1^2 = 1-1 = 0$

Step 4:

$F(2)-F(1) = 12 - 0 = 12$

Thus, $\int_{1}^{2} (4x^3-2x) dx = 12$.

Properties of Definite Integrals and Key Equations

Let’s review some of the key properties of definite integrals. These will be useful for solving more complex integral problems. In the following properties, assume that $f$ and $g$ are continuous functions, and let $k$ be a constant.

Zero-Length Interval Rule

When a=b, the interval has length 0, and so the definite integral definite integral of a function on [a, b] is 0.

$\int_{a}^{a} f(x)dx = 0$

Reverse Bounds Rule

To find the definite integral of a function on [a, b] where $a > b$, we can simply reverse the sign of $\int_{b}^{a} f(x)dx$.

$\int_{a}^{b} f(x)dx = -\int_{b}^{a} f(x)dx$

Adding Intervals Rule

If $a$, $b$, and $c$ are real numbers on a closed interval, then $\int_{a}^{c} f(x)dx$ can be found by adding integrals as follows:

This theorem tells us that there’s at least one point c inside the open interval (a,b) at which $f(c)$ will be equal to the average value of the function over [a, b]. That is, there exists a $c$ on (a, b) such that:

$f(c) = \frac{1}{b-a}\int_{a}^{b} f(x)dx$

or equivalently

$f(c)(b-a) = \int_{a}^{b} f(x)dx$

3 Practice Exercises and Solutions

Here are three exercises for you to practice how to do a definite integral and their solutions.

Exercise 1

Calculate the definite integral of the function $f(x) = \cos{(x)}$ on the interval $[0, \frac{\pi}{2}]$.

Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.

Get a head start on your degree: 2-for-1 College Courses

Plus, skip the line with guaranteed admission to Degrees+ when you pass both courses. Backed by our risk-free guarantee. Offer expires soon.

By signing up for our email list, you indicate that you have read and agree to our Terms of Use and Privacy Policy.

Get 2-for-1 on the world’s best online college courses

Plus, you’re guaranteed admission to Degrees+ when you pass both courses. Backed by our Risk-Free Guarantee, Offer expires soon.

By signing up for our email list, you indicate that you have read and agree to our Terms of Use and Privacy Policy.

Start 2023 Strong With a Free College Course

No joke—get any college course on us. Free. Simply complete an application to Degrees+ by Jan. 24th. Limited to the first 500 students. No commitment required.