Definite integral (Riemann sum form): Area as a Limit of Sums

By Vegard Gjerde Based on Masterful Learning 12 min read
definite-integral-riemann-sum math calculus integration learning-strategies

The definite integral (Riemann sum form) defines abf(x)dx\int_a^b f(x)\,dx as the limit of a Riemann sum: partition [a,b][a, b] into nn equal subintervals, form the sum i=1nf(xi)Δx\sum_{i=1}^n f(x_i^*)\,\Delta x of rectangle areas, and let nn \to \infty. The condition is that ff is integrable on [a,b][a, b], which holds for all continuous functions and most piecewise-continuous ones. When f0f \geq 0 the limit equals the geometric area under the curve; in general it is a signed accumulation, and the Fundamental Theorem evaluates it exactly using antidifferentiation.

Unisium hero image titled Definite integral (Riemann sum form) showing the principle equation and a conditions card.
The definite integral (Riemann sum form) abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx = \lim_{n \to \infty}\sum_{i=1}^n f(x_i^*)\Delta x with the condition ff integrable on [a,b][a, b].

On this page: The Principle | Conditions | Misconceptions | EE Questions | Retrieval Practice | Worked Example | Solve a Problem | FAQ


The Principle

Statement

The definite integral abf(x)dx\int_a^b f(x)\,dx is defined as the limit of a Riemann sum. The interval [a,b][a, b] is partitioned into nn equal subintervals of width Δx=(ba)/n\Delta x = (b - a)/n; within each subinterval a sample point xix_i^* is chosen and the product f(xi)Δxf(x_i^*)\,\Delta x gives the signed contribution of one thin rectangle. Adding all nn rectangles yields a Riemann sum i=1nf(xi)Δx\sum_{i=1}^n f(x_i^*)\,\Delta x, and the definite integral is the limit of that sum as nn \to \infty. When f0f \geq 0 on [a,b][a, b] this limit equals the geometric area between the graph and the xx-axis; in general it is a signed accumulation.

Mathematical Form

abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx = \lim_{n \to \infty}\sum_{i=1}^n f(x_i^*)\Delta x

Where:

  • aa, bb = lower and upper limits of integration (a<ba < b); define the interval of integration
  • ff = the integrand; the function evaluated at sample points across [a,b][a, b]
  • xx = the variable of integration
  • dxdx = the infinitesimal width element; corresponds to Δx\Delta x in the limit
  • nn = number of equal subintervals in the partition
  • Δx=ban\Delta x = \dfrac{b - a}{n} = width of each subinterval
  • xix_i^* = any sample point in the ii-th subinterval; when ff is integrable the limit does not depend on the specific rule used to choose xix_i^*
  • i=1nf(xi)Δx\sum_{i=1}^n f(x_i^*)\,\Delta x = the Riemann sum; the finite approximation that converges to the integral

Alternative Forms

The most common explicit convention for computation uses right endpoints:

  • Right-endpoint sum: abf(x)dx=limni=1nf ⁣(a+iΔx)Δx\displaystyle\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^n f\!\left(a + i\,\Delta x\right)\Delta x — substitutes xi=a+iΔxx_i^* = a + i\,\Delta x; the most frequent form in explicit limit derivations

Conditions of Applicability

Condition: f integrable on [a, b]

Practical modeling notes

  • The condition is satisfied by every function continuous on [a,b][a, b]. It is also satisfied by bounded functions with finitely many jump discontinuities (piecewise-continuous functions), provided they remain bounded throughout the interval.
  • “Integrable” means the limit of the Riemann sum exists and is the same regardless of how sample points xix_i^* are chosen within each subinterval. If ff is unbounded or discontinuous too frequently, the limit may fail to exist and the Riemann definition does not apply.
  • The equal-width partition Δx=(ba)/n\Delta x = (b-a)/n is the most convenient choice for explicit limit computations. For non-equal partitions, the analogous condition is that the maximum subinterval width must approach 00; the integral value is the same whenever integrability holds.

When It Doesn’t Apply

  • Unbounded integrand: If ff blows up at a point in [a,b][a, b] — for example, f(x)=1/xf(x) = 1/x near x=0x = 0 — the Riemann sum diverges. Use an improper integral to handle such cases.
  • Too many discontinuities: A function with infinitely many oscillations on [a,b][a, b] may not be Riemann-integrable; the limit of the Riemann sums may fail to exist.

Want the complete framework behind this guide? Read Masterful Learning.


Common Misconceptions

Misconception 1: “The definite integral always gives a positive area”

The truth: The definite integral gives signed area. When ff lies entirely below the xx-axis on [a,b][a, b], the integral is negative. When positive and negative contributions cancel, the integral can be zero even though ff is nonzero.

Why this matters: Setting up area, net-displacement, or net-flow integrals incorrectly by assuming positivity leads to sign errors. Recognizing the signed character determines whether to split the interval at zero-crossings to compute geometric area.

Misconception 2: “A Riemann sum and the definite integral are the same thing”

The truth: A Riemann sum i=1nf(xi)Δx\sum_{i=1}^n f(x_i^*)\,\Delta x is a finite approximation that depends on nn and the sample-point choice. The definite integral is the limit of that sequence as nn \to \infty. They agree only in that limit.

Why this matters: Treating a finite Riemann sum as exact introduces numerical error. The value of the definition is precisely that the limit eliminates the approximation, converting a discrete process into an exact value.

Misconception 3: “The choice of sample points xix_i^* changes the integral”

The truth: When ff is integrable, all valid sample-point choices — left endpoints, right endpoints, midpoints, or any point within each subinterval — produce the same limit. The flexibility is built into the definition.

Why this matters: Students who always use right endpoints may assume the integral changes with the rule, and then hesitate to choose the most algebraically convenient option when evaluating limits explicitly.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • In limni=1nf(xi)Δx\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\,\Delta x, what role does Δx\Delta x play geometrically, and why does it appear in every term of the sum?
  • If f(xi)<0f(x_i^*) < 0 for some sample point, what sign does the term f(xi)Δxf(x_i^*)\,\Delta x contribute to the Riemann sum, and how does that appear in the final value of abf(x)dx\int_a^b f(x)\,dx?

For the Principle

  • How would you recognize that a quantity accumulating continuously over [a,b][a, b] should be modeled as abf(x)dx\int_a^b f(x)\,dx rather than as a simple product of rate and time?
  • A student argues: “I will always use right endpoints because they are easiest.” Is that mathematically valid for computing abf(x)dx\int_a^b f(x)\,dx? What condition on ff is required for the choice of sample points not to matter?

Between Principles

  • The limit statement limxaf(x)=L\lim_{x \to a} f(x) = L involves a single input approaching a fixed value. How is the limit in limnf(xi)Δx\lim_{n\to\infty}\sum f(x_i^*)\,\Delta x structurally different — what is converging, and to what?

Generate an Example

  • Describe a physical quantity — such as displacement, mass, or charge — that can be expressed as abf(x)dx\int_a^b f(x)\,dx for some specific ff, aa, and bb. State what f(x)f(x), xx, and dxdx represent in your context, and explain why letting Δx0\Delta x \to 0 recovers the exact value.

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the principle in words: _____The definite integral of f from a to b is the limit of a Riemann sum as the number of subintervals grows without bound; when f is nonnegative this limit equals the area under the curve.
Write the canonical equation: _____abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx = \lim_{n \to \infty}\sum_{i=1}^n f(x_i^*)\Delta x
State the canonical condition: _____f integrable on [a, b]

Worked Example

Use this worked example to practice Self-Explanation.

Problem

Evaluate 02xdx\int_0^2 x\,dx directly from the Riemann sum definition, using right-endpoint sample points.

Step 1: Verbal Decoding

Target: 02xdx\int_0^2 x\,dx
Given: ff, aa, bb
Constraints: polynomial integrand on a closed bounded interval; equal-width partition; right-endpoint sample points

Step 2: Visual Decoding

Sketch f(x)=xf(x) = x on [0,2][0, 2]: a line through the origin rising to (2,2)(2, 2). Divide [0,2][0, 2] into nn equal subintervals of width Δx=2/n\Delta x = 2/n. At the right endpoint of subinterval ii, draw a rectangle of height f(xi)=2i/nf(x_i^*) = 2i/n. (The staircase of rectangles covers the triangular region under the line; the fit tightens as nn grows.)

Step 3: Mathematical Modeling

  1. 02xdx=limni=1n2in2n\int_0^2 x\,dx = \lim_{n\to\infty}\sum_{i=1}^n \frac{2i}{n}\cdot\frac{2}{n}

Step 4: Mathematical Procedures

  1. 02xdx=limn4n2i=1ni\int_0^2 x\,dx = \lim_{n\to\infty}\frac{4}{n^2}\sum_{i=1}^n i
  2. 02xdx=limn4n2n(n+1)2\int_0^2 x\,dx = \lim_{n\to\infty}\frac{4}{n^2}\cdot\frac{n(n+1)}{2}
  3. 02xdx=limn2(n+1)n\int_0^2 x\,dx = \lim_{n\to\infty}\frac{2(n+1)}{n}
  4. 02xdx=limn ⁣(2+2n)\int_0^2 x\,dx = \lim_{n\to\infty}\!\left(2 + \frac{2}{n}\right)
  5. 02xdx=2\underline{\int_0^2 x\,dx = 2}

Step 5: Reflection

  • Verification: The region under f(x)=xf(x) = x on [0,2][0, 2] is a right triangle with base 22 and height 22; area =12(2)(2)=2= \tfrac{1}{2}(2)(2) = 2
  • Limiting behavior: As nn \to \infty, the error term 2/n02/n \to 0; the staircase of rectangles converges to the exact triangular region.
  • Interpretation: f(x)=x0f(x) = x \geq 0 on [0,2][0, 2], so every rectangle contributes positively and the integral equals the geometric area.

Before moving on: self-explain the model

Try explaining Step 3 out loud (or in writing): why the Riemann sum definition is the right model here, what f(xi)=2i/nf(x_i^*) = 2i/n and Δx=2/n\Delta x = 2/n represent geometrically, and why taking the limit converts the finite approximation into an exact value.

Mathematical model with explanation

Principle: Definite Integral (Riemann Sum Form) — abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\,\Delta x.

Conditions: f(x)=xf(x) = x is continuous (hence integrable) on [0,2][0, 2].

Relevance: The problem asks for the exact signed area under f(x)=xf(x) = x by applying the definition directly. The Riemann sum form is the definition, so using it here is not a shortcut — it is the foundational computation the principle is designed to support.

Description: With a right-endpoint partition, the ii-th sample point is xi=2i/nx_i^* = 2i/n and the rectangle height is f(2i/n)=2i/nf(2i/n) = 2i/n. Substituting yields i=1n2in2n\sum_{i=1}^n \frac{2i}{n}\cdot\frac{2}{n}, a finite sum that can be evaluated in closed form using i=1ni=n(n+1)/2\sum_{i=1}^n i = n(n+1)/2.

Goal: Factor constants out of the sum, apply the closed-form identity, simplify the resulting rational expression in nn, and take the limit as nn \to \infty.


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem

Evaluate 01x2dx\int_0^1 x^2\,dx directly from the Riemann sum definition, using right-endpoint sample points.

Hint (if needed): The sum of squares formula is i=1ni2=n(n+1)(2n+1)6\displaystyle\sum_{i=1}^n i^2 = \dfrac{n(n+1)(2n+1)}{6}.

Show Solution

Step 1: Verbal Decoding

Target: 01x2dx\int_0^1 x^2\,dx
Given: ff, aa, bb
Constraints: polynomial integrand on a closed bounded interval; equal-width partition; right-endpoint sample points; sum-of-squares identity provided

Step 2: Visual Decoding

Sketch f(x)=x2f(x) = x^2 on [0,1][0, 1]: a parabola from (0,0)(0, 0) to (1,1)(1, 1), curving below the diagonal y=xy = x. Partition [0,1][0, 1] into nn equal subintervals of width Δx=1/n\Delta x = 1/n. The right endpoint of subinterval ii is xi=i/nx_i^* = i/n, giving rectangle height f(i/n)=i2/n2f(i/n) = i^2/n^2. (The parabola lies strictly below the diagonal y=xy = x on (0,1)(0, 1), so the staircase covers strictly less area than the triangular region.)

Step 3: Mathematical Modeling

  1. 01x2dx=limni=1ni2n21n\int_0^1 x^2\,dx = \lim_{n\to\infty}\sum_{i=1}^n \frac{i^2}{n^2}\cdot\frac{1}{n}

Step 4: Mathematical Procedures

  1. 01x2dx=limn1n3i=1ni2\int_0^1 x^2\,dx = \lim_{n\to\infty}\frac{1}{n^3}\sum_{i=1}^n i^2
  2. 01x2dx=limn1n3n(n+1)(2n+1)6\int_0^1 x^2\,dx = \lim_{n\to\infty}\frac{1}{n^3}\cdot\frac{n(n+1)(2n+1)}{6}
  3. 01x2dx=limn(n+1)(2n+1)6n2\int_0^1 x^2\,dx = \lim_{n\to\infty}\frac{(n+1)(2n+1)}{6n^2}
  4. 01x2dx=limn2n2+3n+16n2\int_0^1 x^2\,dx = \lim_{n\to\infty}\frac{2n^2+3n+1}{6n^2}
  5. 01x2dx=13\underline{\int_0^1 x^2\,dx = \frac{1}{3}}

Step 5: Reflection

  • Verification: The antiderivative of x2x^2 is x3/3x^3/3; [x3/3]01=1/3\bigl[x^3/3\bigr]_0^1 = 1/3
  • Magnitude/plausibility: The parabola x2x^2 lies strictly below y=xy = x on (0,1)(0, 1), so 13<01xdx=12\tfrac{1}{3} < \int_0^1 x\,dx = \tfrac{1}{2}
  • Limiting behavior: As nn \to \infty, the terms 3n+13n + 1 in the numerator become negligible; the dominant ratio 2n2/(6n2)=1/32n^2/(6n^2) = 1/3 confirms the result.

PrincipleRelationship to Definite Integral (Riemann Sum Form)
Indefinite Integral as AntiderivativeSupplies FF via F(x)=f(x)F'(x) = f(x); the Fundamental Theorem then evaluates the Riemann-sum definition as F(b)F(a)F(b) - F(a)
Fundamental Theorem of Calculus (Part 2)Directly connects this limit-of-sums definition to antidifferentiation, enabling exact evaluation without explicit limit computation
Limit StatementPrerequisite — the definite integral is a specific instance of a limit: the limit of a sequence of Riemann sums indexed by nn

See Principle Structures for how these relationships fit hierarchically.


FAQ

What is the definite integral (Riemann sum form)?

The definite integral abf(x)dx\int_a^b f(x)\,dx is defined as limni=1nf(xi)Δx\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\,\Delta x: partition [a,b][a, b], form rectangle areas using sample-point heights, and take the limit as the partition becomes infinitely fine. When f0f \geq 0 this limit equals the geometric area under the curve; in general it is a signed accumulation.

What does “f integrable on [a, b]” mean in practice?

It means the Riemann sum limit exists and is the same regardless of how sample points are chosen within each subinterval. Every function continuous on [a,b][a, b] satisfies this, as does any bounded function with at most finitely many jump discontinuities. Functions that are unbounded or oscillate infinitely may not.

Does the choice of sample points xix_i^* change the value of abf(x)dx\int_a^b f(x)\,dx?

No — when ff is integrable, all valid choices (left endpoints, right endpoints, midpoints, or any point within each subinterval) produce the same limit. In textbook derivations the right-endpoint convention is standard because it simplifies the algebra; any choice gives the correct answer.

What is the difference between a Riemann sum and a definite integral?

A Riemann sum i=1nf(xi)Δx\sum_{i=1}^n f(x_i^*)\,\Delta x is a finite approximation that depends on nn and the chosen sample points. The definite integral is the exact value obtained by taking nn \to \infty. The Riemann sum approximates; the integral is the limit of that approximation.

When does abf(x)dx\int_a^b f(x)\,dx equal the geometric area under the curve?

Only when f(x)0f(x) \geq 0 on all of [a,b][a, b]. If ff dips below the xx-axis, the integral is signed: below-axis portions contribute negatively. To compute total geometric area, split the interval at the zeros of ff and sum the absolute values of each piece.

The definite integral abf(x)dx\int_a^b f(x)\,dx is a number (the signed area from aa to bb). The indefinite integral f(x)dx=F(x)+C\int f(x)\,dx = F(x) + C is a family of functions. The Fundamental Theorem of Calculus connects them: if F(x)=f(x)F'(x) = f(x), then abf(x)dx=F(b)F(a)\int_a^b f(x)\,dx = F(b) - F(a).



How This Fits in Unisium

Unisium structures the definite integral (Riemann sum form) as a representational principle: the equation abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\,\Delta x is the definition to model, and computing the limit of an explicit Riemann sum is the confirming procedure. Elaborative encoding exercises ask why the signed-area interpretation fails when ff changes sign, what integrability rules out, and how this definition connects to the Fundamental Theorem. Retrieval prompts and structured problem sets then build the fluency needed so the definition is immediately accessible in exam contexts. Mastering this principle makes every subsequent integration technique — substitution, integration by parts, numerical methods — interpretable as a method for evaluating or approximating the same limit.

Ready to master the definite integral? Start practicing with Unisium or explore the full framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The study system for physics, math, & programming that works: retrieval, connection, explanation, problem solving, and more.

Read the book (opens in new tab) ISBN 979-8-2652-9642-9

Ready to apply this strategy?

Join Unisium and start implementing these evidence-based learning techniques.

Start Learning with Unisium Read More Guides

Want the complete framework? This guide is from Masterful Learning.

Learn about the book →