Docsity

Midterm Exam Study Notes - Vector Calculus | MATH 20E, Study notes of Calculus

Toggle sidebar
bg1
1
Math 20E Midterm 2 Study Notes
C T
1 Multiple Integration: Overview of Concepts
The story so far: In the Beginning the Integral was created. This made (and still makes) a lot of people
very angry and was (and still is) widely regarded as a bad move (curse you, Newton! Curse you!!!).
Ok, not that story. The point of the material covered since the last midterm (Homeworks 5, 6, 7, 8)
has been to extend the idea of integration over higher-dimensional domains. We’d like to integrate
over domains that aren’t always nice and straight, but rather, regions that have curvy boundaries and
even regions with curvy interior. With the mass of different notation, techniques, etc. it is easy to get
confused. You shouldn’t feel too bad if you are a bit lost. Some burning questions you might have are
“What the heck is a surface integral? Vector surface integral? What’s a Jacobian and why do we need
it, and why does this kTu×Tvkmake a sudden, random appearance?” I’ll try to give a summary of all
these things, as it is always helpful to try to get the big picture.
1.1 Chapter 5
The material of chapter 5 is integration over flat 2 and 3-dimensional domains, but even though they
are flat on the inside, they can have funny boundaries. This issue never happens in 1 dimension be-
cause the boundary of an interval is always going to be 2 points!1But 2-dimensional domains can have
1-dimensional boundaries, and these can wiggle around. This wiggle-around business corresponds to
making the bounds of integration have complicated bounds that are functions of the variables that
haven’t already been integrated.
The regions of integration are usually described by some kind of inequalities: xlies in between
such and such, then yalso lies between such and such, which may also depend on what xis, etc. What
the book describes as a “simple region” is that we can choose one variable independently, say xto lie
in between two constants, and then the other variable can lie in between two numbers depending on
the first variable only. Often we can actually convert from the description in one variable to the other.
Like a disk in the plane (area bounded by a circle), which is usually written {(x,y) : x2+y2≤1}
can also be represented as the region {(x,y) : −1≤x≤1 and −√1−x2≤y≤√1−x2}, or
{(x,y) : −1≤y≤1 and −p1−y2≤x≤p1−y2}. The heart of the problem of interchanging the
order of integration is basically converting from one description of the domain to the other.
1.2 Chapter 6
Chapter 6 introduces a way to warp some kinds of domains with boundaries that are hard to work
with, into domains that are easier to handle. For example, integration over rectangles is always nice
because the bounds of integration are constants. Also, it may significantly simplify the integrand
(function to be integrated) itself. This leads to the idea of “transformations”—functions taking a
domain and changing it into something else. The confusing issue here is which way we’re going—
since transformations can go forward and back. In other words, what the heck are Dand D∗. So the
idea is, we assume that as given, our problem is described in the (x,y) or (x,y,z) domain and looks
complicated.
1Actually, in the study of Lebesgue integration—covered in the class I’m taking right now—we can integrate over crazy
weird domains even in one dimension; instead of intervals, for example, we can integrate over a scattered dust of points.
Thank goodness we usually don’t have to actually calculate these things!
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Midterm Exam Study Notes - Vector Calculus | MATH 20E and more Study notes Calculus in PDF only on Docsity!

Math 20E Midterm 2 Study Notes

C T

1 Multiple Integration: Overview of Concepts

The story so far: In the Beginning the Integral was created. This made (and still makes) a lot of people very angry and was (and still is) widely regarded as a bad move (curse you, Newton! Curse you!!!). Ok, not that story. The point of the material covered since the last midterm (Homeworks 5, 6, 7, 8) has been to extend the idea of integration over higher-dimensional domains. We’d like to integrate over domains that aren’t always nice and straight, but rather, regions that have curvy boundaries and even regions with curvy interior. With the mass of different notation, techniques, etc. it is easy to get confused. You shouldn’t feel too bad if you are a bit lost. Some burning questions you might have are “What the heck is a surface integral? Vector surface integral? What’s a Jacobian and why do we need it, and why does this ‖ T u × T v ‖ make a sudden, random appearance?” I’ll try to give a summary of all these things, as it is always helpful to try to get the big picture.

1.1 Chapter 5

The material of chapter 5 is integration over flat 2 and 3-dimensional domains, but even though they are flat on the inside, they can have funny boundaries. This issue never happens in 1 dimension be- cause the boundary of an interval is always going to be 2 points!^1 But 2-dimensional domains can have 1-dimensional boundaries, and these can wiggle around. This wiggle-around business corresponds to making the bounds of integration have complicated bounds that are functions of the variables that haven’t already been integrated. The regions of integration are usually described by some kind of inequalities: x lies in between such and such, then y also lies between such and such, which may also depend on what x is, etc. What the book describes as a “simple region” is that we can choose one variable independently, say x to lie in between two constants , and then the other variable can lie in between two numbers depending on the first variable only. Often we can actually convert from the description in one variable to the other. Like a disk in the plane (area bounded by a circle), which is usually written {( x , y ) : x^2 + y^2 ≤ 1 } can also be represented as the region {( x , y ) : − 1 ≤ x ≤ 1 and −

1 − x^2 ≤ y ≤

1 − x^2 }, or {( x , y ) : − 1 ≤ y ≤ 1 and −

1 − y^2 ≤ x ≤

1 − y^2 }. The heart of the problem of interchanging the order of integration is basically converting from one description of the domain to the other.

1.2 Chapter 6

Chapter 6 introduces a way to warp some kinds of domains with boundaries that are hard to work with, into domains that are easier to handle. For example, integration over rectangles is always nice because the bounds of integration are constants. Also, it may significantly simplify the integrand (function to be integrated) itself. This leads to the idea of “transformations”—functions taking a domain and changing it into something else. The confusing issue here is which way we’re going— since transformations can go forward and back. In other words, what the heck are D and D ∗. So the idea is, we assume that as given, our problem is described in the ( x , y ) or ( x , y , z ) domain and looks complicated.

(^1) Actually, in the study of Lebesgue integration—covered in the class I’m taking right now—we can integrate over crazy weird domains even in one dimension; instead of intervals, for example, we can integrate over a scattered dust of points. Thank goodness we usually don’t have to actually calculate these things!

2 1 MULTIPLE INTEGRATION: OVERVIEW OF CONCEPTS

The idea is if we can express ( x , y ) = T ( u , v ) for some transformation T , and the domain where it comes from can be expressed more simply, then we rewrite the domain D of the the given variables ( x , y ) in terms of the domain D ∗^ of the new variables ( u , v ). So really, computing the domain is running the T backwards from ( x , y ) to get ( u , v ). More relevant to computation: if we have D = {( x , y ) : a ≤ x ≤ b and f ( x ) ≤ y ≤ g ( x )} (a domain that is simple with respect to x ), and we have ( x , y ) = T ( u , v ) = ( T 1 ( u , v ), T 2 ( u , v )), then, to compute D ∗^ we substitute the x and y directly with T 1 ( u , v ) and T 2 ( u , v ) directly in the expression. So D ∗^ = {( u , v ) : a ≤ T 1 ( u , v ) ≤ b and f ( T 1 ( u , v )) ≤ T 2 ( u , v ) ≤ g ( T 1 ( u , v ))}. Then this satisfies T ( D ∗) = D or equivalently D ∗^ = T −^1 ( D ) the inverse function. The integrand will also be a function in terms of ( x , y ) so we also change it to be in terms of ( u , v ) as well. Finally, the Jacobian is necessary as a “correction factor”—integration is, at its heart, a system of measurement. In particular, it’s all about area and volume. So if our transformation warps space in a funny way, it will change area. The Jacobian corrects this and is analogous to the derivative of a composition of functions ( f ◦ g )′( t ) needing the extra g ′( t ) in is chain rule expansion f ′( g ( t )) g ′( t ). In other words, to finally get to the point, this method of integration is the multivariable “ u -substitution”—except now it’s really ( u , v )- (or even ( u , v , w )-) substitution. It’s summed up on the next formula: "

D

F ( x , y ) dx dy =

D ∗= T −^1 ( D )

F ( T ( u , v )) det[ D T ( u , v )] du dv

A “real” example will follow in a moment. The most well-known, and indeed most useful, are the coordinate transformations introduced the 2nd or 3rd week—polar coordinates (for 2-D problems) and cylindrical and spherical (for 3- D problems), which are P ( r , θ) = ( r cos θ, r sin θ), C ( r , θ, z ) = ( r cos θ, r sin θ, z ), and S (ρ, ϕ, θ) = (ρ sin ϕ cos θ, ρ sin ϕ sin θ, ρ cos ϕ). An illustrative example, then, is

x^2 + y^2 ≤ 1 e

x^2 + y^2 dx dy. Recogniz-

ing x^2 + y^2 , because we know this is r^2 , it swells in our hearts to convert to polar coordinates. So how do we re-express the domain D = {( x , y ) : x^2 + y^2 ≤ 1 } in terms of r and θ? We plug in what x is in terms of it, wherever it occurs, and similarly for y : D ∗^ = {( r , θ) : r^2 cos^2 θ+ r^2 sin^2 θ ≤ 1 }. Recognizing sin^2 θ + cos^2 θ = 1 we have D ∗^ = {( r , θ) : r^2 ≤ 1 } or since r is always positive, D ∗^ = {( r , θ) : 0 ≤ r ≤ 1 }. But what about θ? If no restriction is made on θ, its “natural range” is [0, 2 π]. The natural range of r which you will usually not have occasion to use unless you do improper integrals, is 0 ≤ r < ∞. In most cases you will end up explicitly computing a range for r and leave θ alone. Finally, the Jacobian:

D T ( r , θ) =

[

cos θ sin θ − r sin θ r cos θ

]

which has a determinant of r cos^2 θ + r sin^2 θ = r. So the integral is now "

r ≤ 1

er

2 r dr d θ =

∫ (^2) π

0

0

er

2 r dr d θ

Now that this beast has been reduced to two 1-dimensional integrals, you can bribe your friends in 20B to finish it off for you (except, of course, on the exam, but you won’t encounter nasty integrals there, anyway). For the interested, it’s a 1-variable u -substitution. For your reference the Jacobians for Cylindrical and Spherical are, respectively r and ρ^2 sin ϕ. These are worth memorizing.

1.3 Chapter 7

The subject of interest here is integration over domains where, not only the boundaries can be curvy, but the interiors can curve around, too. And here, things get interesting even in 1 dimension, since

4 2 EXAMPLES AND APPLICATIONS

integrals lies in the ds ’s and dS ’s, the central four formulæ are:

(1.1) ds = ‖ c ′( t )‖ dt

(1.2) d s = t ds = c ′( t ) dt

(1.3) dS = ‖ T u × T v ‖ du dv

(1.4) d S = n dS = ( T u × T v ) du dv

1.4 Other random conceptual notes

You will probably encounter problems asking about area of a region in the plane or area of a surface in space (and similarly, volume of a region in space, and arc length for curves). Integrals, as mentioned before, are about measurement—lengths, areas, volumes (the class in analysis I am taking is concerned with a lot of measure theory which is basically an abstract, super-fortified theory of integration). The most basic example of something you could compute with integrals, then, are areas. And indeed, in the beginning way back when, you learned about the integral as “the area under the curve.” Going one dimension up, we can integrate the volume under a surface. But this is only a special case of the integral as measurement in one dimension up. If you integrate the constant function 1 (i.e. no integrand at all), then it will give you the measure of the domain of integration—whether it is flat, has curvy boundaries, or has curvy interior. Indeed the “area under the curve” interpretation of a one-variable integral

∫ (^) b a f^ ( x )^ dx^ is really the area of the region in the plane defined by^ a^ ≤^ x^ ≤^ b , and 0 ≤ y ≤ f ( x ). so that we can simply recast the integral

∫ (^) b

a

f ( x ) dx =

∫ (^) b

a

∫ (^) f ( x )

0

1 dy dx

(to make a simple thing more complicated =). Also

∫ (^) b a^1 dx^ =^ b^ −^ a^ as I hope you can compute, which is the length of [ a , b ]. Similarly, area of a region is the double integral of 1 over that region, surface area of a parameterized surface is the surface integral of 1, length of a curve is the path integral of 1, and volume of a region in space is the triple integral of 1. Now when we have an integrand which is some function G , this is really assigning a kind of “weighting function” which somehow makes the area in one part of the domain “count more” than the other. And if G becomes negative some parts count as negative and actually subtract from the total contribution. This is why, for example, we can calculate things like masses from “density functions”—because this says, really, parts of your domain are denser than others and can contribute more to the total mass of the region you’re calculating over. This is the big, conceptual thing about integration, and it is the reason why the Integral was invented (despite the fact that it still makes a lot of people angry).

2 Examples and Applications

2.1 Finding Transformations and Parameterizations

Finding transformations and parameterizations can be a tough thing to do and it is half the battle in computing these integrals. There are no general rules of thumb for changing an arbitrary thing into another arbitrary thing—there are just too many different possibilities. We have to do things like take advantage of symmetry, linearity, or whatever simplifying assumption we can get our hands on. Generally for transformation problems (same dimension to same dimension) you are given some transformation and asked to compute the image of some domain, or the Jacobian, etc. The most

2.1 Finding Transformations and Parameterizations 5

useful “find a transformation” kind of problem is using polar, cylindrical, and spherical coordinates. Generally you do this when you see expressions such as x^2 + y^2 or x^2 + y^2 + z^2 in either the integrand or the description of the domain, or some other thing that makes it obvious that these transformations are required. The other thing you will often see is scaling of the coordinates. Here is a not-completely- trivial example given in the homework:

Example 2.1.1. Compute the volume of the ellipsoid

E = {( x , y , z ) : x^2 a^2

y^2 b^2

z^2 c^2

and also calculate

E

x^2 a^2 +^

y^2 b^2 +^

z^2 c^2

dV. This almost looks like a x^2 + y^2 + z^2 expression, but not quite. But it is still the sum of 3 squares, except some things are scaled. This suggests the substitution u = x / a , v = y / b and w = z / c. Then

indeed this reduces x 2 a^2 +^

y^2 b^2 +^

z^2 c^2 to^ u

(^2) + v (^2) + w (^2). Our new domain E ∗ (^) = {( u , v , w ) : u (^2) + v (^2) + w (^2) ≤ 1 },

obtained by simply substituting u for x / a , v for y / b , and w = z / c. in the expression defining E. So our domain is now a sphere. We must compute the Jacobian, except now it has to be in terms of x , y , z , so we have x = au , y = bv , and z = cw. The matrix ∂( x , y , z )/∂( u , v , w ) is therefore matrix given by a , b , and c on the diagonal. So the determinant is abc. For the volume problem we have

V ( E ) =

E

1 dV =

E ∗

abc dV = abc

E ∗

1 dV

which is abc times the volume of the unit ball E ∗^ which we already know to be 43 π. So the answer is 4 3 π abc. On the other hand, to do the other guy we have $

E

x^2 a^2

y^2 b^2

z^2 c^2

dV =

E ∗

( u^2 + v^2 + w^2 ) abc dV = abc

E ∗

( u^2 + v^2 + w^2 ) dV

Now this as it stands is hard to evaluate. But what swells in our heart when we see the sum of 3 variables squared? Spherical coordinates. Except this time we have to use u = ρ sin ϕ cos θ, v = ρ sin ϕ sin θ and w = ρ cos ϕ, instead of x =, y =, and z = the above (the spherical coordinate transformation ) is useful for variables by any name. Hence

abc

E ∗

( u^2 + v^2 + w^2 ) dV = abc

∫ (^2) π

0

∫ (^) π

0

0

ρ^2 (ρ^2 sin ϕ) d ρ d ϕ d θ

(recall that the ρ^2 sin ϕ is the Jacobian, and the unit ball has the description {(ρ, ϕ, θ) : 0 ≤ ρ ≤

1 , 0 ≤ ϕ ≤ π, 0 ≤ θ ≤ 2 π}). We can separate these integrals out to get 2π

(∫ (^) π 0 sin^ ϕ^ d ϕ

0 ρ

(^4) d ρ

∫ (^) π 0 sin^ ϕ^ =^ −^ cos(π)^ +^ cos(0)^ =^ 2 and finally the last one is 1

(^5) / 5 = 1 /5. The total answer is then 4 5 π^ abc^ (congratulations, you’ve just computed the rotational inertia of an ellipsoid with respect to the origin in 4-space). The astute reader may have noticed that we could have killed two birds with one stone via the transformation x = a ρ sin ϕ cos θ, y = b ρ sin ϕ sin θ and z = c ρ cos ϕ which gets rid of the intermediate u , v , and w , but I do think it is better, when seeing this kind of thing for the first time, to look at it in two steps as each one is conceptually easier. Plus it gives us the opportunity to take a look at two different transformations—giving us practice.

2.1 Finding Transformations and Parameterizations 7

Example 2.1.2 (Archimedian Spiral). Everyone’s favorite spiral in the plane is the spiral given by r = θ. That is, r , the planar distance from the origin, gets larger in direct proportion θ. So we have the “graph parameterization” (θ, θ) (or ( r , r ), it does not matter which). Changing to the actual 2D parameterization we see that (θ cos θ, θ sin θ) is it.

Example 2.1.3 (Sphere). Ahh, this is the prime example and it will get you through many, many homework problems. It is possible to do parameterizations in all 3 different ways here. Suppose our sphere is given by x^2 + y^2 + z^2 = R^2 where R is the radius. We solve for z , so that z =

R^2 − x^2 − y^2 and z = −

R^2 − x^2 − y^2 parameterize the upper and lower hemispheres, respectively. So the whole sphere is given by two graph parameterizations

T 1 ( x , y ) =

x , y ,

R^2 − x^2 − y^2

T 2 ( x , y ) =

x , y , −

R^2 − x^2 − y^2

over the domain x^2 + y^2 ≤ R^2 (note that the domain of a graph parameterization is always the projection of the thing into the xy -plane, which is effectively accomplished by setting z = 0). For cylindrical coordinates we have z^2 + r^2 = R^2. If we solve for z again, we will get exactly the same as above except with r^2 replacing x^2 + y^2. So our “graph parameterization” is ( r , θ,

R^2 − r^2 ) and the so that we have

T 1 ( r , θ) =

r cos θ, r sin θ,

R^2 − r^2

T 2 ( r , θ) =

r cos θ, r sin θ, −

R^2 − r^2

with r^2 ≤ 1 or r ≤ 1 as the domain (θ goes in its natural range 0 ≤ θ ≤ 2 π when there is no restriction on it, recall). We can also solve for r which will actually alleviate having to break the thing into two pieces. Getting r =

R^2 − z^2 we have, substituting,

T (θ, z ) =

R^2 − z^2 cos θ,

R^2 − z^2 sin θ, z

Here we have − 1 ≤ z ≤ 1 and 0 ≤ θ ≤ 2 π. Finally, in spherical, this is the best: we have ρ = R a constant. So just plugging in R directly we have T (ϕ, θ) = ( R sin ϕ cos θ, R sin ϕ sin θ, R cos ϕ).

For things like hemispheres, etc. we would vary ϕ from 0 to π/2 instead of 0 to π.

Example 2.1.4 (Cone). Consider the cone z^2 = x^2 + y^2 with z ≥ 0. In cylindrical this is r = z so apply- ing the same techniques as above we have ( z cos θ, z sin θ, z ) with z ≥ 0, and 0 ≤ θ ≤ 2 π. But the cone also has a simpler description in spherical coordinates, ϕ = π/4. This gives another parameterization, (ρ(

2 /2) cos θ, ρ(

2 /2) sin θ, ρ

2 /2) since cos(ϕ) = cos(π/4) = sin(π/4) =

Example 2.1.5 (Paraboloid). The paraboloid is given by z = x^2 + y^2. So therefore, of course, the parameterization ( x , y , x^2 + y^2 ) works. However, cylindrically we have ( r cos θ, r sin θ, r^2 ). We might ask ourselves, which representation is “better.” They are equally good, but it really depends on what part of the paraboloid you want—what’s the domain of integration going to be. For example if you want a domain circularly shaped, say it satisfies x^2 + y^2 ≤ R^2 , then cylindrical is better, since then the domain would be described by r ≤ R and 0 ≤ θ ≤ 2 π) (remember the goal is to simplify bounds of integration, etc). On the other hand if you want to reduce it to a rectangle or triangle in the plane, the regular graph parameterization will do.

8 2 EXAMPLES AND APPLICATIONS

2.2 Example Line and Surface Integrals

Ok enough talk, time for action.

Problem 2.1. Given a hemisphere S defined by z =

R^2 − x^2 − y^2 with z ≥ 0 , and x^2 + y^2 ≤ 1 , we have a mass density function m ( x , y , z ) = x^2 + y^2 on it. Find the total mass.

Solution. The total mass is going to be, of course,

S ( x

(^2) + y (^2) ) dS. Incidentally, this is also going

to calculate the rotational inertia of a hemisphere of radius R of uniform density about the z -axis. Using spherical coordinates we have S is parameterized by ( R sin ϕ cos θ, R sin ϕ sin θ, R cos ϕ) with 0 ≤ θ ≤ 2 π, 0 ≤ ϕ ≤ π/2 (note it’s only up to π/2 because it’s only the top half of the sphere). We find the integrand, when substituting this guy for x and y , is ρ^2 sin^2 ϕ (because sin^2 θ + cos^2 θ = 1). So we have (^) "

S

ρ^2 sin^2 ϕ dS

But now dS = ‖ T ϕ × T θ‖ d ϕ d θ so we have to calculate the cross-product thingy. We have

T ϕ = ( R cos ϕ cos θ, R cos ϕ sin θ, − R sin ϕ) T θ = (− R sin ϕ sin θ, R sin ϕ cos θ, 0)

After a bit of tædium we find that

T ϕ × T θ = R^2 sin ϕ(sin ϕ cos θ, sin ϕ sin θ, cos ϕ)

and that it has magnitude R^2 sin ϕ. Hence the total mass is going to be

∫ (^2) π

0

∫ (^) π/ 2

0

( R^2 sin^2 ϕ)( R^2 sin ϕ) d ϕ d θ =

∫ (^2) π

0

∫ (^) π/ 2

0

R^4 sin^3 ϕ d ϕ d θ

and pulling R^4 out we have that the sine integral is one of the standard trigonometric integrals (use that sin^3 ϕ = sin ϕ(1 − cos^2 ϕ) and substitute u = cos ϕ. I remind the dear reader that actual final evaluation of 1-dimensional integrals is not the important issue for this exam). 

Problem 2.2. Evaluate the integral

S F^ ·^ d S^ where^ F^ is the vector field^ (2 x ,^2 y ,^2 z )^ through the paraboloid z = x^2 + y^2 + 1 , x^2 + y^2 ≤ 1 , where the normal points upward, away from the origin (i.e. calculate the flux of F thru a paraboloid).

Solution. Note that unless the surface is closed (that is, has no edges, or has a clear inside and outside), the direction of the normal must be specified in the problem. If it is closed, convention is to take it to point outward. We will give an example of such a problem shortly. Now the paraboloid in this example is almost the paraboloid in the example in the previous section except z is shifted up by one. Since the domain is circular we will use cylindrical coordinates to arrive at ( r cos θ, r sin θ, r^2 + 1). We have two candidates for a normal vector, namely Tr × T θ or T θ × Tr which is just the negative of the other. The specification given is “pointing upward” so this means the one we want is the one with positive z -coordinate. So we have Tr = (cos θ, sin θ, 2 r )

and T θ = (− r sin θ, r cos θ, 0)