# Undergraduate Mathematics/Fundamental theorem of calculus

Template:Calculus
The **fundamental theorem of calculus** specifies the relationship between the two central operations of calculus, differentiation and integration.

The first part of the theorem, sometimes called the first fundamental theorem of calculus, shows that an indefinite integration^{[1]} can be reversed by a differentiation. The first part is also important because it guarantees the existence of an antiderivatives for continuous functions. ^{[2]}

The second part, sometimes called the second fundamental theorem of calculus, allows one to compute the definite integral of a function by using any one of its infinitely many antiderivatives. This part of the theorem has invaluable practical applications, because it markedly simplifies the computation of definite integrals.

The first published statement and proof of a restricted version of the fundamental theorem was by James Gregory (1638–1675)^{[3]}. Isaac Barrow (1630-1677) proved the first completely general version of the theorem, while Barrow's student Isaac Newton (1643–1727) completed the development of the surrounding mathematical theory. Gottfried Leibniz (1646–1716) systematized the knowledge into a calculus for infinitesimal quantities.

## Contents

## Physical intuition[edit]

Intuitively, the theorem simply states that the sum of infinitesimal changes in a quantity over time (or some other quantity) add up to the net change in the quantity.

To comprehend this statement, we will start with an example. Suppose a particle travels in a straight line with its position, *x*, given by *x*(*t*) where *t* is time and *x*(*t*) means that *x* is a function of *t*. The derivative of this function is equal to the infinitesimal change in quantity, d*x*, per infinitesimal change in time, d*t* (of course, the derivative itself is dependent on time). Let us define this change in distance per change in time as the velocity *v* of the particle. In Leibniz's notation:

Rearranging this equation, it follows that:

By the logic above, a change in *x* (or Δ*x*) is the sum of the infinitesimal changes d*x*. It is also equal to the sum of the infinitesimal products of the derivative and time. This infinite summation is integration; hence, the integration operation allows the recovery of the original function from its derivative. As one can reasonably infer, this operation works in reverse as we can differentiate the result of our integral to recover the original.

## Geometric intuition[edit]

Suppose we are given a smooth continuous function *y* = ƒ(*x*), and have plotted its graph as a curve. Then for each value of *x*, intuitively it makes sense that there is a corresponding area function *A*(*x*), representing the area beneath the curve between 0 and *x*. We may not know a "formula" for the function *A*(*x*), but intuitively we understand that it is simply the area under the curve.

Now suppose we wanted to compute the area under the curve between *x* and *x* + *h*. We could compute this area by finding the area between 0 and *x* + *h*, then subtracting the area between 0 and *x*. In other words, the area of this “sliver” would be *A*(*x* + *h*) − *A*(*x*).

There is another way to *estimate* the area of this same sliver. Multiply *h* by ƒ(*x*) to find the area of a rectangle that is approximately the same size as this sliver. In fact, it makes intuitive sense that for very small values of *h*, the approximation will become very good.

At this point we know that *A*(*x* + *h*) − *A*(*x*) is approximately equal to ƒ(*x*)·*h*, and we intuitively understand that this approximation becomes better as *h* grows smaller. In other words, ƒ(*x*)·*h* ≈ *A*(*x* + *h*) − *A*(*x*), with this approximation becoming an equality as *h* approaches 0 in the limit.

Divide both sides of this equation by *h*. Then we have

As *h* approaches 0, we recognized that the right hand side of this equation is simply the derivative *A*’(*x*) of the area function *A*(*x*). The left-hand side of the equation simply remains ƒ(*x*), since no *h* is present.

We have shown informally that ƒ(*x*) = *A*’(*x*). In other words, the derivative of the area function *A*(*x*) is the original function ƒ(*x*). Or, to put it another way, the area function is simply the antiderivative of the original function.

What we have shown is that, intuitively, computing the derivative of a function and “finding the area” under its curve are "opposite" operations. This is the crux of the Fundamental Theorem of Calculus. The bulk of the theorem's proof is devoted to showing that the area function *A*(*x*) exists in the first place.

## Formal statements[edit]

There are two parts to the Fundamental Theorem of Calculus. Loosely put, the first part deals with the derivative of an antiderivative, while the second part deals with the relationship between antiderivatives and definite integrals.

### First part[edit]

This part is sometimes referred to as the **First Fundamental Theorem of Calculus**.^{[4]}

Let *ƒ* be a continuous real-valued function defined on a closed interval [*a*, *b*]. Let *F* be the function defined, for all *x* in [*a*, *b*], by

Then, *F* is continuous on [*a*, *b*], differentiable on the open interval (*a*, *b*), and

for all *x* in (*a*, *b*).

### Corollary[edit]

The fundamental theorem is often employed to compute the definite integral of a function *ƒ* for which an antiderivative *g* is known. Specifically, if *ƒ* is a real-valued continuous function on [*a*, *b*], and *g* is an antiderivative of *ƒ* in [*a*, *b*], then

The corollary assumes continuity on the whole interval. This result is strengthened slightly in the following theorem.

### Second part[edit]

This part is sometimes referred to as the **Second Fundamental Theorem of Calculus**.^{[5]}

Let *ƒ* be a real-valued function defined on a closed interval [*a*, *b*]. Suppose that
*ƒ* admits an antiderivative *g* on [*a*, *b*], that is, a function such that for all *x* in [*a*, *b*],

(when an antiderivative *g* exists, then there are infinitely many antiderivatives for *ƒ*, obtained by adding to *g* an arbitrary constant. Also, by the first part of the theorem, antiderivatives of *ƒ* always exist when *ƒ* is continuous).

If *ƒ* is integrable on [*a*, *b*] then

Notice that the Second part is somewhat stronger than the Corollary because it does not assume that *ƒ* is continuous.

Note. The second part is also known as **Newton-Leibniz Axiom**.

## Examples[edit]

As an example, suppose you need to calculate

Here, and we can use as the antiderivative. Therefore:

Or, more generally, suppose you need to calculate

Here, and we can use as the antiderivative. Therefore:

But this result could have been found much more easily as

## Proof of the First Part[edit]

For a given *f*(*t*), define the function *F*(*x*) as

For any two numbers *x*_{1} and *x*_{1} + Δ*x* in [*a*, *b*], we have

and

Subtracting the two equations gives

It can be shown that

- (The sum of the areas of two adjacent regions is equal to the area of both regions combined.)

Manipulating this equation gives

Substituting the above into (1) results in

According to the mean value theorem for integration, there exists a *c* in [*x*_{1}, *x*_{1} + Δ*x*] such that

Substituting the above into (2) we get

Dividing both sides by Δ*x* gives

- Notice that the expression on the left side of the equation is Newton's difference quotient for
*F*at*x*_{1}.

Take the limit as Δ*x* → 0 on both sides of the equation.

The expression on the left side of the equation is the definition of the derivative of *F* at *x*_{1}.

To find the other limit, we will use the squeeze theorem. The number *c* is in the interval [*x*_{1}, *x*_{1} + Δ*x*], so *x*_{1} ≤ *c* ≤ *x*_{1} + Δ*x*.

Also, and

Therefore, according to the squeeze theorem,

Substituting into (3), we get

The function *f* is continuous at *c*, so the limit can be taken inside the function. Therefore, we get

which completes the proof.

(Leithold et al, 1996)

## Proof of the corollary[edit]

Let If *g* is an antiderivative of *ƒ*, then *g* and *F* have the same derivative. It follows that there is a number *c* such that for all *x* in [*a*, *b*]. Letting *x = 0*,

which means . In other words and so

## Proof of the Second Part[edit]

This is a limit proof by Riemann sums.

Let *f* be continuous on the interval [*a*, *b*], and let *F* be an antiderivative of *f*. Begin with the quantity

Let there be numbers

*x*_{1}, ...,*x*_{n}

such that

It follows that

Now, we add each *F*(*x*_{i}) along with its additive inverse, so that the resulting quantity is equal:

The above quantity can be written as the following sum:

Next we will employ the mean value theorem. Stated briefly,

Let *F* be continuous on the closed interval [*a*, *b*] and differentiable on the open interval (*a*, *b*). Then there exists some *c* in (*a*, *b*) such that

It follows that

The function *F* is differentiable on the interval [*a*, *b*]; therefore, it is also differentiable and continuous on each interval *x*_{i-1}. Therefore, according to the mean value theorem (above),

Substituting the above into (1), we get

The assumption implies Also, can be expressed as of partition .

Notice that we are describing the area of a rectangle, with the width times the height, and we are adding the areas together. Each rectangle, by virtue of the Mean Value Theorem, describes an approximation of the curve section it is drawn over. Also notice that does not need to be the same for any value of , or in other words that the width of the rectangles can differ. What we have to do is approximate the curve with rectangles. Now, as the size of the partitions get smaller and n increases, resulting in more partitions to cover the space, we will get closer and closer to the actual area of the curve.

By taking the limit of the expression as the norm of the partitions approaches zero, we arrive at the Riemann integral. We know that this limit exists because *f* was assumed to be integrable. That is, we take the limit as the largest of the partitions approaches zero in size, so that all other partitions are smaller and the number of partitions approaches infinity.

So, we take the limit on both sides of (2). This gives us

Neither *F*(*b*) nor *F*(*a*) is dependent on ||Δ||, so the limit on the left side remains *F*(*b*) - *F*(*a*).

The expression on the right side of the equation defines an integral over *f* from *a* to *b*. Therefore, we obtain

which completes the proof.

It almost looks like the first part follows directly from the second because the equation where *g* is an antiderivate of *f* implies that has the same derivative as *g* and therefore *F' = f*. This argument only works if we already know that *f* has an antiderivative. The only way we know that all continuous functions have antiderivatives is by the first part of the Fundamental Theorem ^{[6]} It is important not to interprete the second part of the theorem as the definition of the integral. This is partly because there are many functions that are integrable but lack antiderivatives, and many functions that have antiderivatives are not Reimann integrable (see volterra's function). More importantly, we know that every continuous function is the derivative of some other function only because of the First fundamental theorem of calculus. ^{[7]}

For example if *f(x) = e ^{−x2}* then

*f*has an antiderivative, namely

- and there is no simpler function with this property.

## Generalizations[edit]

We don't need to assume continuity of *ƒ* on the whole interval. Part I of the theorem then says: if *ƒ* is any Lebesgue integrable function on [*a*, *b*] and *x*_{0} is a number in [*a*, *b*] such that *ƒ* is continuous at *x*_{0}, then

is differentiable for *x* = *x*_{0} with *F'*(*x*_{0}) = *ƒ*(*x*_{0}). We can relax the conditions on *ƒ* still further and suppose that it is merely locally integrable. In that case, we can conclude that the function *F* is differentiable almost everywhere and *F'*(*x*) = *ƒ*(*x*) almost everywhere. On the real line this statement is equivalent to Lebesgue's differentiation theorem. These results remain true for the Henstock–Kurzweil integral which allows a larger class of integrable functions (Bartle 2001, Thm. 4.11).

In higher dimensions Lebesgue's differentiation theorem generalizes the Fundamental theorem of calculus by stating that for almost every *x*, the average value of a function *ƒ* over a ball of radius *r* centered at *x* will tend to *ƒ*(*x*) as *r* tends to 0.

Part II of the theorem is true for any Lebesgue integrable function *ƒ* which has an antiderivative *F* (not all integrable functions do, though). In other words, if a real function *F* on [*a*, *b*] admits a derivative *ƒ*(*x*) at *every* point *x* of [*a*, *b*] and if this derivative *ƒ* is Lebesgue integrable on [*a*, *b*], then

- Rudin (1987, th. 7.21)

This result may fail for continuous functions *F* that admit a derivative *ƒ*(*x*) at almost every point *x*, as the example of the Cantor function shows. But the result remains true if *F* is absolutely continuous: in that case, *F* admits a derivative *ƒ*(*x*) at almost every point *x* and, as in the formula above, *F*(*b*) − *F*(*a*) is equal to the integral of *ƒ* on [*a*, *b*].

The conditions of this theorem may again be relaxed by considering the integrals involved as Henstock-Kurzweil integrals. Specifically, if a continuous function *F*(*x*) admits a derivative *ƒ*(*x*) at all but countably many points, then *ƒ*(*x*) is Henstock-Kurzweil integrable and *F*(*b*) − *F*(*a*) is equal to the integral of *ƒ* on [*a*, *b*]. The difference here is that the integrability of *ƒ* does not need to be assumed. (Bartle 2001, Thm. 4.7)

The version of Taylor's theorem which expresses the error term as an integral can be seen as a generalization of the Fundamental Theorem.

There is a version of the theorem for complex functions: suppose *U* is an open set in **C** and *ƒ* : *U* → **C** is a function which has a holomorphic antiderivative *F* on *U*. Then for every curve γ : [*a*, *b*] → *U*, the curve integral can be computed as

The fundamental theorem can be generalized to curve and surface integrals in higher dimensions and on manifolds.

One of the most powerful statements in this direction is Stokes' theorem: Let *M* be an oriented piecewise smooth manifold of dimension *n* and let be an *n*−1 form that is a compactly supported differential form on *M* of class C^{1}. If ∂*M* denotes the boundary of *M* with its induced orientation, then

Here is the exterior derivative, which is defined using the manifold structure only.

The theorem is often used in situations where *M* is an embedded oriented submanifold of some bigger manifold on which the form is defined.

## See also[edit]

## External links[edit]

- James Gregory's Euclidean Proof of the Fundamental Theorem of Calculus at Convergence
- Isaac Barrow's proof of the Fundamental Theorem of Calculus

## References[edit]

- Apostol, Tom M. (1967),
*Calculus, Vol. 1: One-Variable Calculus with an Introduction to Linear Algebra*(2nd ed.), New York: John Wiley & Sons, ISBN 978-0-471-00005-1. - Bartle, Robert (2001),
*A Modern Theory of Integration*, AMS, ISBN 0821808451. - Larson, Ron; Edwards, Bruce H.; Heyd, David E. (2002),
*Calculus of a single variable*(7th ed.), Boston: Houghton Mifflin Company. - Leithold, L. (1996),
*The calculus of a single variable*(6th ed.), New York: HarperCollins College Publishers. - Malet, A,
*Studies on James Gregorie (1638-1675)*(PhD Thesis, Princeton, 1989). - Rudin, Walter (1987),
*Real and Complex Analysis*(third ed.), New York: McGraw-Hill Book Co. - Stewart, J. (2003), "Fundamental Theorem of Calculus",
*Calculus: early transcendentals*, Belmont, California: Thomson/Brooks/Cole. - Turnbull, H. W., ed. (1939),
*The James Gregory Tercentenary Memorial Volume*, London. - Spivak, Michael (1980),
*Calculus*(2nd ed.), Houstan, Texas: Publish or Perish Inc..

- ↑ More exactly, the theorem deals with definite integration with variable upper limit and arbitrarily selected lower limit. This particular kind of definite integration allows us to compute one of the infinitely many antiderivatives of a function (except for those which do not have a zero). Hence, it is almost equivalent to indefinite integration, defined by most authors as an operation which yields any one of the possible antiderivatives of a function, including those without a zero.
- ↑ Spivak, Michael (1980),
*Calculus*(2nd ed.), Houstan, Texas: Publish or Perish Inc. - ↑
See, e.g., Marlow Anderson, Victor J. Katz, Robin J. Wilson,
*Sherlock Holmes in Babylon and Other Tales of Mathematical History*, Mathematical Association of America, 2004, p. 114. - ↑ Apostol 1967, §5.1
- ↑ Apostol 1967, §5.3
- ↑ Spivak, Michael (1980),
*Calculus*(2nd ed.), Houstan, Texas: Publish or Perish Inc. - ↑ Spivak, Michael (1980),
*Calculus*(2nd ed.), Houstan, Texas: Publish or Perish Inc.