How to Turn a Summation into an Integral
At a glance
- 1. Find the mesh
Identify the interval and the spacing between sample points, usually the interval length divided by the number of terms.
- 2. Match each term
Rewrite each summand as a function evaluated at a sample point, multiplied by the spacing.
- 3. Take the limit
Recognize the resulting expression as a Riemann sum and use the definite integral when the function is integrable.
- 4. Check the setup
Verify the interval, sample points, and scaling; an infinite series is not automatically an integral.
A sum can approach a definite integral when its terms represent function values across an interval, each weighted by the width of a small subinterval. This is the Riemann-sum definition of an integral.
The key is to identify the interval, sample points, and spacing. Merely having infinitely many terms does not make a sum an integral; a fixed infinite series and a limit of increasingly fine finite sums are different objects.
The Riemann-sum pattern
Divide an interval into equal parts. Each part has width
If is a sample point in the th part, the corresponding Riemann sum is
When is integrable, these sums approach the definite integral as the subintervals get narrower:
For right endpoints, . For left endpoints, . Other choices, such as midpoints, work too. For a continuous function, these choices have the same limit.
A practical conversion method
Given a sum that depends on , use this checklist:
- Find a factor that can serve as , often or .
- Rewrite the remaining part of each term as .
- Determine the interval from the sample points. For example, with samples the interval at right endpoints.
- Write the matching integral and evaluate it if needed.
If the summand has the form , then the usual interpretation is
provided is integrable on .
More generally, if the sample points are , the spacing is , so the factor multiplying each function value must match that spacing.
Worked example
Evaluate the limit
The sample points are , the right endpoints of equal subintervals of . Their spacing is . The summand is therefore for . It follows that
You can check this directly from the formula for the sum of squares:
Both methods give .
Common mistakes
- Dropping the spacing factor. A sum of function values alone usually is not a Riemann sum. The factor makes each term represent a small contribution to area.
- Using the wrong interval. The values for range across . Values such as instead sample and have spacing .
- Treating a fixed series as a Riemann sum. The series adds a particular sequence of terms. A Riemann-sum limit generally has both a changing number of terms and terms that depend on .
- Assuming an integral equals a series. The integral test can compare a positive series with an improper integral, but it usually gives bounds or information about convergence—not equality.
- Ignoring integrability. The Riemann-sum limit is justified when the function is integrable on the interval. Continuity is a common sufficient condition, though not necessary.
What if the expression is an infinite series?
If you have a fixed series such as , you cannot generally convert it directly into a definite integral. Depending on the goal, you may use the integral test to study convergence, or use an integral to estimate partial sums. Those methods relate a sum and an integral but are not the same as recognizing a Riemann sum.
For instance, changes as changes and samples a fixed interval more finely. By contrast, is a fixed series. Its value can be found by other methods, but it is not obtained simply by reading it as a Riemann sum.
References
- Calculus, Volume 1
- Principles of Mathematical Analysis
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.