MathLabs

Grade 12

Definite Integral

The definite integral measures the net accumulation of a continuously varying quantity—from the signed area under a curve to the volume of a solid of revolution—and is linked to antiderivatives by the Fundamental Theorem of Calculus.

IntuitionSlice thin, add many: measuring curved regions

How do you find the area of a region with a curved boundary, or the total distance travelled when your speed changes every instant? Elementary geometry only gives formulas for flat-sided shapes like rectangles and triangles. The core idea of integration is slice thin, add many: cut the curved region under y=f(x)≥0y = f(x) \ge 0 on [a,b][a, b] into nn vertical strips of equal width Δx=(b−a)/n\Delta x = (b - a)/n, and replace each strip by a flat-topped rectangle. With a few wide rectangles, the staircase is a rough approximation; as nn grows and Δx→0\Delta x \to 0, the step error shrinks and the sum of rectangle areas settles onto a single exact number—the definite integral.

Interactive plot of the parabola y = x^2 on the interval [0, 2] with n shaded left-endpoint rectangles approximating the area under the curve.
Left-endpoint rectangle sum for y=x2y = x^2 on [0,2][0, 2] with nn slices of width Δx=2/n\Delta x = 2/n. Increase nn to see the staircase area approach the exact integral ∫02x2 dx=8/3≈2.667\int_0^2 x^2\,dx = 8/3 \approx 2.667.

SchoolThe Newton–Leibniz formula and signed area

Definition: Definite integral (Newton–Leibniz formula)

Let ff be a continuous function on the closed interval [a,b][a, b], and let FF be any antiderivative of ff on [a,b][a, b] (so F′(x)=f(x)F'(x) = f(x) for all x∈[a,b]x \in [a, b]). The definite integral of ff from aa to bb is the difference F(b)−F(a)F(b) - F(a). Because any other antiderivative has the form G(x)=F(x)+CG(x) = F(x) + C for a constant CC, the constant cancels in subtraction: G(b)−G(a)=(F(b)+C)−(F(a)+C)=F(b)−F(a)G(b) - G(a) = (F(b) + C) - (F(a) + C) = F(b) - F(a), so the definite integral does not depend on which antiderivative is chosen.

∫abf(x) dx=F(x)∣ab=F(b)−F(a),F′(x)=f(x)\int_a^b f(x)\,dx = F(x)\Big|_a^b = F(b) - F(a), \qquad F'(x) = f(x)

Why does subtracting an antiderivative at two endpoints compute the limit of rectangle sums? Consider the area function A(x)A(x) giving the area under y=f(t)y = f(t) from aa to xx. Increasing xx by a tiny hh adds a thin strip of height ≈f(x)\approx f(x) and width hh, so ΔA=A(x+h)−A(x)≈f(x) h\Delta A = A(x+h) - A(x) \approx f(x)\,h. Dividing by hh and letting h→0h \to 0 gives A′(x)=f(x)A'(x) = f(x): the area function is an antiderivative of ff! Since A(a)=0A(a) = 0, we must have A(x)=F(x)−F(a)A(x) = F(x) - F(a). For f(x)=x2f(x) = x^2 on [0,2][0, 2], taking F(x)=x3/3F(x) = x^3/3 immediately yields ∫02x2 dx=23/3−0=8/3\int_0^2 x^2\,dx = 2^3/3 - 0 = 8/3. When f(x)f(x) dips below the xx-axis (f(x)<0f(x) < 0), rectangle heights are negative, so the integral computes signed area (area above the axis minus area below): for instance, ∫02πsin⁡x dx=(−cos⁡2π)−(−cos⁡0)=0\int_0^{2\pi} \sin x\,dx = (-\cos 2\pi) - (-\cos 0) = 0 because the positive arch on [0,π][0, \pi] and the negative arch on [π,2π][\pi, 2\pi] cancel each other.

Fundamental algebraic and interval properties of the definite integral
PropertyFormulaGeometric meaning
Constant multiple∫abkf(x) dx=k∫abf(x) dx\int_a^b k f(x)\,dx = k \int_a^b f(x)\,dxScaling height by kk scales signed area by kk
Sum and difference∫ab[f(x)±g(x)] dx=∫abf(x) dx±∫abg(x) dx\int_a^b [f(x) \pm g(x)]\,dx = \int_a^b f(x)\,dx \pm \int_a^b g(x)\,dxStacking heights adds or subtracts the slice areas
Interval additivity∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dxSplitting the region at x=cx = c into two adjacent pieces
Zero width and reversed limits∫aaf(x) dx=0,∫baf(x) dx=−∫abf(x) dx\int_a^a f(x)\,dx = 0, \quad \int_b^a f(x)\,dx = -\int_a^b f(x)\,dxIntegrating backward reverses the sign of Δx\Delta x

Example: Signed integral versus geometric area on [0,2][0, 2]

For f(x)=x2−1f(x) = x^2 - 1 on [0,2][0, 2], compute (a) the definite integral I=∫02(x2−1) dxI = \int_0^2 (x^2 - 1)\,dx and (b) the total geometric area S=∫02∣x2−1∣ dxS = \int_0^2 |x^2 - 1|\,dx between the graph and the xx-axis.

Solution

(a) Using the antiderivative F(x)=x33−xF(x) = \frac{x^3}{3} - x, the Newton–Leibniz formula gives I=(233−2)−0=23I = \left(\frac{2^3}{3} - 2\right) - 0 = \frac{2}{3}. (b) On [0,2][0, 2], x2−1=0x^2 - 1 = 0 at x=1x = 1, with x2−1≤0x^2 - 1 \le 0 on [0,1][0, 1] and x2−1≥0x^2 - 1 \ge 0 on [1,2][1, 2]. Splitting at x=1x = 1 gives S=∫01(1−x2) dx+∫12(x2−1) dx=23+43=2S = \int_0^1 (1 - x^2)\,dx + \int_1^2 (x^2 - 1)\,dx = \frac{2}{3} + \frac{4}{3} = 2.

Example

A variable force F(x)=3x2+2F(x) = 3x^2 + 2 newtons acts on an object as it moves along the xx-axis from x=0x = 0 m to x=3x = 3 m. (a) Write the work done as a definite integral. (b) Compute the exact value. (c) Find the average force over this displacement.

Solution

Step 1 — Set up the integral. The work done by variable force F(x)=3x2+2F(x) = 3x^2 + 2 along a straight path is W=∫03F(x) dx=∫03(3x2+2) dxW = \int_0^3 F(x)\,dx = \int_0^3 (3x^2 + 2)\,dx.

Step 2 — Compute using the Newton–Leibniz formula. An antiderivative is G(x)=x3+2xG(x) = x^3 + 2x. Applying the formula: W=G(3)−G(0)=(27+6)−0=33W = G(3) - G(0) = (27 + 6) - 0 = 33 J.

Step 3 — Find the average force. By the Mean Value Theorem for Integrals, the average value of the force over [0,3][0,3] is Fˉ=W3−0=333=11\bar{F} = \dfrac{W}{3-0} = \dfrac{33}{3} = 11 N. This is the constant force that does the same total work over the same displacement — a direct application of the integral mean value theorem.

UndergraduateRiemann integrability and the Fundamental Theorem of Calculus

Definition: Partition, Riemann sum, and Riemann integral

A partition of [a,b][a, b] is a finite sequence P=(x0,x1,…,xn)P = (x_0, x_1, \dots, x_n) with a=x0<x1<⋯<xn=ba = x_0 < x_1 < \dots < x_n = b, subinterval widths Δxi=xi−xi−1\Delta x_i = x_i - x_{i-1}, and mesh ∥P∥=max⁡1≤i≤nΔxi\|P\| = \max_{1 \le i \le n} \Delta x_i. Choosing a sample point xi∗∈[xi−1,xi]x_i^* \in [x_{i-1}, x_i] in each subinterval gives the Riemann sum S(f,P,x∗)=∑i=1nf(xi∗) ΔxiS(f, P, x^*) = \sum_{i=1}^n f(x_i^*)\,\Delta x_i. A bounded function f:[a,b]→Rf : [a, b] \to \mathbb{R} is Riemann integrable with integral I=∫abf(x) dxI = \int_a^b f(x)\,dx if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that ∣S(f,P,x∗)−I∣<ε|S(f, P, x^*) - I| < \varepsilon whenever ∥P∥<δ\|P\| < \delta, regardless of how the sample points xi∗x_i^* are chosen.

Let f:[a,b]→Rf : [a, b] \to \mathbb{R} be continuous. (1) The accumulation function A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt is differentiable on [a,b][a, b] and A′(x)=f(x)A'(x) = f(x). (2) If FF is any antiderivative of ff on [a,b][a, b], then ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a).

Why is it true?

The rate at which accumulated area A(x)A(x) grows with xx is the current height f(x)f(x) of the curve at the moving right boundary. Once we know A′(x)=f(x)A'(x) = f(x), any other antiderivative FF shares the same derivative, so A(x)A(x) and F(x)F(x) differ by a constant.

Proof

For h≠0h \neq 0, interval additivity gives A(x+h)−A(x)=∫xx+hf(t) dtA(x+h) - A(x) = \int_x^{x+h} f(t)\,dt. Since ∫xx+h1 dt=h\int_x^{x+h} 1\,dt = h, we can write A(x+h)−A(x)h−f(x)=1h∫xx+h[f(t)−f(x)] dt\frac{A(x+h) - A(x)}{h} - f(x) = \frac{1}{h} \int_x^{x+h} [f(t) - f(x)]\,dt. By continuity of ff at xx, for any ε>0\varepsilon > 0 there is δ>0\delta > 0 such that ∣t−x∣≤∣h∣<δ|t - x| \le |h| < \delta implies ∣f(t)−f(x)∣<ε|f(t) - f(x)| < \varepsilon, hence ∣A(x+h)−A(x)h−f(x)∣≤ε\left|\frac{A(x+h) - A(x)}{h} - f(x)\right| \le \varepsilon, proving A′(x)=f(x)A'(x) = f(x). For Part (2), (A−F)′=f−f=0(A - F)' = f - f = 0 on [a,b][a, b], so A(x)−F(x)=CA(x) - F(x) = C; setting x=ax = a gives 0−F(a)=C0 - F(a) = C, and setting x=bx = b gives A(b)=F(b)−F(a)A(b) = F(b) - F(a).

fˉ=1b−a∫abf(x) dx,ddx∫axf(t) dt=f(x)\bar{f} = \frac{1}{b-a}\int_a^b f(x)\,dx, \qquad \frac{d}{dx}\int_a^x f(t)\,dt = f(x)

If f:[a,b]→Rf : [a, b] \to \mathbb{R} is continuous, there exists at least one point c∈(a,b)c \in (a, b) such that ∫abf(x) dx=f(c)(b−a)\int_a^b f(x)\,dx = f(c)(b - a). Equivalently, ff attains its average value fˉ=1b−a∫abf(x) dx\bar{f} = \frac{1}{b - a} \int_a^b f(x)\,dx at some interior point c∈(a,b)c \in (a, b).

Why is it true?

Apply Lagrange's Mean Value Theorem to the antiderivative A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt on [a,b][a, b]: there exists c∈(a,b)c \in (a, b) with A(b)−A(a)=A′(c)(b−a)=f(c)(b−a)A(b) - A(a) = A'(c)(b - a) = f(c)(b - a). Geometrically, a rectangle of width b−ab - a and height f(c)f(c) has the exact same signed area as the curved region under y=f(x)y = f(x).

Proof

Step 1 — Define the area function and apply the FTC. Let A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt. By the FTC, ff is continuous on [a,b][a,b] and differentiable on (a,b)(a,b) with A′(x)=f(x)A'(x) = f(x).

**Step 2 — Apply Lagrange's Mean Value Theorem to A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt.** Since A(x)=∫axf(t) dtA(x) = \int_a^x f(t)\,dt is continuous on [a,b][a,b] and differentiable on (a,b)(a,b), there exists c∈(a,b)c \in (a,b) with A(b)−A(a)=A′(c)(b−a)=f(c)(b−a)A(b) - A(a) = A'(c)(b-a) = f(c)(b-a). Since A(a)=0A(a) = 0, this gives ∫abf(x) dx=f(c)(b−a)\int_a^b f(x)\,dx = f(c)(b-a).

**Step 3 — Conclude that ff attains its average value.** Dividing by (b−a)>0(b-a) > 0 yields f(c)=1b−a∫abf(x) dx=fˉf(c) = \frac{1}{b-a}\int_a^b f(x)\,dx = \bar{f}. By the Extreme Value Theorem, ff attains minimum mm and maximum MM on [a,b][a,b]; since m≤fˉ≤Mm \le \bar{f} \le M, the IVT guarantees ff equals fˉ\bar{f} at some c∈(a,b)c \in (a,b).

AdvancedSlicing 3D volumes and stepping beyond Riemann

If a solid lies between planes perpendicular to the xx-axis at x=ax = a and x=bx = b, and the cross-section at each x∈[a,b]x \in [a, b] has integrable area S(x)S(x), then the solid's volume is V=∫abS(x) dxV = \int_a^b S(x)\,dx. In particular, rotating the planar region under y=f(x)y = f(x) on [a,b][a, b] around the xx-axis produces circular cross-sections of radius ∣f(x)∣|f(x)| and area S(x)=π[f(x)]2S(x) = \pi [f(x)]^2, so V=π∫ab[f(x)]2 dxV = \pi \int_a^b [f(x)]^2\,dx.

Why is it true?

Slice the solid into nn thin slabs of thickness Δxi\Delta x_i; the ii-th slab is approximately a cylinder of base area S(xi∗)S(x_i^*) and volume S(xi∗) ΔxiS(x_i^*)\,\Delta x_i. Summing over all slabs gives a Riemann sum ∑i=1nS(xi∗) Δxi→∫abS(x) dx\sum_{i=1}^n S(x_i^*)\,\Delta x_i \to \int_a^b S(x)\,dx. Because the integral depends only on S(x)S(x), any two solids with equal cross-sectional areas at every height have the same volume (Cavalieri's principle, 1635).

Proof

Step 1 — Slice into thin slabs. Partition [a,b][a,b] into nn equal subintervals of width Δx=(b−a)/n\Delta x = (b-a)/n. On the ii-th subinterval [xi−1,xi][x_{i-1},x_i], the solid is approximated by a slab of base area S(xi∗)S(x_i^*) and thickness Δx\Delta x, giving slab volume S(xi∗) ΔxS(x_i^*)\,\Delta x.

Step 2 — Form the Riemann sum and take the limit. Summing all slabs: Vn=∑i=1nS(xi∗) ΔxV_n = \sum_{i=1}^n S(x_i^*)\,\Delta x. Since y=f(x)y = f(x) is integrable on [a,b][a,b], this converges as n→∞n \to \infty regardless of sample points xi∗x_i^*: V=lim⁡n→∞Vn=∫abS(x) dxV = \lim_{n\to\infty} V_n = \int_a^b S(x)\,dx.

Step 3 — Apply to a solid of revolution and state Cavalieri's principle. Rotating the region under y=f(x)y = f(x) about the xx-axis produces cross-sections of radius ∣f(x)∣|f(x)| and area S(x)=π[f(x)]2S(x) = \pi[f(x)]^2. Substituting: V=π∫ab[f(x)]2 dxV = \pi\int_a^b [f(x)]^2\,dx. Cavalieri's principle (1635) states: if two solids satisfy SA(x)=SB(x)S_A(x) = S_B(x) for all x∈[a,b]x \in [a,b], then ∫abSA(x) dx=∫abSB(x) dx\int_a^b S_A(x)\,dx = \int_a^b S_B(x)\,dx, so they have equal volumes regardless of shape.

Interactive 3D paraboloid surface of revolution formed by rotating the curve y = sqrt(x) on [0, 4] around the x-axis, with a slider controlling the sweep angle from 0 to 360 degrees.
Solid of revolution generated by rotating y=xy = \sqrt{x} on [0,4][0, 4] around the xx-axis. Each slice at xx is a disk of radius x\sqrt{x} and area πx\pi x, giving volume V=π∫04x dx=8πV = \pi \int_0^4 x\,dx = 8\pi. Adjust the rotation angle or drag to inspect the 3D surface.

What happens when Riemann slices are no longer enough? If a function jumps on a dense set—such as Dirichlet's indicator function 1Q(x)\mathbf{1}_{\mathbb{Q}}(x) on [0,1][0, 1], which equals 11 on rationals and 00 on irrationals—every subinterval contains both rationals and irrationals, so upper Riemann sums equal 11, lower Riemann sums equal 00, and the Riemann integral does not exist. In 1902, Henri Lebesgue resolved this by slicing the range (values yy) instead of the domain xx and measuring the set of xx's where f(x)≈yf(x) \approx y (see [Measure theory and Lebesgue integration](/ly-thuyet-do-do)): since Q\mathbb{Q} is countable and has Lebesgue measure 00, ∫[0,1]1Q dμ=0\int_{[0,1]} \mathbf{1}_{\mathbb{Q}}\,d\mu = 0, and powerful convergence theorems allow passing limits inside the integral (lim⁡∫fn=∫lim⁡fn\lim \int f_n = \int \lim f_n). In higher dimensions ([Multiple integrals](/tich-phan-boi)), integration over curves, surfaces, and manifolds is unified by differential forms and the generalized Stokes theorem ∫∂Ωω=∫Ωdω\int_{\partial \Omega} \omega = \int_\Omega d\omega, of which the Newton–Leibniz formula ∫abdF=F(b)−F(a)\int_a^b dF = F(b) - F(a) is the 1-dimensional case.

ResearchIntegration at the modern research frontier

By the Newton–Leibniz formula, what is the value of ∫02x2 dx\int_0^2 x^2\,dx?

Why does ∫02πsin⁡x dx=0\int_0^{2\pi} \sin x\,dx = 0 even though the curve y=sin⁡xy = \sin x encloses a non-zero geometric area with the xx-axis?

Let A(x)=∫1xt3+1 dtA(x) = \int_1^x \sqrt{t^3 + 1}\,dt for x>0x > 0. By the Fundamental Theorem of Calculus, what is A′(2)A'(2)?

Rotating the region under y=xy = \sqrt{x} on [0,4][0, 4] around the xx-axis forms a solid of revolution. What is its volume VV?

References

  1. Michael Spivak (2008). Calculus
  2. James Stewart (2015). Calculus: Early Transcendentals
  3. Bernhard Riemann (1868). Ueber die Darstellbarkeit einer Function durch eine trigonometrische Reihe
  4. Carl B. Boyer (1959). The History of the Calculus and Its Conceptual Development