MatheramaMatherama
← Definite Integration
Definite Integration·Section 3·16 min read

The First Fundamental Theorem of Calculus

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

∫abf(x) dx=lim⁡n→∞h∑r=1nf(a+rh)\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 x2x^2, we had to expand (a+rh)2(a + rh)^2, apply the sum of squares ∑r2=n(n+1)(2n+1)6\sum r^2 = \frac{n(n+1)(2n+1)}{6}, group terms in powers of nhnh, and pass to the limit.
  • For sin⁡x\sin x, we needed a clever trigonometric telescoping trick.
  • For an everyday function like f(x)=11+x2f(x) = \frac{1}{1 + x^2} or f(x)=xf(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)f(x) be a continuous function on the closed interval [a,b][a, b].

If F(x)F(x) is any antiderivative of f(x)f(x) on [a,b][a, b], meaning:

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

then the definite integral of f(x)f(x) from aa to bb is given simply by:

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

Standard Evaluation Bracket Notation§

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

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\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)y = f(x) over the entire interval [a,b][a, b], we do not need to sum infinitely many strips—we merely find an antiderivative F(x)F(x) and subtract its value at the starting point aa from its value at the ending point bb.


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][a, b] into nn small strips of equal width h=b−anh = \frac{b - a}{n} using the partition points:

a=x0<x1<x2<⋯<xn−1<xn=ba = x_0 < x_1 < x_2 < \dots < x_{n-1} < x_n = b

where xr−xr−1=hx_r - x_{r-1} = h.

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

F(b)−F(a)=F(xn)−F(x0)F(b) - F(a) = F(x_n) - F(x_0) =[F(x1)−F(x0)]+[F(x2)−F(x1)]+[F(x3)−F(x2)]+⋯+[F(xn)−F(xn−1)]= \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(x1)F(x_1) cancels with −F(x1)-F(x_1), F(x2)F(x_2) cancels with −F(x2)-F(x_2), and so on telescopically:

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

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

F(xr)−F(xr−1)xr−xr−1=F(xr)−F(xr−1)h=F′(cr)=f(cr)\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 hh:

F(xr)−F(xr−1)=h⋅f(cr)F(x_r) - F(x_{r-1}) = h \cdot f(c_r)

Look at what this equation says:

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

Summing this relation across all nn strips gives:

F(b)−F(a)=∑r=1n[F(xr)−F(xr−1)]=∑r=1nh⋅f(cr)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→∞n \to \infty (h→0h \to 0). Because f(x)f(x) is continuous on [a,b][a, b], as the strip width hh shrinks to zero, the sample point crc_r is squeezed toward the endpoint xrx_r, and the sum of rectangular areas on the right converges to the definite integral ∫abf(x) dx\int_a^b f(x) \, dx. Meanwhile, the left side remains the fixed constant F(b)−F(a)F(b) - F(a):

∫abf(x) dx=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=at = a, and placing a movable vertical wall at position xx. Let A(x)A(x) denote the accumulated area under the curve from aa up to xx:

A(x)=∫axf(t) dtA(x) = \int_a^x f(t) \, dt

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

ΔA=A(x+h)−A(x)=∫ax+hf(t) dt−∫axf(t) dt=∫xx+hf(t) dt\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 ff is continuous at xx, the curve does not suddenly jump between xx and x+hx + h. Over a very narrow strip of width hh, the height of the curve stays nearly constant and equal to f(x)f(x). Thus, the newly added slice is approximately a rectangle of width hh and height f(x)f(x):

A(x+h)−A(x)≈h⋅f(x)A(x + h) - A(x) \approx h \cdot f(x)

Dividing both sides by the strip width hh:

A(x+h)−A(x)h≈f(x)\frac{A(x + h) - A(x)}{h} \approx f(x)

As we make the strip infinitely thin (h→0h \to 0), continuity ensures that the height across the strip approaches f(x)f(x) exactly, and the left-hand side becomes the derivative A′(x)A'(x):

A′(x)=lim⁡h→0A(x+h)−A(x)h=f(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 xx is simply the height of the curve f(x)f(x) at that point!

Because A′(x)=f(x)A'(x) = f(x), the area function A(x)A(x) is itself an antiderivative of f(x)f(x). If F(x)F(x) is any antiderivative of f(x)f(x) (so F′(x)=f(x)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 CC:

A(x)=F(x)+CA(x) = F(x) + C

To find the constant CC, place the movable wall right at the starting line x=ax = a. When the wall is at x=ax = a, the region has zero width, so the accumulated area is zero (A(a)=0A(a) = 0):

A(a)=F(a)+C=0  ⟹  C=−F(a)A(a) = F(a) + C = 0 \implies C = -F(a)

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

A(x)=F(x)−F(a)A(x) = F(x) - F(a)

Finally, move the wall to the right endpoint x=bx = b:

∫abf(x) dx=A(b)=F(b)−F(a)\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+C:

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

What happens if we include +C+C when evaluating a definite integral from aa to bb?

∫abf(x) dx=[F(x)+C]ab=(F(b)+C)−(F(a)+C)\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)= F(b) + C - F(a) - C = F(b) - F(a)

Because +C+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+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:

∫abx2 dx\int_a^b x^2 \, dx

Solution:

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

Applying the First Fundamental Theorem of Calculus:

∫abx2 dx=[x33]ab=b33−a33=b3−a33\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:

∫abex dx\int_a^b e^x \, dx

Solution:

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

∫abex dx=[ex]ab=eb−ea\int_a^b e^x \, dx = \Big[ e^x \Big]_a^b = e^b - e^a

Example 3: The Sine Wave Revisited§

Evaluate:

∫0π/2sin⁡x dx\int_0^{\pi/2} \sin x \, dx

Solution:

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

∫0π/2sin⁡x dx=[−cos⁡x]0π/2=(−cos⁡π2)−(−cos⁡0)=0−(−1)=1\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:

∫0111+x2 dx\int_0^1 \frac{1}{1 + x^2} \, dx

Solution:

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

ddx(tan⁡−1x)=11+x2\frac{d}{dx} \big( \tan^{-1} x \big) = \frac{1}{1 + x^2}

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

∫0111+x2 dx=[tan⁡−1x]01=tan⁡−1(1)−tan⁡−1(0)=π4−0=π4\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:

∫121x dx\int_1^2 \frac{1}{x} \, dx

Solution:

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

Applying the First Fundamental Theorem of Calculus:

∫121x dx=[ln⁡x]12=ln⁡2−ln⁡1=ln⁡2−0=ln⁡2\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)F(x) on the given interval [a,b][a, b] and then compute the net change F(b)−F(a)F(b) - F(a).


Example 1§

Evaluate:

∫011x2+x+1 dx\int_0^1 \frac{1}{\sqrt{x^2 + x + 1}} \, dx

Solution:

The quadratic inside the square root, x2+x+1x^2 + x + 1, has discriminant Δ=12−4(1)(1)=−3<0\Delta = 1^2 - 4(1)(1) = -3 < 0, so it is strictly positive for all real xx. Thus, the integrand is continuous on [0,1][0, 1].

To find an antiderivative, we complete the square inside the radical:

x2+x+1=(x+12)2−14+1=(x+12)2+(32)2x^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:

∫1u2+a2 du=ln⁡∣u+u2+a2∣+C\int \frac{1}{\sqrt{u^2 + a^2}} \, du = \ln \left| u + \sqrt{u^2 + a^2} \right| + C

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

F(x)=ln⁡(x+12+x2+x+1)F(x) = \ln \left( x + \frac{1}{2} + \sqrt{x^2 + x + 1} \right)

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

∫011x2+x+1 dx=[ln⁡(x+12+x2+x+1)]01\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⁡(1+12+1+1+1)=ln⁡(32+3)=ln⁡(3+232)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⁡(0+12+0+0+1)=ln⁡(12+1)=ln⁡(32)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)F(0) from F(1)F(1) using ln⁡A−ln⁡B=ln⁡(AB)\ln A - \ln B = \ln\left(\frac{A}{B}\right):

∫011x2+x+1 dx=ln⁡(3+232⋅23)=ln⁡(3+233)=ln⁡(1+23)\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:

∫13x2+1x4+1 dx\int_1^{\sqrt{3}} \frac{x^2 + 1}{x^4 + 1} \, dx

Solution:

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

∫x2+1x4+1 dx=∫1+1x2x2+1x2 dx\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+1x21 + \frac{1}{x^2} is the exact derivative of x−1xx - \frac{1}{x}:

ddx(x−1x)=1+1x2\frac{d}{dx}\left(x - \frac{1}{x}\right) = 1 + \frac{1}{x^2}

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

x2+1x2=(x−1x)2+2=(x−1x)2+(2)2x^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 ∫duu2+a2=1atan⁡−1(ua)\int \frac{du}{u^2 + a^2} = \frac{1}{a}\tan^{-1}\left(\frac{u}{a}\right) with u=x−1xu = x - \frac{1}{x} and a=2a = \sqrt{2}:

F(x)=12tan⁡−1(x−1x2)=12tan⁡−1(x2−1x2)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∈[1,3]x \in [1, \sqrt{3}], F(x)F(x) is continuous and differentiable on the entire interval. Applying the First Fundamental Theorem of Calculus:

∫13x2+1x4+1 dx=[12tan⁡−1(x2−1x2)]13\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=3x = \sqrt{3} and x=1x = 1:

F(3)=12tan⁡−1(3−13⋅2)=12tan⁡−1(23)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)=12tan⁡−1(1−11⋅2)=12tan⁡−1(0)=0F(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:

∫13x2+1x4+1 dx=12tan⁡−1(23)\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:

∫0111+x4 dx\int_0^1 \frac{1}{1 + x^4} \, dx

Solution:

The integrand f(x)=11+x4f(x) = \frac{1}{1 + x^4} is continuous on [0,1][0, 1]. Because the lower limit is x=0x = 0, we construct an antiderivative F(x)F(x) that is continuous and well-defined across all real numbers, including x=0x = 0.

First, we factor the denominator x4+1x^4 + 1 into two real quadratics by completing the square:

x4+1=(x4+2x2+1)−2x2=(x2+1)2−(2x)2=(x2−2x+1)(x2+2x+1)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=12(x2+1)−12(x2−1)1 = \frac{1}{2}(x^2 + 1) - \frac{1}{2}(x^2 - 1):

1x4+1=12⋅x2+1x4+1−12⋅x2−1x4+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 (x2−2x+1)(x^2 - \sqrt{2}x + 1) and (x2+2x+1)(x^2 + \sqrt{2}x + 1).

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

x2+1x4+1=12(1x2−2x+1+1x2+2x+1)\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 x2∓2x+1=(x∓12)2+(12)2x^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 xx yields:

∫x2+1x4+1 dx=12[2tan⁡−1(2x−1)+2tan⁡−1(2x+1)]=12[tan⁡−1(2x−1)+tan⁡−1(2x+1)]\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−22x - \sqrt{2} and 2x+22x + \sqrt{2}. Expanding (2x+2)(x2−2x+1)−(2x−2)(x2+2x+1)(2x + \sqrt{2})(x^2 - \sqrt{2}x + 1) - (2x - \sqrt{2})(x^2 + \sqrt{2}x + 1) gives 22(1−x2)2\sqrt{2}(1 - x^2), so:

−x2−1x4+1=122(2x+2x2+2x+1−2x−2x2−2x+1)-\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:

−∫x2−1x4+1 dx=122ln⁡(x2+2x+1x2−2x+1)-\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 12\frac{1}{2}), we obtain a continuous antiderivative F(x)F(x) on [0,1][0, 1]:

F(x)=122[tan⁡−1(2x−1)+tan⁡−1(2x+1)]+142ln⁡(x2+2x+1x2−2x+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)F(1) - F(0) by the First Fundamental Theorem of Calculus:

At the lower limit x=0x = 0:

F(0)=122[tan⁡−1(−1)+tan⁡−1(1)]+142ln⁡(11)=122(−π4+π4)+0=0F(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=1x = 1:

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

tan⁡−1(2−1)+tan⁡−1(2+1)=π2\tan^{-1}(\sqrt{2} - 1) + \tan^{-1}(\sqrt{2} + 1) = \frac{\pi}{2}

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

2+22−2=2+12−1=(2+1)2\frac{2 + \sqrt{2}}{2 - \sqrt{2}} = \frac{\sqrt{2} + 1}{\sqrt{2} - 1} = (\sqrt{2} + 1)^2

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

∫0111+x4 dx=122(π2)+142ln⁡((2+1)2)=π+2ln⁡(2+1)42\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:

∫12x2−1x4+x2+1 dx\int_1^2 \frac{x^2 - 1}{x^4 + x^2 + 1} \, dx

Solution:

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

∫x2−1x4+x2+1 dx=∫1−1x2x2+1+1x2 dx\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−1x21 - \frac{1}{x^2} is the exact derivative of x+1xx + \frac{1}{x}:

ddx(x+1x)=1−1x2\frac{d}{dx}\left(x + \frac{1}{x}\right) = 1 - \frac{1}{x^2}

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

x2+1+1x2=(x+1x)2−2+1=(x+1x)2−12x^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 ∫duu2−a2=12aln⁡∣u−au+a∣+C\int \frac{du}{u^2 - a^2} = \frac{1}{2a} \ln \left| \frac{u - a}{u + a} \right| + C with u=x+1xu = x + \frac{1}{x} and a=1a = 1, we obtain the antiderivative:

F(x)=12ln⁡(x+1x−1x+1x+1)=12ln⁡(x2−x+1x2+x+1)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 x2−x+1x^2 - x + 1 and x2+x+1x^2 + x + 1 are strictly positive for all real xx, so F(x)F(x) is continuous everywhere. Applying the First Fundamental Theorem of Calculus from x=1x = 1 to x=2x = 2:

∫12x2−1x4+x2+1 dx=[12ln⁡(x2−x+1x2+x+1)]12\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=2x = 2 and x=1x = 1:

F(2)=12ln⁡(4−2+14+2+1)=12ln⁡(37)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)=12ln⁡(1−1+11+1+1)=12ln⁡(13)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)F(1) from F(2)F(2):

∫12x2−1x4+x2+1 dx=12[ln⁡(37)−ln⁡(13)]=12ln⁡(37⋅31)=12ln⁡(97)\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:

∫0π/4sin⁡x+cos⁡x9+16sin⁡2x dx\int_0^{\pi/4} \frac{\sin x + \cos x}{9 + 16\sin 2x} \, dx

Solution:

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

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

ddx(sin⁡x−cos⁡x)=cos⁡x+sin⁡x\frac{d}{dx}(\sin x - \cos x) = \cos x + \sin x

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

(sin⁡x−cos⁡x)2=sin⁡2x+cos⁡2x−2sin⁡xcos⁡x=1−sin⁡2x  ⟹  sin⁡2x=1−(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+16sin⁡2x=9+16[1−(sin⁡x−cos⁡x)2]=25−16(sin⁡x−cos⁡x)2=52−[4(sin⁡x−cos⁡x)]29 + 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:

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

Using the standard formula ∫dua2−u2=12aln⁡∣a+ua−u∣+C\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)u = 4(\sin x - \cos x), du=4(sin⁡x+cos⁡x) dxdu = 4(\sin x + \cos x)\,dx, and a=5a = 5, we obtain a continuous antiderivative on [0,π4]\left[0, \frac{\pi}{4}\right]:

F(x)=14⋅12(5)ln⁡(5+4(sin⁡x−cos⁡x)5−4(sin⁡x−cos⁡x))=140ln⁡(5+4(sin⁡x−cos⁡x)5−4(sin⁡x−cos⁡x))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=0x = 0 to x=π4x = \frac{\pi}{4}:

At x=π4x = \frac{\pi}{4}, we have sin⁡π4−cos⁡π4=0\sin \frac{\pi}{4} - \cos \frac{\pi}{4} = 0, so:

F(π4)=140ln⁡(5+05−0)=140ln⁡(1)=0F\left(\frac{\pi}{4}\right) = \frac{1}{40} \ln \left( \frac{5 + 0}{5 - 0} \right) = \frac{1}{40} \ln(1) = 0

At x=0x = 0, we have sin⁡0−cos⁡0=0−1=−1\sin 0 - \cos 0 = 0 - 1 = -1, so:

F(0)=140ln⁡(5+4(−1)5−4(−1))=140ln⁡(19)=−140ln⁡9F(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:

∫0π/4sin⁡x+cos⁡x9+16sin⁡2x dx=F(π4)−F(0)=0−(−140ln⁡9)=140ln⁡9=120ln⁡3\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:

∫121x(1+x4) dx\int_1^2 \frac{1}{x(1 + x^4)} \, dx

Solution:

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

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

∫1x(1+x4) dx=∫x3x4(1+x4) dx=14∫4x3x4(1+x4) dx\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 4x34x^3 is the exact derivative of x4x^4, and we can split 1x4(1+x4)\frac{1}{x^4(1 + x^4)} by partial fractions as:

1x4(1+x4)=(1+x4)−x4x4(1+x4)=1x4−11+x4\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 14⋅4x3\frac{1}{4} \cdot 4x^3 gives:

1x(1+x4)=14(4x3x4−4x31+x4)\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][1, 2]:

F(x)=14[ln⁡(x4)−ln⁡(1+x4)]=14ln⁡(x41+x4)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=1x = 1 to x=2x = 2:

F(2)=14ln⁡(161+16)=14ln⁡(1617)F(2) = \frac{1}{4} \ln \left( \frac{16}{1 + 16} \right) = \frac{1}{4} \ln \left( \frac{16}{17} \right) F(1)=14ln⁡(11+1)=14ln⁡(12)F(1) = \frac{1}{4} \ln \left( \frac{1}{1 + 1} \right) = \frac{1}{4} \ln \left( \frac{1}{2} \right)

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

∫121x(1+x4) dx=14[ln⁡(1617)−ln⁡(12)]=14ln⁡(1617⋅2)=14ln⁡(3217)\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:

∫0π/4sin⁡xcos⁡xcos⁡4x+sin⁡4x dx\int_0^{\pi/4} \frac{\sin x \cos x}{\cos^4 x + \sin^4 x} \, dx

Solution:

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

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

sin⁡xcos⁡xcos⁡4x+sin⁡4x=sin⁡xcos⁡x⋅1cos⁡2x1+sin⁡4xcos⁡4x=tan⁡xsec⁡2x1+tan⁡4x\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⁡2x)21 + (\tan^2 x)^2, and the derivative of tan⁡2x\tan^2 x is:

ddx(tan⁡2x)=2tan⁡xsec⁡2x\frac{d}{dx}(\tan^2 x) = 2\tan x \sec^2 x

Thus, the integrand can be written as:

tan⁡xsec⁡2x1+tan⁡4x=12⋅2tan⁡xsec⁡2x1+(tan⁡2x)2\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 12u′1+u2\frac{1}{2} \frac{u'}{1 + u^2} with u=tan⁡2xu = \tan^2 x. Therefore, a continuous antiderivative on [0,π4]\left[0, \frac{\pi}{4}\right] is:

F(x)=12tan⁡−1(tan⁡2x)F(x) = \frac{1}{2} \tan^{-1}(\tan^2 x)

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

∫0π/4sin⁡xcos⁡xcos⁡4x+sin⁡4x dx=[12tan⁡−1(tan⁡2x)]0π/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(π4)=12tan⁡−1(tan⁡2π4)=12tan⁡−1(12)=12(π4)=π8F\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)=12tan⁡−1(tan⁡20)=12tan⁡−1(0)=0F(0) = \frac{1}{2} \tan^{-1}(\tan^2 0) = \frac{1}{2} \tan^{-1}(0) = 0

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

∫0π/4sin⁡xcos⁡xcos⁡4x+sin⁡4x dx=π8−0=π8\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=0x = 0 did not lie inside the interval [1,2][1, 2].

The First Fundamental Theorem of Calculus, as stated above, relies on f(x)f(x) and its antiderivative F(x)F(x) being continuous across the entire interval [a,b][a, b].

But what happens if:

  • The function f(x)f(x) is defined in pieces and jumps at one or more points inside [a,b][a, b] (such as the greatest integer function ⌊x⌋\lfloor x \rfloor or a step function)?
  • The curve has sharp corners where the derivative fails to exist (such as ∣x∣|x|)?
  • The antiderivative formula F(x)F(x) we write down has a hidden jump discontinuity inside [a,b][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 ∫abf(x) dx=F(b)−F(a)\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)f(x) is continuous on [a,b][a, b] and F′(x)=f(x)F'(x) = f(x) for all x∈[a,b]x \in [a, b]. Continuity ensures the Riemann sum converges and F(x)F(x) has no breaks on [a,b][a, b].
Step-Change Identity F(xr)−F(xr−1)=hf(cr)F(x_r) - F(x_{r-1}) = h f(c_r) Each small vertical rise in F(x)F(x) equals a rectangular strip area under f(x)f(x); summing them telescopes to F(b)−F(a)F(b) - F(a).
Area Rate of Change ddx[∫axf(t) dt]=f(x)\frac{d}{dx} \left[ \int_a^x f(t) \, dt \right] = f(x) The rate at which area accumulates at xx equals the height of the continuous curve f(x)f(x).
Constant +C+C [F(x)+C]ab=F(b)−F(a)[F(x) + C]_a^b = F(b) - F(a) The constant of integration always cancels out in definite integrals.
Section 3 of 15 · Definite Integration

Mark this section complete when you have worked through its proofs.