Single-Variable-Calculus · Unit 14 · Video 1 · Interactive Practice

The Definite Integral: Area as a Limit of Rectangle Sums

IKey Formulas

FormulaNameMeaning
∫abf(x) dx\displaystyle\int_a^b f(x)\,dxDefinite integralOne number: for f≥0f \ge 0, the area between y=f(x)y = f(x) and the xx-axis from x=ax = a to x=bx = b
Δx=b−an,xk=a+k Δx\Delta x = \dfrac{b - a}{n}, \quad x_k = a + k\,\Delta xEqual pieces, right endsBase of every rectangle; right end of the kk-th piece
∫abf(x) dx=lim⁡n→∞[f(x1)+f(x2)+⋯+f(xn)]Δx\displaystyle\int_a^b f(x)\,dx = \lim_{n \to \infty} \big[f(x_1) + f(x_2) + \cdots + f(x_n)\big]\Delta xArea as a limitDivide, add up base × height, let the rectangles become thin
bn(bn)2+⋯+bn(nbn)2=b3n3(12+22+⋯+n2)\dfrac{b}{n}\Big(\dfrac{b}{n}\Big)^2 + \cdots + \dfrac{b}{n}\Big(\dfrac{nb}{n}\Big)^2 = \dfrac{b^3}{n^3}\big(1^2 + 2^2 + \cdots + n^2\big)Rectangle sum for y=x2y = x^2 on [0,b][0, b]Every term carries three factors of bn\frac{b}{n}

Key Insight: The indefinite integral ∫f(x) dx\int f(x)\,dx is a family of functions; the definite integral ∫abf(x) dx\int_a^b f(x)\,dx carries limits aa and bb and is a single number.

IIVisualization 1 — The Staircase Closes In

Right-end rectangles overshoot where the curve rises and fall short where it falls; both errors vanish as n→∞n \to \infty.

IIIVisualization 2 — Each Rectangle Is a Square Times (b/n)³

Under y=x2y = x^2 on [0,b][0, b], the kk-th rectangle has area bn(kbn)2=b3n3 k2\frac{b}{n}\big(\frac{kb}{n}\big)^2 = \frac{b^3}{n^3}\,k^2.

IVVisualization 3 — Sum of Squares Against n³

With b=1b = 1 the rectangle sum is 12+22+⋯+n2n3\frac{1^2 + 2^2 + \cdots + n^2}{n^3}: a vanishing factor times an exploding one.

💡 The next step proves the ratio tends to 13\tfrac{1}{3}; for general bb the rectangle sum is b3b^3 times this ratio, so ∫0bx2 dx=b33\displaystyle\int_0^b x^2\,dx = \frac{b^3}{3}.

VQuiz Questions

Problem 1 · A Right-End Rectangle Sum

Given: f(x)=x2f(x) = x^2 on [0,2][0, 2], divided into n=4n = 4 equal pieces, with each height taken at the right end of its piece — find the total area of the four rectangles.

✅ Correct! Base 12\tfrac12 times heights 14+1+94+4=152\tfrac14 + 1 + \tfrac94 + 4 = \tfrac{15}{2} gives 154\tfrac{15}{4}, a little more than the true area because x2x^2 is rising.
❌ Those are left ends. You used heights at 0,12,1,320, \tfrac12, 1, \tfrac32. The right ends are 12,1,32,2\tfrac12, 1, \tfrac32, 2.
❌ You added heights, not areas. Each rectangle's area is base × height, and every base is Δx=12\Delta x = \tfrac12.
❌ That is the exact area, not the rectangle sum. Four rectangles overshoot a rising curve, so their total is larger than 83\tfrac83.
❌ Not quite. Base Δx=24\Delta x = \tfrac{2}{4}; heights are ff at 12,1,32,2\tfrac12, 1, \tfrac32, 2.
Show solution

Each piece has length Δx=2−04=12\Delta x = \dfrac{2 - 0}{4} = \dfrac12, with right ends x=12,1,32,2x = \tfrac12, 1, \tfrac32, 2.

heights: (12)2=14,12=1,(32)2=94,22=4\text{heights: } \Big(\tfrac12\Big)^2 = \tfrac14,\quad 1^2 = 1,\quad \Big(\tfrac32\Big)^2 = \tfrac94,\quad 2^2 = 4 S4=12(14+1+94+4)=12⋅152=154=3.75S_4 = \tfrac12\Big(\tfrac14 + 1 + \tfrac94 + 4\Big) = \tfrac12 \cdot \tfrac{15}{2} = \tfrac{15}{4} = 3.75

Check with the factored form: b3n3(12+22+32+42)=864⋅30=154\dfrac{b^3}{n^3}\big(1^2 + 2^2 + 3^2 + 4^2\big) = \dfrac{8}{64}\cdot 30 = \dfrac{15}{4}. The true area is 83≈2.67\tfrac83 \approx 2.67; the staircase overshoots everywhere.

Problem 2 · Overshoot or Fall Short?

Given: f(x)=4−x2f(x) = 4 - x^2 on [0,2][0, 2], with nn equal pieces and heights at the right end of each piece — compare the rectangle sum SnS_n with the area ∫02(4−x2) dx\int_0^2 (4 - x^2)\,dx.

✅ Correct! 4−x24 - x^2 falls on [0,2][0, 2], so the right end is the lowest point of each piece and every rectangle sits below the curve.
❌ That holds for y=x2y = x^2, which rises. Here the curve falls, so the right-end height is the smallest height on each piece.
❌ No finite nn is exact. Each rectangle misses a curved sliver; only the limit n→∞n \to \infty gives the area.
❌ The side never changes. Whether a right-end rectangle is above or below depends only on whether ff rises or falls on that piece, not on nn.
❌ Not quite. Ask whether ff rises or falls on [0,2][0, 2].
Show solution

f′(x)=−2x≤0f'(x) = -2x \le 0 on [0,2][0, 2], so ff decreases. On each piece [xk−1,xk][x_{k-1}, x_k] the smallest value of ff is at the right end xkx_k, so the rectangle of height f(xk)f(x_k) lies under the curve and misses a sliver. Hence SnS_n is smaller than the area for every nn.

Numerically: S1=0S_1 = 0, S2=3S_2 = 3, S4=174=4.25S_4 = \tfrac{17}{4} = 4.25, S10=4.92S_{10} = 4.92, all below the area 163≈5.33\tfrac{16}{3} \approx 5.33 and climbing toward it.

Problem 3 · Factor Out the b/n

Given: f(x)=x2f(x) = x^2 on [0,2][0, 2] with n=5n = 5 right-end rectangles, written as b3n3(12+22+⋯+n2)\dfrac{b^3}{n^3}\big(1^2 + 2^2 + \cdots + n^2\big) — find the rectangle sum.

✅ Correct! 8125⋅55=8825\tfrac{8}{125} \cdot 55 = \tfrac{88}{25}, above the true area 83≈2.67\tfrac83 \approx 2.67.
❌ One factor of bn\tfrac{b}{n} is missing. Two come from the squared height, a third from the base: the factor is b3n3=8125\tfrac{b^3}{n^3} = \tfrac{8}{125}, not 425\tfrac{4}{25}.
❌ The heights are squares. You used 1+2+⋯+5=151 + 2 + \cdots + 5 = 15; the bracket is 12+22+⋯+52=551^2 + 2^2 + \cdots + 5^2 = 55.
❌ Only the base was factored out. 25⋅55\tfrac25 \cdot 55 treats the heights as k2k^2 instead of (2k5)2\big(\tfrac{2k}{5}\big)^2.
❌ Not quite. Compute b3n3\tfrac{b^3}{n^3} and 12+⋯+521^2 + \cdots + 5^2 separately, then multiply.
Show solution

Here b=2b = 2, n=5n = 5, so b3n3=8125\dfrac{b^3}{n^3} = \dfrac{8}{125} and 12+22+32+42+52=1+4+9+16+25=551^2 + 2^2 + 3^2 + 4^2 + 5^2 = 1 + 4 + 9 + 16 + 25 = 55.

S5=8125⋅55=440125=8825=3.52S_5 = \frac{8}{125}\cdot 55 = \frac{440}{125} = \frac{88}{25} = 3.52

Direct check: base 25\tfrac25, heights (25)2,(45)2,(65)2,(85)2,22\big(\tfrac25\big)^2, \big(\tfrac45\big)^2, \big(\tfrac65\big)^2, \big(\tfrac85\big)^2, 2^2, i.e. 425(1+4+9+16+25)\tfrac{4}{25}(1 + 4 + 9 + 16 + 25), times 25\tfrac25 gives 8125⋅55\tfrac{8}{125}\cdot 55 again.

Problem 4 · The Same Method for a Cube

Given: f(x)=x3f(x) = x^3 on [0,b][0, b], with nn equal pieces and right-end heights — find the factored form of the rectangle sum.

✅ Correct! One factor of bn\tfrac{b}{n} from the base and three from the cubed height: bn(kbn)3=b4n4k3\tfrac{b}{n}\big(\tfrac{kb}{n}\big)^3 = \tfrac{b^4}{n^4}k^3.
❌ The base was forgotten. The cubed height gives three factors of bn\tfrac{b}{n}; the base bn\tfrac{b}{n} adds a fourth.
❌ Every factor is bn\tfrac{b}{n}, so bb and nn come out to the same power. Four factors of bn\tfrac{b}{n} give b4n4\tfrac{b^4}{n^4}.
❌ The coefficients keep the cube. (kbn)3=k3(bn)3\big(\tfrac{kb}{n}\big)^3 = k^3\big(\tfrac{b}{n}\big)^3, so the bracket is a sum of cubes.
❌ Not quite. Write the kk-th term as base × height and count factors of bn\tfrac{b}{n}.
Show solution

Base Δx=bn\Delta x = \dfrac{b}{n}; the kk-th right end is xk=kbnx_k = \dfrac{kb}{n}, so the kk-th rectangle has area

bn(kbn)3=bn⋅k3 b3n3=b4n4 k3.\frac{b}{n}\Big(\frac{kb}{n}\Big)^3 = \frac{b}{n}\cdot k^3\,\frac{b^3}{n^3} = \frac{b^4}{n^4}\,k^3 .

Every term has the same factor b4n4\dfrac{b^4}{n^4}, which comes out in front:

Sn=b4n4(13+23+⋯+n3).S_n = \frac{b^4}{n^4}\big(1^3 + 2^3 + \cdots + n^3\big).

As with x2x^2, the area is the limit of a vanishing factor b4n4\tfrac{b^4}{n^4} times a growing sum, so it hinges on how fast 13+⋯+n31^3 + \cdots + n^3 grows compared with n4n^4.

Solved: 0 / 4