MATH 138

Calculus 2

Instructor: Jen (Jennifer) Nelson Section: idk Email: jen.nelson@uwaterloo.ca Office: MC 6222 Office Hours: Mon: 10am-11am, Wed:1pm-2pm, Wed:3:30pm-4:30pm Textbook: Course Notes Midterm: Quizes: Wednesdays: 5:30 - 6:20
Week Dates Text Sections Topics Events
1 Jan 6-10 1.2-1.4 Riemann Sums, De nite Integrals, Average Value
2 Jan 13-17 1.5-1.7 FTC I, FTC II, Change of Variable Quiz 1
3 Jan 20-24* 2.1-2.3 Trig. Sub., Integration By Parts, Partial Fractions Quiz 2
4 Jan 27-31 2.4, 3.1 Improper Integrals, Areas Between Curves Quiz 3
5 Feb 3-7 3.2, 3.3, 4.1, 4.5.1 Volumes, Intro to DEs, Direction Fields Quiz 4
MT Feb 10-14** 4.2, 4.3, 4.5-4.8 Separable DEs, Linear DEs, Applications Quiz 5
RW Feb 17-21 READING WEEK
6 Feb 24-28 5.1-5.4 Intro to Series, Geo. Series, Div. Test midterm
7 Mar 2-6 5.5-5.7 Positive Series, Integral Test, Alternating Series Quiz 6
8 Mar 9-13 5.8-5.10 Types of Convergence, Ratio & Root Tests Quiz 7
9 Mar 16-20 6.1, 6.2, 6.3 Intro. to Power Series, Functions, Differentiation Quiz 8
10 Mar 23-27 6.4, 6.5, 6.6, 6.7 Integration, Review of Taylor Polys., Taylor Series Quiz 9
FE Mar 30-Apr 3 6.8, 6.9, 6.10 Convergence, Binomial Series, Applications Quiz 10

6/1/20

Riemann Sums and The Definite Integral (1.2)

Math 138: The area problem. That is how do we calculate the area under some function f(x)f(x)?

Definition - partition: A partition P for the interval [a,b][a,b] is a finite sequence of increasing numbers of the form a=t0<t1<t2<⋯<tn−1<tn=ba = t_0 < t_1 < t_2 < \cdots < t_{n-1} < t_n = b
Notes :

Definition - Regular n-partition: Given an interval [a,b][a,b] and n∈Nn \in \mathbb{N}, the regular n-partition is the partition P(n)P^{(n)} with

a=t0<t1<t2<⋯<tn−1<tn=ba = t_0 < t_1 < t_2 < \cdots < t_{n-1} < t_n = b

of $[a,b] where each subinterval ahs the same length Δti=b−an\Delta t_i = \frac{b-a}{n}

Right-hand Riemann Sum: The right-hand Riemann sum for ff with respect to the partition PP is the Riemann sum RR obtained from PP by choosing cic_i to be tit_i, the right hand endpoint of [ti−1,ti][t_{i-1},t_i]. That is

R=∑i=1nf(ti)Δti.R = \sum_{i=1}^nf(t_i)\Delta t_i.

If P(n)P^{(n)} is the Regular n-partition, we denote the right hand Riemann sum by:

R=∑i=1nf(ti)Δti=∑i=1nf(ti)b−an=∑i=1nf(a+i(b−an)b−anR = \sum_{i=1}^nf(t_i)\Delta t_i = \sum_{i=1}^nf(t_i) \frac{b-a}{n} = \sum_{i=1}^nf(a+i(\frac{b-a}{n}) \frac{b-a}{n}

Lef-hand Riemann Sum: The left-hand Riemann sum for ff with respect to the partition PP is the Riemann sum RR obtained from PP by choosing cic_i to be tit_i, the left hand endpoint of [ti−1,ti][t_{i-1},t_i]. That is

R=∑i=1nf(ti−1)Δti.R = \sum_{i=1}^nf(t_{i-1})\Delta t_i.

If P(n)P^{(n)} is the Regular n-partition, we denote the left hand Riemann sum by:

R=∑i=1nf(ti−1)Δti=∑i=1nf(ti−1)b−an=∑i=1nf(a+(i−1)(b−an)b−anR = \sum_{i=1}^nf(t_{i-1})\Delta t_i = \sum_{i=1}^nf(t_{i-1}) \frac{b-a}{n} = \sum_{i=1}^nf(a+(i-1)(\frac{b-a}{n}) \frac{b-a}{n}

The norm of the partition P is the length of widest subinterval: ∣∣P∣∣=max{Δt1,Δt2,⋯ ,Δtn}||P|| = max\{\Delta t_1, \Delta t_2, \cdots, \Delta t_n \}.

Definition: Given a bounded function ff on [a,b][a,b], a partition P of [a,b][a,b], and a set {c1,c2,⋯ ,cn}\{c_1, c_2, \cdots, c_n \} where ci∈[ti−1,ti]c_i \in [t_{i-1},t_i], then a Riemann sum for ff with respect to PP is

S=∑i=inf(ci)ΔtiS = \sum_{i=i}^n f(c_i) \Delta t_i

Definition: We say ff is integrable on [a,b][a,b] if there exists a unique I∈RI \in \mathbb{R} such that whenever {Pn}\{P_n\} is a sequence of partitions with limn→∞∣∣Pn∣∣=0lim_{n \rightarrow \infty}||P_n||=0 and Sn{S_n} is any sequence of Riemann sums associated to the PnP_n's, we have limn→∞Sn=Ilim_{n \rightarrow \infty} S_n = I

∫abf(x)dx\int_a^b f(x)dx

Note:

So, ∫abf(x)dx=I=limn→∞Sn\int_a^b f(x)dx = I = lim_{n \rightarrow \infty} S_n.
It represents the exact area under ff from aa to bb (signed - positive/negative)

Question: How do we know II exists? How do we calculate II

8/1/20

Some useful formulas:

  1. ∑i=1ni=n(n+1)2\sum_{i = 1}^ni = \frac{n(n+1)}{2}
  2. ∑i=1ni2=n(n+1)(2n+1)6\sum_{i = 1}^ni^2 = \frac{n(n+1)(2n+1)}{6}
  3. ∑i=1ni3=n(n+1)22\sum_{i = 1}^ni^3 = \frac{n(n+1)}{2}^2

Example: Find I=∫04t+t3dtI = \int_0^4t+t^3dt using R.S
Solution: f(t)=t+t3f(t)=t+t^3 is continuous so ff is integrable, so all Reimann sums converge to the same value II.
Let's choose a simple way to compute R.S:

  1. Choose a regular(uniform) subdivisions

Δti=Δt=b−an=4−0n=4n\Delta t_i = \Delta t = \frac{b-a}{n} = \frac{4-0}{n} = \frac{4}{n}

  1. Pick cic_i's to be at the right ends of subintervals
  2. Solve:
    Subinterval: [ti−1,ti]=ci=ti[t_{i-1},t_i] = c_i = t_i
    ti=a+i⋅Δt=0+i⋅4n=4int_i = a + i \cdot \Delta t = 0 + i \cdot \frac{4}{n} = \frac{4i}{n}
    Right-hand R.S.
    Rn=∑i=1nf(a+iΔt)⋅b−anR_n = \sum_{i=1}^nf(a+ i \Delta t) \cdot \frac{b-a}{n}
    I=limn→∞RnI = lim_{n \rightarrow \infty} R_n
    =limn→∞∑i=1nf(4in)⋅4n= lim_{n \rightarrow \infty} \sum_{i=1}^nf(\frac{4i}{n})\cdot \frac{4}{n}
    =limn→∞∑i=1n(4in+(4in)3)4n= lim_{n \rightarrow \infty} \sum_{i=1}^n(\frac{4i}{n}+(\frac{4i}{n})^3)\frac{4}{n}
    =limn→∞∑i=1n(16in2+256i3n4)= lim_{n \rightarrow \infty} \sum_{i=1}^n(\frac{16i}{n^2}+\frac{256i^3}{n^4})
    =limn→∞16n2∑i=1ni+256n4∑i=1ni3= lim_{n \rightarrow \infty} \frac{16}{n^2} \sum_{i=1}^ni+\frac{256}{n^4}\sum_{i=1}^ni^3
    =limn→∞16n2⋅n(n+1)2+256n4⋅n(n+1)22= lim_{n \rightarrow \infty} \frac{16}{n^2} \cdot \frac{n(n+1)}{2} +\frac{256}{n^4} \cdot \frac{n(n+1)}{2}^2

Properties of Definite Integrals:

Theorem 2: Assume ff and gg are integrable on [a,b][a,b]:

  1. ∀e∈R.∫abef(t)dt=e∫abf(t)dt\forall e \in \mathbb{R}. \int_a^bef(t)dt = e\int_a^bf(t)dt
  2. ∫abf(t)+g(t)dt=∫abf(t)dt+∫abg(t)dt\int_a^b f(t) + g(t)dt = \int_a^b f(t)dt + \int_a^bg(t)dt
  3. If ff is bounded between two values, m≤f(t)≤M,∀t∈[a,b]m \leq f(t) \leq M, \forall t \in [a,b], then

m(b−a)≤∫abf(t)dt≤M(b−a)m(b-a) \leq \int_a^bf(t)dt \leq M(b-a)

  1. If f(t)≥0∀t∈[a,b]f(t) \geq 0 \forall t \in [a,b] then ∫abf(t)dt≥0\int_a^bf(t)dt \geq 0
  2. If f(t)≥g(t),∀t∈[a,b]f(t) \geq g(t), \forall t \in [a,b] then ∫abf(t)dt≥∫abg(t)dt\int_a^bf(t)dt \geq \int_a^bg(t)dt
  3. The function ∣f∣|f| is integrable on [a,b][a,b] and ∣∫abf(t)dt∣≤∫ab∣f(t)∣dt|\int_a^bf(t)dt| \leq \int_a^b|f(t)|dt

More Properties:

  1. Define ∫aaf(t)dt=0\int_a^af(t)dt=0
  2. ∫abf(t)dt=−∫baf(t)dt\int_a^bf(t)dt = -\int_b^af(t)dt

10/1/20

Lecture 3: Geometric interpretation (1.3), Average value of a function (1.4)

Theorem: Integrals over subintervals If ff is integrable on an interval containing a,b,ca,b,c, then

∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx\int_a^bf(x)dx = \int_a^cf(x)dx + \int_c^b f(x)dx

Note: C does not need to be between a and b.

∫abf(x)dx=∫acf(x)dx−∫bcf(x)dx=∫acf(x)dx+∫cbf(x)dx\int_a^b f(x)dx = \int_a^cf(x)dx - \int_b^cf(x)dx = \int_a^cf(x)dx + \int_c^b f(x)dx

Geometric interpretation of ∫abf(x)dx\int_a^bf(x)dx:
If f(x)≥0f(x) \geq 0 on [a,b][a,b], then ∫abf(x)dx≥0\int_a^bf(x)dx \geq 0 and gives the area under ff and above the x-axis. If f(x)≤0f(x) \leq 0 on [a,b][a,b], then ∫abf(x)dx≤0\int_a^bf(x)dx \leq 0. So ∫abf(x)dx\int_a^bf(x)dx gives the signed(positive/negative) area between ff and the x-axis.

Example 3.1: Calculate ∫04(x−3)dx\int_0^4(x-3)dx:
Solution 1: Use the definition
Solution 2: The function is linear so we find the area above the x-axis and subtract the area below the x-axis on the interval [0,4][0,4].

1.4 Average value of a function

For nn real numbers a1,a2,⋯ ,ana_1,a_2, \cdots, a_n the average is a1+a2+⋯+ann\frac{a_1+a_2+\cdots+a_n}{n}. How do we extend this to a continuous function ff on [a,b][a,b]?
We use a regular n-partition where the average is equal to limn→∞∑i=1nf(ti)nlim_{n \rightarrow \infty} \frac{\sum_{i = 1}^nf(t_i)}{n}. This is the average of each value at a given partition where the number of partitions approaches infinity.
Notice:
limn→∞(∑i=1nf(ti)n)=limn→∞1n∑i=1nf(ti)lim_{n \rightarrow \infty}(\frac{\sum_{i = 1}^nf(t_i)}{n}) = lim_{n \rightarrow \infty} \frac{1}{n} \sum_{i=1}^n f(t_i)
=limn→∞∑i=1nf(ti)n⋅b−ab−a=lim_{n \rightarrow \infty} \sum_{i=1}^n \frac{f(t_i)}{n} \cdot \frac{b-a}{b-a}
=limn→∞1b−a∑i=1nf(ti)⋅b−an=lim_{n \rightarrow \infty} \frac{1}{b-a} \sum_{i=1}^n f(t_i) \cdot \frac{b-a}{n}
=1b−alimn→∞∑i=1nf(ti)⋅b−an=\frac{1}{b-a} lim_{n \rightarrow \infty} \sum_{i=1}^n f(t_i) \cdot \frac{b-a}{n}
=1b−a∫abf(x)dx= \frac{1}{b-a} \int_a^b f(x) dx

Definition: If ff is continuous on [a,b][a,b] then the average value of ff on [a,b][a,b] is faverage=1b−a∫abf(x)dxf_{average} = \frac{1}{b-a} \int_a^b f(x)dx.

Theorem: Average Value Theorem (AVT) If ff is continuous on [a,b][a,b], then ∃c∈[a,b]\exists c \in [a,b] such that

f(c)=1b−a∫abf(x)dxf(c) = \frac{1}{b-a} \int_a^bf(x)dx

Proof of AVT: Assume ff is continuous on [a,b][a,b].
By Extreme Value Theorem, ∃m,M∈R\exists m,M \in \mathbb{R} such that m≤f(x)≤Mm \leq f(x) \leq M for all x∈[a,b]x\in [a,b]. Also ∃c1,c2∈[a,b]\exists c_1,c_2 \in [a,b] such that f(c1)=mf(c_1) = m and f(c2)=Mf(c_2)=M.
Since m≤f(x)≤Mm \leq f(x) \leq M by proposition 3 of integrals m(b−a)≤∫abf(x)dx≤M(b−a)m(b-a) \leq \int_a^bf(x)dx \leq M(b-a).
So m≤1b−a⋅∫abf(x)dx≤Mm \leq \frac{1}{b-a} \cdot \int_a^bf(x)dx \leq M,
or f(c1)≤1b−a⋅∫abf(x)dx≤f(c2)f(c_1) \leq \frac{1}{b-a} \cdot \int_a^bf(x)dx \leq f(c_2).
Now by Intermediate Value Theoerem there exists some cc between c1c_1 and c2c_2 such that f(c)=1b−a⋅∫abf(x)dxf(c) = \frac{1}{b-a} \cdot \int_a^bf(x)dx.
QED

13/1/20

Lecture 4: Fundamental Theorem of Calculus (FTC)

Definition: Suppose ff is continuous on [a,b][a,b]. Define the integral function:

G(x)=∫axf(t)dtG(x) = \int_a^x f(t) dt

G(x)G(x) is a function that returns the net (signed) area under ff from aa to xx.

Theorem - The fundamental theorem of calculus part 1 (FTC 1): If ff is continuous on an open interval II containing a point x=ax=a, and if G(x)=∫axf(t)dtG(x) = \int_a^xf(t)dt, then G(x)G(x) is differentiable at each x∈Ix \in I and G′(x)=f(x)G'(x)=f(x). That is ddx∫axf(t)dt=f(x)\frac{d}{dx} \int_a^x f(t)dt = f(x).

Proof: Assume ff is continuous on II and G(x)=∫axf(t)dtG(x) = \int_a^xf(t)dt.
Consider arbitrary x0∈Ix_0 \in I.
We will show G(x)G(x) is differentiable at xx. and G′(x0)=f(x0)G'(x_0) = f(x_0) by showing,

limx→x0G(x)−G(x0)x−x0=f(x0)lim_{x \rightarrow x_0} \frac{G(x)-G(x_0)}{x-x_0} = f(x_0)

First notice:

G(x)−G(x0)x−x0=∫axf(t)dt−∫ax0f(t)dtx−x0=(∫ax0f(t)dt+∫x0xf(t)dt)−∫ax0f(t)dtx−x0=1x−x0∫ax0f(t)dt\begin{array}{rcl} \frac{G(x)-G(x_0)}{x-x_0} &=& \frac{\int_a^x f(t)dt - \int_a^{x_0} f(t) dt}{x-x_0} \\ &=&\frac{(\int_a^{x_0} f(t)dt + \int_{x_0}^x f(t)dt) - \int_a^{x_0} f(t) dt}{x-x_0} \\ &=& \frac{1}{x-x_0} \int_a^{x_0} f(t) dt \end{array}

Let ϵ>0\epsilon > 0. Since ff is continuous at x0x_0 so ∃δ>0\exists \delta > 0 such that if 0<∣x−x0∣<δ0<|x-x_0|<\delta then ∣f(x)−f(x0)∣<δ|f(x)-f(x_0)| < \delta
Suppose 0<∣x−x0∣<δ0<|x-x_0|<\delta
By AVT, there xists some cc between xx and x0x_0 such that f(c)=1x−x0∫x0xf(t)dtf(c) = \frac{1}{x-x_0} \int_{x_0}^xf(t)dt
Since cc is between xx and x0x_0, we have 0<∣c−x0∣<δ0<|c-x_0|<\delta as well.
Therefore, ∣f(c)−f(x0)∣<ϵ|f(c)-f(x_0)| < \epsilon.
That is, ∣G(x)−G(x0)x−x0−f(x0)∣<ϵ|\frac{G(x)-G(x_0)}{x-x_0} - f(x_0)| < \epsilon
So, we have shown that for any ϵ>0\epsilon > 0, ∃δ>0\exists \delta > 0 such that if 0<∣x−x0∣<δ0 < |x-x_0|<\delta then ∣G(x)−G(x0)x−x0−f(x0)∣<ϵ|\frac{G(x)-G(x_0)}{x-x_0} - f(x_0)| < \epsilon
By the definition of a limit, we've shown limx→x0G(x)−G(x0)x−x0=f(x0)lim_{x \rightarrow x_0} \frac{G(x)-G(x_0)}{x-x_0} = f(x_0)
That is, G′(x0)=f(x0)G'(x_0) = f(x_0) (by the definition of derivative)

Example 4.1: G(x)=∫−2x(et−1)dtG(x) = \int_{-2}^x(e^t-1)dt, determine G′(x)G'(x):
Since et3−1e^{t^3}-1 is continuous, by FTC 1,

G′(x)=ddx∫−2x(et3−1)dt=ex3−1G'(x)=\frac{d}{dx} \int_{-2}^x(e^{t^3}-1)dt = e^{x^3} -1

Example 4.2: Determine ddx∫−2x2(et3−1)dt\frac{d}{dx} \int_{-2}^{x^2}(e^{t^3} - 1)dt
Since G(x)=∫−2x2(et3−1)dtG(x) = \int_{-2}^{x^2}(e^{t^3} - 1)dt
So

ddx∫−2x2(et3−1)dt=ddxG(x2)=G′(x2)⋅2x=(e(x2)3−1)⋅2x=2x⋅(ex6−1)⋅2x\begin{array}{rcl} \frac{d}{dx} \int_{-2}^{x^2}(e^{t^3} - 1)dt &=& \frac{d}{dx} G(x^2) \\ &=& G'(x^2) \cdot 2x \\ &=& (e^{({x^2})^3}-1)\cdot 2x \\ &=& 2x \cdot (e^{x^6}-1)\cdot 2x \end{array}

15/1/20

Lecture 5: Antiderivatives FTCII(1.6)

Definition: Given a function f1f_1, an antiderivative of ff is a function FF such that

F′(x)=f(x)F'(x) = f(x)

Definition: The collection of all antiderivatives of f(x)f(x) is denoted by ∫f(x)dx\int f(x) dx. This is called the indefinite integral of ff

By the antiderivative theorem, any two antiderivatives of ff differ by a constant. Therefore, ∫f(x)dx=F(x)+c\int f(x) dx = F(x) + c, where c∈Rc \in \mathbb{R} and FF is any antiderivative of ff (F′(x)=f(x)F'(x)=f(x))

The indefinite integral, ∫f(x)dx\int f(x)dx, is a family of functions, it represents all functions whose derivative is f(x)f(x), The definite integral,∫abf(x)dx\int_a^bf(x)dx, is a number defined as a limit of Riemann sums. It represents the signed area under f(x)f(x) from x=ax=a to x=bx=b.

You should know all of the following indefinite integrals: ADD FROM PAGE 43

Theorem (FTCII): The Fundemental Theorem of Calculus part II (FTCII) If ff is continuous on [a,b][a,b] and FF is any antiderivative of ff, then

∫abf(x)dx=F(b)−F(a)=F(x)∣ab\int_a^bf(x)dx = F(b) - F(a) = F(x)|_a^b

Example 5.1: Calculate ∫03(x3+2x)dx\int_0^3(x^3+2x)dx

∫03(x3+2x)dx=x44+x2+c∣13,c=0=814+9=1174\begin{array}{rcl} \int_0^3(x^3+2x)dx &=& \frac{x^4}{4} + x^2 + c |_1^3, c = 0 \\ &=& \frac{81}{4} + 9 \\ &=& \frac{117}{4}\end{array}

Proof of FTCII:
Suppose ff is continuous on [a,b][a,b]. Consider G(x)=∫0xf(t)dtG(x) = \int_0^xf(t)dt
By FTCI, G′(x)=f(x)G'(x) = f(x). That is, G(x) is an antiderivative of f(x)f(x).
Consider any antiderivative F(x)F(x) of f(x)f(x).
By the antiderivative theorem, F(x)=G(x)+cF(x) = G(x) + c, where c∈Rc\in\mathbb{R}
So,

F(b)−F(a)=(G(b)+c)−(G(a)+c)=G(b)−G(a)=∫abf(t)dt−∫aaf(t)dt=∫abf(t)dt\begin{array}{rcl} F(b) - F(a) &=& (G(b) + c) - (G(a) + c) \\ &=& G(b) - G(a) \\ &=& \int_a^bf(t)dt - \int_a^af(t)dt \\ &=& \int_a^bf(t)dt\end{array}

As required.

Example 5.2: Calculate ∫242x+2xdx\int_2^4 \frac{2x+2}{x}dx

∫242+1xdx=(2x+ln∣x∣)∣24=(8+ln4)−(4+ln2)=4+ln2\begin{array}{rcl} \int_2^4 2 + \frac{1}{x}dx &=& (2x + ln|x|)|_2^4 \\ &=& (8 + ln4) - (4 + ln2) \\ &=& 4 + ln2 \end{array}

Note: We can use any antiderivative

∫242+1xdx=(2x+ln∣x∣+C)∣24=(8+ln4+C)−(4+ln2+C)=4+ln2\begin{array}{rcl} \int_2^4 2 + \frac{1}{x}dx &=& (2x + ln|x| + C)|_2^4 \\ &=& (8 + ln4 + C) - (4 + ln2 + C) \\ &=& 4 + ln2 \end{array}

Example 5.4: ∫02π∣cosx∣dx\int_0^{2 \pi}|cosx|dx

∫02π∣cosx∣dx=4∫02πcosxdx=4(sinx)∣0π2=4(sinπ2−sin0)=4\begin{array}{rcl} \int_0^{2 \pi}|cosx|dx &=&4\int_0^{2 \pi} cosx dx \\ &=& 4(sinx)|_0^{\frac{\pi}{2}} \\ &=& 4 (sin\frac{\pi}{2} - sin0) \\ &=& 4 \end{array}

OR

∫02π∣cosx∣dx=∫0π2cosxdx+∫π23π2−cosxdx+∫3π22πcosxdx\int_0^{2 \pi}|cosx|dx = \int_0^{\frac{\pi}{2}}cosxdx + \int_{\frac{\pi}{2}}^{\frac{3\pi}{2}}-cosxdx + \int_{\frac{3\pi}{2}}^{2 \pi}cosxdx

Corollary: Extended version of FTCI.
If ff is continuous and gg and gg are differentiable, then,

ddx[∫g(x)h(x)f(t)dt]−f(h(x))h′(x)−f(g(x)g′(x)\frac{d}{dx}[\int_{g(x)}^{h(x)}f(t)dt] - f(h(x))h'(x) - f(g(x)g'(x)

Proof 1: Use FTCII
Proof 2: Use splitting over subintervals, then,

∫g(x)h(x)f(t)dt=∫g(x)cf(t)dt+∫ch(x)f(t)dt\int_{g(x)}^{h(x)}f(t)dt = \int_{g(x)}^{c}f(t)dt + \int_{c}^{h(x)}f(t)dt

Example 5.5:

17/1/20

Lecture 6: Change of Variable (1.7)

Theorem: If u=g(x)u=g(x) is differentiable and ff is continuous on the range of gg, then

∫f(g(x))g′(x)dx=∫f(u)du\int f(g(x))g'(x)dx = \int f(u)du

Example 6.1: ∫x3(x+5)2dx\int \frac{x^3}{(x+5)^2}dx
Step 1: Choose a substitution let u=g(x)=x+5u = g(x) = x + 5 then g′(x)=1g'(x) = 1

Step 2: Replace original variable w with new variable

∫x3(x+5)2dx=∫(u−5)3u2du=∫u3−15u2+75u−125u2du=∫(u−15−75u−125u2−125u2)du=u2−15u+75ln∣u∣+125u+C\begin{array}{rcl} \int \frac{x^3}{(x+5)^2}dx &=& \int \frac{(u-5)^3}{u^2}du \\ &=& \int \frac{u^3-15u^2+75^u-125}{u^2}du \\ &=& \int (u - 15 - \frac{75}{u} - \frac{125}{u^2} - \frac{125}{u^2})du \\ &=& u^2 - 15u + 75ln|u| + \frac{125}{u} + C \end{array}

Proof of: ∫f(g(x))g′(x)dx=∫f(u)du\int f(g(x))g'(x)dx = \int f(u)du
Since f is continuous on the range of gg, by FTC1, there is a function ff such that F′=fF' = f (that is, ff has an antiderivative).

ddx(F(g(x)))=F′(g(x))g′(x)=f(g(x))g′(x)\frac{d}{dx} (F(g(x))) = F'(g(x))g'(x) = f(g(x))g'(x)

So F(g(x))F(g(x)) is an antiderivative of f(g(x))g′(x)f(g(x))g'(x).

∫f(g(x))g′(x)dx=F(g(x))+C=F(u)+C=∫f(u)du\int f(g(x))g'(x)dx = F(g(x)) + C = F(u) + C = \int f(u)du

Notation trick: If u=g(x)u=g(x) then du=g′(x)dxdu = g'(x)dx

Example 6.2: ∫(lnx)2xdx\int \frac{(lnx)^2}{x}dx
Tip: A good choice for uu is often uu = function in the integrand whose derivative is also in the integrand.
Choose u=lnx⇒dudx=1x⇒du=1xdxu =lnx \Rightarrow \frac{du}{dx} = \frac{1}{x} \Rightarrow du = \frac{1}{x}dx

∫(lnx)2xdx=∫u2du=u33+C=(lnx)33+C\int \frac{(lnx)^2}{x}dx = \int u^2 du = \frac{u^3}{3} + C = \frac{(lnx)^3}{3} + C

Example 6.3: ∫1+xdx\int \sqrt{1 + \sqrt{x}}dx
Tip: Good choice for uu is often uu = a function whose inside another function
Choose u=xu=\sqrt{x}
du=12xdxdu = \frac{1}{2\sqrt{x}}dx so dx=2xdu=2ududx = 2 \sqrt{x} du = 2udu
∫1+xdx=∫1+u2udu=2∫1+uudu\int \sqrt{1 + \sqrt{x}}dx = \int \sqrt{1 + u}2udu = 2 \int \sqrt{1 + u}udu

Let t=1+ut = 1 + u, dt=dudt = du

2∫(t−1)tdt=2∫t32−t12=2⋅(25t52−23t32)+C=45(1+x)52−23(1+x)32+C\begin{array}{rcl} 2 \int (t-1)\sqrt{t}dt &=& 2\int{t^\frac{3}{2}} - t^\frac{1}{2} \\ &=& 2 \cdot (\frac{2}{5} t^\frac{5}{2} - \frac{2}{3}t^\frac{3}{2}) + C \\ &=& \frac{4}{5}(1 + \sqrt{x})^\frac{5}{2} - \frac{2}{3}(1 + \sqrt{x})^\frac{3}{2} + C \end{array}

Example 6.4: ∫tanxdx\int tanx dx
u=cosx⇒du=sinxdxu = cosx \Rightarrow du = sinxdx
∫tanxdx=∫sinxcosxdx=−∫1udu=−ln∣u∣+C\int tanxdx = \int \frac{sinx}{cosx}dx = - \int \frac{1}{u} du = - ln|u| + C

Theorem: If g′(x)g'(x) is continuous on [a,b] and ff is continuous on the range of gg, then

∫f(g(x)dx)=∫u=g(a)u=g(b)f(u)du\int f(g(x)dx) = \int_{u = g(a)}^{u = g(b)}f(u)du

Example 6.5: ∫12e1xx2dx\int_1^2 \frac{e^\frac{1}{x}}{x^2}dx
Let u=1xu = \frac{1}{x} du=−1x2dxdu=\frac{-1}{x^2}dx
x=1⇒u=1x = 1 \Rightarrow u = 1
x=2⇒u=12x = 2 \Rightarrow u = \frac{1}{2}
∫12e1xx2dx=−∫112eudu=∫121eudu=eu∣121=e−e12\int_1^2 \frac{e^\frac{1}{x}}{x^2}dx = -\int_1^{\frac{1}{2}} e^u du = \int_{\frac{1}{2}}^1 e^u du = e^u|_{\frac{1}{2}}^1 = e - e^{\frac{1}{2}}

Example 6.6: ∫π2πsin2xcos3xdx\int_{\frac{\pi}{2}}^{\pi}sin^2xcos^3xdx
=∫π2πsin2xcos2xcosxdx= \int_{\frac{\pi}{2}}^{\pi} sin^2xcos^2xcosxdx
=∫π2πsin2x(1−sin2x)cosxdx= \int_{\frac{\pi}{2}}^{\pi} sin^2x(1-sin^2x)cosxdx
Let u=sinxu = sinx, du=cosxdxdu = cosxdx
=∫x=π2z=πu2(1−u2)= \int_{x= \frac{\pi}{2}}^{z =\pi} u^2(1-u^2)
=u33−u55∣x=π2x=π= \frac{u^3}{3} - \frac{u^5}{5} |_{x = \frac{\pi}{2}}^{x = \pi}
=sin3x3−sin5x5∣π2π= \frac{sin^3x}{3} - \frac{sin^5x}{5} |_{\frac{\pi}{2}}^{\pi}

5/2/20

Lec 14: Volumes Continued (3.2 & 3.3)
Example 4.1: Determine the volume of the solid obtained by rotating the region bounded by x=5−y2x = 5 - y^2 and x=0x=0 about the y-axis

sketch "sideways parabola opening to the left rotating about the the y axis"

Use horizontal rectangles of width Δy\Delta y
From y=−5y = -\sqrt{5} to y=5y = \sqrt{5} will get disks and the cross-sectional area of solid is π(5−y2)2\pi (5 - y^2)^2

Therefore,

v=∫−55π(5−y2)2dy=⋯=8053π \begin{array}{rcl} v &=& \int_{-\sqrt{5}}^{\sqrt{5}} \pi (5 - y^2)^2 dy \\ &=& \cdots \\ &=& \frac{80\sqrt{5}}{3}\pi \end{array}

Summary: we get disks/washers when we rotate

Exercise: Rotate region in Ex 14.1 about x=6x=6

Exercise: Find the volume of the cap heigh with h, of a sphere of radius r.

Example 14.2: Determine the volume of the solid obtained by rotating the region bounded by y=(x−1)(x−3)2y = (x-1)(x-3)^2, the x-axis, x=1x=1 and x=3x=3, about the y-axis

Sketch "from 1 to 3 it looks like a small hill going up from 1 and down to 3"

Instead we use vertical rectangles of width Δx\Delta x and length (x−1)(x−3)2(x-1)(x-3)^2.
Rotate this rectangle around the y-axis. We will get a cylindrical shell (an infinitesimally thin hollow cylinder, its volume is equal to its surface area)

So volume =2πxf(x)2Δx=2πx(x−1)(x−3)2Δx=2\pi xf(x)^2 \Delta x= 2\pi x(x-1)(x-3)^2 \Delta x
Therefore total volume is

V=∫132πx(x−1)(x−3)2dx=⋯=24π5 \begin{array}{rcl} V &=& \int_1^3 2 \pi x (x-1)(x-3)^2 dx \\ &=& \cdots \\ &=& \frac{24 \pi}{5} \end{array}

Example 14.3: Find the volume of solid obtained by rotating the region bounded by x=y2x=y^2, x+y=2x+y=2 about y=−3y=-3

Sketch "parabola opening outward with the line crossing it diagonally from top left to bottom right

Let's use horizontal rectangles (since x=f(y)x=f(y)) of width Δy\Delta y. Rotate one such rectangle about y=−3y=-3. Cut & flatten:

So,

V=∫−212π(y+3)(2−y−y2)dy=⋯=45π2\begin{array}{rcl} V &=& \int_{-2}^{1} 2 \pi (y + 3)(2 - y - y^2)dy \\ &=& \cdots \\ &=& \frac{45\pi}{2}\end{array}

6/1/20