MatheramaMatherama
← Definite Integration
Definite Integration·Section 14·17 min read

Definite Integrals as the Limit of a Sum

Revisiting the Right Sum and Left Sum§

In the opening sections of this chapter, we learned how to find the area under a continuous curve y=f(x)y = f(x) on [a,b][a, b] from first principles. Dividing [a,b][a, b] into nn equal strips of width h=b−anh = \frac{b - a}{n} (so that nh=b−anh = b - a) gave the Left Sum and the Right Sum, both of which converge to the definite integral as n→∞n \to \infty:

∫abf(x) dx=lim⁡n→∞h∑r=0n−1f(a+rh)=lim⁡n→∞h∑r=1nf(a+rh)\int_a^b f(x)\,dx = \lim_{n \to \infty} h \sum_{r=0}^{n-1} f(a + rh) = \lim_{n \to \infty} h \sum_{r=1}^{n} f(a + rh)

Now focus on the Right Sum and consider the simplest special case: a=0a = 0 and b=1b = 1.

When we divide the interval [0,1][0, 1] into nn equal parts, each step has length h=1−0n=1nh = \frac{1 - 0}{n} = \frac{1}{n}, and the division points along the xx-axis are:

0,1n,2n,3n,…,r−1n,rn,…,nn=10,\quad \frac{1}{n},\quad \frac{2}{n},\quad \frac{3}{n},\quad \dots,\quad \frac{r - 1}{n},\quad \frac{r}{n},\quad \dots,\quad \frac{n}{n} = 1

As shown in the figure below, the rr-th rectangular strip sits on the base [r−1n,rn]\left[\frac{r-1}{n}, \frac{r}{n}\right] of width 1n\frac{1}{n}, and its height at the right endpoint xr=rnx_r = \frac{r}{n} is f ⁣(rn)f\!\left(\frac{r}{n}\right), giving it an area of 1nf ⁣(rn)\frac{1}{n}f\!\left(\frac{r}{n}\right):

Dividing the interval 0 to 1 into n equal strips of step length 1/n

Adding the areas of all nn strips from r=1r = 1 to r=nr = n and taking the limit as n→∞n \to \infty gives our fundamental formula on [0,1][0, 1]:

∫01f(x) dx=lim⁡n→∞1n∑r=1nf ⁣(rn)\int_0^1 f(x)\,dx = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{r}{n}\right)

(Similarly, using the Left Sum on [0,1][0, 1] evaluates heights at the left endpoints, giving ∫01f(x) dx=lim⁡n→∞1n∑r=0n−1f ⁣(rn)\int_0^1 f(x)\,dx = \lim_{n \to \infty} \frac{1}{n} \sum_{r=0}^{n-1} f\!\left(\frac{r}{n}\right).)


A Motivating Example and a Surprising Paradox§

Let us test this [0,1][0, 1] formula on the function f(x)=11+x2f(x) = \frac{1}{1 + x^2}. Substituting f ⁣(rn)=11+(r/n)2f\!\left(\frac{r}{n}\right) = \frac{1}{1 + (r/n)^2} into the Right Sum gives:

∫0111+x2 dx=lim⁡n→∞1n∑r=1n11+(rn)2=lim⁡n→∞∑r=1nnn2+r2\int_0^1 \frac{1}{1 + x^2}\,dx = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \left(\frac{r}{n}\right)^2} = \lim_{n \to \infty} \sum_{r=1}^{n} \frac{n}{n^2 + r^2}

Expanding the summation term by term for r=1,2,3,…,nr = 1, 2, 3, \dots, n, we obtain the series:

∫0111+x2 dx=lim⁡n→∞(nn2+12+nn2+22+nn2+32+⋯+nn2+n2)\int_0^1 \frac{1}{1 + x^2}\,dx = \lim_{n \to \infty} \left(\frac{n}{n^2 + 1^2} + \frac{n}{n^2 + 2^2} + \frac{n}{n^2 + 3^2} + \dots + \frac{n}{n^2 + n^2}\right)

Pause and examine this series carefully. What happens to each individual term as n→∞n \to \infty?

lim⁡n→∞nn2+12=0,lim⁡n→∞nn2+22=0,…,lim⁡n→∞nn2+n2=lim⁡n→∞12n=0\lim_{n \to \infty} \frac{n}{n^2 + 1^2} = 0, \qquad \lim_{n \to \infty} \frac{n}{n^2 + 2^2} = 0, \qquad \dots, \qquad \lim_{n \to \infty} \frac{n}{n^2 + n^2} = \lim_{n \to \infty} \frac{1}{2n} = 0

Every single term of the series approaches 00! At first glance, you might wonder: if every term approaches 00, shouldn't the entire sum be 0+0+⋯+0=00 + 0 + \dots + 0 = 0?

No—that is impossible! By the First Fundamental Theorem of Calculus, we already know the exact value of the left-hand side:

∫0111+x2 dx=[tan⁡−1x]01=tan⁡−1(1)−tan⁡−1(0)=π4≠0\int_0^1 \frac{1}{1 + x^2}\,dx = \Big[\tan^{-1} x\Big]_0^1 = \tan^{-1}(1) - \tan^{-1}(0) = \frac{\pi}{4} \neq 0

Why doesn't the sum equal 00? Because as each individual term shrinks toward 00 (at the rate of 1n\frac{1}{n}), the number of terms nn simultaneously grows to ∞\infty! You can only add the limits of individual terms when the number of terms is fixed and finite. When n→∞n \to \infty terms each of size roughly 1n\frac{1}{n} are added together, the competing effects (n×1nn \times \frac{1}{n}) balance out to produce the finite, non-zero value π4\frac{\pi}{4}.


Reversing the Process: From a Series Back to a Definite Integral§

In the example above, we started with a known integral ∫0111+x2 dx\int_0^1 \frac{1}{1+x^2}\,dx and expanded its Right Sum into a series. In this section, we do the exact opposite process: we are given the limit of a series and asked to find its value by recognizing the definite integral hidden inside it.

Let us see how this works on a concrete example before stating any general rule. Suppose we want to evaluate:

L=lim⁡n→∞(1n+1+1n+2+1n+3+⋯+12n)L = \lim_{n \to \infty} \left(\frac{1}{n + 1} + \frac{1}{n + 2} + \frac{1}{n + 3} + \dots + \frac{1}{2n}\right)

First, notice the telltale signature: as n→∞n \to \infty, each individual term (1n+1,1n+2,…,12n\frac{1}{n+1}, \frac{1}{n+2}, \dots, \frac{1}{2n}) approaches 00, while the number of terms nn grows to ∞\infty. So we cannot take the limit term by term. Instead, let us run our Right Sum steps in reverse to match the standard definition on [0,1][0, 1]:

lim⁡n→∞1n∑r=1nf ⁣(rn)=∫01f(x) dx\lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{r}{n}\right) = \int_0^1 f(x)\,dx

Step 1 (Condense the series into ∑\sum notation): Look at how the denominators change from term to term: n+1,  n+2,  n+3,  …,  n+nn + 1,\; n + 2,\; n + 3,\; \dots,\; n + n. Using a running index rr from 11 to nn, the rr-th term is 1n+r\frac{1}{n + r}:

L=lim⁡n→∞∑r=1n1n+rL = \lim_{n \to \infty} \sum_{r=1}^{n} \frac{1}{n + r}

Step 2 (Reshape to expose 1n\frac{1}{n} and rn\frac{r}{n}): In the Right Sum formula 1n∑r=1nf ⁣(rn)\frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{r}{n}\right), a strip width 1n\frac{1}{n} sits outside the sum and the index rr appears only in the ratio rn\frac{r}{n}. To create rn\frac{r}{n}, factor nn out of the denominator n+r=n(1+rn)n + r = n\left(1 + \frac{r}{n}\right):

L=lim⁡n→∞1n∑r=1n11+rnL = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \frac{r}{n}}

Step 3 (Compare directly with the Right Sum definition): Place our limit right next to the Right Sum definition on [0,1][0, 1]:

lim⁡n→∞1n∑r=1n11+(rn)⟷lim⁡n→∞1n∑r=1nf ⁣(rn)=∫01f(x) dx\lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \left(\frac{r}{n}\right)} \qquad \longleftrightarrow \qquad \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{r}{n}\right) = \int_0^1 f(x)\,dx

By direct comparison, our sum is literally the Right Sum of the function f(x)=11+xf(x) = \frac{1}{1 + x} on [0,1][0, 1], where 1n\frac{1}{n} is the strip width hh and rn\frac{r}{n} is the sample point xrx_r! Therefore, by the definition of the definite integral:

L=∫0111+x dx=[ln⁡(1+x)]01=ln⁡2−ln⁡1=ln⁡2L = \int_0^1 \frac{1}{1 + x}\,dx = \Big[\ln(1 + x)\Big]_0^1 = \ln 2 - \ln 1 = \ln 2

Summary of the Working Procedure§

In practice, once you have arranged a limit into the standard form lim⁡n→∞1n∑r=1nf ⁣(rn)\lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{r}{n}\right), you do not need to write out the full side-by-side comparison every single time. You can convert the sum directly into ∫01f(x) dx\int_0^1 f(x)\,dx using this short working procedure:

  1. Write the series in summation (∑\sum) form using a running index rr.
  2. Factor out 1n\frac{1}{n} and rewrite the remaining expression strictly in terms of rn\frac{r}{n} so that it takes the form lim⁡n→∞1n∑r=1nf ⁣(rn)\lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{r}{n}\right).
  3. Convert to the definite integral by matching each part of the Right Sum:
    • Replace rn\frac{r}{n} by xx (the sample point xr=rnx_r = \frac{r}{n}).
    • Replace 1n\frac{1}{n} by dxdx (the strip width h=1nh = \frac{1}{n}).
    • Replace lim⁡n→∞∑r=1n\lim_{n \to \infty} \sum_{r=1}^{n} by ∫01\int_0^1 (since rn\frac{r}{n} runs from lim⁡n→∞1n=0\lim_{n \to \infty} \frac{1}{n} = 0 at r=1r = 1 to lim⁡n→∞nn=1\lim_{n \to \infty} \frac{n}{n} = 1 at r=nr = n).

Extending to the General Case: Deciding the Lower and Upper Limits§

What if the summation index rr does not simply run from 11 to nn? Let us trace what happens when the starting index or ending index changes.

1. Shifted Starting Index (Why r = 6 to n Still Starts at a = 0)§

Suppose a sum starts at r=6r = 6 instead of r=1r = 1. Compared to the full sum from r=1r = 1 to nn, only the first 55 terms (r=1,2,3,4,5r = 1, 2, 3, 4, 5) are missing.

As we just saw in our motivating example, each individual term approaches 00 as n→∞n \to \infty. Because 55 is a fixed finite number of terms, the sum of those 55 missing terms genuinely approaches 0+0+0+0+0=00 + 0 + 0 + 0 + 0 = 0! Removing or adding any fixed finite number of terms at either end changes nothing in the limit—the lower limit of integration is still a=lim⁡n→∞6n=0a = \lim_{n \to \infty} \frac{6}{n} = 0.

2. Extended Upper Index (0 to 2, 0 to 4, and r = 6 to 2n)§

When rr runs from 11 to nn, the point xr=rnx_r = \frac{r}{n} steps by 1n\frac{1}{n} from 1n→0\frac{1}{n} \to 0 up to nn=1\frac{n}{n} = 1, covering the interval [0,1][0, 1].

  • Up to 2n2n (e.g., r=1r = 1 to 2n2n, or r=6r = 6 to 2n2n): As rr continues past nn up to 2n2n, the fraction rn\frac{r}{n} keeps marching past 11 all the way to 2nn=2\frac{2n}{n} = 2. Even if the sum starts at r=6r = 6 and ends at r=2nr = 2n, the first point is 6n→0\frac{6}{n} \to 0 and the last point is 2nn=2\frac{2n}{n} = 2, so the integral runs from 00 to 22: ∫02f(x) dx\int_0^2 f(x)\,dx.
  • Up to 4n4n (e.g., r=0r = 0 to 4n−14n - 1): The fraction rn\frac{r}{n} sweeps from 0n=0\frac{0}{n} = 0 to 4n−1n→4\frac{4n - 1}{n} \to 4, giving an integral from 00 to 44: ∫04f(x) dx\int_0^4 f(x)\,dx.
  • Starting at a multiple of nn (e.g., r=n+1r = n + 1 to 4n4n): Here the first term sits at n+1n→1\frac{n + 1}{n} \to 1 and the last term sits at 4nn=4\frac{4n}{n} = 4, so the strips cover 11 to 44: ∫14f(x) dx\int_1^4 f(x)\,dx.

Diagram showing how sum limits like r = 6 to 2n map to 0 to 2 and r = 2n to 3n map to 2 to 3

3. The General Conversion Rule§

Putting these observations together gives the universal rule for any starting index r=ϕ(n)r = \phi(n) and ending index r=ψ(n)r = \psi(n). Simply compute the limiting values of rn\frac{r}{n} at the two extremes:

a=lim⁡n→∞ϕ(n)nandb=lim⁡n→∞ψ(n)na = \lim_{n \to \infty} \frac{\phi(n)}{n} \qquad \text{and} \qquad b = \lim_{n \to \infty} \frac{\psi(n)}{n}

Then the limit of the sum converts directly into the definite integral from aa to bb:

lim⁡n→∞1n∑r=ϕ(n)ψ(n)f ⁣(rn)=∫abf(x) dx\lim_{n \to \infty} \frac{1}{n} \sum_{r = \phi(n)}^{\psi(n)} f\!\left(\frac{r}{n}\right) = \int_a^b f(x)\,dx

Reference Table of General Index Ranges§

Here is a quick summary of how common index ranges translate into [a,b][a, b] when x=rnx = \frac{r}{n} and Δx=1n\Delta x = \frac{1}{n}:

Index Range for rr Lower Limit a=lim⁡n→∞rstartna = \lim_{n\to\infty} \frac{r_{\text{start}}}{n} Upper Limit b=lim⁡n→∞rendnb = \lim_{n\to\infty} \frac{r_{\text{end}}}{n} Resulting Integral
r=1r = 1 to nn lim⁡1n=0\lim \frac{1}{n} = 0 lim⁡nn=1\lim \frac{n}{n} = 1 ∫01f(x) dx\int_0^1 f(x)\,dx
r=6r = 6 to 2n2n lim⁡6n=0\lim \frac{6}{n} = 0 lim⁡2nn=2\lim \frac{2n}{n} = 2 ∫02f(x) dx\int_0^2 f(x)\,dx
r=0r = 0 to 4n−14n - 1 lim⁡0n=0\lim \frac{0}{n} = 0 lim⁡4n−1n=4\lim \frac{4n - 1}{n} = 4 ∫04f(x) dx\int_0^4 f(x)\,dx
r=n+1r = n + 1 to 4n4n lim⁡n+1n=1\lim \frac{n + 1}{n} = 1 lim⁡4nn=4\lim \frac{4n}{n} = 4 ∫14f(x) dx\int_1^4 f(x)\,dx
r=−n+2r = -n + 2 to 2n−52n - 5 lim⁡−n+2n=−1\lim \frac{-n + 2}{n} = -1 lim⁡2n−5n=2\lim \frac{2n - 5}{n} = 2 ∫−12f(x) dx\int_{-1}^2 f(x)\,dx
r=αn+c1r = \alpha n + c_1 to βn+c2\beta n + c_2 lim⁡αn+c1n=α\lim \frac{\alpha n + c_1}{n} = \alpha lim⁡βn+c2n=β\lim \frac{\beta n + c_2}{n} = \beta ∫αβf(x) dx\int_\alpha^\beta f(x)\,dx

Crucial Warning: Match Your Variable Choice to the Step Width§

Compare these two very similar-looking limits:

IA=lim⁡n→∞1n∑r=12nf ⁣(rn)vs.IB=lim⁡n→∞1n∑r=1nf ⁣(2rn)I_A = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{2n} f\!\left(\frac{r}{n}\right) \qquad \text{vs.} \qquad I_B = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} f\!\left(\frac{2r}{n}\right)
  • In IAI_A: Setting x=rnx = \frac{r}{n}, the endpoints run from 00 to 22, and the step size is Δx=1n\Delta x = \frac{1}{n}, so IA=∫02f(x) dxI_A = \int_0^2 f(x)\,dx.
  • In IBI_B: Look closely! If you set x=rnx = \frac{r}{n}, then r=1r = 1 to nn gives limits 00 to 11, and the integrand is f(2x)f(2x), so IB=∫01f(2x) dxI_B = \int_0^1 f(2x)\,dx. By the scaling property (t=2xt = 2x), this equals 12∫02f(t) dt\frac{1}{2}\int_0^2 f(t)\,dt—half of IAI_A!

(If you ever choose a scaled variable t=krnt = \frac{kr}{n} directly inside IBI_B, remember that consecutive values tr+1−tr=knt_{r+1} - t_r = \frac{k}{n}, so you must pair dtdt with kn\frac{k}{n}, writing 1n=1k(kn)⟶1k dt\frac{1}{n} = \frac{1}{k}\left(\frac{k}{n}\right) \longrightarrow \frac{1}{k}\,dt. Keeping x=rnx = \frac{r}{n} and using the scaling property afterward avoids this mistake every time!)


Core Worked Examples: Sums and Disguised Series§


Example 1: Handling Shifted and Extended Index Limits

Evaluate both limits:

  1. L1=lim⁡n→∞∑r=62nnn2+r2L_1 = \lim_{n \to \infty} \sum_{r=6}^{2n} \frac{n}{n^2 + r^2}
  2. L2=lim⁡n→∞1n∑r=n+14nnrL_2 = \lim_{n \to \infty} \frac{1}{n} \sum_{r=n+1}^{4n} \sqrt{\frac{n}{r}}

Solution:

Part 1: Divide numerator and denominator inside the sum by n2n^2 to isolate 1n\frac{1}{n} and rn\frac{r}{n}:

L1=lim⁡n→∞1n∑r=62n11+(rn)2L_1 = \lim_{n \to \infty} \frac{1}{n} \sum_{r=6}^{2n} \frac{1}{1 + \left(\frac{r}{n}\right)^2}

Set x=rnx = \frac{r}{n} and 1n→dx\frac{1}{n} \to dx. The index limits give a=lim⁡n→∞6n=0a = \lim_{n \to \infty} \frac{6}{n} = 0 and b=lim⁡n→∞2nn=2b = \lim_{n \to \infty} \frac{2n}{n} = 2:

L1=∫02dx1+x2=[tan⁡−1x]02=tan⁡−1(2)L_1 = \int_0^2 \frac{dx}{1 + x^2} = \Big[\tan^{-1} x\Big]_0^2 = \tan^{-1}(2)

Part 2: Write nr=1r/n\sqrt{\frac{n}{r}} = \frac{1}{\sqrt{r/n}}. As rr runs from n+1n + 1 to 4n4n, the limits are a=lim⁡n→∞n+1n=1a = \lim_{n\to\infty}\frac{n+1}{n} = 1 and b=lim⁡n→∞4nn=4b = \lim_{n\to\infty}\frac{4n}{n} = 4:

L2=lim⁡n→∞1n∑r=n+14n1r/n=∫14dxx=[2x]14=4−2=2L_2 = \lim_{n \to \infty} \frac{1}{n} \sum_{r=n+1}^{4n} \frac{1}{\sqrt{r/n}} = \int_1^4 \frac{dx}{\sqrt{x}} = \Big[2\sqrt{x}\Big]_1^4 = 4 - 2 = 2

Example 2: Comparing Two Variable Choices (r/n vs. pi*r / 2n)

Evaluate:

A=lim⁡n→∞∑r=13nrn2+r2andB=lim⁡n→∞1n∑r=1nsin⁡ ⁣(πr2n)A = \lim_{n \to \infty} \sum_{r=1}^{3n} \frac{r}{n^2 + r^2} \qquad \text{and} \qquad B = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \sin\!\left(\frac{\pi r}{2n}\right)

Solution:

Evaluating AA: Divide top and bottom by n2n^2 to separate 1n\frac{1}{n} and rn\frac{r}{n}:

A=lim⁡n→∞1n∑r=13nr/n1+(r/n)2A = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{3n} \frac{r/n}{1 + (r/n)^2}

Here a=0a = 0 and b=lim⁡n→∞3nn=3b = \lim_{n\to\infty}\frac{3n}{n} = 3:

A=∫03x1+x2 dx=[12ln⁡(1+x2)]03=12ln⁡10A = \int_0^3 \frac{x}{1 + x^2}\,dx = \left[\frac{1}{2}\ln(1 + x^2)\right]_0^3 = \frac{1}{2}\ln 10

Evaluating BB: Using the safe standard choice x=rnx = \frac{r}{n} with a=0a = 0 and b=1b = 1:

B=∫01sin⁡ ⁣(πx2)dx=[−2πcos⁡ ⁣(πx2)]01=2πB = \int_0^1 \sin\!\left(\frac{\pi x}{2}\right) dx = \left[-\frac{2}{\pi}\cos\!\left(\frac{\pi x}{2}\right)\right]_0^1 = \frac{2}{\pi}

(Check with scaled variable t=πr2nt = \frac{\pi r}{2n}: consecutive points jump by Δt=π2n\Delta t = \frac{\pi}{2n}, so 1n=2π⋅Δt⟶2π dt\frac{1}{n} = \frac{2}{\pi} \cdot \Delta t \longrightarrow \frac{2}{\pi}\,dt, and tt runs from 00 to π2\frac{\pi}{2}, giving 2π∫0π/2sin⁡t dt=2π\frac{2}{\pi}\int_0^{\pi/2}\sin t\,dt = \frac{2}{\pi}. Both paths agree completely.)


Example 3: Extracting Higher Powers and Radical Denominators

Evaluate:

  1. I1=lim⁡n→∞1n2∑r=1nrsec⁡2 ⁣(r2n2)I_1 = \lim_{n \to \infty} \frac{1}{n^2} \sum_{r=1}^{n} r \sec^2\!\left(\frac{r^2}{n^2}\right)
  2. I2=lim⁡n→∞∑r=1n14n2−r2I_2 = \lim_{n \to \infty} \sum_{r=1}^{n} \frac{1}{\sqrt{4n^2 - r^2}}

Solution:

Part 1: Keep one 1n\frac{1}{n} outside for dxdx, and absorb the remaining 1n\frac{1}{n} into rr to form rn\frac{r}{n}:

I1=lim⁡n→∞1n∑r=1n(rn)sec⁡2 ⁣((rn)2)I_1 = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \left(\frac{r}{n}\right) \sec^2\!\left(\left(\frac{r}{n}\right)^2\right)

Converting rn→x\frac{r}{n} \to x over [0,1][0, 1] and substituting u=x2u = x^2 (du=2x dxdu = 2x\,dx):

I1=∫01xsec⁡2(x2) dx=12∫01sec⁡2u du=12tan⁡(1)I_1 = \int_0^1 x \sec^2(x^2)\,dx = \frac{1}{2} \int_0^1 \sec^2 u\,du = \frac{1}{2}\tan(1)

Part 2: Factor nn out of 4n2−r2=n4−(r/n)2\sqrt{4n^2 - r^2} = n\sqrt{4 - (r/n)^2}:

I2=lim⁡n→∞1n∑r=1n14−(r/n)2=∫01dx4−x2I_2 = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \frac{1}{\sqrt{4 - (r/n)^2}} = \int_0^1 \frac{dx}{\sqrt{4 - x^2}}

Integrating directly gives:

I2=[sin⁡−1 ⁣(x2)]01=sin⁡−1 ⁣(12)−0=π6I_2 = \left[\sin^{-1}\!\left(\frac{x}{2}\right)\right]_0^1 = \sin^{-1}\!\left(\frac{1}{2}\right) - 0 = \frac{\pi}{6}

Example 4: Odd-Indexed Denominators and Vanishing Small Offsets

Evaluate:

L=lim⁡n→∞(1n+1+1n+3+1n+5+⋯+13n−1)L = \lim_{n \to \infty} \left(\frac{1}{n + 1} + \frac{1}{n + 3} + \frac{1}{n + 5} + \dots + \frac{1}{3n - 1}\right)

Solution: Observe that the denominators form an arithmetic progression with common difference 22: n+(2r−1)n + (2r - 1) as rr runs from r=1r = 1 (n+1n + 1) to r=nr = n (n+2n−1=3n−1n + 2n - 1 = 3n - 1). Factor out 1n\frac{1}{n}:

L=lim⁡n→∞1n∑r=1n11+2r−1n=lim⁡n→∞1n∑r=1n11+2rn−1nL = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \frac{2r - 1}{n}} = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \frac{2r}{n} - \frac{1}{n}}

Notice the tiny −1n-\frac{1}{n} offset inside the denominator. Since 2(r−1)n<2r−1n<2rn\frac{2(r-1)}{n} < \frac{2r - 1}{n} < \frac{2r}{n}, we can trap the sum neatly between two exact Right and Left Sums:

1n∑r=1n11+2rn<1n∑r=1n11+2r−1n<1n∑r=1n11+2(r−1)n\frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \frac{2r}{n}} < \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \frac{2r - 1}{n}} < \frac{1}{n} \sum_{r=1}^{n} \frac{1}{1 + \frac{2(r - 1)}{n}}

As n→∞n \to \infty, both the left-hand sum and the right-hand sum converge to the exact same integral ∫01dx1+2x\int_0^1 \frac{dx}{1 + 2x}. By the Squeeze Theorem:

L=∫01dx1+2x=[12ln⁡(1+2x)]01=12ln⁡3L = \int_0^1 \frac{dx}{1 + 2x} = \left[\frac{1}{2}\ln(1 + 2x)\right]_0^1 = \frac{1}{2}\ln 3

(Takeaway: any small O(1/n)O(1/n) shift inside a continuous function's argument—such as replacing 2r−1n\frac{2r - 1}{n} with 2rn\frac{2r}{n}—vanishes completely as n→∞n \to \infty.)


Infinite Products as Definite Integrals§

Whenever you face a growing product raised to the power 1n\frac{1}{n} (or 1n2\frac{1}{n^2}), logarithms convert multiplication into addition, turning the product straight into a limit of a sum:

  1. Let L=lim⁡n→∞(Pn)1/nL = \lim_{n \to \infty} \big(P_n\big)^{1/n} (assuming Pn>0P_n > 0).
  2. Take the natural logarithm: ln⁡L=lim⁡n→∞1nln⁡Pn=lim⁡n→∞1n∑ln⁡(… )\ln L = \lim_{n \to \infty} \frac{1}{n}\ln P_n = \lim_{n \to \infty} \frac{1}{n} \sum \ln(\dots).
  3. Evaluate the resulting definite integral ∫abln⁡f(x) dx\int_a^b \ln f(x)\,dx, then exponentiate back:
L=exp⁡ ⁣(∫abln⁡f(x) dx)L = \exp\!\left(\int_a^b \ln f(x)\,dx\right)

Example 5: Classic Factorial Limit

Evaluate:

L=lim⁡n→∞((2n)!n! nn)1/nL = \lim_{n \to \infty} \left(\frac{(2n)!}{n!\, n^n}\right)^{1/n}

Solution: Cancel n!n! from (2n)!(2n)! and pair the remaining nn factors with the nn copies of nn in nnn^n:

(2n)!n! nn=(n+1)(n+2)⋯(n+n)n⋅n⋯n=∏r=1n(1+rn)\frac{(2n)!}{n!\, n^n} = \frac{(n + 1)(n + 2)\cdots(n + n)}{n \cdot n \cdots n} = \prod_{r=1}^{n} \left(1 + \frac{r}{n}\right)

Take the natural logarithm of LL:

ln⁡L=lim⁡n→∞1n∑r=1nln⁡ ⁣(1+rn)=∫01ln⁡(1+x) dx\ln L = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \ln\!\left(1 + \frac{r}{n}\right) = \int_0^1 \ln(1 + x)\,dx

Integrate by parts (u=ln⁡(1+x)u = \ln(1 + x), dv=dxdv = dx, or choose v=x+1v = x + 1 directly!):

∫01ln⁡(1+x) dx=[(1+x)ln⁡(1+x)−(1+x)]01=(2ln⁡2−2)−(0−1)=2ln⁡2−1=ln⁡ ⁣(4e)\int_0^1 \ln(1 + x)\,dx = \Big[(1 + x)\ln(1 + x) - (1 + x)\Big]_0^1 = (2\ln 2 - 2) - (0 - 1) = 2\ln 2 - 1 = \ln\!\left(\frac{4}{e}\right)

Exponentiating both sides gives:

L=4eL = \frac{4}{e}

Example 6: Product Leading to Integration by Parts

Evaluate:

L=lim⁡n→∞[(1+12n2)(1+22n2)⋯(1+n2n2)]1/nL = \lim_{n \to \infty} \left[\left(1 + \frac{1^2}{n^2}\right)\left(1 + \frac{2^2}{n^2}\right)\cdots\left(1 + \frac{n^2}{n^2}\right)\right]^{1/n}

Solution: Write the product as [∏r=1n(1+(rn)2)]1/n\left[\prod_{r=1}^{n}\left(1 + \left(\frac{r}{n}\right)^2\right)\right]^{1/n} and take ln⁡\ln:

ln⁡L=lim⁡n→∞1n∑r=1nln⁡ ⁣(1+(rn)2)=∫01ln⁡(1+x2) dx\ln L = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{n} \ln\!\left(1 + \left(\frac{r}{n}\right)^2\right) = \int_0^1 \ln(1 + x^2)\,dx

Integrate by parts with u=ln⁡(1+x2)u = \ln(1 + x^2) and dv=dxdv = dx:

∫01ln⁡(1+x2) dx=[xln⁡(1+x2)]01−∫012x21+x2 dx\int_0^1 \ln(1 + x^2)\,dx = \Big[x\ln(1 + x^2)\Big]_0^1 - \int_0^1 \frac{2x^2}{1 + x^2}\,dx

Rewrite x21+x2=1−11+x2\frac{x^2}{1 + x^2} = 1 - \frac{1}{1 + x^2}:

ln⁡L=ln⁡2−2∫01(1−11+x2)dx=ln⁡2−2(1−π4)=ln⁡2+π2−2\ln L = \ln 2 - 2\int_0^1 \left(1 - \frac{1}{1 + x^2}\right) dx = \ln 2 - 2\left(1 - \frac{\pi}{4}\right) = \ln 2 + \frac{\pi}{2} - 2

Therefore:

L=2eπ2−2L = 2 e^{\frac{\pi}{2} - 2}

Example 7: Weighted Exponent Product on an Extended Interval 0 to 2

Evaluate:

L=lim⁡n→∞[∏r=12n(1+rn)r]1/n2L = \lim_{n \to \infty} \left[\prod_{r=1}^{2n} \left(1 + \frac{r}{n}\right)^{r}\right]^{1/n^2}

Solution: Notice the outer exponent is 1n2\frac{1}{n^2} while each factor carries an exponent rr. Taking the natural logarithm pulls down rn2=1n(rn)\frac{r}{n^2} = \frac{1}{n}\left(\frac{r}{n}\right):

ln⁡L=lim⁡n→∞1n∑r=12n(rn)ln⁡ ⁣(1+rn)\ln L = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{2n} \left(\frac{r}{n}\right) \ln\!\left(1 + \frac{r}{n}\right)

Because rr runs from 11 to 2n2n, the integral runs from 00 to 22:

ln⁡L=∫02xln⁡(1+x) dx\ln L = \int_0^2 x \ln(1 + x)\,dx

Integrate by parts choosing u=ln⁡(1+x)u = \ln(1 + x) and dv=x dxdv = x\,dx with the clever antiderivative v=x2−12v = \frac{x^2 - 1}{2} (so 1+x1 + x cancels cleanly!):

∫02xln⁡(1+x) dx=[x2−12ln⁡(1+x)]02−∫02x2−12(x+1) dx\int_0^2 x \ln(1 + x)\,dx = \left[\frac{x^2 - 1}{2}\ln(1 + x)\right]_0^2 - \int_0^2 \frac{x^2 - 1}{2(x + 1)}\,dx

Simplify x2−1x+1=x−1\frac{x^2 - 1}{x + 1} = x - 1:

ln⁡L=(32ln⁡3−0)−12∫02(x−1) dx=32ln⁡3−12[x22−x]02=32ln⁡3−0=ln⁡ ⁣(33)\ln L = \left(\frac{3}{2}\ln 3 - 0\right) - \frac{1}{2}\int_0^2 (x - 1)\,dx = \frac{3}{2}\ln 3 - \frac{1}{2}\left[\frac{x^2}{2} - x\right]_0^2 = \frac{3}{2}\ln 3 - 0 = \ln\!\left(3\sqrt{3}\right)

Exponentiating gives:

L=33L = 3\sqrt{3}

Non-Trivial Twists: Squeeze Theorem, Trap Sums, and Symmetry§

Not every limit of a sum or product drops neatly into 1nf(rn)\frac{1}{n} f(\frac{r}{n}) on the first try. The final three examples cover the subtler tools you need when expressions are slightly off-form, disguised by n2n^2 terms, or non-elementary after conversion.


Example 8: A Product Without a 1/n Power (Logarithm Bounds + Squeeze Theorem)

Evaluate:

L=lim⁡n→∞∏r=1n(1+r2n3)L = \lim_{n \to \infty} \prod_{r=1}^{n} \left(1 + \frac{r^2}{n^3}\right)

Solution: At first glance there is no 1n\frac{1}{n} power outside the product! Take ln⁡\ln anyway and notice r2n3=1n(rn)2\frac{r^2}{n^3} = \frac{1}{n}\left(\frac{r}{n}\right)^2:

ln⁡L=lim⁡n→∞∑r=1nln⁡ ⁣(1+r2n3)\ln L = \lim_{n \to \infty} \sum_{r=1}^{n} \ln\!\left(1 + \frac{r^2}{n^3}\right)

Recall the standard inequality for all t≥0t \ge 0:

t−t22≤ln⁡(1+t)≤tt - \frac{t^2}{2} \le \ln(1 + t) \le t

(This follows because (1+t)e−t≤1(1 + t)e^{-t} \le 1 and ddt[ln⁡(1+t)−(t−t22)]=t21+t≥0\frac{d}{dt}\big[\ln(1+t) - (t - \frac{t^2}{2})\big] = \frac{t^2}{1+t} \ge 0.) Setting t=r2n3t = \frac{r^2}{n^3} and summing from r=1r = 1 to nn:

1n∑r=1n(rn)2−∑r=1nr42n6≤∑r=1nln⁡ ⁣(1+r2n3)≤1n∑r=1n(rn)2\frac{1}{n}\sum_{r=1}^{n} \left(\frac{r}{n}\right)^2 - \sum_{r=1}^{n} \frac{r^4}{2n^6} \le \sum_{r=1}^{n} \ln\!\left(1 + \frac{r^2}{n^3}\right) \le \frac{1}{n}\sum_{r=1}^{n} \left(\frac{r}{n}\right)^2

Look at the error term on the left: since r≤nr \le n for every term,

0<∑r=1nr42n6≤n⋅n42n6=12n→n→∞00 < \sum_{r=1}^{n} \frac{r^4}{2n^6} \le n \cdot \frac{n^4}{2n^6} = \frac{1}{2n} \xrightarrow{n \to \infty} 0

Meanwhile, the main sum converges directly to a definite integral:

lim⁡n→∞1n∑r=1n(rn)2=∫01x2 dx=13\lim_{n \to \infty} \frac{1}{n}\sum_{r=1}^{n} \left(\frac{r}{n}\right)^2 = \int_0^1 x^2\,dx = \frac{1}{3}

By the Squeeze Theorem, ln⁡L=13\ln L = \frac{1}{3}, and therefore:

L=e1/3L = e^{1/3}

Example 9: Trap Alert — Comparing n Terms vs. n² Terms

Evaluate and contrast these two look-alike sums:

S1=lim⁡n→∞∑r=1n1n4+r2andS2=lim⁡n→∞∑r=1n21n4+r2S_1 = \lim_{n \to \infty} \sum_{r=1}^{n} \frac{1}{\sqrt{n^4 + r^2}} \qquad \text{and} \qquad S_2 = \lim_{n \to \infty} \sum_{r=1}^{n^2} \frac{1}{\sqrt{n^4 + r^2}}

Solution:

Evaluating S1S_1 (Sandwich Trap — Do Not Force a Definite Integral Here!): In S1S_1, there are nn terms, and each term has size around 1n2\frac{1}{n^2}—not 1n\frac{1}{n}! Bounding every term between the smallest (r=nr = n) and largest (r=1r = 1) gives:

nn4+n2≤∑r=1n1n4+r2≤nn4+1\frac{n}{\sqrt{n^4 + n^2}} \le \sum_{r=1}^{n} \frac{1}{\sqrt{n^4 + r^2}} \le \frac{n}{\sqrt{n^4 + 1}}

Both outer bounds behave like nn2=1n→0\frac{n}{n^2} = \frac{1}{n} \to 0, so by the Squeeze Theorem:

S1=0S_1 = 0

Evaluating S2S_2 (True Right Sum After Substituting m=n2m = n^2): In S2S_2, the upper index is n2n^2 and each term has size around 1n2\frac{1}{n^2}. Set m=n2m = n^2 (so m→∞m \to \infty as n→∞n \to \infty), and factor out mm:

S2=lim⁡m→∞∑r=1m1m2+r2=lim⁡m→∞1m∑r=1m11+(r/m)2S_2 = \lim_{m \to \infty} \sum_{r=1}^{m} \frac{1}{\sqrt{m^2 + r^2}} = \lim_{m \to \infty} \frac{1}{m} \sum_{r=1}^{m} \frac{1}{\sqrt{1 + (r/m)^2}}

Now this is a standard Right Sum over [0,1][0, 1]:

S2=∫01dx1+x2=[ln⁡(x+1+x2)]01=ln⁡ ⁣(1+2)S_2 = \int_0^1 \frac{dx}{\sqrt{1 + x^2}} = \Big[\ln\big(x + \sqrt{1 + x^2}\big)\Big]_0^1 = \ln\!\left(1 + \sqrt{2}\right)

(Always check the ratio between the number of terms and the size of each term: when NN terms each have magnitude ∼1N\sim \frac{1}{N}, a non-zero definite integral appears!)


Example 10: Limit of a Sum Requiring King's Rule After Conversion

Evaluate:

L=lim⁡n→∞1n∑r=12nrr+2n−rL = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{2n} \frac{\sqrt{r}}{\sqrt{r} + \sqrt{2n - r}}

Solution: Divide numerator and denominator of the general term by n\sqrt{n}:

L=lim⁡n→∞1n∑r=12nr/nr/n+2−r/nL = \lim_{n \to \infty} \frac{1}{n} \sum_{r=1}^{2n} \frac{\sqrt{r/n}}{\sqrt{r/n} + \sqrt{2 - r/n}}

Convert rn→x\frac{r}{n} \to x and 1n→dx\frac{1}{n} \to dx. Because rr runs from 11 to 2n2n, the integral goes from 00 to 22:

L=∫02xx+2−x dxL = \int_0^2 \frac{\sqrt{x}}{\sqrt{x} + \sqrt{2 - x}}\,dx

Finding an antiderivative here is completely unnecessary! Apply King's Rule (x↦2−xx \mapsto 2 - x) on [0,2][0, 2]:

L=∫022−x2−x+x dxL = \int_0^2 \frac{\sqrt{2 - x}}{\sqrt{2 - x} + \sqrt{x}}\,dx

Adding the two expressions for LL:

2L=∫02x+2−xx+2−x dx=∫021 dx=2  ⟹  L=12L = \int_0^2 \frac{\sqrt{x} + \sqrt{2 - x}}{\sqrt{x} + \sqrt{2 - x}}\,dx = \int_0^2 1\,dx = 2 \implies L = 1

Summary: Sum-to-Integral Checklist§

Step Action Common Trap to Watch
1. Check magnitude Verify ~αn\alpha n terms each of size ~1n\frac{1}{n} (or use m=nkm = n^k) If nn terms have size 1n2\frac{1}{n^2}, the limit is 00 (Example 9)
2. Factor out 1n\frac{1}{n} Write the sum as 1n∑f(rn)\frac{1}{n}\sum f(\frac{r}{n}) (take ln⁡\ln first if it is a product) Never leave 1n\frac{1}{n} trapped inside ff; check step size matches dxdx
3. Set [a,b][a, b] Compute a=lim⁡n→∞rstartna = \lim_{n\to\infty}\frac{r_{\text{start}}}{n} and b=lim⁡n→∞rendnb = \lim_{n\to\infty}\frac{r_{\text{end}}}{n} Fixed shifts like r=6r = 6 to 2n2n still start at a=0a = 0 (Example 1)
4. Integrate cleanly Evaluate ∫abf(x) dx\int_a^b f(x)\,dx (don't forget King's Rule or IBP!) Exponentiate back (eIe^I) at the end if you took ln⁡L\ln L (Examples 5–8)
Section 14 of 15 · Definite Integration

Mark this section complete when you have worked through its proofs.