So far, differential calculus and integral calculus have seemed to be two completely separate branches of mathematics. Differential calculus arose from constructing the tangent line to a curve and studying rates of change. Integral calculus arose from calculating the area under a curve. The fundamental theorem of calculus connects these two branches of calculus. Also, we will see why we use \(\int\) both for indefinite integrals (antiderivatives) and definite integrals.

When \(f(t)\) is a known continuous function, and \(a\) and \(b\) are two constants, the value of the integral \(\int_{a}^{b}f(t)dt\) is a definite number. Hence, if we replace the upper limit \(b\) by a variable \(x\), the definite integral is a function of \(x\), say \(A(x)\). Graphically, \[A(x)=\int_{a}^{x}f(t)dt=\text{net area under graph of }f\text{ on }[a,x],\] (see Figure 1).

Suppose \(x\) takes on an increment \(h\) (Figure 2). Then

\[A(x+h)=\int_{a}^{x+h}f(t)dt,\]

and the value of \(A\) changes by

\[\begin{aligned} A(x+h)-A(x) & =\int_{a}^{x+h}f(t)dt-\int_{a}^{x}f(t)dt\\ & =\int_{a}^{x+h}f(t)dt+\int_{x}^{a}f(t)dt\\ & \begin{equation*}=\int_{x}^{x+h}f(t)dt\small\tag{property 4 in Section 8.2}\end{equation*}\end{aligned}\]

For small \(h\), we can see from Figure 3 that \[\int_{x}^{x+h}f(t)dt\approx f(x)h.\] So \[\frac{A(x+h)-A(x)}{h}\approx f(x)\] As \(h\to0\), we can replace the approximation symbol by the equality. That is, \[\underbrace{\lim_{h\to0}\frac{A(x+h)-A(x)}{h}}_{=A'(x)}=f(x).\] In other words, we have shown that \[A'(x)=\frac{d}{dx}\int_{a}^{x}f(t)dt=f(x).\] This is the Fundamental Theorem of Calculus:

**Theorem 1. (The Fundamental Theorem of Calculus, Part 1):** If \(f\) is a continuous function on the interval \([a,b]\), then the function \(A(x)\) defined by \[A(x)=\int_{a}^{x}f(t)dt\quad(a\leq x\leq b)\] is continuous on \([a,b]\) and differentiable on \((a,b)\), and \(A'(x)=f(x)\).

- The Fundamental Theorem of Calculus is often written as \[\bbox[#F2F2F2,5px,border:2px solid black]{\frac{d}{dx}\int_{a}^{x}f(t)dt=f(x).}\]

The Fundamental Theorem of Calculus provides a simple method for evaluating definite integral. The following theorem is sometimes called the second part of the Fundamental Theorem of Calculus.

Let \[A(x)=\int_{a}^{x}f(t)dt.\] We know from the first part of the Fundamental Theorem of Calculus that \(A'(x)=f(x)\); that is, \(A(x)\) is an antiderivative of \(f(x)\) or \(A(x)\) is an integral function of \(f(x)\). If \(F(x)\) is any antiderivative of \(f(x)\) on \([a,b]\), then it follows from this theorem that \(F\) and \(A\) differ by a constant; that is, there is a constant \(C\) such that \[F(x)=A(x)+C.\] So \[\begin{aligned} F(b)-F(a) & =\left(A(b)+C\right)-\left(A(a)+C\right)\\ & =A(b)-A(a)\\ & =\int_{a}^{b}f(t)dt-\underbrace{\int_{a}^{a}f(t)dt}_{=0}\\ & =\int_{a}^{b}f(t)dt.\end{aligned}\] Therefore:

**Theorem 2. (The Fundamental Theorem of Calculus, Part 2)** Suppose \(f\) is a continuous function on the interval \([a,b]\) and \(F\) is any antiderivative of \(f\); that is, \(F'(x)=f(x)\). Then \[\int_{a}^{b}f(x)dx=F(b)-F(a).\] .

**A Useful Notation:**The difference \(F(b)-F(a)\) is often denoted by \[\left.F(x)\right|_{a}^{b}\qquad\text{or}\qquad\left.F(x)\right]_{a}^{b}.\] If \(F\) has more than one term and there might be a confusion about the involved terms, we use \[\left[F(x)\right]_{a}^{b}.\] To emphasize that \(a\) and \(b\) are values for the variable \(x\), we may write \[\left[F(x)\right]_{x=a}^{x=b}.\]

The second part of the Fundamental Theorem of Calculus says to compute the definite integral of a function:

**First:** Find the indefinite integral of the given function \(f\).

**Second:** Substitute in the indefinite integral first the upper limit and then the lower limit for the variable of integration, and subtract the last result from the first.

So the second part of the Fundamental Theorem of Calculus can be written as \[\bbox[#F2F2F2,5px,border:2px solid black]{\int_{a}^{b}f(x)dx=\left[\int f(x)dx\right]_{a}^{b}.}\] Now it makes sense why we use the same symbol \(\int\) for both the indefinite integral and the definite integral.

Notice that

In the indefinite integral, \(\int\) has no upper and lower limits. The indefinite integral is a function.

In the definite integral, \(\int\) has upper and lower limits. The definite integral is a number.

To apply the second part of the Fundamental Theorem of Calculus, we just need to use a particular antiderivative (also called a particular integral function). Using the most general antiderivative is not necessary.

To use the second part of the Fundamental Theorem of Calculus, the integrand \(f\) must be **continuous** between \(a\) and \(b\): No holes, jumps, or vertical asymptotes (where the distance between the graph and a vertical line constantly gets smaller) are allowed.

Therefore, because \(f(x)=1/x^{2}\) has a vertical asymptote at \(x=0\), we cannot write \[\xcancel{\int_{-2}^{1}\frac{1}{x^{2}}dx=\left[\frac{x^{-1}}{-1}\right]_{-2}^{1}=-\frac{1}{1}-\left(-\frac{1}{-2}\right)=-\frac{3}{2}.}\]

If there is a jump in the graph of \(f\) at \(x=c\) (\(a<c<b\)) as shown in Figure 4, we can simply write

\[\int_{a}^{b}f(x)dx=\int_{a}^{c}f(x)dx+\int_{c}^{b}f(x)dx,\] and apply the second part of the Fundamental Theorem of Calculus to each of the integrals on the right hand side.

This technique does not work if \(f\) has a vertical asymptote at \(x=c\) (Figure 5).