In the previous section, we calculated the exact area under y=x2, y=ex, and y=sinx directly from the limit of a Riemann sum:
∫abf(x)dx=n→∞limhr=1∑nf(a+rh)
While those derivations were rewarding, they also exposed a serious practical obstacle:
Even for a simple parabola x2, we had to expand (a+rh)2, apply the sum of squares ∑r2=6n(n+1)(2n+1), group terms in powers of nh, and pass to the limit.
For sinx, we needed a clever trigonometric telescoping trick.
For an everyday function like f(x)=1+x21 or f(x)=x, no elementary summation formula exists at all.
If every definite integral required summing an infinite series from scratch, integral calculus would be too cumbersome for science and engineering.
Fortunately, in the seventeenth century, Isaac Newton and Gottfried Wilhelm Leibniz discovered a breathtaking shortcut—a bridge connecting areas under curves (definite integrals) to antiderivatives (indefinite integrals). This result is so central to mathematics that it is called the First Fundamental Theorem of Calculus.
Statement of the First Fundamental Theorem of Calculus§
Let f(x) be a continuous function on the closed interval [a,b].
If F(x) is any antiderivative of f(x) on [a,b], meaning:
F′(x)=f(x)for all x∈[a,b]
then the definite integral of f(x) from a to b is given simply by:
To write F(b)−F(a) compactly during calculations, we use the square-bracket notation:
∫abf(x)dx=[F(x)]ab=F(b)−F(a)
This formula is also celebrated as the Newton–Leibniz Formula. It tells us that to find the exact accumulated area under a continuous curve y=f(x) over the entire interval [a,b], we do not need to sum infinitely many strips—we merely find an antiderivative F(x) and subtract its value at the starting point a from its value at the ending point b.
Why does subtracting an antiderivative at the two endpoints give the exact limit of the sum of infinitely many rectangular strips? Let us look at two clear, intuitive proofs—one algebraic and one geometric—that show how continuity makes this connection work.
Perspective 1: Telescoping Step Changes of the Antiderivative§
Divide the interval [a,b] into n small strips of equal width h=nb−a using the partition points:
a=x0<x1<x2<⋯<xn−1<xn=b
where xr−xr−1=h.
Now look at the total change in the antiderivative F(x) from the start of the interval x0=a to the end of the interval xn=b. We can break this total change into the sum of small changes across each individual strip:
Notice that on the right-hand side, F(x1) cancels with −F(x1), F(x2) cancels with −F(x2), and so on telescopically:
F(b)−F(a)=r=1∑n[F(xr)−F(xr−1)]
Now examine a single term F(xr)−F(xr−1) on the r-th strip [xr−1,xr]. Because F′(x)=f(x) exists at every point on [a,b], F(x) is continuous and differentiable on each sub-interval [xr−1,xr]. By the Mean Value Theorem, there is a point cr inside the strip where the instantaneous slope equals the average slope:
The left side, F(xr)−F(xr−1), is the small step rise in the antiderivative F(x) across the r-th strip.
The right side, h⋅f(cr), is the area of the r-th rectangular strip of width h and height f(cr) under the curve y=f(x)!
Summing this relation across all n strips gives:
F(b)−F(a)=r=1∑n[F(xr)−F(xr−1)]=r=1∑nh⋅f(cr)
Finally, take the limit as n→∞ (h→0). Because f(x) is continuous on [a,b], as the strip width h shrinks to zero, the sample point cr is squeezed toward the endpoint xr, and the sum of rectangular areas on the right converges to the definite integral ∫abf(x)dx. Meanwhile, the left side remains the fixed constant F(b)−F(a):
∫abf(x)dx=F(b)−F(a)
Perspective 2: The Moving Boundary and the Area Function§
We can also see this geometrically by letting the right boundary of our region move.
Imagine fixing the left boundary at t=a, and placing a movable vertical wall at position x. Let A(x) denote the accumulated area under the curve from a up to x:
A(x)=∫axf(t)dt
Now slide the right wall slightly further to the right, from x to x+h. How much new area ΔA is added?
Because f is continuous at x, the curve does not suddenly jump between x and x+h. Over a very narrow strip of width h, the height of the curve stays nearly constant and equal to f(x). Thus, the newly added slice is approximately a rectangle of width h and height f(x):
A(x+h)−A(x)≈h⋅f(x)
Dividing both sides by the strip width h:
hA(x+h)−A(x)≈f(x)
As we make the strip infinitely thin (h→0), continuity ensures that the height across the strip approaches f(x) exactly, and the left-hand side becomes the derivative A′(x):
A′(x)=h→0limhA(x+h)−A(x)=f(x)
This reveals a profound geometric truth: for a continuous function, the rate at which area accumulates at position x is simply the height of the curve f(x) at that point!
Because A′(x)=f(x), the area function A(x) is itself an antiderivative of f(x). If F(x) is any antiderivative of f(x) (so F′(x)=f(x) as well), then from our theorem in Indefinite Integration, two functions with the same derivative on an interval can differ only by a constant C:
A(x)=F(x)+C
To find the constant C, place the movable wall right at the starting line x=a. When the wall is at x=a, the region has zero width, so the accumulated area is zero (A(a)=0):
A(a)=F(a)+C=0⟹C=−F(a)
Substituting C=−F(a) back into our equation gives the area up to any position x:
Because +C is added at the upper limit and subtracted at the lower limit, the constant of integration always cancels out. For this reason, we never write +C when computing definite integrals.
The Power of the Theorem: Re-evaluating Our Earlier Integrals§
Let us now witness how the First Fundamental Theorem of Calculus eliminates the pain of limits of sums. We will re-evaluate the three integrals from Section 02, plus two integrals that were completely beyond elementary summation.
No telescoping trigonometric identities or half-angle limits are needed.
Example 4: An Integral Impossible by Elementary Sums§
Evaluate:
∫011+x21dx
Solution:
In Section 02, we saw that the Riemann sum ∑r=1nn2+r2n2 has no simple closed-form algebraic sum. However, f(x)=1+x21 is continuous on [0,1], and we recognize immediately from differential calculus that:
dxd(tan−1x)=1+x21
Thus, F(x)=tan−1x is an antiderivative on [0,1]. By the First Fundamental Theorem of Calculus:
On the interval [1,2], the function f(x)=x1 is strictly positive and continuous (the discontinuity at x=0 lies outside [1,2]). An antiderivative on [1,2] is F(x)=lnx, since dxd(lnx)=x1.
Applying the First Fundamental Theorem of Calculus:
Now that we have established the First Fundamental Theorem of Calculus, we can bring the entire toolkit of Indefinite Integration (completing the square, algebraic splitting, reciprocal transformations, rationalizing, and partial fractions) to evaluate definite integrals.
In each problem below, we first find a continuous antiderivative F(x) on the given interval [a,b] and then compute the net change F(b)−F(a).
The quadratic inside the square root, x2+x+1, has discriminant Δ=12−4(1)(1)=−3<0, so it is strictly positive for all real x. Thus, the integrand is continuous on [0,1].
To find an antiderivative, we complete the square inside the radical:
x2+x+1=(x+21)2−41+1=(x+21)2+(23)2
Recall the standard indefinite integration formula:
∫u2+a21du=lnu+u2+a2+C
Here, with u=x+21 and u2+a2=x2+x+1, a continuous antiderivative on [0,1] is:
F(x)=ln(x+21+x2+x+1)
Applying the First Fundamental Theorem of Calculus from x=0 to x=1:
The integrand f(x)=x4+1x2+1 is continuous on [1,3]. Because x>0 throughout the interval [1,3], we can divide both the numerator and the denominator by x2:
∫x4+1x2+1dx=∫x2+x211+x21dx
Notice that the numerator 1+x21 is the exact derivative of x−x1:
dxd(x−x1)=1+x21
We therefore rewrite the denominator in terms of (x−x1)2:
x2+x21=(x−x1)2+2=(x−x1)2+(2)2
The indefinite integral then takes the standard form ∫u2+a2du=a1tan−1(au) with u=x−x1 and a=2:
F(x)=21tan−1(2x−x1)=21tan−1(x2x2−1)
Since x∈[1,3], F(x) is continuous and differentiable on the entire interval. Applying the First Fundamental Theorem of Calculus:
The integrand f(x)=1+x41 is continuous on [0,1]. Because the lower limit is x=0, we construct an antiderivative F(x) that is continuous and well-defined across all real numbers, including x=0.
First, we factor the denominator x4+1 into two real quadratics by completing the square:
On the interval [1,2], the denominator x4+x2+1 is strictly positive, so the integrand is continuous. Since x>0 throughout [1,2], we divide both the numerator and the denominator by x2:
∫x4+x2+1x2−1dx=∫x2+1+x211−x21dx
Observe that the numerator 1−x21 is the exact derivative of x+x1:
dxd(x+x1)=1−x21
We therefore express the denominator in terms of (x+x1)2:
x2+1+x21=(x+x1)2−2+1=(x+x1)2−12
Using the standard formula ∫u2−a2du=2a1lnu+au−a+C with u=x+x1 and a=1, we obtain the antiderivative:
F(x)=21ln(x+x1+1x+x1−1)=21ln(x2+x+1x2−x+1)
Note that both x2−x+1 and x2+x+1 are strictly positive for all real x, so F(x) is continuous everywhere. Applying the First Fundamental Theorem of Calculus from x=1 to x=2:
Using the standard formula ∫a2−u2du=2a1lna−ua+u+C with u=4(sinx−cosx), du=4(sinx+cosx)dx, and a=5, we obtain a continuous antiderivative on [0,4π]:
For all x∈[0,4π], cosx>0 and cos4x+sin4x>0, so the integrand is continuous.
Since cosx=0 on [0,4π], we divide both the numerator and the denominator by cos4x to convert the integrand into expressions involving tanx and sec2x:
Looking Ahead: What if the Function is Not Continuous?§
Notice how in Example 5 we carefully checked that x=0 did not lie inside the interval [1,2].
The First Fundamental Theorem of Calculus, as stated above, relies on f(x) and its antiderivative F(x) being continuous across the entire interval [a,b].
But what happens if:
The function f(x) is defined in pieces and jumps at one or more points inside [a,b] (such as the greatest integer function ⌊x⌋ or a step function)?
The curve has sharp corners where the derivative fails to exist (such as ∣x∣)?
The antiderivative formula F(x) we write down has a hidden jump discontinuity inside [a,b]?
In the next section, we will see how interval splitting allows us to jump over discontinuities and extend the Fundamental Theorem to piecewise and discontinuous functions—while avoiding the classic traps of blind endpoint substitution.