The Fundamental Theorem of Calculus is a theorem that connects the two branches of calculus, differential and integral, into a single framework. We saw the computation of antiderivatives previously is the same process as integration; thus we know that differentiation and integration are inverse processes. The Fundamental Theorem of Calculus formalizes this connection. The theorem is given in two parts.
First Fundamental Theorem of Calculus¶
The first Fundamental Theorem of Calculus states:
If f is continuous on an interval [a,b], then the function g defined by:
g(x)=∫xaf(t) dta≤x≤bis continuous on the interval [a,b] and differentiable on (a,b) and g′(x)=f(x).
Second Fundamental Theorem of Calculus¶
The second Fundamental Theorem of Calculus states:
If f is continuous on the interval [a,b] then:
∫baf(x) dx=F(b)−F(a)Where F is any antiderivative of f
Examples¶
from sympy import symbols, limit, diff, sin, cos, log, tan, sqrt, init_printing, plot, integrate
from mpmath import ln, e, pi
init_printing()
x = symbols('x')
y = symbols('y')
Example 1: Evaluate the integral: ∫2−1(x3−2x) dx¶
Applying the second part of the Fundamental Theorem of Calculus, we take the antiderivative of the function and evaluate the integral.
∫2−1(x3−2x) dx=14x4−x2|2−1=14(−1)4−(−1)2−14(2)4−(2)2=34We can verify our answer using SymPy's integrate()
function.
integrate(x ** 3 - 2 * x, (x, -1, 2))
Example 2: Evaluate ∫41(5−2x+3x2) dx¶
As in the previous example, we take advantage of the second part of the Fundamental Theorem of Calculus:
∫41(5−2x+3x2) dx=5x−x2+x3|41=5(4)−(4)2+(4)3−5(1)−(1)2+(1)3=63integrate(5 - 2 * x + 3 * x ** 2, (x, 1, 4))
Example 3: Compute the integral ∫10x45 dx¶
integrate(x ** (4/5), (x, 0, 1)) # Returned result will be in decimal form.
Example 4: Determine the integral ∫213x4 dx¶
Rewriting the integral as ∫213x−4 dx:
∫213x−4 dx=−x−3=−1x3|21=−1(2)3+1(1)3=−18+1=78integrate(3 / x ** 4, (x, 1, 2))
Example 5: Compute the integral ∫20x(2+x5) dx¶
Start by factoring:
∫202x+x6 dx=x2+17x7|20=(2)2+1727−(0)2+17(0)7=4+1287=287+1287=1567integrate(x * (2 + x ** 5), (x, 0, 2))
References¶
Fundamental theorem of calculus. (2017, December 2). In Wikipedia, The Free Encyclopedia. From https://en.wikipedia.org/w/index.php?title=Fundamental_theorem_of_calculus&oldid=813270221
Weisstein, Eric W. "Fundamental Theorems of Calculus." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/FundamentalTheoremsofCalculus.html