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
Wrapping up
Achievable logoAchievable logo
6.3 Definite integrals
Achievable AP Calculus AB
6. Integration
Our AP Calculus AB course is now in "early access" - get 50% off for a limited time.

Definite integrals

6 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • Limit definitions: Convert between Riemann sums and definite integrals.
  • Geometric evaluation: Evaluate definite integrals as net signed area.

From approximations to integrals

A definite integral calculates the exact net signed area under a curve by taking the limit of a right Riemann sum as the number of rectangles (n) approaches infinity.

As n→∞, the width of each rectangle (Δx) approaches 0, turning an approximation into an exact value.

Limit definition of the definite integral:

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

where:

  • Δx=nb−a​ is the width of each subinterval.

  • xk​=a+kΔx is the right-endpoint sample point.

Anatomy of an integral

The integral symbol ∫ replaces the limit and summation, while dx replaces the width Δx.

  • ∫ab​ (limits of integration): a is the lower bound (start) and b is the upper bound (end) on the x-axis.

  • f(x) (integrand): The function that determines the height of the region.

  • dx (variable of integration): Identifies the variable we are integrating with respect to, representing Δx→0. Always include this at the end.

To convert between Riemann sums and definite integrals, map the structural components directly:

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

Examples

Express the limit of the Riemann sum as a definite integral

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

Solution

(spoiler)

To convert this to a definite integral, match the components of the limit form.

1. Identify Δx to find [a,b]:

The term outside the function is the width:

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

Since Δx=n1​=nb−a​, we know:

  • b−a=1

2. Identify xk​ and find the lower bound (a):

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

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

This matches the expression in the limit 1+nk​, meaning a=1.

3. Find the upper bound (b):

Since a=1 and the total interval width is b−a=1, then

b−1b​=1=2​

4. Identify the function f(x):

Since xk​=1+nk​ is being squared, the outer matching function is:

f(x)=x2

Bringing it all together on the interval [1,2], the definite integral represented by the limit is:

∫12​x2dx​

Sidenote
An alternative choice

You could also define the inside variable as xk​=nk​, which means a=0 and b=1. This changes the function to f(x)=(1+x)2, resulting in ∫01​(1+x)2dx.

Both integrals represent the exact same geometric area, just shifted along the x-axis.

Definite integral to limit

Next, the process is reversed.

Express the definite integral as the limit of a Riemann sum

∫24​sin(x)dx

Solution

(spoiler)

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

1. Find Δx:

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

2. Write the sample point xk​:

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

3. Substitute into f(xk​)=sin(xk​):

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

4. Write in limit form:

n→∞lim​k=1∑n​Δxn2​​​⋅f(xk​)sin(2+n2k​)​​​

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

(spoiler)

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 with signed area:

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

A2​ is a triangle with base length 1 and height 2 with signed area:

  • A2​=21​(1)(2)=1

The integral gives the net signed area, which is the sum of the areas:

∫−21​2xdx=−4+1=−3

Try one with an absolute value function:

  1. Evaluate

∫−11​∣x∣dx

(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

Net signed area vs. total area

A definite integral measures net signed area: regions below the x-axis count as negative. For example, ∫−21​2xdx=−3 because the negative region outweighs the positive one.

By contrast, ∫−11​∣x∣dx=1 because ∣x∣≥0 everywhere - there’s no cancellation. If you were instead asked for ∫−11​xdx, the answer would be 0: the two triangles are equal in size but opposite in sign, so they cancel completely. When f changes sign on [a,b], the definite integral and the total (geometric) area between the curve and the x-axis are different quantities.

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:

  • Limit definitions: Convert between Riemann sums and definite integrals.
  • Geometric evaluation: Evaluate definite integrals as net signed area.

From approximations to integrals

A definite integral calculates the exact net signed area under a curve by taking the limit of a right Riemann sum as the number of rectangles (n) approaches infinity.

As n→∞, the width of each rectangle (Δx) approaches 0, turning an approximation into an exact value.

Limit definition of the definite integral:

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

where:

  • Δx=nb−a​ is the width of each subinterval.

  • xk​=a+kΔx is the right-endpoint sample point.

Anatomy of an integral

The integral symbol ∫ replaces the limit and summation, while dx replaces the width Δx.

  • ∫ab​ (limits of integration): a is the lower bound (start) and b is the upper bound (end) on the x-axis.

  • f(x) (integrand): The function that determines the height of the region.

  • dx (variable of integration): Identifies the variable we are integrating with respect to, representing Δx→0. Always include this at the end.

To convert between Riemann sums and definite integrals, map the structural components directly:

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

Examples

Express the limit of the Riemann sum as a definite integral

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

Solution

(spoiler)

To convert this to a definite integral, match the components of the limit form.

1. Identify Δx to find [a,b]:

The term outside the function is the width:

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

Since Δx=n1​=nb−a​, we know:

  • b−a=1

2. Identify xk​ and find the lower bound (a):

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

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

This matches the expression in the limit 1+nk​, meaning a=1.

3. Find the upper bound (b):

Since a=1 and the total interval width is b−a=1, then

b−1b​=1=2​

4. Identify the function f(x):

Since xk​=1+nk​ is being squared, the outer matching function is:

f(x)=x2

Bringing it all together on the interval [1,2], the definite integral represented by the limit is:

∫12​x2dx​

Sidenote
An alternative choice

You could also define the inside variable as xk​=nk​, which means a=0 and b=1. This changes the function to f(x)=(1+x)2, resulting in ∫01​(1+x)2dx.

Both integrals represent the exact same geometric area, just shifted along the x-axis.

Definite integral to limit

Next, the process is reversed.

Express the definite integral as the limit of a Riemann sum

∫24​sin(x)dx

Solution

(spoiler)

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

1. Find Δx:

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

2. Write the sample point xk​:

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

3. Substitute into f(xk​)=sin(xk​):

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

4. Write in limit form:

n→∞lim​k=1∑n​Δxn2​​​⋅f(xk​)sin(2+n2k​)​​​

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

(spoiler)

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 with signed area:

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

A2​ is a triangle with base length 1 and height 2 with signed area:

  • A2​=21​(1)(2)=1

The integral gives the net signed area, which is the sum of the areas:

∫−21​2xdx=−4+1=−3

Try one with an absolute value function:

  1. Evaluate

∫−11​∣x∣dx

(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

Net signed area vs. total area

A definite integral measures net signed area: regions below the x-axis count as negative. For example, ∫−21​2xdx=−3 because the negative region outweighs the positive one.

By contrast, ∫−11​∣x∣dx=1 because ∣x∣≥0 everywhere - there’s no cancellation. If you were instead asked for ∫−11​xdx, the answer would be 0: the two triangles are equal in size but opposite in sign, so they cancel completely. When f changes sign on [a,b], the definite integral and the total (geometric) area between the curve and the x-axis are different quantities.

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

More from Integration

  • Accumulation of change
  • Riemann sums & area
  • Accumulation functions
  • Behavior of accumulation functions
  • Fundamental theorem of calculus