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)?
We can approximate the area by rectangles. These approximations are called Riemann Sums
Definition - partition: A partition P for the interval [a,b] is a finite sequence of increasing numbers of the form
a=t0<t1<t2<⋯<tn−1<tn=b Notes :
This partition subdivides [a,b] into n subintervals: [t0,t1],[t1,t2],⋯,[tn−1,tn]. The length of the ith subinterval [ti−1,ti] is Δti=ti−ti−1
These subintervals do not need to have the same length
Definition - Regular n-partition: Given an interval [a,b] and n∈N, the regular n-partition is the partition P(n) with
a=t0<t1<t2<⋯<tn−1<tn=b
of $[a,b] where each subinterval ahs the same length Δti=nb−a
Right-hand Riemann Sum: The right-hand Riemann sum for f with respect to the partition P is the Riemann sum R obtained from P by choosing ci to be ti, the right hand endpoint of [ti−1,ti]. That is
R=i=1∑nf(ti)Δti.
If P(n) is the Regular n-partition, we denote the right hand Riemann sum by:
Lef-hand Riemann Sum: The left-hand Riemann sum for f with respect to the partition P is the Riemann sum R obtained from P by choosing ci to be ti, the left hand endpoint of [ti−1,ti]. That is
R=i=1∑nf(ti−1)Δti.
If P(n) is the Regular n-partition, we denote the left hand Riemann sum by:
The norm of the partition P is the length of widest subinterval:
∣∣P∣∣=max{Δt1,Δt2,⋯,Δtn}.
Definition: Given a bounded function f on [a,b], a partition P of [a,b], and a set {c1,c2,⋯,cn} where ci∈[ti−1,ti], then a Riemann sum for f with respect to P is
S=i=i∑nf(ci)Δti
Definition: We say f is integrable on [a,b] if there exists a unique I∈R such that whenever {Pn} is a sequence of partitions with limn→∞∣∣Pn∣∣=0 and Sn is any sequence of Riemann sums associated to the Pn's, we have limn→∞Sn=I
In this case, we call I the integral of f over [a,b] and denote it by
∫abf(x)dx
Note:
The f(x) is the integrand
The dx denotes the variable of integration
The a,b denote limits of integration
the whole expression denotes the definite integral
So, ∫abf(x)dx=I=limn→∞Sn.
It represents the exact area under f from a to b (signed - positive/negative)
Question: How do we know I exists? How do we calculate I
8/1/20
Some useful formulas:
∑i=1ni=2n(n+1)
∑i=1ni2=6n(n+1)(2n+1)
∑i=1ni3=2n(n+1)2
Example: Find I=∫04t+t3dt using R.S Solution:f(t)=t+t3 is continuous so f is integrable, so all Reimann sums converge to the same value I.
Let's choose a simple way to compute R.S:
Choose a regular(uniform) subdivisions
Δti=Δt=nb−a=n4−0=n4
Pick ci's to be at the right ends of subintervals
Geometric interpretation of ∫abf(x)dx:
If f(x)≥0 on [a,b], then ∫abf(x)dx≥0 and gives the area under f and above the x-axis. If f(x)≤0 on [a,b], then ∫abf(x)dx≤0. So ∫abf(x)dx gives the signed(positive/negative) area between f and the x-axis.
Example 3.1: Calculate ∫04(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].
1.4 Average value of a function
For n real numbers a1,a2,⋯,an the average is na1+a2+⋯+an. How do we extend this to a continuous function f on [a,b]?
We use a regular n-partition where the average is equal to limn→∞n∑i=1nf(ti). This is the average of each value at a given partition where the number of partitions approaches infinity.
Notice: limn→∞(n∑i=1nf(ti))=limn→∞n1∑i=1nf(ti) =limn→∞∑i=1nnf(ti)⋅b−ab−a =limn→∞b−a1∑i=1nf(ti)⋅nb−a =b−a1limn→∞∑i=1nf(ti)⋅nb−a =b−a1∫abf(x)dx
Definition: If f is continuous on [a,b] then the average value of f on [a,b] is faverage=b−a1∫abf(x)dx.
Theorem: Average Value Theorem (AVT) If f is continuous on [a,b], then ∃c∈[a,b] such that
f(c)=b−a1∫abf(x)dx
The point c is such that if a rectangle was drawn with points a,b,f(c) where f(c) represents the height, the area of this rectangle is equal to the signed area under f on [a,b]. Convince yourself as to why this is expected.
Proof of AVT: Assume f is continuous on [a,b].
By Extreme Value Theorem, ∃m,M∈R such that m≤f(x)≤M for all x∈[a,b]. Also ∃c1,c2∈[a,b] such that f(c1)=m and f(c2)=M.
Since m≤f(x)≤M by proposition 3 of integrals m(b−a)≤∫abf(x)dx≤M(b−a).
So m≤b−a1⋅∫abf(x)dx≤M,
or f(c1)≤b−a1⋅∫abf(x)dx≤f(c2).
Now by Intermediate Value Theoerem there exists some c between c1 and c2 such that f(c)=b−a1⋅∫abf(x)dx.
QED
13/1/20
Lecture 4: Fundamental Theorem of Calculus (FTC)
Definition: Suppose f is continuous on [a,b]. Define the integral function:
G(x)=∫axf(t)dt
G(x) is a function that returns the net (signed) area under f from a to x.
Theorem - The fundamental theorem of calculus part 1 (FTC 1): If f is continuous on an open interval I containing a point x=a, and if G(x)=∫axf(t)dt, then G(x) is differentiable at each x∈I and G′(x)=f(x). That is dxd∫axf(t)dt=f(x).
Proof: Assume f is continuous on I and G(x)=∫axf(t)dt.
Consider arbitrary x0∈I.
We will show G(x) is differentiable at x. and G′(x0)=f(x0) by showing,
Let ϵ>0. Since f is continuous at x0 so ∃δ>0 such that if 0<∣x−x0∣<δ then ∣f(x)−f(x0)∣<δ
Suppose 0<∣x−x0∣<δ
By AVT, there xists some c between x and x0 such that f(c)=x−x01∫x0xf(t)dt
Since c is between x and x0, we have 0<∣c−x0∣<δ as well.
Therefore, ∣f(c)−f(x0)∣<ϵ.
That is, ∣x−x0G(x)−G(x0)−f(x0)∣<ϵ
So, we have shown that for any ϵ>0, ∃δ>0 such that if 0<∣x−x0∣<δ then ∣x−x0G(x)−G(x0)−f(x0)∣<ϵ
By the definition of a limit, we've shown limx→x0x−x0G(x)−G(x0)=f(x0)
That is, G′(x0)=f(x0) (by the definition of derivative)
Example 4.1:G(x)=∫−2x(et−1)dt, determine G′(x):
Since et3−1 is continuous, by FTC 1,
G′(x)=dxd∫−2x(et3−1)dt=ex3−1
Example 4.2: Determine dxd∫−2x2(et3−1)dt
Since G(x)=∫−2x2(et3−1)dt
So
Definition: Given a function f1, an antiderivative of f is a function F such that
F′(x)=f(x)
Example: for f(x)=x, F(x)=2x2
Definition: The collection of all antiderivatives of f(x) is denoted by ∫f(x)dx. This is called the indefinite integral of f
By the antiderivative theorem, any two antiderivatives of f differ by a constant. Therefore, ∫f(x)dx=F(x)+c, where c∈R and F is any antiderivative of f (F′(x)=f(x))
The indefinite integral, ∫f(x)dx, is a family of functions, it represents all functions whose derivative is f(x), The definite integral,∫abf(x)dx, is a number defined as a limit of Riemann sums. It represents the signed area under f(x) from x=a to x=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 f is continuous on [a,b] and F is any antiderivative of f, then
∫abf(x)dx=F(b)−F(a)=F(x)∣ab
Note that F(x)ab means F(b)−F(a)
Example 5.1: Calculate ∫03(x3+2x)dx
∫03(x3+2x)dx===4x4+x2+c∣13,c=0481+94117
Proof of FTCII:
Suppose f is continuous on [a,b]. Consider G(x)=∫0xf(t)dt
By FTCI, G′(x)=f(x). That is, G(x) is an antiderivative of f(x).
Consider any antiderivative F(x) of f(x).
By the antiderivative theorem,
F(x)=G(x)+c, where c∈R
So,
Proof of:∫f(g(x))g′(x)dx=∫f(u)du
Since f is continuous on the range of g, by FTC1, there is a function f such that F′=f (that is, f has an antiderivative).
dxd(F(g(x)))=F′(g(x))g′(x)=f(g(x))g′(x)
So F(g(x)) is an antiderivative of f(g(x))g′(x).
∫f(g(x))g′(x)dx=F(g(x))+C=F(u)+C=∫f(u)du
Notation trick: If u=g(x) then du=g′(x)dx
Example 6.2:∫x(lnx)2dx Tip: A good choice for u is often u = function in the integrand whose derivative is also in the integrand.
Choose u=lnx⇒dxdu=x1⇒du=x1dx
∫x(lnx)2dx=∫u2du=3u3+C=3(lnx)3+C
Example 6.3:∫1+xdx Tip: Good choice for u is often u = a function whose inside another function
Choose u=x du=2x1dx so dx=2xdu=2udu ∫1+xdx=∫1+u2udu=2∫1+uudu
Example 6.4:∫tanxdx u=cosx⇒du=sinxdx ∫tanxdx=∫cosxsinxdx=−∫u1du=−ln∣u∣+C
Theorem: If g′(x) is continuous on [a,b] and f is continuous on the range of g, then
∫f(g(x)dx)=∫u=g(a)u=g(b)f(u)du
Proven in course notes on pages 52-53
Example 6.5:∫12x2ex1dx
Let u=x1du=x2−1dx x=1⇒u=1 x=2⇒u=21 ∫12x2ex1dx=−∫121eudu=∫211eudu=eu∣211=e−e21
Example 6.6:∫2ππsin2xcos3xdx =∫2ππsin2xcos2xcosxdx =∫2ππsin2x(1−sin2x)cosxdx
Let u=sinx, du=cosxdx =∫x=2πz=πu2(1−u2) =3u3−5u5∣x=2πx=π =3sin3x−5sin5x∣2ππ
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−y2 and x=0 about the y-axis
sketch
"sideways parabola opening to the left rotating about the the y axis"
Note that we would need to use horizontal rectangles with this shape (integrating with respect to y)
you could also do with respect to x using the shell method
Use horizontal rectangles of width Δy
From y=−5 to y=5 will get disks and the cross-sectional area of solid is π(5−y2)2
Therefore,
v===∫−55π(5−y2)2dy⋯3805π
Summary: we get disks/washers when we rotate
functions of x about horizontal lines (Ex: 13.2,13.3)
use vertical rectangles (integrate with respect to x)
functions of y about vertical lines (Ex: 14.1)
Use horizontal rectangles (integrate with respect to y)
Exercise: Rotate region in Ex 14.1 about x=6
Exercise: Find the volume of the cap heigh with h, of a sphere of radius r.
(cap is the top semi-sphere where h is the height from the top of the sphere to the base of the semi-sphere)
Example 14.2: Determine the volume of the solid obtained by rotating the region bounded by y=(x−1)(x−3)2, the x-axis, x=1 and x=3, about the y-axis
Sketch "from 1 to 3 it looks like a small hill going up from 1 and down to 3"
if we use horizontal rectangles we'll get washers, but to find the length of each rectangle would need to be determined using the inverse of the function (x values with respect to y), this is difficult for the given function
Instead we use vertical rectangles of width Δx and length (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)
What is the volume of one shell? "cut and flatten"
Width: Δx
Height: f(x)=(x−1)(x−3)2
Length: 2πr=2πx
So volume =2πxf(x)2Δx=2πx(x−1)(x−3)2Δx
Therefore total volume is
V===∫132πx(x−1)(x−3)2dx⋯524π
Example 14.3: Find the volume of solid obtained by rotating the region bounded by x=y2, x+y=2 about y=−3
Sketch "parabola opening outward with the line crossing it diagonally from top left to bottom right
Intersection points: (1,1), (4,−2)
Let's use horizontal rectangles (since x=f(y)) of width Δy. Rotate one such rectangle about y=−3. Cut & flatten: