Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1 Lecture 16 (03/09/17)
Techniques for finding extreme values of continuous functions f (x, y) on closed,
bounded sets D ⊆ R: Will be using an approach called Lagrange Multipliers to optimize
things. Function defined on closed & bounded set, has extreme values. How do we find
where they occur? We know they exist, but existence doesn’t tell us how to produce the
extreme values.
3. The largest and smallest of these values of f are its extreme values on D.
0, y ≥ 0}.
fx (x, y) = y 2 , fy (x, y) = 2xy
Solve 0 = y 2 , 0 = 2xy
√
y = 0 Now we know (x, 0) is a critical point for any 0 ≤ x ≤ 3
We can move on to step 2.
2) f (x, 0) = 0, f (0, y) = 0
To check the last part of D, notice
√ 2
f (x, y) = x 3 − x2 = x(3 − x2 ) on D
= g 0 (x) = 3 − 3x2
0 = 3(1 − x2 )
0 = 3(1 − x)(1 + x) =⇒ x = ±1 =⇒ x = 1
Page 1 of 14
MATH 222 1 LECTURE 16 (03/09/17) Julian Lore
√ √
1 + y 2 = 3 =⇒ y = 3 − 1 = 2
√
f (1, 2) ← absolute maximum
f (x, 0) ← absolute minimum
Start with a surface S given by g(x, y, z) = k and assume that f (x, y, z) has an extreme
value on S. Call it (x0 , y0 , z0 ). Now let C be any smooth curve r(t) = hx(t), y(t), z(t)i lying
in S and contains (x0 , y0 , z0 ). Say r(t0 ) = hx0 , y0 , z0 i.
Since F has an extreme value at xo , y0 , z0 , the function h(t) = f (x(t), y(t), z(t)) has an
extreme value there.
Page 2 of 14
MATH 222 1 LECTURE 16 (03/09/17) Julian Lore
= ∇f (x0 , y0 , z0 ) · r0 (t0 )
Method of Lagrange multipliers: To find the maximum and minimum values of f (x, y, z, )
subject to g(x, y, z) = k [assuming that these extreme values exist and ∇g 6= 0 on g(x, y, z) =
k]:
(b) Evaluate f at all these points (x, y, z). The largest and smallest, resp., are the maximum
and minimum values of f .
g(x,y)
z }| {
Example: Find the extreme values of f (x, y) = xy on the curve 3x2 + y 2 = 6.
Solve fx = λgx , fy = λgy , 3x2 + y 2 = 6.
y = λ6x, x = λ2y, 3x2 + y 2 = 6.
One thing you want to look at is if you have any constraints on x, y or λ, want to know if
they aren’t 0 so we can divide.
Second line shows us that neither y nor x is 0, otherwise it would contradict last equation.
y = λ6(λ2y) = 12λ2 y
=⇒ 1 = 12λ2
1
±√ =λ
12
Page 3 of 14
MATH 222 1 LECTURE 16 (03/09/17) Julian Lore
=⇒ 3 + y 2 = 6
y2 = 3
√
y=± 3
Critical points:
√
• (1, 3) Maximum value
√
• (−1, 3) Minimum
√
• (1, − 3) Minimum
√
• (−1, − 3) Maximum
Example 2: Find the points on x2 + y 2 + z 2 = 4 that are closest to and farthest from
(3, 1, −1).
41
Midterm Average: 70
42
Median: 70
Page 4 of 14
MATH 222 2 LECTURE 17 (03/14/17) Julian Lore
2 Lecture 17 (03/14/17)
Integration over rectangles
Z b n
X
f (x)dx ≈ f( x∗i )∆x
a i=1
|{z}
sample points
n approximating rectangles for sum. each rectangle has width δx and height f (x∗i )
Z b n
X
f (x)dx = lim f (x∗i )∆x
a n→∞
i=1
Rij = [xi−1 , xi ] × [yj−1 , yj ], and note that Rij has area ∆A = ∆x∆y
Next, choose a sample point (x∗i , yj∗ ) from each Rij .
m X
X n
Volume of S ≈ f (x∗i , yj∗ )∆A
i=1 j=1
Page 5 of 14
MATH 222 2 LECTURE 17 (03/14/17) Julian Lore
Definition 1. Given a function f (x, y), we define the double integral of f over rectangle R
to be: ZZ m X n
X
f (x, y)dA = lim f (x∗i , yj∗ )∆A
R m,n→∞
i=1 j=1
| {z }
Double Riemann Sum
Ex: ZZ
Evaluate 2x + 1dA where R = [0, 2] × [0, 4]
R
RR
(i.e. plane R 2x + 1dA over R = [0, 2] × [0, 4])
We will do this by interpreting it as a volume.
1
Volume of S hLw
2
1
= 1(4)(2)+ (4)(4)(2)
2
= 8 + 8(2) = 24
Page 6 of 14
MATH 222 2 LECTURE 17 (03/14/17) Julian Lore
RR
Ex: Use the contour map of f (x, y) on R = [0, 4] × [0, 4] to estimate R
f (x, y)dA with
m = n = 2.
Z d Z b Z d Z b
f (x, y)dx : dy = f (x, y)dy dx
c a c a
Sometimes integrating w.r.t. x first is easier, or vice versa. Both integrals give you the same
result, like Clairaut’s Theorem.
Theorem 1. Fubini’s Theorem: If f is continuous on R = [a, b] × [c, d], then
ZZ Z bZ d Z d Z b
f (x, y)dA = f (x, y)dy : dx = f (x, y)dx : dy
R a c c a
Remark: Since the order of integration doesn’t matter, we should try to find the order
that makes computation as easy as possible.
Ex: Evaluate ZZ
x
dA, R = [0, 1] × [0, 1]
R 1 + xy
Page 7 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
Z 1 Z 1 Z 1 Z 1
x
dy : dx = ln (1 + xy)|1y=0 dx = ln (1 + x)dx
0 0 1 + xy 0 0
R R R u = ln (x) v=x
Recall ln xdx is calculated using integration by parts ( udv−uv− vdu)
du = x1 dx dv = dx
R
= ln (x)x − dx − ln (x)x − x + c
ln (u)du = u ln (u) − u + c Thus
Z 1
ln (1 + x)dx = (x + 1) ln (x + 1) − x − 1|1x=0 = 2 ln(2) − 2 − (−1) = 2 ln(2) − 1
0
Ex: ZZ
xexy dA where R = [−1, 2] × [0, 1]
R
ZZ Z 2 Z 1 Z 2
xy xy
xe dA = xe dy : dx = exy |1y=0 dx
R −1 0 −1
Z2
= ex − 1dx = [ex − x]2x=−1 = e2 − 2 − (e−1 − (−1))
−1
1 1
= e2 − 2 − − 1 = e2 − − 3
e e
Ex: ZZ h πi
x sec2 (y)dA where R = [0, 2] × 0,
R 4
3 Lecture 18 03/16/17
Ex: ZZ h πi
x sec2 (y)dA where R = [0, 2] × 0,
R 4
→
Z 2 Z π/4 Z x
2
x sec (y)dy dx = [x tan y]π/4
y=0 dx
0 0 0
Z 2
1
= x(1) − 0 : dx = x2 |20 = 2
0 2
Page 8 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
D = [a, b] × [c, d]
Page 9 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
A region D is type II if
As above,
ZZ Z d Z h2 (y)
f (x, y)dA = f (x, y)dx dy
D c h1 (y)
Ex: ZZ
Evaluate 4xy − y 3 dA
D
Page 10 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
√ √ √
where D is bounded by y = x, y = x3 . For 0 ≤ x ≤ 1, x3 ≤ x and for 1 ≤ x, x ≤ x3 .
√
D = {(x, y) : 0 ≤ x ≤ 1, x3 ≤ y ≤ x} Type I
ZZ Z 1 Z √x
4xy − y 3 dA = 4xy − y 3 dy dx
D 0 x3
Z 1 √ x Z 1
1 1 1
= 2xy − y 4
2
dx = 2x2 − x2 −2x7 + x12 dx
0 4 y=x3 0 | {z 4 } 4
7 2
4
x
1
7 3 1 8 1 13
= x − x + x
12 4 4(15) x=0
7 3 1 1 1 55
= − + = + =
12 12 52 3 52 156
Ex: ZZ
Evaluate 6x2 − 40ydA
D
where D is the triangle with vertices (0, 3), (1, 1), (5, 3).
Tricky to set up the integral, good exam question to just set up integral, may not even have
to evaluate
Page 11 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
Type II :
Z 3 Z 2y−1
6x2 − 40ydx dy
0 − 12 y+ 32
Type I
ZZ ZZ ZZ
2 ∗
6x − 40ydA = f (x, y)dA + f (x, y)dA
D D1 D2
Z 1Z 3 Z 5Z 3
2
= 6x − 40ydy dx + 6x7 − 40ydy dx
1
0 −2x+3 1 2
x+ 12
i) ZZ ZZ ZZ
(f (x, y) + g(x, y))dA = f (x, y)dA + g(x, y)dA
D D D
ii) ZZ ZZ
cF (x, y)dA = c F (x, y)dA c is any constant
D D
iii)
If g(x, y) ≤ f (x, y) for any (x, y) in D, then
ZZ
g(x, y)dA ≤ f (x, y)dA
D
iv)
We might use (iv) to evaluate integrals or double integrals for regions that are neither
type I or type II, but can be decomposed into the union of type I and type II regions.
Page 12 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
ZZ ZZ ZZ ZZ
f (x, y)dA = f (x, y)dA + f (x, y)dA + f (x, y)dA
D1∪D2∪D3 D1 D2 D3
| {z }
=2e
ZZ
−2π ≤ f (x, y)dA ≤ 6
D1
ZZ
0≤ f (x, y)dA ≤ 2
D2
Smallest: −2π + 2e
Biggest: 8 + 2e
Page 13 of 14
MATH 222 3 LECTURE 18 03/16/17 Julian Lore
RR
Ex: Evaluate D
y dA1 D is bounded by y = x − 2, x = y 2
y =x−2 x = y2
y+2=x y + 2 = y2
y = −1 y + 2 = y2 − y − 2
x=1 0 = (y − 2)(y + 1)
y = 2, −1
y=2
x=4
Type II Z 2 Z y+2
y dx dy
−1 y2
Type I √ ! √ !
Z 1 Z x Z 4 Z x
√
y dy dx + y dy dx i
0 − x 1 x−2
Page 14 of 14