Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
6.1 Accumulation of change
6.2 Riemann sums & area
6.3 Definite integrals
6.4 Accumulation functions
6.5 Behavior of accumulation functions
6.6 Fundamental theorem of calculus
6.7 Indefinite integrals
6.8 u-substitution
6.9 Long division & completing the square
7. Differential equations
8. Applications of integrals
9. Testing details tag
Wrapping up
Achievable logoAchievable logo
6.3 Definite integrals
Achievable AP Calculus AB
6. Integration
Our AP Calculus AB course is currently in development and is a work-in-progress.

Definite integrals

7 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • Converting between expressions of Riemann sums in summation notation and definite integrals
  • Evaluating simple definite integrals as net signed area

Summation notation

Summation notation gives you a compact way to write a long addition of many similar terms. For example, a right Riemann sum with n subintervals can be written as

k=1∑n​Δx⋅f(xk​)

where

  • Σ means “sum.”
  • The index variable k starts at 1 and increases by 1 until it reaches n.
  • n terms are being added, one for each rectangle.

Here, Δx is the width of each rectangle:

Δx=nb−a​

For a right Riemann sum, the sample point xk​ is

xk​=a+kΔx

A left Riemann sum uses left endpoints instead, and it can be written as

k=0∑n−1​Δx⋅f(xk​)

Here the index k starts at 0, so the first sample point is x0​=a (the left endpoint).

From approximation to definite integral

Riemann sums approximate area using rectangles. As the number of rectangles is increased, the approximation typically improves because the rectangles fit the curve more closely.

As the number of rectangles n approaches ∞, the width Δx approaches 0, and the approximation of the area becomes exact.

The exact area is calculated by a definite integral, which is defined as the net sum of the areas of infinitely many rectangles of infinitesimal width. Like the derivative, the integral is defined using a limit.

Evaluating a definite integral gives the exact net signed area under the curve f(x) from x=a to x=b.

Integrals are a key concept in the second half of AP Calculus. While we’ll eventually use them to calculate exact areas and other accumulated quantities for different functions, for now let’s focus on becoming familiar with the notation.

Limit definition of the definite integral

∫ab​f(x)dx=n→∞lim​k=1∑n​Δx⋅f(xk​)

The left-hand side is read as “the definite integral of f(x) from a to b.” The dx corresponds to the rectangle width Δx in the limit (an infinitesimally small width). This variable of integration must always be written at the end of an integral.

In this notation:

  • a and b are the limits of integration - a is the lower bound and b is the upper bound.
  • f(x) is the integrand - the function being integrated.

The integral symbol ∫ is an elongated S, a reminder that integration is a kind of summation: it adds up many small pieces.

Definite integral as a limit

You may be asked to write (or recognize) a definite integral as the limit of a Riemann sum.

Because

  • Δx=nb−a​ and

  • xk​=a+kΔx

the expression Δx⋅f(xk​) can be rewritten in terms of a, b, n, and k as:

n→∞lim​k=1∑n​Δx(nb−a​)​​⋅f(xk​)f(a+nb−a​⋅k)​​

Examples

Express the definite integral as the limit of a Riemann sum

∫24​sin(x)dx

Solution

In this integral, a=2, b=4, and f(x)=sin(x).

First find Δx:

Δx​=nb−a​=n4−2​=n2​​

Then write the sample point xk​:

xk​​=a+kΔx=2+n2k​​

Now substitute into f(xk​)=sin(xk​):

f(xk​)=sin(2+n2k​)

So the integral as a limit is

n→∞lim​k=1∑n​n2​⋅sin(2+n2k​)​

Limit as a definite integral

Next, we’ll move in the opposite direction and convert a limit to a definite integral.

Express the limit of the Riemann sum as a definite integral

n→∞lim​k=1∑n​n1​(1+nk​)2

Solution

The key is to match the expression in the sum to the form Δx⋅f(xk​) to identify the interval [a,b] and the function f(x) to write the integral ∫ab​f(x)dx.

First, identify Δx andf(xk​) in the limit:

n→∞lim​k=1∑n​Δx(n1​)​​⋅f(xk​)(1+nk​)2​​

Since Δx=n1​, the sample point xk​ is

xk​​=a+kΔx=a+nk​​

and any expression in the limit that involves nk​ corresponds to xk​.

Next,

f(xk​)=(1+nk​)2

suggests that a=1 and f(xk​)=(xk​)2. So the function is

f(x)=x2

Finally, since Δx=n1​, then b−a=1. We have a=1 so then b=2 and the integral represented by the limit is

∫12​x2dx​

However, this is not the only possible choice for the definite integral. For example, we could have also assumed a=0, leading to

xk​=nk​

Then the expression in the limit

f(xk​)=(1+nk​)2

corresponds to

f(xk​)=(1+xk​)2

so the function would be

f(x)=(1+x)2

Since a=0, then b=1, and the limit could also be represented by the definite integral

∫01​(1+x)2dx​

Consider the two functions graphically: (1+x)2 is simply x2 shifted 1 unit left. Shifting the bounds of integration left by 1 unit as well shows that the area under (1+x)2 from 0 to 1 is exactly the same as the area under x2 from 1 to 2, so their definite integrals are equal.

Evaluating a definite integral

When a problem asks you to evaluate a definite integral, it’s asking for the net signed area of f(x) from x=a to x=b.

Later, you’ll learn techniques for evaluating definite integrals when the integrand is more complicated. For now, the next examples use simple geometric areas.

Examples

  1. Evaluate

∫−21​2xdx

Solution

Evaluating this integral gives the net signed area between f(x)=2x and the x-axis from x=−2 to. x=1, as shown in the graph below.

The region labeled A1​ is below the x-axis (so it contributes negative area), and A2​ is above the x-axis (so it contributes positive area).

Signed area
Signed area

A1​ is a triangle with base length 2 and height 4, so its signed area is

A1​=−21​(2)(4)

=−4

A2​ is a triangle with base length 1 and height 2, so its signed area is

A2​=21​(1)(2)

=1

The net signed area is

−4+1=−3

Therefore

∫−21​2xdx=−3​

  1. Evaluate

∫−11​∣x∣dx

Solution

(spoiler)

The region between f(x)=∣x∣ and the x-axis from x=−1 to x=1 consists of two congruent triangles, both above the x-axis:

  • one from x=−1 to x=0
  • one from x=0 to x=1

Each triangle has base length 1 and height 1. So the total area is

2×Area of 1 triangle

=2×21​(1)(1)

=1

Therefore

∫−11​∣x∣dx=1​

Summation notation

  • Compact form for adding similar terms: ∑k=1n​Δx⋅f(xk​)
  • Δx=nb−a​ (width of each rectangle)
  • Right Riemann sum: xk​=a+kΔx; left Riemann sum: xk​=a+(k−1)Δx (or k from 0 to n−1)

From approximations to integrals

  • Riemann sums approximate area under a curve using rectangles
  • Definite integral: ∫ab​f(x)dx=limn→∞​∑k=1n​Δx⋅f(xk​)
  • a, b = limits of integration; f(x) = integrand

Definite integral as a limit

  • Δx=nb−a​, xk​=a+kΔx
  • Limit of Riemann sum: limn→∞​∑k=1n​nb−a​f(a+nb−a​k)
  • Definite integral equals exact net signed area under f(x) from a to b

Examples: Converting between forms

  • To write ∫24​sin(x)dx as a limit: limn→∞​∑k=1n​n2​sin(2+n2k​)
  • To write limn→∞​∑k=1n​n1​(1+nk​)2 as a definite integral:
    • Possible answers: ∫12​x2dx or ∫01​(1+x)2dx

Evaluating definite integrals

  • Definite integral = net signed area under f(x) from a to b
  • For simple functions, use geometric area formulas

Examples: Evaluating definite integrals

  • ∫−21​2xdx=−3
    • Area below x-axis is negative, above is positive
  • ∫−11​∣x∣dx=1
    • Total area is sum of two congruent triangles above x-axis

Sign up for free to take 12 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Definite integrals

What you’ll learn:

  • Converting between expressions of Riemann sums in summation notation and definite integrals
  • Evaluating simple definite integrals as net signed area

Summation notation

Summation notation gives you a compact way to write a long addition of many similar terms. For example, a right Riemann sum with n subintervals can be written as

k=1∑n​Δx⋅f(xk​)

where

  • Σ means “sum.”
  • The index variable k starts at 1 and increases by 1 until it reaches n.
  • n terms are being added, one for each rectangle.

Here, Δx is the width of each rectangle:

Δx=nb−a​

For a right Riemann sum, the sample point xk​ is

xk​=a+kΔx

A left Riemann sum uses left endpoints instead, and it can be written as

k=0∑n−1​Δx⋅f(xk​)

Here the index k starts at 0, so the first sample point is x0​=a (the left endpoint).

From approximation to definite integral

Riemann sums approximate area using rectangles. As the number of rectangles is increased, the approximation typically improves because the rectangles fit the curve more closely.

As the number of rectangles n approaches ∞, the width Δx approaches 0, and the approximation of the area becomes exact.

The exact area is calculated by a definite integral, which is defined as the net sum of the areas of infinitely many rectangles of infinitesimal width. Like the derivative, the integral is defined using a limit.

Evaluating a definite integral gives the exact net signed area under the curve f(x) from x=a to x=b.

Integrals are a key concept in the second half of AP Calculus. While we’ll eventually use them to calculate exact areas and other accumulated quantities for different functions, for now let’s focus on becoming familiar with the notation.

Limit definition of the definite integral

∫ab​f(x)dx=n→∞lim​k=1∑n​Δx⋅f(xk​)

The left-hand side is read as “the definite integral of f(x) from a to b.” The dx corresponds to the rectangle width Δx in the limit (an infinitesimally small width). This variable of integration must always be written at the end of an integral.

In this notation:

  • a and b are the limits of integration - a is the lower bound and b is the upper bound.
  • f(x) is the integrand - the function being integrated.

The integral symbol ∫ is an elongated S, a reminder that integration is a kind of summation: it adds up many small pieces.

Definite integral as a limit

You may be asked to write (or recognize) a definite integral as the limit of a Riemann sum.

Because

  • Δx=nb−a​ and

  • xk​=a+kΔx

the expression Δx⋅f(xk​) can be rewritten in terms of a, b, n, and k as:

n→∞lim​k=1∑n​Δx(nb−a​)​​⋅f(xk​)f(a+nb−a​⋅k)​​

Examples

Express the definite integral as the limit of a Riemann sum

∫24​sin(x)dx

Solution

In this integral, a=2, b=4, and f(x)=sin(x).

First find Δx:

Δx​=nb−a​=n4−2​=n2​​

Then write the sample point xk​:

xk​​=a+kΔx=2+n2k​​

Now substitute into f(xk​)=sin(xk​):

f(xk​)=sin(2+n2k​)

So the integral as a limit is

n→∞lim​k=1∑n​n2​⋅sin(2+n2k​)​

Limit as a definite integral

Next, we’ll move in the opposite direction and convert a limit to a definite integral.

Express the limit of the Riemann sum as a definite integral

n→∞lim​k=1∑n​n1​(1+nk​)2

Solution

The key is to match the expression in the sum to the form Δx⋅f(xk​) to identify the interval [a,b] and the function f(x) to write the integral ∫ab​f(x)dx.

First, identify Δx andf(xk​) in the limit:

n→∞lim​k=1∑n​Δx(n1​)​​⋅f(xk​)(1+nk​)2​​

Since Δx=n1​, the sample point xk​ is

xk​​=a+kΔx=a+nk​​

and any expression in the limit that involves nk​ corresponds to xk​.

Next,

f(xk​)=(1+nk​)2

suggests that a=1 and f(xk​)=(xk​)2. So the function is

f(x)=x2

Finally, since Δx=n1​, then b−a=1. We have a=1 so then b=2 and the integral represented by the limit is

∫12​x2dx​

However, this is not the only possible choice for the definite integral. For example, we could have also assumed a=0, leading to

xk​=nk​

Then the expression in the limit

f(xk​)=(1+nk​)2

corresponds to

f(xk​)=(1+xk​)2

so the function would be

f(x)=(1+x)2

Since a=0, then b=1, and the limit could also be represented by the definite integral

∫01​(1+x)2dx​

Consider the two functions graphically: (1+x)2 is simply x2 shifted 1 unit left. Shifting the bounds of integration left by 1 unit as well shows that the area under (1+x)2 from 0 to 1 is exactly the same as the area under x2 from 1 to 2, so their definite integrals are equal.

Evaluating a definite integral

When a problem asks you to evaluate a definite integral, it’s asking for the net signed area of f(x) from x=a to x=b.

Later, you’ll learn techniques for evaluating definite integrals when the integrand is more complicated. For now, the next examples use simple geometric areas.

Examples

  1. Evaluate

∫−21​2xdx

Solution

Evaluating this integral gives the net signed area between f(x)=2x and the x-axis from x=−2 to. x=1, as shown in the graph below.

The region labeled A1​ is below the x-axis (so it contributes negative area), and A2​ is above the x-axis (so it contributes positive area).

A1​ is a triangle with base length 2 and height 4, so its signed area is

A1​=−21​(2)(4)

=−4

A2​ is a triangle with base length 1 and height 2, so its signed area is

A2​=21​(1)(2)

=1

The net signed area is

−4+1=−3

Therefore

∫−21​2xdx=−3​

  1. Evaluate

∫−11​∣x∣dx

Solution

(spoiler)

The region between f(x)=∣x∣ and the x-axis from x=−1 to x=1 consists of two congruent triangles, both above the x-axis:

  • one from x=−1 to x=0
  • one from x=0 to x=1

Each triangle has base length 1 and height 1. So the total area is

2×Area of 1 triangle

=2×21​(1)(1)

=1

Therefore

∫−11​∣x∣dx=1​

Key points

Summation notation

  • Compact form for adding similar terms: ∑k=1n​Δx⋅f(xk​)
  • Δx=nb−a​ (width of each rectangle)
  • Right Riemann sum: xk​=a+kΔx; left Riemann sum: xk​=a+(k−1)Δx (or k from 0 to n−1)

From approximations to integrals

  • Riemann sums approximate area under a curve using rectangles
  • Definite integral: ∫ab​f(x)dx=limn→∞​∑k=1n​Δx⋅f(xk​)
  • a, b = limits of integration; f(x) = integrand

Definite integral as a limit

  • Δx=nb−a​, xk​=a+kΔx
  • Limit of Riemann sum: limn→∞​∑k=1n​nb−a​f(a+nb−a​k)
  • Definite integral equals exact net signed area under f(x) from a to b

Examples: Converting between forms

  • To write ∫24​sin(x)dx as a limit: limn→∞​∑k=1n​n2​sin(2+n2k​)
  • To write limn→∞​∑k=1n​n1​(1+nk​)2 as a definite integral:
    • Possible answers: ∫12​x2dx or ∫01​(1+x)2dx

Evaluating definite integrals

  • Definite integral = net signed area under f(x) from a to b
  • For simple functions, use geometric area formulas

Examples: Evaluating definite integrals

  • ∫−21​2xdx=−3
    • Area below x-axis is negative, above is positive
  • ∫−11​∣x∣dx=1
    • Total area is sum of two congruent triangles above x-axis