Skip to content

The First Fundamental Theorem of Calculus

In the previous section, we calculated the exact area under \(y = x^2\), \(y = e^x\), and \(y = \sin x\) directly from the limit of a Riemann sum:

\[\int_a^b f(x) \, dx = \lim_{n \to \infty} h \sum_{r=1}^n f(a + rh)\]

While those derivations were rewarding, they also exposed a serious practical obstacle:

  • Even for a simple parabola \(x^2\), we had to expand \((a + rh)^2\), apply the sum of squares \(\sum r^2 = \frac{n(n+1)(2n+1)}{6}\), group terms in powers of \(nh\), and pass to the limit.
  • For \(\sin x\), we needed a clever trigonometric telescoping trick.
  • For an everyday function like \(f(x) = \frac{1}{1 + x^2}\) or \(f(x) = \sqrt{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) \quad \text{for all } x \in [a, b]\]

then the definite integral of \(f(x)\) from \(a\) to \(b\) is given simply by:

\[\int_a^b f(x) \, dx = F(b) - F(a)\]

Standard Evaluation Bracket Notation

To write \(F(b) - F(a)\) compactly during calculations, we use the square-bracket notation:

\[\int_a^b f(x) \, dx = \Big[ F(x) \Big]_a^b = 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\).


Convincing Ourselves: Why Does the Theorem Work?

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 = \frac{b - a}{n}\) using the partition points:

\[a = x_0 < x_1 < x_2 < \dots < x_{n-1} < x_n = b\]

where \(x_r - x_{r-1} = h\).

Now look at the total change in the antiderivative \(F(x)\) from the start of the interval \(x_0 = a\) to the end of the interval \(x_n = b\). We can break this total change into the sum of small changes across each individual strip:

\[F(b) - F(a) = F(x_n) - F(x_0)\]
\[= \big[ F(x_1) - F(x_0) \big] + \big[ F(x_2) - F(x_1) \big] + \big[ F(x_3) - F(x_2) \big] + \dots + \big[ F(x_n) - F(x_{n-1}) \big]\]

Notice that on the right-hand side, \(F(x_1)\) cancels with \(-F(x_1)\), \(F(x_2)\) cancels with \(-F(x_2)\), and so on telescopically:

\[F(b) - F(a) = \sum_{r=1}^n \big[ F(x_r) - F(x_{r-1}) \big]\]

Now examine a single term \(F(x_r) - F(x_{r-1})\) on the \(r\)-th strip \([x_{r-1}, x_r]\). Because \(F'(x) = f(x)\) exists at every point on \([a, b]\), \(F(x)\) is continuous and differentiable on each sub-interval \([x_{r-1}, x_r]\). By the Mean Value Theorem, there is a point \(c_r\) inside the strip where the instantaneous slope equals the average slope:

\[\frac{F(x_r) - F(x_{r-1})}{x_r - x_{r-1}} = \frac{F(x_r) - F(x_{r-1})}{h} = F'(c_r) = f(c_r)\]

Multiplying both sides by \(h\):

\[F(x_r) - F(x_{r-1}) = h \cdot f(c_r)\]

Look at what this equation says:

  • The left side, \(F(x_r) - F(x_{r-1})\), is the small step rise in the antiderivative \(F(x)\) across the \(r\)-th strip.
  • The right side, \(h \cdot f(c_r)\), is the area of the \(r\)-th rectangular strip of width \(h\) and height \(f(c_r)\) under the curve \(y = f(x)\)!

Summing this relation across all \(n\) strips gives:

\[F(b) - F(a) = \sum_{r=1}^n \big[ F(x_r) - F(x_{r-1}) \big] = \sum_{r=1}^n h \cdot f(c_r)\]

Finally, take the limit as \(n \to \infty\) (\(h \to 0\)). Because \(f(x)\) is continuous on \([a, b]\), as the strip width \(h\) shrinks to zero, the sample point \(c_r\) is squeezed toward the endpoint \(x_r\), and the sum of rectangular areas on the right converges to the definite integral \(\int_a^b f(x) \, dx\). Meanwhile, the left side remains the fixed constant \(F(b) - F(a)\):

\[\int_a^b f(x) \, dx = F(b) - F(a)\]

Telescoping Step Changes of the Antiderivative


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) = \int_a^x f(t) \, dt\]

Now slide the right wall slightly further to the right, from \(x\) to \(x + h\). How much new area \(\Delta A\) is added?

\[\Delta A = A(x + h) - A(x) = \int_a^{x+h} f(t) \, dt - \int_a^x f(t) \, dt = \int_x^{x+h} f(t) \, dt\]

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) \approx h \cdot f(x)\]

Dividing both sides by the strip width \(h\):

\[\frac{A(x + h) - A(x)}{h} \approx f(x)\]

As we make the strip infinitely thin (\(h \to 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) = \lim_{h \to 0} \frac{A(x + h) - A(x)}{h} = 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 \implies C = -F(a)\]

Substituting \(C = -F(a)\) back into our equation gives the area up to any position \(x\):

\[A(x) = F(x) - F(a)\]

Finally, move the wall to the right endpoint \(x = b\):

\[\int_a^b f(x) \, dx = A(b) = F(b) - F(a)\]

Moving Boundary and the Area Accumulation Function


Why the Constant of Integration (+C) Disappears

In indefinite integration, we must always include the arbitrary constant \(+C\):

\[\int f(x) \, dx = F(x) + C\]

What happens if we include \(+C\) when evaluating a definite integral from \(a\) to \(b\)?

\[\int_a^b f(x) \, dx = \Big[ F(x) + C \Big]_a^b = \big( F(b) + C \big) - \big( F(a) + C \big)\]
\[= F(b) + C - F(a) - C = F(b) - F(a)\]

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.


Example 1: The Parabolic Area Revisited

Evaluate:

\[\int_a^b x^2 \, dx\]

Solution:

The function \(f(x) = x^2\) is continuous everywhere on \([a, b]\). An antiderivative is \(F(x) = \frac{x^3}{3}\), because \(\frac{d}{dx}\left(\frac{x^3}{3}\right) = x^2\).

Applying the First Fundamental Theorem of Calculus:

\[\int_a^b x^2 \, dx = \left[ \frac{x^3}{3} \right]_a^b = \frac{b^3}{3} - \frac{a^3}{3} = \frac{b^3 - a^3}{3}\]

What previously required a full page of series expansions and algebraic grouping is now accomplished in a single line!


Example 2: The Exponential Area Revisited

Evaluate:

\[\int_a^b e^x \, dx\]

Solution:

The function \(f(x) = e^x\) is continuous on \([a, b]\), and an antiderivative is \(F(x) = e^x\). Therefore:

\[\int_a^b e^x \, dx = \Big[ e^x \Big]_a^b = e^b - e^a\]

Example 3: The Sine Wave Revisited

Evaluate:

\[\int_0^{\pi/2} \sin x \, dx\]

Solution:

The function \(f(x) = \sin x\) is continuous on \(\left[0, \frac{\pi}{2}\right]\), and an antiderivative is \(F(x) = -\cos x\), since \(\frac{d}{dx}(-\cos x) = \sin x\). Applying the theorem:

\[\int_0^{\pi/2} \sin x \, dx = \Big[ -\cos x \Big]_0^{\pi/2} = \left( -\cos \frac{\pi}{2} \right) - \big( -\cos 0 \big) = 0 - (-1) = 1\]

No telescoping trigonometric identities or half-angle limits are needed.


Example 4: An Integral Impossible by Elementary Sums

Evaluate:

\[\int_0^1 \frac{1}{1 + x^2} \, dx\]

Solution:

In Section 02, we saw that the Riemann sum \(\sum_{r=1}^n \frac{n^2}{n^2 + r^2}\) has no simple closed-form algebraic sum. However, \(f(x) = \frac{1}{1 + x^2}\) is continuous on \([0, 1]\), and we recognize immediately from differential calculus that:

\[\frac{d}{dx} \big( \tan^{-1} x \big) = \frac{1}{1 + x^2}\]

Thus, \(F(x) = \tan^{-1} x\) is an antiderivative on \([0, 1]\). By the First Fundamental Theorem of Calculus:

\[\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} - 0 = \frac{\pi}{4}\]

Example 5: Area Under the Rectangular Hyperbola

Evaluate:

\[\int_1^2 \frac{1}{x} \, dx\]

Solution:

On the interval \([1, 2]\), the function \(f(x) = \frac{1}{x}\) is strictly positive and continuous (the discontinuity at \(x = 0\) lies outside \([1, 2]\)). An antiderivative on \([1, 2]\) is \(F(x) = \ln x\), since \(\frac{d}{dx}(\ln x) = \frac{1}{x}\).

Applying the First Fundamental Theorem of Calculus:

\[\int_1^2 \frac{1}{x} \, dx = \Big[ \ln x \Big]_1^2 = \ln 2 - \ln 1 = \ln 2 - 0 = \ln 2\]

Miscellaneous Examples

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)\).


Example 1

Evaluate:

\[\int_0^1 \frac{1}{\sqrt{x^2 + x + 1}} \, dx\]

Solution:

The quadratic inside the square root, \(x^2 + x + 1\), has discriminant \(\Delta = 1^2 - 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:

\[x^2 + x + 1 = \left(x + \frac{1}{2}\right)^2 - \frac{1}{4} + 1 = \left(x + \frac{1}{2}\right)^2 + \left(\frac{\sqrt{3}}{2}\right)^2\]

Recall the standard indefinite integration formula:

\[\int \frac{1}{\sqrt{u^2 + a^2}} \, du = \ln \left| u + \sqrt{u^2 + a^2} \right| + C\]

Here, with \(u = x + \frac{1}{2}\) and \(\sqrt{u^2 + a^2} = \sqrt{x^2 + x + 1}\), a continuous antiderivative on \([0, 1]\) is:

\[F(x) = \ln \left( x + \frac{1}{2} + \sqrt{x^2 + x + 1} \right)\]

Applying the First Fundamental Theorem of Calculus from \(x = 0\) to \(x = 1\):

\[\int_0^1 \frac{1}{\sqrt{x^2 + x + 1}} \, dx = \left[ \ln \left( x + \frac{1}{2} + \sqrt{x^2 + x + 1} \right) \right]_0^1\]

Evaluating at the upper and lower limits:

\[F(1) = \ln \left( 1 + \frac{1}{2} + \sqrt{1 + 1 + 1} \right) = \ln \left( \frac{3}{2} + \sqrt{3} \right) = \ln \left( \frac{3 + 2\sqrt{3}}{2} \right)\]
\[F(0) = \ln \left( 0 + \frac{1}{2} + \sqrt{0 + 0 + 1} \right) = \ln \left( \frac{1}{2} + 1 \right) = \ln \left( \frac{3}{2} \right)\]

Subtracting \(F(0)\) from \(F(1)\) using \(\ln A - \ln B = \ln\left(\frac{A}{B}\right)\):

\[\int_0^1 \frac{1}{\sqrt{x^2 + x + 1}} \, dx = \ln \left( \frac{3 + 2\sqrt{3}}{2} \cdot \frac{2}{3} \right) = \ln \left( \frac{3 + 2\sqrt{3}}{3} \right) = \ln \left( 1 + \frac{2}{\sqrt{3}} \right)\]

Example 2

Evaluate:

\[\int_1^{\sqrt{3}} \frac{x^2 + 1}{x^4 + 1} \, dx\]

Solution:

The integrand \(f(x) = \frac{x^2 + 1}{x^4 + 1}\) is continuous on \([1, \sqrt{3}]\). Because \(x > 0\) throughout the interval \([1, \sqrt{3}]\), we can divide both the numerator and the denominator by \(x^2\):

\[\int \frac{x^2 + 1}{x^4 + 1} \, dx = \int \frac{1 + \frac{1}{x^2}}{x^2 + \frac{1}{x^2}} \, dx\]

Notice that the numerator \(1 + \frac{1}{x^2}\) is the exact derivative of \(x - \frac{1}{x}\):

\[\frac{d}{dx}\left(x - \frac{1}{x}\right) = 1 + \frac{1}{x^2}\]

We therefore rewrite the denominator in terms of \(\left(x - \frac{1}{x}\right)^2\):

\[x^2 + \frac{1}{x^2} = \left(x - \frac{1}{x}\right)^2 + 2 = \left(x - \frac{1}{x}\right)^2 + (\sqrt{2})^2\]

The indefinite integral then takes the standard form \(\int \frac{du}{u^2 + a^2} = \frac{1}{a}\tan^{-1}\left(\frac{u}{a}\right)\) with \(u = x - \frac{1}{x}\) and \(a = \sqrt{2}\):

\[F(x) = \frac{1}{\sqrt{2}} \tan^{-1} \left( \frac{x - \frac{1}{x}}{\sqrt{2}} \right) = \frac{1}{\sqrt{2}} \tan^{-1} \left( \frac{x^2 - 1}{x\sqrt{2}} \right)\]

Since \(x \in [1, \sqrt{3}]\), \(F(x)\) is continuous and differentiable on the entire interval. Applying the First Fundamental Theorem of Calculus:

\[\int_1^{\sqrt{3}} \frac{x^2 + 1}{x^4 + 1} \, dx = \left[ \frac{1}{\sqrt{2}} \tan^{-1} \left( \frac{x^2 - 1}{x\sqrt{2}} \right) \right]_1^{\sqrt{3}}\]

Evaluating at \(x = \sqrt{3}\) and \(x = 1\):

\[F(\sqrt{3}) = \frac{1}{\sqrt{2}} \tan^{-1} \left( \frac{3 - 1}{\sqrt{3} \cdot \sqrt{2}} \right) = \frac{1}{\sqrt{2}} \tan^{-1} \left( \sqrt{\frac{2}{3}} \right)\]
\[F(1) = \frac{1}{\sqrt{2}} \tan^{-1} \left( \frac{1 - 1}{1 \cdot \sqrt{2}} \right) = \frac{1}{\sqrt{2}} \tan^{-1}(0) = 0\]

Thus:

\[\int_1^{\sqrt{3}} \frac{x^2 + 1}{x^4 + 1} \, dx = \frac{1}{\sqrt{2}} \tan^{-1} \left( \sqrt{\frac{2}{3}} \right)\]

Example 3

Evaluate:

\[\int_0^1 \frac{1}{1 + x^4} \, dx\]

Solution:

The integrand \(f(x) = \frac{1}{1 + x^4}\) 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 \(x^4 + 1\) into two real quadratics by completing the square:

\[x^4 + 1 = (x^4 + 2x^2 + 1) - 2x^2 = (x^2 + 1)^2 - (\sqrt{2}x)^2 = (x^2 - \sqrt{2}x + 1)(x^2 + \sqrt{2}x + 1)\]

Next, we split the numerator as \(1 = \frac{1}{2}(x^2 + 1) - \frac{1}{2}(x^2 - 1)\):

\[\frac{1}{x^4 + 1} = \frac{1}{2} \cdot \frac{x^2 + 1}{x^4 + 1} - \frac{1}{2} \cdot \frac{x^2 - 1}{x^4 + 1}\]

We now decompose each fraction using the two quadratic factors \((x^2 - \sqrt{2}x + 1)\) and \((x^2 + \sqrt{2}x + 1)\).

Part 1: Since \((x^2 + \sqrt{2}x + 1) + (x^2 - \sqrt{2}x + 1) = 2(x^2 + 1)\), we have:

\[\frac{x^2 + 1}{x^4 + 1} = \frac{1}{2} \left( \frac{1}{x^2 - \sqrt{2}x + 1} + \frac{1}{x^2 + \sqrt{2}x + 1} \right)\]

Completing the square in each denominator gives \(x^2 \mp \sqrt{2}x + 1 = \left(x \mp \frac{1}{\sqrt{2}}\right)^2 + \left(\frac{1}{\sqrt{2}}\right)^2\). Integrating with respect to \(x\) yields:

\[\int \frac{x^2 + 1}{x^4 + 1} \, dx = \frac{1}{2} \Big[ \sqrt{2}\tan^{-1}(\sqrt{2}x - 1) + \sqrt{2}\tan^{-1}(\sqrt{2}x + 1) \Big] = \frac{1}{\sqrt{2}} \Big[ \tan^{-1}(\sqrt{2}x - 1) + \tan^{-1}(\sqrt{2}x + 1) \Big]\]

Part 2: The derivatives of the two quadratic factors are \(2x - \sqrt{2}\) and \(2x + \sqrt{2}\). Expanding \((2x + \sqrt{2})(x^2 - \sqrt{2}x + 1) - (2x - \sqrt{2})(x^2 + \sqrt{2}x + 1)\) gives \(2\sqrt{2}(1 - x^2)\), so:

\[-\frac{x^2 - 1}{x^4 + 1} = \frac{1}{2\sqrt{2}} \left( \frac{2x + \sqrt{2}}{x^2 + \sqrt{2}x + 1} - \frac{2x - \sqrt{2}}{x^2 - \sqrt{2}x + 1} \right)\]

Since each numerator is the exact derivative of its denominator, integrating gives:

\[-\int \frac{x^2 - 1}{x^4 + 1} \, dx = \frac{1}{2\sqrt{2}} \ln \left( \frac{x^2 + \sqrt{2}x + 1}{x^2 - \sqrt{2}x + 1} \right)\]

Combining Part 1 and Part 2 (and multiplying by the outer factor of \(\frac{1}{2}\)), we obtain a continuous antiderivative \(F(x)\) on \([0, 1]\):

\[F(x) = \frac{1}{2\sqrt{2}} \Big[ \tan^{-1}(\sqrt{2}x - 1) + \tan^{-1}(\sqrt{2}x + 1) \Big] + \frac{1}{4\sqrt{2}} \ln \left( \frac{x^2 + \sqrt{2}x + 1}{x^2 - \sqrt{2}x + 1} \right)\]

Now we evaluate \(F(1) - F(0)\) by the First Fundamental Theorem of Calculus:

At the lower limit \(x = 0\):

\[F(0) = \frac{1}{2\sqrt{2}} \Big[ \tan^{-1}(-1) + \tan^{-1}(1) \Big] + \frac{1}{4\sqrt{2}} \ln \left( \frac{1}{1} \right) = \frac{1}{2\sqrt{2}} \left( -\frac{\pi}{4} + \frac{\pi}{4} \right) + 0 = 0\]

At the upper limit \(x = 1\):

Notice that \((\sqrt{2} - 1)(\sqrt{2} + 1) = 2 - 1 = 1\), so \(\sqrt{2} - 1\) and \(\sqrt{2} + 1\) are positive reciprocals of each other. Using the identity \(\tan^{-1} u + \tan^{-1}\left(\frac{1}{u}\right) = \frac{\pi}{2}\) for \(u > 0\), we have:

\[\tan^{-1}(\sqrt{2} - 1) + \tan^{-1}(\sqrt{2} + 1) = \frac{\pi}{2}\]

For the logarithmic term at \(x = 1\), we simplify the argument by rationalizing:

\[\frac{2 + \sqrt{2}}{2 - \sqrt{2}} = \frac{\sqrt{2} + 1}{\sqrt{2} - 1} = (\sqrt{2} + 1)^2\]

Substituting these into \(F(1)\) gives:

\[\int_0^1 \frac{1}{1 + x^4} \, dx = \frac{1}{2\sqrt{2}} \left( \frac{\pi}{2} \right) + \frac{1}{4\sqrt{2}} \ln \left( (\sqrt{2} + 1)^2 \right) = \frac{\pi + 2\ln(\sqrt{2} + 1)}{4\sqrt{2}}\]

Example 4

Evaluate:

\[\int_1^2 \frac{x^2 - 1}{x^4 + x^2 + 1} \, dx\]

Solution:

On the interval \([1, 2]\), the denominator \(x^4 + x^2 + 1\) is strictly positive, so the integrand is continuous. Since \(x > 0\) throughout \([1, 2]\), we divide both the numerator and the denominator by \(x^2\):

\[\int \frac{x^2 - 1}{x^4 + x^2 + 1} \, dx = \int \frac{1 - \frac{1}{x^2}}{x^2 + 1 + \frac{1}{x^2}} \, dx\]

Observe that the numerator \(1 - \frac{1}{x^2}\) is the exact derivative of \(x + \frac{1}{x}\):

\[\frac{d}{dx}\left(x + \frac{1}{x}\right) = 1 - \frac{1}{x^2}\]

We therefore express the denominator in terms of \(\left(x + \frac{1}{x}\right)^2\):

\[x^2 + 1 + \frac{1}{x^2} = \left(x + \frac{1}{x}\right)^2 - 2 + 1 = \left(x + \frac{1}{x}\right)^2 - 1^2\]

Using the standard formula \(\int \frac{du}{u^2 - a^2} = \frac{1}{2a} \ln \left| \frac{u - a}{u + a} \right| + C\) with \(u = x + \frac{1}{x}\) and \(a = 1\), we obtain the antiderivative:

\[F(x) = \frac{1}{2} \ln \left( \frac{x + \frac{1}{x} - 1}{x + \frac{1}{x} + 1} \right) = \frac{1}{2} \ln \left( \frac{x^2 - x + 1}{x^2 + x + 1} \right)\]

Note that both \(x^2 - x + 1\) and \(x^2 + 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\):

\[\int_1^2 \frac{x^2 - 1}{x^4 + x^2 + 1} \, dx = \left[ \frac{1}{2} \ln \left( \frac{x^2 - x + 1}{x^2 + x + 1} \right) \right]_1^2\]

Evaluating at \(x = 2\) and \(x = 1\):

\[F(2) = \frac{1}{2} \ln \left( \frac{4 - 2 + 1}{4 + 2 + 1} \right) = \frac{1}{2} \ln \left( \frac{3}{7} \right)\]
\[F(1) = \frac{1}{2} \ln \left( \frac{1 - 1 + 1}{1 + 1 + 1} \right) = \frac{1}{2} \ln \left( \frac{1}{3} \right)\]

Subtracting \(F(1)\) from \(F(2)\):

\[\int_1^2 \frac{x^2 - 1}{x^4 + x^2 + 1} \, dx = \frac{1}{2} \left[ \ln \left( \frac{3}{7} \right) - \ln \left( \frac{1}{3} \right) \right] = \frac{1}{2} \ln \left( \frac{3}{7} \cdot \frac{3}{1} \right) = \frac{1}{2} \ln \left( \frac{9}{7} \right)\]

Example 5

Evaluate:

\[\int_0^{\pi/4} \frac{\sin x + \cos x}{9 + 16\sin 2x} \, dx\]

Solution:

The denominator \(9 + 16\sin 2x\) is strictly positive on \(\left[0, \frac{\pi}{4}\right]\), so the integrand is continuous.

Look closely at the numerator \(\sin x + \cos x\). It is the exact derivative of \(\sin x - \cos x\):

\[\frac{d}{dx}(\sin x - \cos x) = \cos x + \sin x\]

Moreover, squaring \(\sin x - \cos x\) allows us to express \(\sin 2x\) purely in terms of \((\sin x - \cos x)^2\):

\[(\sin x - \cos x)^2 = \sin^2 x + \cos^2 x - 2\sin x \cos x = 1 - \sin 2x \implies \sin 2x = 1 - (\sin x - \cos x)^2\]

Substituting this into the denominator gives:

\[9 + 16\sin 2x = 9 + 16\big[ 1 - (\sin x - \cos x)^2 \big] = 25 - 16(\sin x - \cos x)^2 = 5^2 - \big[ 4(\sin x - \cos x) \big]^2\]

Our indefinite integral is therefore:

\[\int \frac{\sin x + \cos x}{5^2 - \big[ 4(\sin x - \cos x) \big]^2} \, dx\]

Using the standard formula \(\int \frac{du}{a^2 - u^2} = \frac{1}{2a} \ln \left| \frac{a + u}{a - u} \right| + C\) with \(u = 4(\sin x - \cos x)\), \(du = 4(\sin x + \cos x)\,dx\), and \(a = 5\), we obtain a continuous antiderivative on \(\left[0, \frac{\pi}{4}\right]\):

\[F(x) = \frac{1}{4} \cdot \frac{1}{2(5)} \ln \left( \frac{5 + 4(\sin x - \cos x)}{5 - 4(\sin x - \cos x)} \right) = \frac{1}{40} \ln \left( \frac{5 + 4(\sin x - \cos x)}{5 - 4(\sin x - \cos x)} \right)\]

Applying the First Fundamental Theorem of Calculus from \(x = 0\) to \(x = \frac{\pi}{4}\):

At \(x = \frac{\pi}{4}\), we have \(\sin \frac{\pi}{4} - \cos \frac{\pi}{4} = 0\), so:

\[F\left(\frac{\pi}{4}\right) = \frac{1}{40} \ln \left( \frac{5 + 0}{5 - 0} \right) = \frac{1}{40} \ln(1) = 0\]

At \(x = 0\), we have \(\sin 0 - \cos 0 = 0 - 1 = -1\), so:

\[F(0) = \frac{1}{40} \ln \left( \frac{5 + 4(-1)}{5 - 4(-1)} \right) = \frac{1}{40} \ln \left( \frac{1}{9} \right) = -\frac{1}{40} \ln 9\]

Therefore:

\[\int_0^{\pi/4} \frac{\sin x + \cos x}{9 + 16\sin 2x} \, dx = F\left(\frac{\pi}{4}\right) - F(0) = 0 - \left( -\frac{1}{40} \ln 9 \right) = \frac{1}{40} \ln 9 = \frac{1}{20} \ln 3\]

Example 6

Evaluate:

\[\int_1^2 \frac{1}{x(1 + x^4)} \, dx\]

Solution:

On the interval \([1, 2]\), the denominator \(x(1 + x^4)\) is strictly positive, so the integrand is continuous.

Instead of performing a lengthy partial-fraction decomposition with \(x\) and \(1 + x^4\), we multiply both the numerator and the denominator by \(x^3\):

\[\int \frac{1}{x(1 + x^4)} \, dx = \int \frac{x^3}{x^4(1 + x^4)} \, dx = \frac{1}{4} \int \frac{4x^3}{x^4(1 + x^4)} \, dx\]

Notice that \(4x^3\) is the exact derivative of \(x^4\), and we can split \(\frac{1}{x^4(1 + x^4)}\) by partial fractions as:

\[\frac{1}{x^4(1 + x^4)} = \frac{(1 + x^4) - x^4}{x^4(1 + x^4)} = \frac{1}{x^4} - \frac{1}{1 + x^4}\]

Multiplying through by \(\frac{1}{4} \cdot 4x^3\) gives:

\[\frac{1}{x(1 + x^4)} = \frac{1}{4} \left( \frac{4x^3}{x^4} - \frac{4x^3}{1 + x^4} \right)\]

Integrating term by term yields a continuous antiderivative on \([1, 2]\):

\[F(x) = \frac{1}{4} \Big[ \ln(x^4) - \ln(1 + x^4) \Big] = \frac{1}{4} \ln \left( \frac{x^4}{1 + x^4} \right)\]

Applying the First Fundamental Theorem of Calculus from \(x = 1\) to \(x = 2\):

\[F(2) = \frac{1}{4} \ln \left( \frac{16}{1 + 16} \right) = \frac{1}{4} \ln \left( \frac{16}{17} \right)\]
\[F(1) = \frac{1}{4} \ln \left( \frac{1}{1 + 1} \right) = \frac{1}{4} \ln \left( \frac{1}{2} \right)\]

Subtracting \(F(1)\) from \(F(2)\):

\[\int_1^2 \frac{1}{x(1 + x^4)} \, dx = \frac{1}{4} \left[ \ln \left( \frac{16}{17} \right) - \ln \left( \frac{1}{2} \right) \right] = \frac{1}{4} \ln \left( \frac{16}{17} \cdot 2 \right) = \frac{1}{4} \ln \left( \frac{32}{17} \right)\]

Example 7

Evaluate:

\[\int_0^{\pi/4} \frac{\sin x \cos x}{\cos^4 x + \sin^4 x} \, dx\]

Solution:

For all \(x \in \left[0, \frac{\pi}{4}\right]\), \(\cos x > 0\) and \(\cos^4 x + \sin^4 x > 0\), so the integrand is continuous.

Since \(\cos x \neq 0\) on \(\left[0, \frac{\pi}{4}\right]\), we divide both the numerator and the denominator by \(\cos^4 x\) to convert the integrand into expressions involving \(\tan x\) and \(\sec^2 x\):

\[\frac{\sin x \cos x}{\cos^4 x + \sin^4 x} = \frac{\frac{\sin x}{\cos x} \cdot \frac{1}{\cos^2 x}}{1 + \frac{\sin^4 x}{\cos^4 x}} = \frac{\tan x \sec^2 x}{1 + \tan^4 x}\]

Observe that the denominator is \(1 + (\tan^2 x)^2\), and the derivative of \(\tan^2 x\) is:

\[\frac{d}{dx}(\tan^2 x) = 2\tan x \sec^2 x\]

Thus, the integrand can be written as:

\[\frac{\tan x \sec^2 x}{1 + \tan^4 x} = \frac{1}{2} \cdot \frac{2\tan x \sec^2 x}{1 + (\tan^2 x)^2}\]

This is of the exact form \(\frac{1}{2} \frac{u'}{1 + u^2}\) with \(u = \tan^2 x\). Therefore, a continuous antiderivative on \(\left[0, \frac{\pi}{4}\right]\) is:

\[F(x) = \frac{1}{2} \tan^{-1}(\tan^2 x)\]

Applying the First Fundamental Theorem of Calculus from \(x = 0\) to \(x = \frac{\pi}{4}\):

\[\int_0^{\pi/4} \frac{\sin x \cos x}{\cos^4 x + \sin^4 x} \, dx = \left[ \frac{1}{2} \tan^{-1}(\tan^2 x) \right]_0^{\pi/4}\]

Evaluating at the endpoints:

\[F\left(\frac{\pi}{4}\right) = \frac{1}{2} \tan^{-1}\left( \tan^2 \frac{\pi}{4} \right) = \frac{1}{2} \tan^{-1}(1^2) = \frac{1}{2} \left( \frac{\pi}{4} \right) = \frac{\pi}{8}\]
\[F(0) = \frac{1}{2} \tan^{-1}(\tan^2 0) = \frac{1}{2} \tan^{-1}(0) = 0\]

Subtracting \(F(0)\) from \(F\left(\frac{\pi}{4}\right)\) gives:

\[\int_0^{\pi/4} \frac{\sin x \cos x}{\cos^4 x + \sin^4 x} \, dx = \frac{\pi}{8} - 0 = \frac{\pi}{8}\]

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 \(\lfloor x \rfloor\) 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.


Summary

Concept Mathematical Statement Key Insight
First Fundamental Theorem \(\int_a^b f(x) \, dx = F(b) - F(a)\) Replaces infinite limits of sums with antiderivative evaluation at the endpoints.
Continuity Hypothesis \(f(x)\) is continuous on \([a, b]\) and \(F'(x) = f(x)\) for all \(x \in [a, b]\). Continuity ensures the Riemann sum converges and \(F(x)\) has no breaks on \([a, b]\).
Step-Change Identity \(F(x_r) - F(x_{r-1}) = h f(c_r)\) Each small vertical rise in \(F(x)\) equals a rectangular strip area under \(f(x)\); summing them telescopes to \(F(b) - F(a)\).
Area Rate of Change \(\frac{d}{dx} \left[ \int_a^x f(t) \, dt \right] = f(x)\) The rate at which area accumulates at \(x\) equals the height of the continuous curve \(f(x)\).
Constant \(+C\) \([F(x) + C]_a^b = F(b) - F(a)\) The constant of integration always cancels out in definite integrals.