# Real Analysis/Fundamental Theorem of Calculus

| ←Riemann integration | Real Analysis Fundamental Theorem of Calculus | Darboux Integral→ |
The Fundamental Theorem of Calculus is often claimed as the central theorem of elementary calculus. Although it can be naturally derived when combining the formal definitions of differentiation and integration, its consequences open up a much wider field of mathematics suitable to justify the entire idea of calculus as a math discipline.
You will be surprised to notice that there are actually two theorems that make up The Fundamental Theorem of Calculus. They both serve to prove the relationship between differentiation and definite integration, but the first proves that they are inverses of each other, only in the sense that they undo each other's operation, and the second proves that there exists a way of computing definite integration using antiderivatives. This theorem, much like the concept of the limit, will form much of the backbone of latter theorems moving forward, so it is crucial to understand what these theorems can do. As such, the layout of this section mirrors that of the limit.

## Definition

It is essential to understand what the theorems actually state, which are highlighted below
$F=\int _{a}^{x}{f}$
$F'=f$
$\int _{a}^{b}{f}=g(b)-g(a)$
However, unlike the section on limits, this is not a definition primarily based on agreed mathematical concepts, as was the case with limits with its definition only needing one theorem to justify, but a theorem relying on several concepts to function together without contradictions. After all, differentiation is composed of a limit and integration summations. Claiming a relationship between them, unless justified, can spell disaster in mathematics. So, we will formally prove that this relationship is valid in the next heading.

### Proof

Below are not just one, but two proofs justifying our earlier claim; effectively prove the Fundamental Theorem of Calculus. Both rely primarily on the definition of differentiation and integration, but both differ based on which integral one uses. Whereas the first two use the definition of integration where upper and lower sums are defined (Darboux Integration, the last two rely on the definition of integration where only a single summation is used (Riemann Integration). Despite this, since both have already been proven to be equivalent, either proof is fine. Also surprising is that the following proofs are not complex. Neither proofs for both the Darboux or Riemann version rely on any new concepts and thus no need to justify new assumptions. Therefore, this reading will be like a simple application of the theorems learned in the previous section of the integral of one's choice.

#### Darboux

The following proof uses Darboux Integration. The general strategy is using the definition of both differentiation and integration to coax an implication through thoughtful manipulations. However, it relies on more theorems than the Riemann version.

##### First Fundamental Theorem

As always, the left-handed and right-handed differentiation is left to you.
Proof of the First Fundamental Theorem using Darboux Integrals :
| Given the function $F$ and its definition, we will suppose two things. First is the following mathematical statement. Second is the introduction of the variable $h$ , which we will use, with its implicit meaning, later. Note that the case where $h<0$ results in slightly different math (the position of inequalities and integral positions, but nothing serious). However, it is surprisingly not a major problem, so it is ignored (if you are curious as to proving us right or wrong, the problem set asks for this proof—and the answer you the proof removed from this section). We will assume $h>0$ for the remainder of the proof. | $F(x+h)-F(x)$ |
| The following mathematical statement implies this equality | $F(x+h)-F(x)=\int \limits _{x}^{x+h}{f}$ |
| To capitalize on this integral, we will now define a supremum/infimum of the function $f$ such that they represent the highest/lowest possible approximation of the integral. It will be influenced based on the value of the variable $h$ . | ${\begin{aligned}m_{h}&=\inf {\Big \f(x)\mid x\in [c,c+h]{\Big \}}\\M_{h}&=\sup {\Big \f(x)\mid x\in [c,c+h]{\Big \}}\end{aligned}}$ |
| We can now claim the following inequality relationship (the justification is found in the Darboux Integration section), which can be algebraically manipulated to show the following. | ${\begin{aligned}m_{h}\cdot h&\leq \int \limits _{x}^{x+h}f\leq M_{h}\cdot h\\m_{h}&\leq {\frac {1}{h}}\int \limits _{x}^{x+h}f\leq M_{h}\\m_{h}&\leq {\frac {F(x+h)-F(x)}{h}}\leq M_{h}\\\end{aligned}}$ |
| We can apply limits over the entire inequality. The answer of the now derivative derives from the Squeeze Theorem. Given that the interval used in $m_{h}$ and $M_{h}$ relies on the variable $h$ , applying the limit over $h$ has the effect of reducing the interval to a single $x$ variable, meaning that the supremum/infimum of a single set composed of $f(x)$ is self explanatory. Thus, the answer in the middle, now fully the definition of the derivative of $F$ , is rightfully $f$ , what we set out to prove. | ${\begin{aligned}\lim _{h\to 0}{m_{h}}&\leq \lim _{h\to 0}{\frac {F(x+h)-F(x)}{h}}\leq \lim _{h\to 0}{M_{h}}\\f(x)&\leq \lim _{h\to 0}{\frac {F(x+h)-F(x)}{h}}\leq f(x)\\F'(x)&=\lim _{h\to 0}{\frac {F(x+h)-F(x)}{h}}=f(x)\end{aligned}}$ |

##### Second Fundamental Theorem
#### Riemann

The following proof uses Riemann Integration. The general strategy is using the definition of a limit to imply the conclusion. For those uncomfortable with limits, the Darboux version may be easier.

##### First Fundamental Theorem

This is pretty far down from the original definition, so we will reiterate what we are seeking to prove.
Given the following conditions:
* $f:[a,b]\to \mathbb {R}$ be continuous at $c\in [a,b]$
* $F:[a,b]\to \mathbb {R}$ be the indefinite integral of $f$
Then, we should prove that the following relationship is valid $F$ is differentiable at $c$ and $F'(c)=f(c)$
Let $\varepsilon >0$ be given, and let $x\in [a,b]$ but $x\neq c$ Observe that $F(x)-F(c)=\int _{c}^{x}f=L$(say). There exists $\delta >0$ such that if a partition $\|{\mathcal {\dot {P}}}\|<\delta$ then, $|S(f,{\mathcal {\dot {P}}})-L|<\varepsilon |x-c|$ (note that in this proof, all the Riemann sums are over the interval $[c,x]$). As $f$ is integrable over $[c,x]$, it is bounded over that interval. Hence, let $M=\sup f([c,x])$. Thus, $S(f,{\mathcal {\dot {P}}})\leq \sum _{i=1}^{n}M(x_{i}-x_{i-1})=M(x-c)$ As $f$ is continuous at $c$, there exists $\delta >0$ such that $M(x-c)-S(f,{\mathcal {\dot {P}}})<\varepsilon |x-c|$ whenever $|x-c|<\delta$. Now consider $x\in V_{\delta }(c)$ Then, $\left|{\tfrac {F(x)-F(c)}{x-c}}-f(c)\right|=\left|{\tfrac {L}{x-c}}-f(c)\right|<\left|{\tfrac {S(f,{\mathcal {\dot {P}}})+\varepsilon |x-c|}{x-c}}-f(c)\right|<\left|{\tfrac {M(x-c)+2\varepsilon |x-c|}{x-c}}-f(c)\right|$
$<\left|{\tfrac {f(c)(x-c)+3\varepsilon |x-c|}{x-c}}-f(c)\right|<3\varepsilon$
That is, $\lim _{x\to c}{\frac {F(x)-F(c)}{x-c}}=f(c)$, or $F'(c)=f(c)$

##### Second Fundamental Theorem

This is pretty far down from the original definition, so we will reiterate what we are seeking to prove.
Given the following conditions:
* $f,F:[a,b]\to \mathbb {R}$
* $F$ be differentiable on $[a,b]$ and let $F'(x)=f(x)$ for all $x\in [a,b]$
* $f$ be Riemann integrable on $[a,b]$
Then, we should prove that the following relationship is valid $\int _{a}^{b}f(x)dx=F(b)-F(a)$
Let $\int _{a}^{b}f=L$ and let $\varepsilon >0$ be given. Then, there exists $\delta >0$ such that for a partition $\|{\mathcal {\dot {P}}}\|<\delta$ implies that $|S(f,{\mathcal {\dot {P}}})-L|<\varepsilon$ Consider a partition ${\mathcal {P}}$ and let $x_{i-1},x_{i}\in {\mathcal {P}}$. By Lagrange's Mean Value Theorem, we have that there exists $c_{i}\in (x_{i-1},x_{i})$ that satisfies ${\frac {F(x_{i})-F(x_{i-1})}{x_{i}-x_{i-1}}}=F'(c_{i})=f(c_{i})$ Let the tagged partition ${\mathcal {\dot {P}}}$ be the partition ${\mathcal {P}}$ along with the tags $c_{i}$ Thus, $S(f,{\mathcal {\dot {P}}})=\sum _{i=1}^{n}f(c_{i})(x_{i}-x_{i-1})=\sum _{i=1}^{n}{\tfrac {F(x_{i})-F(x_{i-1})}{x_{i}-x_{i-1}}}(x_{i}-x_{i-1})=\sum _{i=1}^{n}(F(x_{i})-F(x_{i-1}))=F(b)-F(a)$ But we know that $|S(f,{\mathcal {\dot {P}}})-L|<\varepsilon$ and hence, $|F(b)-F(a)-L|<\varepsilon$. As $\varepsilon >0$ is arbitrary, $|F(b)-F(a)-L|=0$ that is, $\int _{a}^{b}f(x)dx=F(b)-F(a)$

## Corollaries

There are many interpretations based of the definition.

## Extras

Here is an extra concept, just for your perusal (It's actually here is the integral to a variable bound is unclear to you).

### Indefinite Integral

Let $f:[a,b]\to \mathbb {R}$ be Riemann integrable on $[a,b]$.
We define the Indefinite Integral of $f$ to be the function $F:[a,b]\to \mathbb {R}$ given by
$F(x)=\int _{a}^{x}f$ for all $x\in [a,b]$