MAT1051 · Week 12 · The Fundamental Theorem of Calculus, The Substitution Method
The Fundamental Theorem of Calculus and substitution
The theorem that links derivative and integral: the derivative of an integral function and evaluating a definite integral with an antiderivative. Then the chain rule for integrals: u-substitution.
Fundamental Theorem of Calculusaccumulation functionevaluation theoremnet changeaverage valueMean Value Theorem for integralssubstitution ruleu-substitutionchange of limitsodd and even integrands
The most important theorem of Calculus is this week’s. The areas you computed at length with Riemann sums come down to one line, because integration and differentiation are inverses of each other. The theorem has two parts, and on exams both appear as separate question types. The second half of the week is substitution: the integral counterpart of the chain rule for derivatives. In every integral question from now on, this will be the first method you try.
dxd∫axf(t)dt=f(x). If the upper limit is g(x), multiply by g′(x).
∫abfdx=F(b)−F(a). First the antiderivative, then upper minus lower.
In substitution, choose u as the inner expression whose derivative is also in the integral.
In a definite integral, convert the limits to u as well.
The Fundamental Theorem of Calculus, Part 1
Let f be continuous on [a,b] and define
g(x)=∫axf(t)dt
g(x) is the (signed) area accumulated from a to x; it is called the accumulation function. The theorem:
g′(x)=f(x)
Intuition: if you increase x a little, by h, a thin strip of width h and height about f(x) is added to the area. The area increases by f(x)⋅h, and the rate of increase is f(x).
The general form with the chain rule:
dxd∫ag(x)f(t)dt=f(g(x))g′(x)
Example 1.dxd∫1xcos(t2)dt=cos(x2). The antiderivative of cos(t2) cannot be written with elementary functions, but it is not needed to answer a derivative question.
Example 2.dxd∫1x2lntdt=ln(x2)⋅2x=4xlnx (x>0).
If the lower limit is the variable, flip the sign: ∫h(x)af=−∫ah(x)f. If both limits are variable, put a fixed point in the middle and split in two.
PITFALL · forgetting the chain factor. Writing dxd∫0x3sintdt=sin(x3) is wrong. The correct answer is 3x2sin(x3). If the upper limit is not x, multiply by its derivative.
The Fundamental Theorem of Calculus, Part 2
If F is any antiderivative of f:
∫abf(x)dx=F(b)−F(a)=[F(x)]ab
You don’t need to write +C: it cancels in the difference (F(b)+C)−(F(a)+C).
Example 3.∫12(x2−x1)dx=[3x3−lnx]12=(38−ln2)−(31−0)=37−ln2≈1.640.
Example 4.∫0πsinxdx=[−cosx]0π=−cosπ+cos0=1+1=2. The area under one arch of the sine is exactly 2.
Example 5 (absolute value).∫−12∣x∣dx=∫−10(−x)dx+∫02xdx=21+2=25. You cannot find an antiderivative of the absolute value without splitting it at the zero point.
Why are the two parts the same theorem?
Part 2 follows from Part 1. The derivative of the function g(x)=∫axf(t)dt is f, so g is also an antiderivative of f. Since every antiderivative differs by a constant (week 9, MVT consequence), F(x)=g(x)+C. Now F(b)−F(a)=g(b)−g(a)=∫abf−0. The area defined by the limit of Riemann sums can be computed with the inverse of the derivative. This is the sentence that turns Calculus into a tool.
In practice it means: in week 11, for ∫01x2dx you wrote half a page of summation formulas. Now it is [3x3]01=31, one line.
Net change and average value
∫abF′(x)dx=F(b)−F(a): the integral of a rate of change gives the total (net) change. The integral of velocity is displacement, and the integral of flow rate is total volume.
Average value:
favg=b−a1∫abf(x)dx
Mean Value Theorem for integrals: if f is continuous, there is a c∈[a,b] with f(c)=favg. For example the average of sinx on [0,π] is π2≈0.637.
Substitution
The chain rule said dxdF(g(x))=F′(g(x))g′(x). Read backwards:
∫f(g(x))g′(x)dx=∫f(u)du,u=g(x),du=g′(x)dx
When it works: if the integrand contains an inner function and its derivative (a constant factor doesn’t matter) together.
Steps
1. Choose u: usually the inside of parentheses, inside a root, an exponent, a denominator2. Compute du = u' dx, write dx or "the part with x" in terms of du3. Write the integral entirely in terms of u (no x should remain)4. Integrate with respect to u5. Replace u with g(x) (for an indefinite integral)
Example 6.∫2xcos(x2)dx. u=x2, du=2xdx. ∫cosudu=sinu+C=sin(x2)+C.
Example 7 (linear inner function).∫(3x+1)5dx. u=3x+1, du=3dx, dx=31du. 31⋅6u6=18(3x+1)6+C. Short rule: ∫f(ax+b)dx=a1F(ax+b)+C.
Example 8 (tanx).∫tanxdx=∫cosxsinxdx. u=cosx, du=−sinxdx. −∫udu=−ln∣u∣+C=−ln∣cosx∣+C=ln∣secx∣+C.
Example 9.∫1+e2xexdx. u=ex, du=exdx, e2x=u2. ∫1+u2du=arctanu+C=arctan(ex)+C.
Which u?
What you see in the integrand
Try
(…)n with the derivative of the inside outside
u= the inside of the parentheses
…
u= the radicand
e(…)
u= the exponent
denominator…, with the numerator like the derivative of the denominator
u= the denominator, the result is ln∣u∣
lnx and x1
u=lnx
sinnxcosx
u=sinx
Example 9b (back-substitution).∫xx+1dx. The x outside is not the derivative of x+1. Still choose u=x+1; du=dx and x=u−1:
If you can write the remaining x in terms of u, the method still works. Question 10 is also of this type.
PITFALL · leaving x in the integral. For ∫x2cos(x)dx, if you choose u=x2 then du=2xdx, but cosx and an extra x remain in the integrand, and it cannot be written in terms of u. Substitution does not solve every integral; this integral is solved with integration by parts in week 13.
Substitution in a definite integral
Convert the limits to u as well. That way you don’t need to return to x at the end.
Example 10.∫01x1−x2dx.
u = 1 - x^2, du = -2x dx -> x dx = -du/2x = 0 -> u = 1, x = 1 -> u = 0∫_1^0 sqrt(u) (-du/2) = (1/2) ∫_0^1 u^(1/2) du = (1/2)(2/3) = 1/3
When the limits were swapped, the minus sign disappeared. This is the property ∫ba=−∫ab.
Symmetry
If f is odd, ∫−aaf=0; if it is even, ∫−aaf=2∫0af. For example ∫−22x3cosxdx=0, because x3 is odd, cosx is even, and their product is odd. The answer without any computation.
Common mistakes
Wrong thinking
Correct
dxd∫0x2f(t)dt=f(x2)
f(x2)⋅2x
dxd∫abf(t)dt=f(b)−f(a)
If the limits are constant, the integral is a number, and its derivative is 0
F(a)−F(b)
Upper minus lower: F(b)−F(a)
Integrating ∣x∣ without splitting
Split at the zero point
Choosing u without writing du
The equivalent of dx in terms of du is required
Not converting the limits in a definite integral
Use the u limits or go back to x at the end; not both
∫tanxdx=sec2x
That is the derivative; the integral is −ln∣cosx∣+C
∫3x+1dx=ln∣3x+1∣
31ln∣3x+1∣+C
The symmetric integral of an odd function means the area is zero
The integral is 0, but the shaded area is not zero
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Evaluate ∫14(3x−x22)dx.
Show answer
12.5
Antiderivative: 3⋅32x3/2−2⋅−1x−1=2x3/2+x2. F(4)=2⋅8+21=16.5, F(1)=2+2=4. The result is 16.5−4=12.5.
Question 2easy
Evaluate ∫0π/2(cosx+2sinx)dx.
Show answer
3
F(x)=sinx−2cosx. F(2π)=1−0=1, F(0)=0−2=−2. The result is 1−(−2)=3.
Question 3easy
Find dxd∫2x1+t3dt.
Show answer
1+x3
Part 1 of the Fundamental Theorem: if the lower limit is constant and the upper limit is x, the derivative is the value of the integrand at x. You don't need to find the antiderivative of 1+t3 (it isn't elementary anyway).
Question 4medium
Find dxd∫xx2e−t2dt.
Show answer
2xe−x4−e−x2
Both limits are variable: ∫xx2=∫0x2−∫0x. For the upper limit, chain rule: e−(x2)2⋅2x. For the lower limit: −e−x2⋅1. Total 2xe−x4−e−x2.
Question 5easy
Find ∫x(x2+3)5dx.
Show answer
12(x2+3)6+C
u=x2+3, du=2xdx, so xdx=21du. ∫u5⋅21du=21⋅6u6=12(x2+3)6+C.
Question 6medium
Find ∫(1+sinx)2cosxdx.
Show answer
−1+sinx1+C
u=1+sinx, du=cosxdx. ∫u−2du=−u−1+C=−1+sinx1+C.
Question 7medium
Find ∫xexdx.
Show answer
2ex+C
u=x, du=2x1dx, so xdx=2du. ∫eu⋅2du=2eu+C=2ex+C.
u=1+x2, du=2xdx, and x3dx=x2⋅xdx=(u−1)21du. The limits go from 1 to 2. 21∫12(u3/2−u1/2)du=21[52u5/2−32u3/2]12. At u=2: 52⋅42−32⋅22=1542. At u=1: 52−32=−154. The difference is 1542+4, and half of it is 152(2+1).
Question 11medium
Find the average value of f(x)=x2 on [0,3], and find c in [0,3] where f(c) equals this average.
Show answer
average 3, c = √3
favg=3−01∫03x2dx=31⋅9=3. c2=3⇒c=3≈1.732 (the root in the interval).
Question 12hard
Let F(x)=∫0x1+t2t2−4dt. Find the critical numbers of F and classify them.
Show answer
x = -2 (local max), x = 2 (local min)
Fundamental Theorem: F′(x)=1+x2x2−4. The denominator is always positive, F′=0⟺x=±2. Sign: F′>0 for ∣x∣>2, F′<0 for ∣x∣<2. At x=−2, +→−: local max. At x=2, −→+: local min. There is no need to compute the integral.
Verification: All answers were checked with node (verify/MAT1051/12.mjs): definite integrals with Simpson's rule, antiderivatives by comparing F' = f, derivatives of integral functions by computing the integral numerically and differentiating with a central difference.
Review card
FTC 1: d/dx ∫_a^x f(t) dt = f(x)
d/dx ∫_a^g(x) f(t) dt = f(g(x)) · g'(x)
d/dx ∫_h(x)^g(x) f = f(g) g' - f(h) h'
FTC 2: ∫_a^b f(x) dx = F(b) - F(a), F' = f (C is not needed, it cancels)
Average value: f_avg = 1/(b-a) ∫_a^b f; there is a c with f(c) = f_avg
u-SUBSTITUTION: u = inner function, du = u' dx; the integral must be entirely in terms of u
In a definite integral: convert the limits to u as well (or go back to x at the end, don't mix the two)
∫ f(ax+b) dx = F(ax+b)/a + C ∫ u'/u = ln|u| ∫ tan x = -ln|cos x| = ln|sec x|
Odd f: ∫_-a^a f = 0 Even f: ∫_-a^a f = 2∫_0^a f