Search Knowledge

© 2026 LIBREUNI PROJECT

Page 7 of 12

The Fundamental Theorem of Calculus

Rigorous proofs and applications of the two parts of the Fundamental Theorem of Calculus, Integration by Parts, and Substitution.

Lesson briefIntegration · 3 h · 3 outcomes

Required knowledge

  • Darboux/Riemann integrability, continuity, and the Mean Value Theorem for Derivatives and Integrals
  • Chain rule and antiderivative notation

Learning outcomes

  • Prove both parts of the Fundamental Theorem of Calculus and verify where continuity vs integrability is required
  • Differentiate accumulation functions with variable limits using the Leibniz-chain rule
  • Evaluate definite and indefinite integrals using substitution and integration by parts

Assessment target

Differentiate a variable-limit accumulation integral, diagnose invalid applications of FTC across singularities, and evaluate definite integrals by substitution and parts.

Scope boundary

  • Stokes theorem, differential forms, and Henstock-Kurzweil generalized integrals.

The Fundamental Theorem of Calculus (FTC) is the central theorem of calculus, establishing the inverse relationship between differentiation (slopes) and integration (accumulation).

FTC Part 1: Derivative of the Accumulation Function

This part of the theorem states that the rate of change of the area under a curve is equal to the height of the curve.

Theorem 2.2.1Fundamental Theorem of Calculus, Part 1

Let f:[a,b]→Rf: [a, b] \to \mathbb{R} be a Riemann integrable function, and let ff be continuous on [a,b][a, b] Define the accumulation function F:[a,b]→RF: [a, b] \to \mathbb{R} by:

F(x)=∫axf(t) dt.F(x) = \int_a^x f(t) \, dt.

Then FF is continuous on [a,b][a, b] differentiable on (a,b)(a, b) and:

F′(x)=f(x)for all x∈(a,b).F'(x) = f(x) \quad \text{for all } x \in (a, b).

ProofExpand proof

We prove F′(x)=f(x)F'(x) = f(x) at any x∈(a,b)x \in (a, b) Using the limit definition of the derivative:

F′(x)=lim⁡h→0F(x+h)−F(x)h.F'(x) = \lim_{h \to 0} \frac{F(x+h) - F(x)}{h}.

Using the additivity property of the Riemann integral, F(x+h)−F(x)=∫xx+hf(t) dtF(x+h) - F(x) = \int_x^{x+h} f(t) \, dt Thus:

F(x+h)−F(x)h=1h∫xx+hf(t) dt.\frac{F(x+h) - F(x)}{h} = \frac{1}{h} \int_x^{x+h} f(t) \, dt.

Since ff is continuous on the interval [x,x+h][x, x+h] (or [x+h,x][x+h, x] if h<0h < 0 by the Mean Value Theorem for Integrals (Theorem 2.1.4), there exists some chc_h between xx and x+hx+h such that:

∫xx+hf(t) dt=f(ch)⋅h  ⟹  1h∫xx+hf(t) dt=f(ch).\int_x^{x+h} f(t) \, dt = f(c_h) \cdot h \implies \frac{1}{h} \int_x^{x+h} f(t) \, dt = f(c_h).

Now take the limit as h→0h \to 0 Since chc_h is trapped between xx and x+hx+h by the Squeeze Theorem (Theorem 1.1.3), lim⁡h→0ch=x\lim_{h \to 0} c_h = x Since ff is continuous, we have:

F′(x)=lim⁡h→0f(ch)=f(lim⁡h→0ch)=f(x).F'(x) = \lim_{h \to 0} f(c_h) = f\left(\lim_{h \to 0} c_h\right) = f(x).

This completes the proof.

∎
The Fundamental Theorem of Calculus: the accumulation function $A(x) = \int_0^x (t^2 - 1) \, dt$ reaches its global minimum at $x = 1$, where the rate of change $f(1) = 0$. Two-panel figure illustrating the Fundamental Theorem of Calculus: integrand f(t) = t squared minus 1 on the left and accumulation function A(x) = x cubed over 3 minus x on the right. x=1.6 x=1
Figure 2.2.1: The Fundamental Theorem of Calculus: the accumulation function A(x)=∫0x(t2−1) dtA(x) = \int_0^x (t^2 - 1) \, dt reaches its global minimum at x=1x = 1, where the rate of change f(1)=0f(1) = 0.

Counterexample: Discontinuity Destroys Differentiability

The continuity of ff in FTC Part 1 is strictly necessary, not an optional convenience.

Counterexample. Consider the signum step function on [−1,1][-1, 1]

f(t)={−1t<01t≥0f(t) = \begin{cases} -1 & t < 0 \\ 1 & t \ge 0 \end{cases}

Its accumulation function F(x)=∫−1xf(t) dt=∣x∣−1F(x) = \int_{-1}^x f(t) \, dt = |x| - 1 is continuous everywhere, but has a sharp corner at x=0x = 0 where F′(0)F'(0) does not exist. Thus F′(0)≠f(0)F'(0) \neq f(0) Differentiability of the accumulation function requires ff to be continuous.

Worked trace: variable limits of integration with the Chain Rule. Compute the derivative of G(x)=∫1x31+t4 dtG(x) = \int_1^{x^3} \sqrt{1 + t^4} \, dt

  1. Let u=g(x)=x3u = g(x) = x^3 and define F(u)=∫1u1+t4 dtF(u) = \int_1^u \sqrt{1 + t^4} \, dt
  2. By FTC Part 1, dFdu=1+u4\frac{dF}{du} = \sqrt{1 + u^4}
  3. By the Chain Rule, dGdx=dFdu⋅dudx=1+u4⋅(3x2)\frac{dG}{dx} = \frac{dF}{du} \cdot \frac{du}{dx} = \sqrt{1 + u^4} \cdot (3x^2)
  4. Substitute u=x3u = x^3 G′(x)=3x21+(x3)4=3x21+x12.G'(x) = 3x^2 \sqrt{1 + (x^3)^4} = 3x^2 \sqrt{1 + x^{12}}.

Prediction — answer before expanding. What happens if we apply FTC Part 2 blindly to ∫−111x2 dx\int_{-1}^1 \frac{1}{x^2} \, dx using the antiderivative −1/x-1/x What is the fatal flaw in the calculation?

Reveal the paradox and explanationExpand

A naive substitution gives [−1x]−11=(−1)−(1)=−2\left[ -\frac{1}{x} \right]_{-1}^1 = (-1) - (1) = -2 However, the integrand 1/x2>01/x^2 > 0 everywhere, so its integral cannot be negative! The fatal flaw: FTC Part 2 strictly requires ff to be continuous on the entire interval [a,b][a, b] Because 1/x21/x^2 has an infinite discontinuity at x=0x = 0 it is not Riemann integrable on [−1,1][-1, 1] without improper integral regularization (which diverges to +∞+\infty

FTC Part 2: Evaluation of Definite Integrals

This part provides the algebraic shortcut to evaluate definite integrals using antiderivatives.

Theorem 2.2.2Fundamental Theorem of Calculus, Part 2

Builds on:Theorem 2.2.1

Let f:[a,b]→Rf: [a, b] \to \mathbb{R} be continuous on [a,b][a, b] If GG is any antiderivative of ff on [a,b][a, b] (that is, G′(x)=f(x)G'(x) = f(x) for all x∈[a,b]x \in [a, b] then:

∫abf(x) dx=G(b)−G(a).\int_a^b f(x) \, dx = G(b) - G(a).

ProofExpand proof

Let F(x)=∫axf(t) dtF(x) = \int_a^x f(t) \, dt By Theorem 2.2.1, F′(x)=f(x)F'(x) = f(x) Since GG is also an antiderivative of ff we have G′(x)=f(x)=F′(x)G'(x) = f(x) = F'(x) for all x∈[a,b]x \in [a, b] Therefore, (F−G)′(x)=0(F - G)'(x) = 0 for all x∈[a,b]x \in [a, b] By Corollary 1.3.3, there exists a constant CC such that:

F(x)=G(x)+Cfor all x∈[a,b].F(x) = G(x) + C \quad \text{for all } x \in [a, b].

To find CC we evaluate at x=ax = a

F(a)=G(a)+C  ⟹  ∫aaf(t) dt=G(a)+C  ⟹  0=G(a)+C  ⟹  C=−G(a).F(a) = G(a) + C \implies \int_a^a f(t) \, dt = G(a) + C \implies 0 = G(a) + C \implies C = -G(a).

Substituting CC back into the equation:

F(x)=G(x)−G(a).F(x) = G(x) - G(a).

Now, evaluating at x=bx = b

F(b)=G(b)−G(a)  ⟹  ∫abf(t) dt=G(b)−G(a).F(b) = G(b) - G(a) \implies \int_a^b f(t) \, dt = G(b) - G(a).

This completes the proof.

∎

Integration Techniques from Derivative Rules

By reversing derivative rules, we obtain powerful integration tools.

Substitution Rule (Reverse Chain Rule)

If u=g(x)u = g(x) is differentiable and ff is continuous, then:

∫f(g(x))g′(x) dx=∫f(u) du.\int f(g(x))g'(x) \, dx = \int f(u) \, du.

Integration by Parts (Reverse Product Rule)

If u(x)u(x) and v(x)v(x) are differentiable, then:

∫u dv=uv−∫v du.\int u \, dv = uv - \int v \, du.

Let us use SymPy to find the antiderivative of xln⁡(x)x \ln(x) using integration by parts, and evaluate its definite integral from 11 to ee

python

Interactive Lab

1import sympy as sp
2 
3x = sp.Symbol('x')
4f = x * sp.log(x)
5 
6# Antiderivative (Indefinite integral)
7F = sp.integrate(f, x)
8print(f"Indefinite integral of x*ln(x): {F}")
9 
10# Definite integral from 1 to e
11a, b = 1, sp.E
12definite_integral = sp.integrate(f, (x, a, b))
13print(f"Definite integral from 1 to e: {definite_integral}")
14print(f"Numerical value: {float(definite_integral):.6f}")
15 
Section Exercises

Deep Practice

Apply both parts of the Fundamental Theorem of Calculus, differentiate variable-limit accumulation functions, and evaluate definite integrals by substitution and integration by parts.

Exercise 2.2.1: Differentiating an Accumulation Function with Two Variable Limits

Constructionapplication

Differentiate H(x)=∫sin⁡xx2cos⁡(t2) dtH(x) = \int_{\sin x}^{x^2} \cos(t^2)\,dt with respect to xx justifying each step via Theorem 2.2.1 and Theorem 1.2.4.

HintExpand

Split the integral at a constant base point 00: H(x)=∫0x2cos⁡(t2) dt−∫0sin⁡xcos⁡(t2) dtH(x) = \int_0^{x^2} \cos(t^2)\,dt - \int_0^{\sin x} \cos(t^2)\,dt, then apply FTC Part 1 and the Chain Rule to each term.

Worked solutionExpand
  1. Split at a fixed base point: Since f(t)=cos⁡(t2)f(t) = \cos(t^2) is continuous on R\mathbb{R} define F(u)=∫0ucos⁡(t2) dtF(u) = \int_0^u \cos(t^2)\,dt By Theorem 2.2.1, F′(u)=cos⁡(u2)F'(u) = \cos(u^2)
  2. Express HH in terms of FF H(x)=∫0x2cos⁡(t2) dt−∫0sin⁡xcos⁡(t2) dt=F(x2)−F(sin⁡x).H(x) = \int_0^{x^2} \cos(t^2)\,dt - \int_0^{\sin x} \cos(t^2)\,dt = F(x^2) - F(\sin x).
  3. Differentiate via Theorem 1.2.4: H′(x)=F′(x2)⋅(2x)−F′(sin⁡x)⋅(cos⁡x)=2xcos⁡(x4)−cos⁡(sin⁡2x)cos⁡x.H'(x) = F'(x^2)\cdot(2x) - F'(\sin x)\cdot(\cos x) = 2x\cos(x^4) - \cos(\sin^2 x)\cos x.

Verification criteria. Requires decomposing into two fixed-lower-limit integrals, applying Theorem 2.2.1, and multiplying each term by the derivative of its limit of integration.

Exercise 2.2.2: Definite Substitution with Transformed Limits

Verificationapplication

Evaluate ∫0πxsin⁡(x2) dx\int_0^{\sqrt{\pi}} x \sin(x^2)\,dx by substitution, transforming the limits of integration explicitly and invoking Theorem 2.2.2.

HintExpand

Set u=x2u = x^2 so du=2x dxdu = 2x\,dx, and map the endpoints x=0↦u=0x = 0 \mapsto u = 0 and x=π↦u=πx = \sqrt{\pi} \mapsto u = \pi.

Worked solutionExpand
  1. Substitute u=x2u = x^2 Notice du=2x dx  ⟹  x dx=12dudu = 2x\,dx \implies x\,dx = \frac{1}{2}du
  2. Transform endpoints: At x=0x = 0 u=02=0u = 0^2 = 0 at x=πx = \sqrt{\pi} u=(π)2=πu = (\sqrt{\pi})^2 = \pi
  3. Evaluate the transformed definite integral by Theorem 2.2.2: ∫0πxsin⁡(x2) dx=12∫0πsin⁡(u) du=12[−cos⁡u]0π=12(−cos⁡π−(−cos⁡0))=12(1+1)=1.\int_0^{\sqrt{\pi}} x\sin(x^2)\,dx = \frac{1}{2}\int_0^\pi \sin(u)\,du = \frac{1}{2}\bigl[-\cos u\bigr]_0^\pi = \frac{1}{2}\bigl(-\cos\pi - (-\cos 0)\bigr) = \frac{1}{2}(1 + 1) = 1.

Verification criteria. Requires explicit differential du=2x dxdu = 2x\,dx transformed bounds [0,π][0, \pi] and exact evaluation to 11

Exercise 2.2.3: Integration by Parts and Product-Rule Reversal

Constructiontransfer

Derive the Integration by Parts formula from the Product Rule (Theorem 1.2.3), then evaluate ∫01xe2x dx\int_0^1 x e^{2x}\,dx in exact closed form.

Fill-in Exercise

1 blank to complete

Complete the Integration by Parts formula

We know the product rule: ddx(u⋅v)=u′⋅v+u⋅v′\frac{d}{dx}(u \cdot v) = u' \cdot v + u \cdot v'.
Integrating both sides: u⋅v=∫(u′⋅v) dx+∫(u⋅v′) dxu \cdot v = \int (u' \cdot v)\,dx + \int (u \cdot v')\,dx.
Rearranging terms gives the Integration by Parts formula:
∫(u⋅v′) dx=u⋅v−\int (u \cdot v')\,dx = u \cdot v -
HintExpand

Choose u=xu = x and dv=e2x dxdv = e^{2x}\,dx, so du=dxdu = dx and v=12e2xv = \frac{1}{2}e^{2x}.

Worked solutionExpand
  1. Set parts: Let u=xu = x du=dxdu = dx and dv=e2x dxdv = e^{2x}\,dx v=12e2xv = \frac{1}{2}e^{2x}
  2. Apply Integration by Parts on [0,1][0, 1] ∫01xe2x dx=[12xe2x]01−∫0112e2x dx=12e2−[14e2x]01=12e2−(14e2−14)=e2+14.\int_0^1 x e^{2x}\,dx = \left[\frac{1}{2}x e^{2x}\right]_0^1 - \int_0^1 \frac{1}{2}e^{2x}\,dx = \frac{1}{2}e^2 - \left[\frac{1}{4}e^{2x}\right]_0^1 = \frac{1}{2}e^2 - \left(\frac{1}{4}e^2 - \frac{1}{4}\right) = \frac{e^2 + 1}{4}.

Verification criteria. Requires identifying u,dv,du,vu, dv, du, v applying the boundary term [uv]01[uv]_0^1 and simplifying to (e2+1)/4(e^2 + 1)/4

Exercise 2.2.4: Variable-Limit Differentiation Check

Verificationapplication

Verify the Leibniz-Chain Rule decomposition for a polynomial accumulation function with two variable limits:

Verification Check

0 / 4 answered

Let H(x)=∫x2x3t3 dtH(x)=\int_{x^2}^{x^3}t^3\,dt. Evaluate each statement regarding its derivative H′(x)H'(x) and method of computation:

Classify each option as correct or incorrect, or leave uncertain options unanswered (“I don't know”) and verify at any time.

1
By decomposing H(x)=F(x3)−F(x2)H(x) = F(x^3) - F(x^2), differentiation produces (x3)3⋅(3x2)−(x2)3⋅(2x)(x^3)^3 \cdot (3x^2) - (x^2)^3 \cdot (2x).
2
Applying the Fundamental Theorem of Calculus with the Chain Rule yields H′(x)=3x11−2x7H'(x) = 3x^{11} - 2x^7.
3
The derivative simplifies to 3x8−2x53x^8 - 2x^5 by applying the power rule to outer limits only.
4
Differentiating under the integral sign produces H′(x)=(x3)3−(x2)3=x9−x6H'(x) = (x^3)^3 - (x^2)^3 = x^9 - x^6 directly.

References & Further Reading

  • Spivak, M. (2008). Calculus (4th ed.), Chapters 14 (“The Fundamental Theorem of Calculus”) and 19 (“Integration in Elementary Terms”). Publish or Perish.
  • Apostol, T. M. (1967). Calculus, Volume 1: One-Variable Calculus, with an Introduction to Linear Algebra (2nd ed.), Chapter 5 (“The Relation Between Integration and Differentiation”). Wiley.
  • Rudin, W. (1976). Principles of Mathematical Analysis (3rd ed.), Chapter 6 (“The Riemann-Stieltjes Integral”, Theorems 6.20–6.21), Chapter 10 (Stokes’ Theorem on differential forms ∫∂Ωω=∫Ωdω\int_{\partial \Omega} \omega = \int_\Omega d\omega and Chapter 11 (Lebesgue differentiation of absolutely continuous functions). McGraw-Hill.