PrevNext

Overview

In the other handouts, you may have learned how to compute derivatives and interpret integrals. In this handout, we go through how one would actually compute these integrals mathematically, by treating the mathematical operation as reverse-differentiation.

1. Definition & Intuition

Formal Definition

In mathematics, many operations have inverses: addition has subtraction, multiplication has division, and the dual for calculus is that derivatives and integrals both undo each other. This is the basis for the Fundamental Theorem of Calculus.

There are two parts to the Fundamental Theorem of Calculus (FToC).

Part 1: The derivative of an integral with an upper bound xx is the integrand evaluated at that point xx:

ddx∫axf(x) dx=f(x)\frac{d}{dx} \int_a^x f(x)\,dx = f(x)

Part 2: The integral from endpoints aa to bb is the same as the indefinite integral evaluated at bb minus the same thing evaluated at aa:

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

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

Gaining Intuition

Why does Part 2 work?

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

In the "Intuition Behind Integrals" handout, we said that we could interpret integrals as areas under curves. The area between a region can be computed by the difference of two areas, represented by F(b)F(b) and F(a)F(a) respectively. Notice that we're only talking about the right endpoints here — the left endpoint plays no role, so it is free to be whatever number it wants to be.

Why does Part 1 work?

ddx∫axf(x) dx=f(x)\frac{d}{dx} \int_a^x f(x)\,dx = f(x)

A derivative is just a fraction of infinitesimals. The denominator of the LHS is the familiar infinitesimal change dxdx, while the numerator is the infinitesimal change in the integral caused by the infinitesimal change in xx. Here, xx plays the right endpoint of the integral, and hence it's the infinitesimal change in area.

The red region represents the existing area, while the blue region represents the infinitesimal change in the area. If we take the blue area and divide it by dxdx, i.e. computing ddx∫axf(x) dx\frac{d}{dx}\int_a^x f(x)\,dx, then we would get f(x)f(x) because the area of the blue region is just f(x)×dxf(x) \times dx.

Another way to look at this: integrals are just fancy sums of infinitesimally small stuff. When we change xx by dxdx, we're changing the integral by adding one more infinitesimal thing — and the thing we add is the integrand, f(x) dxf(x)\,dx. Hence

d∫axf(x) dxdx=f(x) dxdx=f(x)\frac{d\int_a^x f(x)\,dx}{dx} = \frac{f(x)\,dx}{dx} = f(x)

Why the +C?

You might have noticed that we defined F(x)F(x), the indefinite integral of f(x)f(x), as

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

But it doesn't crop up in definite integrals — why do we even need that +C+C term?

Integrals are adding changes, and they only add changes — they cannot tell you what they are adding to, which you have to supply yourself.

An analogy: a child plays with a tap filling a bucket with water below. The child keeps varying the flow rate over time, say dVdt=f(t)\frac{dV}{dt} = f(t). To find the volume of water collected, we integrate f(t)f(t) over tt. However, this does not tell us anything about the absolute amount of water in the bucket — the integral only tells us how much the volume changed after some time. The initial volume of water is the integration constant +C+C.

2. Examples & Applications

Integrals as Reverse Derivatives

From Part 2 of FToC, we know

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

Putting this into Part 1 of FToC:

ddx∫axf(x) dx=f(x)\frac{d}{dx} \int_a^x f(x)\,dx = f(x)
ddx(F(x)−F(a))=f(x)\frac{d}{dx}(F(x) - F(a)) = f(x)
ddxF(x)=f(x)\frac{d}{dx} F(x) = f(x)

since F(a)F(a) is just a constant, whose derivative is zero. Note that by definition F(x)=∫f(x) dx+CF(x) = \int f(x)\,dx + C.

Now that we've proven that derivatives and integrals undo each other, we can compute integrals with this in mind.

Computing Integrals

To differentiate, it is straightforward: one simply follows the rules. However, not all integrals can be easily computed. Some are so hard that mathematicians even name them "non-elementary" and call it a day! However, there exist many tools to help us compute integrals, as you shall see in the other handouts.

In this handout, we shall use FToC to compute simple integrals.

Example: Compute ∫022x dx\displaystyle\int_0^2 2x\,dx

Even if you have never taken an integral before, you probably did take a derivative — and hopefully notice that the derivative of x2x^2 is precisely 2x2x. Then, by the FToC:

∫022x dx=F(2)−F(0)=4where F(x)=x2\int_0^2 2x\,dx = F(2) - F(0) = 4 \quad \text{where } F(x) = x^2

Example: Compute ∫sec⁡2(x) dx\displaystyle\int \sec^2(x)\,dx

If you didn't know about the FToC, you'd need some non-straightforward approach — but if you just realize that the derivative of tan⁡(x)\tan(x) is precisely sec⁡2(x)\sec^2(x), then you can directly say

∫sec⁡2(x) dx=tan⁡(x)+C\int \sec^2(x)\,dx = \tan(x) + C

3. Problems & Practices

Problem 1: Use FToC to find the derivative of the functions

(a)

g(x)=∫6x11+t3 dtg(x) = \int_6^{x} \frac{1}{1 + t^3}\,dt

(b)

h(t)=∫9sin⁡(t)x2+4 dxh(t) = \int_9^{\sin(t)} \sqrt{x^2 + 4}\,dx

Problem 2:

(a) Take the derivative of the function ln⁡(tan⁡x)\ln(\tan x)

(b) Hence, evaluate the indefinite integral ∫1sin⁡x dx\displaystyle\int \frac{1}{\sin x}\,dx

Problem 3:

(a) Take the derivative of the function f(x)=ln⁡x−ax+af(x) = \ln\dfrac{x-a}{x+a}

(b) Hence, evaluate the indefinite integral ∫1x2−a2 dx\displaystyle\int \frac{1}{x^2 - a^2}\,dx

Problem 4: Evaluate the indefinite integral

∫sin⁡xsec⁡2x−cos⁡xtan⁡xsin⁡2x\int \frac{\sin x \sec^2 x - \cos x \tan x}{\sin^2 x}

Problem 5: Evaluate the indefinite integral

∫(sin⁡−1xx+ln⁡x1−x2)dx\int \left(\frac{\sin^{-1} x}{x} + \frac{\ln x}{\sqrt{1-x^2}}\right)dx

4. Solutions

Problem 1

(a)

g′(x)=11+x3g'(x) = \frac{1}{1 + x^3}

(b)

h′(t)=t2+4⋅cos⁡(t)h'(t) = \sqrt{t^2 + 4} \cdot \cos(t)

Problem 2

(a)

ddxln⁡tan⁡x=1tan⁡xsec⁡2x=1sin⁡xcos⁡x=2sin⁡2x\frac{d}{dx} \ln \tan x = \frac{1}{\tan x} \sec^2 x = \frac{1}{\sin x \cos x} = \frac{2}{\sin 2x}

(b)

∫1sin⁡x dx=ln⁡tan⁡x2\int \frac{1}{\sin x}\,dx = \ln \tan \frac{x}{2}

Problem 3

(a)

dfdx=x+ax−a⋅(x+a)−(x−a)(x+a)2=2ax2−a2\frac{df}{dx} = \frac{x+a}{x-a} \cdot \frac{(x+a) - (x-a)}{(x+a)^2} = \frac{2a}{x^2 - a^2}

(b)

∫1x2−a2 dx=12aln⁡x−ax+a\int \frac{1}{x^2 - a^2}\,dx = \frac{1}{2a} \ln \frac{x-a}{x+a}

Problem 4

∫sin⁡xsec⁡2x−cos⁡xtan⁡xsin⁡2x=tan⁡xsin⁡x=1cos⁡x\int \frac{\sin x \sec^2 x - \cos x \tan x}{\sin^2 x} = \frac{\tan x}{\sin x} = \frac{1}{\cos x}

Problem 5

∫(sin⁡−1xx+ln⁡x1−x2)dx=ln⁡xsin⁡−1x\int \left(\frac{\sin^{-1} x}{x} + \frac{\ln x}{\sqrt{1-x^2}}\right)dx = \ln x \sin^{-1} x

Conclusion

Having the Fundamental Theorem of Calculus in the back of your head can help you evaluate some integrals instantly — congratulations on making it through this handout!

StatusSourceProblem NameDifficultyTags
AIMEVery Hard
Show TagsCombinatorics, Recursion

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.

PrevNext