contents - colby collegepersonal.colby.edu/personal/s/sataylor/teaching/f10/ma302/vectorc… ·...

86
MA 302: Selected Course notes CONTENTS 1. Basic Concepts and Review from MA 122 3 1.1. Euclidean Vector spaces 3 1.2. Linear functions and matrices 5 2. Visualizing functions f : R n R m 9 2.1. Visualizing functions f : R R and f : R 2 R. 9 3. Differentiation 11 3.1. Partial Derivatives 11 3.2. Affine Approximation 13 4. Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent Spaces 23 5.2. Other coordinate systems on tangent spaces 24 5.3. Parameterizing interesting curves 25 6. Arc Length 27 7. Reparameterizing functions f : R R n 31 7.1. Parameterizing by arc length 33 8. Kepler’s Laws of Motion 36 8.1. The geometry of space curves 39 9. Integrating over functions f : R R n 43 10. Scalar Fields and Vector Fields 46 10.1. Gradient 49 10.2. Divergence 52 10.3. Curl 52 1

Upload: others

Post on 26-Sep-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

MA 302: Selected Course notes

CONTENTS

1. Basic Concepts and Review from MA 122 3

1.1. Euclidean Vector spaces 3

1.2. Linear functions and matrices 5

2. Visualizing functions f : Rn→ Rm 9

2.1. Visualizing functions f : R→ R and f : R2→ R. 9

3. Differentiation 11

3.1. Partial Derivatives 11

3.2. Affine Approximation 13

4. Space Curves 20

5. Direction Vectors and Tangent spaces 22

5.1. Derivatives and Tangent Spaces 23

5.2. Other coordinate systems on tangent spaces 24

5.3. Parameterizing interesting curves 25

6. Arc Length 27

7. Reparameterizing functions f : R→ Rn 31

7.1. Parameterizing by arc length 33

8. Kepler’s Laws of Motion 36

8.1. The geometry of space curves 39

9. Integrating over functions f : R→ Rn 43

10. Scalar Fields and Vector Fields 46

10.1. Gradient 49

10.2. Divergence 52

10.3. Curl 521

Page 2: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

2

10.4. The relationship of Grad, Curl, Div 54

11. Interlude: Some Topological Notions 55

12. Integration of Scalar Fields and Vector Fields on Rn overCurves 57

12.1. Conservative Vector Fields have Path Independent LineIntegrals 59

13. The Fundamental Theorem of Calculus Revisited 61

14. Double Integration and Iterated Integrals 63

14.1. Integrals over Rectangles 63

14.2. Integrals over other regions 64

14.3. Elementary Regions 65

15. Green’s Theorem 68

15.1. Examples relevant to Green’s Theorem 68

16. Proof of Green’s Theorem 71

17. When is a field conservative? 71

18. Surfaces 74

18.1. The Topological idea of a Surface 74

18.2. Parameterizations of Surfaces in R3 74

18.3. Surface Integrals 76

18.4. Reparameterizations 76

18.5. Surface Integrals: Definitions and Calculations 79

19. Flux 80

20. Stokes’ and Gauss’ Theorems 82

21. Gravity 82

22. Cohomology Theory 85

Page 3: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

3

1. BASIC CONCEPTS AND REVIEW FROM MA 122

1.1. Euclidean Vector spaces. In this course, a vector space will alwaysconsist of a set of the form:

Rn = {(x1,x2, . . . ,xn) : xi ∈ R}with component wise addition and scalar multiplication. For example, inR3:

(1,2,3)+(−5,4,16) = (−4,6,19)and √

3(1,2,3) = (√

3,2√

3,3√

3).

In these notes, an element (called a vector) of Rn for n ≥ 2 will be oftenbe denoted in bold face, (eg. x). On the blackboard, vectors are usuallydenoted by ~x. If x = (x1,x2, . . . ,xn) ∈ Rn, the numbers xi are called thecoordinates or components of x. We will often write a vector (x1, . . . ,xn)

in vertical format as

x1x2...

xn

. The zero vector is the vector 0 = (0,0, . . . ,0).

In Rn, the standard basis vectors (for rectangular coordinates) are

e1 = (1,0,0, . . . ,0)e2 = (0,1,0, . . . ,0)

...en = (0,0, . . . ,0,1)

That is, ei is the vector with the ith coordinate equal to 1 and all othercoordinates equal to 0. Notice that

(x1,x2, . . . ,xn) = x1e1 + x2e2 + . . .+ xnen.

In R2 the standard basis vectors are sometimes denoted by i and j instead ofe1, and e2. In R3 the standard basis vectors are sometimes denoted i, j, andk instead of e1, e2, and e3.

We can picture a vector x in R2 or R3 as an arrow with base at 0 and the tipof the arrowhead at x.

The act of multiplying a vector x∈Rn by a scalar k ∈R, stretches the arrowrepresenting x if k > 1 and shrinks the arrow representing x if 0 < k < 1.If k < 0, the vector kx is represented by an arrow pointing in the direction

Page 4: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

4

FIGURE 1. The vector (.8,2.4) is in blue and the vector(1.6,2.4) is in red.

opposite the arrow representing x. The sum of two vectors in R2 or R3 canbe found using the parallelogram rule as in Figure 2.

FIGURE 2. The sum of the red vector and the blue vector isthe purple vector.

1.1.1. Length and Distance. Given a vector x = (x1,x2, . . . ,xn) in Rn, itslength (or magnitude or norm) is denoted

||x||=√

x21 + x2

2 + . . .+ x2n.

The (Euclidean) distance between two vectors x and y is defined to be

||x−y||.

Page 5: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

5

1.1.2. Dot product. If x = (x1, . . . ,xn) and y = (y1, . . . ,yn) are two vectorsin Rn their dot product is defined to be:

x ·y = x1y1 + x2y2 + . . .+ xnyn.

Notice that this means that for any vector x ∈ Rn,

||x||2 = x ·x.

Theorem 1.1. Suppose that u,v,w ∈ Rn and that k, l,m ∈ R. Thenthe following are true:

(a) (Commutativity)

u ·v = v ·u

(b) (Vector Distributativity)

u · (v+w) = u ·v+u ·w

(c) (Scalar Associativity)

k(u ·v) = (ku) ·v = u · (kv)

1.2. Linear functions and matrices. The importance of linear functionsarises from their ability to approximate differentiable functions.

1.2.1. Linear functions. A function f : Rn→Rm is a linear function if forall x,y ∈ Rn and for all k, l ∈ R:

f (kx+ ly) = k f (x)+ ly.

Exercise 1.2. Prove that the linear functions f : R→ R are exactly thoseof the form f (x) = mx for some m ∈ R.

A function g : Rn→Rm is an affine function if there exists a linear functionf : Rn→ Rm and a vector b ∈ Rm such that for all x ∈ Rn.

g(x) = f (x)+b.

Exercise 1.3. Prove that a function g : R→R is affine if and only if it is ofthe form g(x) = mx+b for some fixed m,b ∈ R.

Exercise 1.4. Give examples of linear functions R2 → R, R→ R2, andR2→ R2.

Page 6: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

6

1.2.2. Matrices. An m×n matrix M is an array of the form

M =

a11 a12 . . . a1na21 a22 . . . a2n

...am1 am2 . . . amn

.

We will sometimes place the dimensions of the matrix as subscripts on thename of the matrix. Thus we might write Mmn for the above matrix.

If we letr1 = (a11,a12, . . . ,a1n)r2 = (a21,a22, . . . ,a2n)

...rm = (am1,am2, . . . ,amn)

we can write the matrix Mmn as

M =

r1r2...

rm

.

Similarly, if we let c1, . . . ,cn be the columns of Mmn then we can write

M =(c1 c2 . . . cn

).

Suppose that

Amn =

A1A2...

Am

and

Bnp =(B1 B2 . . . Bp

)are both matrices where Ai is the ith row of A and B j is the jth column ofB. Botice that both Ai and Bj are in Rn. Then the product AB is an m× pmatrix defined by

AB =

A1 ·B1 A1 ·B2 . . . A1 ·BpA2 ·B1 A2 ·B2 . . . A2 ·Bp

...Am ·B1 A1 ·B2 . . . Am ·Bp

That is, the entry in the ith row and jth column of AB is the dot product ofthe ith row of A with the jth column of B.

Page 7: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

7

Exercise 1.5. Let A =

1 2 34 5 67 8 9

and let B =

−1 7 −10 2 −26 −3 0

. Let v =

(3,1,−5).

(a) Calculate AB

(b) Calculate BA

(c) Calculate Av and Bv.

(d) Let ei be the ith basis vector of R3. Calculate Aei and Bei.

If A is a matrix and if k ∈R, then kA is defined to be the matrix obtained bymultiplying all the entries of A by k. If A and B are matrices with the samedimensions, then A+B is defined to be the matrix obtained by adding thecorresponding entries of A and B.

Exercise 1.6. Let A =

1 2 34 5 67 8 9

and let k = 2. Write down all the entries

of kA.

Exercise 1.7. Let A=

1 2 34 5 67 8 9

and let B=

−1 7 −10 2 −26 −3 0

. Compute

A+B.

The following theorem should come as no surprise:

Theorem 1.8. Suppose that A,B,C are matrices and that k, l ∈ Rsuch that all expressions in what follows are defined. Then

(a) A(BC) = (AB)C

(b) A(B+C) = AB+AC

(c) (A+B)C = AC+BC.

(d) (kA)BC = k(ABC)

(e) (k+ l)A = kA+ lA

Exercise 1.9. Let A =

(1 2 34 5 6

). Let v = (−4,8,2).

(a) Calculate Av.

(b) Define a function by f (x) =Ax. What are the domain and codomainof f ? Show that f is a linear function.

Page 8: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

8

The n×n identity matrix In is the matrix(e1 . . . en

), where ei is the ith

basis vector of Rn.

Exercise 1.10. (a) Suppose that A is an arbitrary n×n matrix. Explainwhy IA = AI = A.

(b) If A is an m×n matrix such that m 6= n, is it still true that IA = AI =A? Why or why not?

The following theorem is fundamental to linear algebra. It is typicallyproved in a linear algebra course.

Theorem 1.11. A function f : Rn→Rm is linear if and only if thereis an m×n matrix A such that f (x) = Ax for all x ∈ Rn.

Exercise 1.12. Consider the grid on R2 given by horizontal lines at integery values and vertical lines at integer x values. What happens to this gridunder the linear function f : R2→ R2 given by

f (x) =(

1 2−1 2

)x.

Page 9: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

9

2. VISUALIZING FUNCTIONS f : Rn→ Rm

There are three basic situations to consider n < m, n = m, and n > m. Fur-thermore, we will almost always be considering the following types of func-tions:

• f : R→ R (the subject of Calculus I)• f : R2→ R and f : R3→ R (the subject of Calculus II)• f : R→ R2, and f : R→ R3 (parameterized curves)• f : R2→ R3 (a parameterized surface)• f : R2→ R2 and f : R3→ R3 (vector fields)

2.1. Visualizing functions f : R→R and f : R2→R. If f : R→R thenwe (in principle) can draw the graph of f in R2 with the horizontal axisrepresenting the domain and the vertical axis representing the codomain. Iff : R2→R then we can draw the graph of f in R3 with the horizontal planerepresenting the domain and the vertical axis representing the codomain.

Exercise 2.1. Define f : R2→ R by f (x) = ||x||. Sketch the graph of f inR3.

Humans often have a difficult time visualizing objects in R3. One of themost common methods of trying to gain a better understanding of an ojectin R3 is to slice it by planes parallel to one of the xy, yz, or xz planes inR3. This corresponds to fixing f (x,y), x, or y (respectively). Here are twoexamples:

Example 2.2. Draw 3 slices of the graph of f (x,y) = x2−2y2 using x-slices(that is slices parallel to the yz-plane.)

Solution: Fixing x = 0, we have the function f (0,y) = −2y2. We drawthe graph of this on the yz plane. We also do this for x = ±0.5, gettingf (±0.5,y) = .25−2y2 and x =±1, getting f (1,y) = 1−2y2.

Here is a 3-dimensional figure illustrating the fact that our graphs in the yzplane come from slicing the graph of f (x,y) in R3 by planes parallel to theyz axis.

Page 10: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

10

-4.8 -4 -3.2 -2.4 -1.6 -0.8 0 0.8 1.6 2.4 3.2 4 4.8

-3.2

-2.4

-1.6

-0.8

0.8

1.6

2.4

3.2

y

z

FIGURE 3

FIGURE 4

Page 11: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

11

3. DIFFERENTIATION

3.1. Partial Derivatives. You should recall that for f : R2→R, ∂

∂y f (a,b)is the slope of the line in the x = a slice tangent to the graph of z = f (x,y)at y = b. You can compute ∂

∂y f (a,b) by holding x constant, taking the(1-variable) derivative of f with respect to y and then plugging in (x,y) =(a,b). The gradient of f at (a,b) is defined to be:

∇ f (a,b) =(

∂xf (a,b),

∂yf (a,b)

)Example 3.1. Let f : R2→ R be the function f (x,y) = x2−2y2. Then

∂x f (x,y) = 2x∂

∂y f (x,y) = −4y∇ f (x,y) = (2x,−4y)

At the point (x,y) = (1, .5) we have:∂

∂x f (1, .5) = 2∂

∂y f (1, .5) = −2∇ f (x,y) = (2,−2)

The fact that ∂

∂y f (1, .5) =−2 can be seen from Figure 5.

FIGURE 5. If x = 1, the equation for f (x,y) becomesf (x,y) = 1−2y2. The tangent line to this graph at y = .5 hasequation l(y) = −2(y− .5)+ .5. Thus, ∂

∂y f (1, .5) = −2. Inthe figure on the right, you can see the 3-dimensional graphsof f (x,y) and the tangent plane (in red) to f (x,y) at (1, .5).It is evident that the tangent plane slices through the planex = 1 in a line of slope -2 which is the tangent line to thegraph of f (1,y) = 1−2y2.

Page 12: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

12

For a function f : Rn → R, we keep constant all but one coordinate xi ofx = (x1, . . . ,xi, . . . ,xn) we have a partial function of f . If f is differentiable,we can take the partial derivative of f with respect to xi.

Example 3.2. Let f : R4→ R be defined by

f (x1,x2,x3,x4) = x21− x2

2 + x3−5x54x3.

Then:∂

∂x4f (x1,x2,x3,x4,x5) =−25x4

4x3.

The gradient of f : Rn→ R is:

∇ f =(

∂x1f ,

∂x2f , . . . ,

∂xnf)=

∂x1f

∂x2f

...∂

∂xnf

.

Example 3.3. Let f : R4→ R be defined by

f (x1,x2,x3,x4) = x21− x2

2 + x3−5x54x3.

Then:

∇ f (x1,x2,x3,x4) =

2x1−2x2

1−25x4

4x3

Important Observation: If f : Rn→ R is differentiable, then

∇ f : Rn→ Rn

is a vector valued function.

We will sometimes think of

∇ =

∂x1∂

∂x2...∂

∂xn

as a function of functions. Its input is a function f : Rn→ R and its outputis a function ∇ f : Rn→ Rn.

Page 13: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

13

3.2. Affine Approximation. Suppose that f : Rn→ R is differentiable ata. The gradient allows a nice formula for an affine approximation to fnear 0. (In previous calculus classes, you would have called this a linearapproximation.)

Let:L(x) = ∇ f (a) · (x−a)+ f (a)

Then L : Rn→R is a linear function which is a “good approximation” to fnear a in the sense that:

limx→a

f (x)−L(x)||x−a||

= 0

(You can summarize this equation by saying that the relative error betweenf and L goes to 0 as x approaches 0.)

The graph of L is the “tangent space” to the graph of f at the point (a, f (a)).

Notice that, usually, L will not be linear function. It will, however, alwaysbe an affine function. Nonetheless, L is called the “linear approximation”to f at a. By introducing the notions of “tangent space” and “differential”it is possible to turn L into a linear function between vector spaces. We willnot do this here, but may come back to it later.

We will want to use ideas similar to the above to construct linear approxi-mations to differentiable functions f : Rn → Rm. For that matter, we stillneed to define the notion of derivative for functions f : Rn→ Rm. We dothis now.

Notice that the formula ∇ f (a) · (x− a) looks like the entry in a matrix re-sulting from a matrix multiplication. In fact, it is the result of the matrixmultiplication:

(∂

∂x1f (a) ∂

∂x2f (a) . . . ∂

∂xnf (a)

x1x2...

xn

3.2.1. Derivatives. The matrix

D f (a) =(

∂x1f (a) ∂

∂x2f (a) . . . ∂

∂xnf (a)

is called the derivative of f at 0. It is just the transpose of the vector ∇ f (0).

Inspired by this, we set out to extend these notions to a function f : Rn→Rm. The function f can be written in the form:

f (x) = ( f1(x), f2(x), . . . , fm(x))

Page 14: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

14

The function fi keeps track of the ith coordinate of the result of plugging xinto the function f . Notice that fi : Rn→R, so we can talk about its partialderivatives. Assume that all partial derivatives of all the fi exist and define:

D f (a) =

∂ f1∂x1

(a) ∂ f1∂x2

(a) ∂ f1∂x3

(a) . . . ∂ f1∂xn

(a)∂ f2∂x1

(a) ∂ f2∂x2

(a) ∂ f2∂x3

(a) . . . ∂ f2∂xn

(a)∂ f3∂x1

(a) ∂ f3∂x2

(a) ∂ f3∂x3

(a) . . . ∂ f3∂xn

(a)...

...∂ fm∂x1

(a) ∂ fm∂x2

(a) ∂ fm∂x3

(a) . . . ∂ fm∂xn

(a)

The entry in the ith row and jth column is the partial derivative at a of fiwith respect to x j. Equivalently, the ith row consists of D fi(a).

Example 3.4. Define f : R2→ R4 by

f (x,y) = (xy,x2y,xy3,x4ey)

Then

D f (x,y) =

y x

2xy x2

y3 3xy2

4x3ey x4ey

and

D f (1,2) =

2 14 18 12

4e2 e2

.

Here is another example, demonstrating an important point (to be madelater).

Example 3.5. Define f : R2→ R2 and g : R2→ R2 by

f (x,y) = (x2 +2x,ey)g(x,y) = (sin(x),5y+ x)

Notice that we can compose f and g to obtain f ◦ g : R2→ R. A formulafor f ◦g is:

f ◦g(x,y) = (sin2 x+2sinx,e5y+x).

Notice that g(0,0) = (0,0).

Compare D f (g(0)), Dg(0) and D( f ◦g)(0).

Page 15: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

15

Solution:D f (0) =

(2 00 1

)Dg(0) =

(1 01 5

)D( f ◦g)(0) =

(2 01 5

)Notice that:

D( f ◦g)(0) = D f (g(0))Dg(0).This is an example of the chain rule at work.

3.2.2. Differentiability. Throughout this section, let f : Rn→ Rm be a dif-ferentiable function and let fi be the ith coordinate function. That is f (x) =( f1(x), . . . , fm(x)).

Recall from MA 122, that the existence of D f (a) does not guarantee thedifferentiability of f at a. Put another way: Even if all partial derivativesexist, the function may not have a good affine approximation near a. In thissection we define the notion of differentiability for a function f : Rn→Rm

and we state a theorem which gives a necessary and sufficient condition forf to be differentiable.

Definition: Let X ⊂ Rn be an open ball centered at a. and that fis defined on X . Suppose that all partial derivatives of f at a ∈ Rn

exist and define:

h(x) = D f (a)(x−a)+ f (x).Notice that h : Rn → Rm is an affine function. We say that f isdifferentiable at a if

limx→a

|| f (x)−h(x)||||x−a||

= 0

As before, this definition can be rephrased by saying that all partial deriva-tives of f exist and the affine function h is a good approximation to f neara.

Theorem 3.6. Suppose that f : Rn→Rm has the property that eachcomponent function fi is differentiable at a. Then f is differentiableat a. Furthermore, fi : Rn→ R is differentiable at a, if there is anopen ball X containing a such that fi is defined on X and all partialderivatives of fi exist and are continuous on X .

Example 3.7. Let f : R3→ R2 be defined by

f (x,y,z) = (ln(|xyz|),x+ y+ z2)

Page 16: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

16

Then

D f (x,y,z) =(

1/x 1/y 1/z1 1 2z

).

Let A be the coordinate axes in R3. That is, A = {(x,y,z) : xyz = 0}. Eachentry in the matrix D f (x,y,z) is continuous on R3− A. The function fis defined on R3−A. Consequently, f is differentiable at each point a ∈R3−A.

Finally, here is the statement of the chain rule:

Theorem 3.8. Suppose that g : Rn → Rm and f : Rm → Rp arefunctions which are defined on open sets Y ⊂ Rn and X ⊂ Rm suchthat g(Y )⊂ X . Assume that g is differentiable at y ∈ Y and that f isdifferentiable at g(y)∈ X . Then, f ◦g : Rn→Rp is differentiable aty and D( f ◦g)(y) = D f

(g(y)

)Dg(y).

Example 3.9. Define f (x,y) = (x2,x2 + y2). Let f : R2→ R2 be the func-tion f with domain in polar coordinates. What is D f (r,θ)?

Solution: Let T : R2→R2 be the change from polar coordinates to rectan-gular coordinates. That is,

T (r,θ) = (r cosθ ,r sinθ).

Then, by definition, f = f ◦T . Since the coordinates of f and T are poly-nomials and trig functions, f and T are everywhere differentiable. A calcu-lation shows that:

D f (x,y) =(

2x 02x 2y

).

Thus,

D f (T (r,θ)) =(

2r cosθ 02r cosθ 2r sinθ

).

Another calculation shows that

DT (r,θ) =(

cosθ −r sinθ

sinθ r cosθ

).

Thus, by the chain rule:

D f (r,θ)=(

2r cosθ 02r cosθ 2r sinθ

)(cosθ −r sinθ

sinθ r cosθ

)=

(2r cos2 θ −2r2 cosθ sinθ

2r 0

)Sketch of proof of Chain Rule. Let g : Rn→ Rm and f : Rm→ Rk be suchthat g and f are both differentiable at 0 and g(0) = 0 and f (0) = 0.

Page 17: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

17

Special case: f and g are both linear.

Then there exist matrices Amk and Bnm so that

f (x) = Ax for all x ∈ Rm

g(x) = Bx for all x ∈ Rn

This implies that, for all x ∈ Rn

f ◦g(x) = A(Bx) = (AB)x.

Notice that:D f (g(0)) = A

Dg(0) = BD( f ◦g)(0) = AB

Thus,D( f ◦g)(0) = D f (g0)Dg(0)

as desired.

General Case: f and g are not necessarily linear.

Since g : Rn→ Rm is differentiable at 0, for x near 0,

g(x)≈ Dg(0)x.

Similarly, since f : Rm→ Rk is differentiable at g(0) = 0, for x near 0,

f (x)≈ D f (g(0))x.

To prove the theorem we just need to show that

f ◦g(x)≈ D f (g(0))Dg(0).

Remember that ≈ in this context means that the relative error goes to 0 asx→ 0. We didn’t go over this in class, but here is a proof:

For convenience, define the following:

B = Dg(0)A = D f (0)

We need to show that for each ε > 0, there exists δ > 0 so that if 0 < ||x||=||x−0||< δ then

|| f ◦g(x)−ABx||||x−0||

< ε.

Notice that:

|| f ◦g(x)−ABx||= || f ◦g(x)−Ag(x)+Ag(x)−ABx||.

Page 18: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

18

By the triangle inequality,

|| f ◦g(x)−ABx|| ≤ || f ◦g(x)−Ag(x)||+ ||A(gx)−Bx)||.

Now there exists a constant α , such that for all y ∈ Rm, ||Ay|| ≤ α||y||.Thus,

|| f ◦g(x)−ABx|| ≤|| f (g(x))−Ag(x)||+ ||A(gx)−Bx)|| ≤|| f (g(x))−Ag(x)||+α||g(x−Bx||

We now consider the relative errors.

Piece 1: Since g is differentiable at 0, there exists δ1 > 0, so that if 0 <||x||< δ1 then

||g(x)−Bx||||x||

< ε/2α.

Piece 2: There is a theorem, which guarantees that (since g is differentiableat 0) there exists δ2 > 0 so that if ||x||< δ2, then there is a constant β suchthat

||g(x)|| ≤ β ||x||.

Piece 3: Since f is differentiable at 0 = g(0), there exists δ3 > 0 so that if0 < ||y||< δ3, then

|| f (y)−Ay||y||

< ε/2β .

This implies that

|| f (y)−Ay||< (ε/2β )||y||

Pieces 2 and 3 imply: if 0 < x < min(δ2,δ3), setting y = g(x) we have

|| f (g(x)−Ag(x)||< (ε/2β )||g(x)||< (ε/2β )β ||x||.

Consequently, if 0 < x < min(δ2,δ3), we have

|| f (g(x))−Ag(x)||x||

< ε/2.

Piece 1 implies: if 0 < x < δ1, then

α||g(x)−Bx||||x||

< ε/2.

Page 19: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

19

We conclude that if 0 < ||x||< δ = min(δ1,δ2,δ3) then

|| f ◦g(x)−ABx||/||x|| ≤|| f (g(x))−Ag(x)||/||x||+α||g(x)−Bx||/||x|| <

ε/2+ ε/2 = ε

as desired. �

Page 20: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

20

4. SPACE CURVES

After reviewing, the differentiation of functions f : Rn→ Rm we now turnto the situation when n = 1 and m≥ 2. For the sake of consistency with thetext, we consider functions

x : R→ Rn

and we let t ∈ R be the independent variable. If n = 2, we are consideringfunctions of the form:

x(t) = (x(t),y(t))

and if n = 3, we consider functions of the form:

x(t) = (x(t),y(t),z(t)).

We usually don’t graph the function x (even in the case when n = 2). In-stead, we draw the image of x in Rn. The function x is often called a pa-rameterization of its image.

Example 4.1. x(t) = (cos(t),sin(t)) and x(t) = (cos(2t),sin(2t)) are bothparameterizations of the unit circle in R2. In what way(s) are they different?

Example 4.2. Suppose that f : R → R is a continuous function. Thenx(t) = (t, f (t)) is a parameterization of the graph of f in R2.

Example 4.3. Suppose that v and w are distinct vectors in Rn. Then x(t) =tv+(1− t)w is a parameterization of the line through v and w. Restrictingx to t ∈ [0,1] is a parametrization of the line segment joining v and w.

Example 4.4. Suppose that v and w are distinct vectors in Rn. Then x(t) =v+tw is a parameterization of the line through v that is parallel to the vectorw.

The derivative (in rectangular coordinates) of x(t) = (x1(t),x2(t), . . . ,xn(t))is the matrix:

Dx(t) = x′(t) = (x′1(t),x′2(t), . . . ,x

′n(t)) =

x′1(t)x′2(t)

...x′n(t)

.

The vector x′(t) has components which are the instantaneous rates of changeof the coordinates of x. The speed of x is ||x′(t)|| and, if x′(t) is differen-tiable, the acceleration of x(t) is x′′(t). We sometimes write v(t) = x′(t)and a(t) = x′′(t).

Page 21: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

21

Example 4.5. Find v(t) and a(t) for the curve x(t) = (t, t sin(t), t cos(t)).Also find the speed of x(t) at time t.

Solution:v(t) = (1,sin(t)+ t cos(t),cos(t)− t sin(t))

||v(t)|| =√

1+ sin(t)cos(t)− t2 sin(t)cos(t)− t sin2(t)+ t cos2(t)a(t) = (0,2cos(t)− t sin(t),−2sin(t)− t cos(t))

The next theorem should not be surprising.

Theorem 4.6. Suppose that x : R→ Rn is differentiable. Then x′(t0) isparallel to the line tangent to the curve x(t) at t0.

Proof. We consider only n = 2; for n > 2, the proof is nearly identical. Avector parallel to the tangent line to x(t) at t = t0 can be obtained as in1-variable calculus:tangent vector = lim∆t→0

(x(t0 +∆t)−x(t0)

)/∆t

= lim∆t→0

((x(t0 +∆t),y(t0 +∆t)

)−(x(t0),y(t0)

))/∆t

= lim∆t→0

(x(t0+∆t)−x(t0)

∆t , y(t0+∆t)−y(t0)∆t

)=

(lim∆t→0

x(t0+∆t)−x(t0)∆t , lim∆t→0

y(t0+∆t)−y(t0)∆t

)= (x′(t),y′(t))= x′(t)

Example 4.7. Let x(t)= (3cos(2t),sin(6t)). The image of x for t ∈ [−6π,6π]is drawn in Figure 6. Find the equations of the tangent lines at the point(−1.5,0).

FIGURE 6

Page 22: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

22

Solution: The point (−1.5,0) is crossed by x at t1 = π/3 and at t2 = 2π/3.The derivative of x is

x′(t) = (−6sin(2t),6cos(6t)).

At t1, we have:

x′(t1) = (−6sin(2π/3),6cos(2π)) = (−3√

3,6).

Thus, one of the tangent lines has parameterization:

L1(t) = t(−3√

3,6)+(−1.5,0).

At t2, we have:x′(t2) = (3

√3,6).

Thus, the other tangent line has a parameterization:

L2(t) = t(3√

3,6)+(−1.5,0).

5. DIRECTION VECTORS AND TANGENT SPACES

We saw in the last section that if x(t) is a curve in Rn, then x′(t) is a vectorparallel to the line tangent to the image of x at the point t. This is the mostwe can hope for since we are always basing our vectors at 0. This is oftensomewhat inconvenient (although it remains convenient for other reasons)and so we need a work-around.

Here is the idea:

Example 5.1. Let x(t) = (cos t,sin t) and let t0 = (π/4,π/4). Notice thatx′(t0) = (1/

√2,1/√

2). If an object’s position at time t seconds is givenby x(t) and if at time t0 all forces stop acting on the object then 1 secondlater, the object will be at the position given by x(t0) + x′(t0). That is,x′(t0) denotes the direction the object will travel starting at x(t0). It wouldbe convenient to represent x(t0) by a vector with tail at x(t0) and head atx(t0)+x′(t0).

To do this to each point p ∈ Rn we associate a “tangent space” Tp. This issimply a copy of Rn such that p corresponds to the origin of Tp. In R2, thestandard basis vectors are denoted i and j. In R3 the standard basis vectorsare denoted i, j, and k. We usually think of Tp as an alternative coordinatesystem for Rn which is positioned so that p ∈ Rn is at the origin.

Example 5.2. If p = (1,3) and if (2,5) ∈ Tp then (2,5) corresponds to thepoint (1,3)+(2,5) = (3,8) in R2.

Page 23: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

23

FIGURE 7

We think of Tp as the set of directions at p.

Example 5.3. Let x(t) = (cos t,sin t) and let t0 = π/6. Suppose that anobject is following the path x(t) and that at time t0 all forces stop acting onthe object. Then the direction in which the object will head is

x′(t0) = (−sinπ/6,cosπ/6) = (−1/2,√

3/2).

That is, the object will travel 1/2 units to the left of x(t0) and√

3/2 unitsup from x(t0) in 1 second.

Put another way, the point x(t0)+ x′(t0) is the same as the point x′(t0) ∈Tx(t0).

5.1. Derivatives and Tangent Spaces. Suppose that f : Rn→ Rm is dif-ferentiable at p ∈ Rn. Then L : Tp→ Tf (p) defined by

L(x) = D f (p)x

is a linear map between tangent spaces.

Example 5.4. Let p = (1,2)∈R2 and let f (x) = (1/4)(x2+y2,x2−y2) forall x = (x,y). Let v = (−2,3) ∈ Tp. Sketch the point D f (p)v ∈ Tf (p).

Solution: Compute:

D f (x,y) =(

x/2 y/2x/2 −y/2

).

So that

D f (p) =(

1/2 11/2 −1

).

Page 24: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

24

Thus,

D f (p)v =

(1/2 11/2 −1

)(−23

)=

(2−4

).

In R2, we plot D f (p)v by starting at f (p) = (5/4,−3/4) and then travelover 2 and down 4. See Figure 8.

FIGURE 8. On the left is an arrow representing v ∈ Tp. Onthe right is an arrow representing D f (p)v in Tf (p).

5.2. Other coordinate systems on tangent spaces. In R2, it is sometimesuseful to use polar coordinates instead of rectangular coordinates. In R3

it is sometimes useful to use either cylindrical or spherical coordinates in-stead of rectangular coordinates. Using rectangular coordinates on tangentspaces in R2, the vectors i, and j point in the directions in which x and y(respectively) increase.

Now suppose that we are using polar coordinates on R2 and that we wanta basis of unit vectors er and eθ of Tp so that er points in the direction ofincreasing r and eθ points in the direction of increasing θ . Let p = (p1, p2).Since r increases as x is moved radially from 0, starting at p and moving p1horizontally and p2 vertically will increase r the greatest. That is, move inthe direction p1i+ p2j = p. We want er to be a unit vector, so let

er = (p1i+ p2j)/||p||= p/||p||.

Page 25: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

25

Notice that er depends on p.

To find eθ , notice that we can parameterize the circle of radius ||p|| byφ(t) = ||p||(cos t,sin t). As t increases, the angle θ is increasing. Supposethat φ(t0) = p. Then φ ′(t0) ∈ Tp will be the direction of greatest increase ofθ . We have

φ′(t0) = ||p||(−sin t0,cos t0) = (−p2, p1).

Thus, to increase θ (and keep r the same) we should move−p2 horizontallyand p1 vertically. That is, move in the direction−p2i+ p1j. The magnitudeof this vector is ||p|| and so we define

eθ = (−p2i+ p1j)/||p||.

5.3. Parameterizing interesting curves.

Example 5.5. Suppose that a circle of radius ρ cm rolls along level groundso that the center of the circle is moving at 1 cm/sec. At time t = 0, thecenter of the circle is at (0,0) and the top of the circle is a point P = (0,ρ).As the circle rolls, the point P traces out a curve x(t) (with P = x(0)). Findan equation for x(t).

Solution: Let c(t) denote the center of the circle at time t. The circumfer-ence of the circle is 2πρ and so the circle makes one complete rotation in2πρ sec. At time t, the line segment joining c(t) to x(t) makes an angle of−t/ρ +π/2 with the horizontal. That is, in Tc(t), x(t) is represented by thepoint (ρ cos(−t/ρ + π/2),ρ sin(−t/ρ + π/2)). Thus, with respect to thestandard coordinates on R2:

x(t) = c(t)+(

ρ cos(−t/ρ +π/2)ρ sin(−t/ρ +π/2)

).

Since

c(t) = t(

10

),

we have

x(t) =(

t +ρ cos(−t/ρ +π/2)ρ sin(−t/ρ +π/2)

).

Question: Is the cycloid a differentiable curve?

Example 5.6. Suppose that a circle C of radius r is moving so that thecenter of C, c traces out the path (Rcos(t),Rsin(t)). As C moves, it rotatescounterclockwise so that it completes k revolutions per second. Supposethat E is the East pole of C at time 0. What path does P trace out?

Page 26: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

26

FIGURE 9. The point P traces out a cycloid as the circlerolls down the x axis.

Solution: In Tc(t), E has coordinates (r cos2πkt,r sin2πkt). Thus in R2

coordinates, E has position

x(t) = c(t)+(r cos t,r sin t) = (Rcos t + r cos2πkt,Rsin t + r sin2πkt).

Page 27: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

27

6. ARC LENGTH

Suppose that x : [a,b]→ R is a C1 curve. We wish to find the length of x.The formula is

Theorem 6.1. The arc length of x is∫ b

a||x′(t)||dt.

Arc length is often denote by ∫x

ds

whereds = ||x′||dt

Example 6.2. Let x(t) = (t2,2t2) for t ∈ [0,1]. Then

||x′(t)||= ||(2t,4t)||=√

4t2 +16t2 = 2t√

5.

The arclength of x is∫x

ds =∫ 1

02t√

5dt = t2√

5∣∣10 =√

5.

Example 6.3. Let x(t) = (t, t2) for t ∈ [0,1]. Then∫x

ds =∫ 1

0

√1+4t2 dt ≈ 1.47894

Here is why the formula for arclength is what it is. For convenience, weassume that n = 2.

Partition [a,b] into n subintervals [ti−1, ti] for 1≤ i≤ n, each of length ∆t =(b− a)/n. Joining the points x(ti−1) and x(ti) by straight lines creates apolygonal approximation Pn to the image of x. The length of the polygonalpath is:

length(Pn) =n

∑i=1||x(ti)−x(ti−1)||.

We define the arc length of x to be

L =∫

xds = lim

n→∞

n

∑i=1||x(ti)−x(ti−1)||.

Now suppose that x(t) = (x(t),y(t)). Both x and y are C1 functions. Noticethat if we replace our current polygonal approximation with a polygonal

Page 28: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

28

approximation have vertices (x(t∗i ),y(t∗∗i )), with t∗i , t

∗∗i ∈ [ti−1, ti], we will

still have:

L =∫

xds = lim

n→∞

n

∑i=1||(x(t∗i ),y(t∗∗i ))− (x(t∗i−1),y(t

∗∗i−1))||.

Here’s how to choose the values t∗i and t∗∗i . By the mean value theorem(remember that?) There exists t∗i , t

∗∗i ∈ [ti−1, ti] so that

x(t∗i ) = x′(t∗i )(ti− ti−1) = x′(t∗i )∆ty(t∗∗i ) = y′(t∗∗i )(ti− ti−1) = y′(t∗∗i )∆t

Thus,

L= limn→∞

n

∑i=1

√(x′(t∗i )2 + y′(t∗∗i )2∆t =

∫ b

a

√x′(t)2 + y′(t)2 dt =

∫ b

a||x′(t)||dt.

We can also compute the arc length of paths which are piecewise C1. Thesepaths must be composed of a finite number of pieces.

Example 6.4. Compute the length of the curve x : [0,2]→ R defined by:

x(t) ={

(t, t2) if 0≤ t ≤ 1(t,(2− t)2) if 1≤ t ≤ 2

}

Solution: Let x1(t) = x(t) for 0≤ t ≤ 1 and let x2(t) = x(t) for 1≤ t ≤ 2.Then ∫

x ds =∫

x1ds+

∫x2

ds=

∫ 10

√1+4t2 dt +

∫ 21

√1+4(2− t)2

≈ 2.95789

The following example shows that it is possible for a “finite” curve to haveinfinite length.

Example 6.5. We will specify the graph of the curve f (x). On the interval[ 1

n+2 ,1n ] erect a tent consisting of two straight lines with the bottoms of the

lines on the x axis and the top of the tent at the point ( 1n+1 ,

1n). See the figure

below:

Page 29: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

29

1/n

1/n1/(n+1)1/(n+2)

Do this for each odd value of n, achieving the following graph:

0.2 0.4 0.6 0.8 1.0

0.2

0.4

0.6

0.8

1.0

If you want an equation for f (x) do the following:

Begin by defining

gn(x) =

0 if x < 1n+2

1n( 1

n+1−1n)(x− 1

n+2) if 1n+2 ≤ x≤ 1

n+1

−1n( 1

n−1

n+1)(x− 1

n) if 1n+1 ≤ x≤ 1

n

0 if x > 1n

Then define

f (x) =∞

∑n=0

g2n+1(x).

Notice that g2n+1(x) 6= 0 only if x ∈ [ 12n+3 ,

12n+1 ]. Thus, the sum defining

f (x) has only one term which is not zero.

Page 30: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

30

Let’s show that the length of the graph of f is infinite. To do this, considerthe line segment in the interval [ 1

n+1 ,1n ] for an odd value of n. This line

segment has length

L =

√(1n)2 +(

1n− 1

n+1)2 =

√2n2 +

1(n+1)2 −

2n(n+1)

.

Some algebra shows that L ≥ 1n Similarly, the line segment in the interval

[ 1n+2 ,

1n+1 ] has length at least 1/(n+ 1). Consequently, the length of the

graph of f is at least∞

∑n=1

1n.

It is well known that this is the harmonic series which diverges to infinity.

The text gives an example of a function f : [0,1]→ [−1,1] which is dif-ferentiable on (0,1] but whose graph has infinite arclength. An examplesimilar to that one could be constructed from our example by rounding thepoints of the graph above.

Page 31: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

31

7. REPARAMETERIZING FUNCTIONS f : R→ Rn

What is the length of a quarter circle of radius 2?

Previously we defined the length of a parameterized curve. Here we aregiven a curve that is not parameterized. To find its length in a way consistentwith the previous section, we must first choose a parameterization. But thisraises the question: To what extent does the parameterization affect thecalculation of arc-length? This section addresses these issues. We statethe concepts rather formally since we will generalize all of these ideas tosurfaces later in the course.

Definition 7.1. Suppose that L ⊂ Rn. We say that x : [a,b]→ Rn is a pa-rameterization of L if x is one-to-one on (a,b) and onto L. We also usuallyrequire x to be C1.

The curves x(t)= (2cos t,2sin t) for t ∈ [0,π/2] and y(t)= (2cos2t,2sin2t)for t ∈ [0,π/4] are both parameterizations of the quarter circle picturedabove.

The next two definitions allow us to explore the consequences of choosingdifferent parameterizations for L.

Page 32: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

32

Definition 7.2. Suppose that [a,b] and [c,d] are intervals in R. A change-of-coordinates function is a function h : [c,d]→ [a,b] that is a C1 bijec-tion. (That is, h has continuous derivative, is one-to-one, and is onto.)

Since a change of coordinates function h is strictly increasing or strictlydecreasing (being one-to-one), either h′(t) > 0 or h′(t) < 0 for all t. Ifh′(t) > 0, we say that h is orientation-preserving and if h′(t) < 0, we saythat h is orientation-reversing.

Definition 7.3. If x : [a,b]→Rn and y : [c,d]→Rn are curves, we say thaty is a reparameterization of x if there exists a change of coordinates func-tion h : [c,d]→ [a,b] so that y = x ◦ h. If h is orientation-preserving, wesay that y is an orientation-preserving reparameterization of x, and if h isorientation-reversing we say that y is an orientation-reversing reparameter-ization of x.

Intuitively, the change-of-coordinates function h tells us how to speed up orslow down as we traverse that path laid down by x. If y is an orientation-preserving reparameterization of x, it traces out the path in the same direc-tion that x did, otherwise it traces the path out in the opposite direction.

Example 7.4. Let x(t) =(

t2

2t

)for t ∈ [0,5] and let y(t) =

(9t2

6t

)for t ∈

[0,5/3]. Then y is an orientation-preserving reparameterization of x. (Whatis the change-of-coordinates function h?)

Example 7.5. Let x(t)= (cos t,sin t) for t ∈ [0,2π] and let y(t)= (cos3t,sin3t)for t ∈ [0,2π]. Then y is not a reparameterization of x since x traverses theunit circle once, but y traverses it three times.

Example 7.6. Suppose that L is the graph of the function y = f (x) for a≤x≤ b. Find two parameterizations of L that have opposite orientations.

Answer: There are many possibilities. One is x(t) = (t, f (t)) for t ∈ [a,b]and y(t) = (−t, f (−t)) for t ∈ [−b,−a].

We can now state and prove a theorem that says that arc-length is indepen-dent of parameterization. That is, arc length is intrinsic to curves.

Theorem 7.7. Suppose that x : [a,b]→Rn and y : [c,d]→Rn are C1 curvesand that y is a reparameterization of x. Then the length of y is equal to thelength of x.

Proof. Since y is a reparameterization of x, there exists a change-of-coordinatesfunction h : [c,d]→ [a,b] such that y = x◦h. By the chain rule we have:

y′(t) = x′(h(t))h′(t).

Page 33: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

33

Taking magnitudes gives:

||y′(t)||= ||x′(h(t))|| |h′(t)|.

Case 1: h is orientation-preserving. In this case, |h′(t)| = h′(t). Then, bydefinition, the length of y is:

L(y) =∫ d

c ||y′(t)||dt=

∫ dc ||x′(t)||h′(t)dt.

Let u = h(t). Then du = h′(t)dt and u(c) = a and u(d) = b since h isorientation preserving. Thus, substitution shows that:∫ d

c||x′(t)||h′(t)dt =

∫ b

a||x(u)||du.

This latter integral is exactly the length of x.

Case 2: h is orientation-reversing.

This case is left to the reader. It follows from the observations that |h′(t)|=−h′(t) and h(c) = b and h(d) = a. �

7.1. Parameterizing by arc length. Consequently, when calculating arclength, we are free to choose any parameterization we want. We will fre-quently choose to “parameterize by arc length”. Suppose that x : [a,b]→Ris C1 and that ||x′(t)||> 0 for all t ∈ [a,b]. Define s : [a,b]→ [0,L] by

s(t) =∫ t

a||x′(τ)||dτ.

Notice that s is a strictly increasing C1 function and so is an orientation pre-serving bijection [a,b]→ [0,L]. Furthermore, it’s inverse function s−1 : [a,b]→[a,L] is also strictly increasing bijection. Define y(t) = x◦ s−1.

The function s measures the distance travelled from time a to time t usingthe path x. Composing x with s−1 makes it so that x travels at one unit ofdistance per unit of time. (Like how driving at 60 mph means that you travelat 1 mile per minute.)

Lemma 7.8. Assume that x is a C1 curve defined on [a,b] such that for allt, ||x′(t)|| 6= 0. Let y be the reparameterization of x by arc length. Then forall t, ||y′(t)||= 1 and the length of y on the interval [0, t] is t.

Proof. Notice that:s′(t) = ||x′(t)||

Page 34: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

34

by the fundamental theorem of Calculus. Also, y = x◦ s−1 means that x =y◦ s. Consequently, by the chain rule,

||x′(t)||= ||y′(s(t))|| |s′(t)|

Letting σ = s(t) and recalling that s′(t) = ||x′(t)|| we get:

||x′(t)||= ||y′(σ)|| ||x′(t)||.

Thus, since ||x′(t)|| 6= 0,||y′(σ)||= 1.

The length of y on the interval [0, t] is, by definition,∫ t

0||y′(σ)||dσ .

We see immediately that this equals t. �

Example 7.9. Let x(t) = (t2,3t2) for t ∈ [1,2]. Reparameterize x by arclength.

Answer: By definition,

s(t) =∫ t

1

√4τ2 +36τ2 dτ

=∫ t

1√

40τ dτ

=√

40(t2−1)

We need, s−1. Solving the previous equation for t we find:

t =√

1+ s/√

40

Thus,

s−1(t) =√

1+ t/√

40

To get y(t) which is the reparameterization of x by arclength, we plug thisin for t in the equation for x, getting:

y(t) = x◦ s−1(t)

=((√

1+ t/√

40)2

,3(√

1+ t/√

40)2 )

=(1+ t/

√40,3(1+ t/

√40))

To avoid much of this algebra, we will often simply write x(s) instead ofx◦s−1. This notation has the potential to be confusing. Thus, in the previousexample, the reparameterization of x(t) = (t2,3t2) by arc length is

x(s) =(1+ s/

√40,3(1+ s/

√40)).

Page 35: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

35

Example 7.10. Let x(t) = (cos t,sin t,(2/3)t3/2) for t ≥ 3. Find x(s).

Answer: Compute:

||x′(t)||= ||(−sin t,cos t, t1/2)||=√

1+ t.

Thus,

s=∫ t

3

√1+ τ dτ =(2/3)(1+t)3/2−(2/3)(1+3)3/2 =(2/3)(1+t)3/2−16/3.

Consequently,

t =(

3(s+16/3)2

)2/3

Thus,

x(s)=

(cos(

3(s+16/3)2

)2/3

,sin(

3(s+16/3)2

)2/3

,(2/3)(

3(s+16/3)2

)4/3)

Theorem 7.11. A straight line in Rn is the unique shortest distance betweentwo points.

Proof. The following proof contains the important ideas. We will show thatin R2, the straight line segment joining (0,0) to (1,0) is the unique shortestpath between those two points. Obviously, the distance between those twopoints is 1. That is also the length of the straight line segment.

Suppose that x = (x,y) is a differentiable plane curve joining (0,0) to (1,0).Assume that x′(t)> 0 for all t. We will show that the length of x is strictlygreater than 1.

We may assume that x is parameterized by arclength. The length of x is∫ 1

0||x′(t)||dt

Suppose that x does not lie completely on the x axis (If it does, we are done.)Then y′(t)2 is positive on some interval (a,b)⊂ [0,1]. Consequently,∫ 1

0 ||x′(t)||dt =∫ 1

0

√x′(t)2 + y′(t)2 dt

>∫ 1

0

√x′(t)2 dt

=∫ 1

0 x′(t)dt= x(1)− x(0)= 1−0= 1.

Thus, the length of x is greater than 1 and so x is not length-minimizing. �

Page 36: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

36

8. KEPLER’S LAWS OF MOTION

Lemma 8.1 (Warm-up Problem). Suppose that x(t) is differentiable tnd that||x(t)|| is constant. Then x is perpendicular to x′.

Proof. Since ||x|| is constant, x is a differentiable curve lying on a sphere.For each t, x′(t) lies in the plane tangent to the sphere at x(t). The tangentplane is perpendicular to the radius x(t) of the sphere.

Alternatively,

0 =ddt||x||2 = d

dt(x ·x) = 2

(ddt

x)·x = 2x ·x′.

In this section we will use Newton’s law of universal gravitation and New-ton’s second law to prove Kepler’s first law of planetary motion. Supposethat the sun is at the origin 0 ∈R3 and that a planet is at vector x. The forceof gravitation is

F =− k||x||3

x =− k||x||2

u.

Here k > 0 is a constant of proportionality which is the product of the massof the sun, the mass of the planet, and the gravitational constant. The vectoru = x/||x|| is the unit vector in the direction of x.

We begin with two lemmas:

Lemma 8.2. We have

x′′ =− km||x||3

x =− km||x||2

u

where m is the mass of the planet.

Proof. Recall from Newton’s second law of motion that F = ma. We knowthat a = x′′. The equations follow from the law of universal gravitation. �

Lemma 8.3. The motion of the planet lies in a plane containing the sun.

Proof. We will show that there is a constant vector c, such that x(t) is per-pendicular to c (for all time t). Let c = x× x′. We will show that c isconstant by showing that d

dt c(t) = 0.

Well,ddt

c =ddt(x×x′ =

(ddt

x)×x′+

(x+

ddt

x′)= x′×x′+x×x′′.

Page 37: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

37

Recall that any vector crossed with itself is the zero vector, so

ddt

c = x×x′′.

By the previous lemma:

x×x′′ = x×(− k

m||x||3x)= 0,

as desired. �

Theorem 8.4 (Kepler’s First Law (simplified)). The orbit of the planetaround the sun is either an ellipse, a parabola, or a hyperbola.

The challenge to proving this is to pick a useful coordinate system. Inparticular, we want a coordinate system that doesn’t change with time. Onedirection that doesn’t change with time is c = x×x′. We will consider thatto be the k direction, so that the planet is contained in the xy plane.

Proof. Without loss of generality, we may assume that the plane containingthe orbit of the planet is the xy plane, so that

c = x×x′ = αe3.

Step 1: Find c in terms of u, rather than in terms of x.

By the product rule:

x′ =ddt(||x||u) = ||x||′u+ ||x||u′.

Hence,c = ||x||u×

(||x||′u+ ||x||u′

)c = ||x|| · ||x||′ (u×u)+ ||x||2 (u×u′) .

Since, u×u = 0,c = ||x||2(u×u′).

Step 2: x′× c = βu+d for some constants β ∈ R and d ∈ R3.

Notice that:

x′′× c =(− k

m||x||2 u)×||x||2 (u×u′)

= −β(u× (u×u′)

)= β

((u×u′)×u

)= β

((u ·u)u′− (u ·u′)u

)= βu′

Page 38: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

38

Also notice that:ddt (x

′× c) = x′′× c+x′× c′= x′′× c

Consequently,ddt (x

′× c) = βu′x′× c = βu+d.

�(Step 2)

Notice that x′×c lies in the xy plane as does u. Thus, d lies in the xy plane.

Rotate the entire coordinate system, so that d = de1. Then the angle be-tween x (or u) and d is the polar angle θ(t) of x.

We have||c||2 = (x×x′) · c = x · (x× c).

Thus,||c||2 = ||x||u · (βu+d) = β ||x||+ ||x||||d||cosθ .

Solving for ||x|| we obtain:

r = ||x||= ||c||2/(β + ||d||cosθ).

This is the polar equation for the planet’s orbit. It remains to check that thisis the polar form of a non-circular conic section. Some algebra shows thatthe equation

r =c2

(β +d cosθ)is equivalent in rectangular coordinates to

(1− e2)x2 +2pex+ y2 = p2

where p > 0 and e > 0 are constants. If 0 < |e|< 1, the path is elliptical; if|e|= 1, it is parabolic; and if |e|> 1 it is hyperbolic. �

Page 39: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

39

8.1. The geometry of space curves. In this section we will explore twoconcepts: The curvature of space curves and a moving coordinate sys-tem along a curve. Throughout, let x : [a,b]→ R3 be a C3 path such that||x′(t)||> 0 for all t.

The unit tangent vector T = T(t) to x at time t is defined as

T =x′(t)||x′(t)||

.

Notice that if y = x◦φ is an orientation reparameterization of x then:

y′(t) = x′(φ(t))φ ′(t)

soy′(t)||y′(t)||

=x′(φ(t))φ ′(t)||x′(φ(t))||φ ′(t)

=x′(φ(t))||x′(φ(t))||

.

Thus, T depends only on the orientation and position of the curve x and noton a particular (orientation-preserving) parameterization. Consequently, ifwe parameterize x by arclength, then we can think of T as the rate of changeof x with respect to distance travelled. Also, recall that since T is always aunit vector, it is perpendicular to T′.

Theorem 8.5. || ddt |t=t0T(t)|| is the angular rate of change of the direction

of T as t increases.

Proof. On the interval [t0, t0 +∆t] the average angular rate of of change ofT is ∆θ/∆t. The limit

lim∆t→0+

∆θ/∆t

is the angular rate of change of T. It follows from some trigonometry that

lim∆t→0+

∆θ/||∆T||= 1

where ∆T = T(t0 +∆t)−T(t0).

Then,

lim∆t→0+

∆θ/∆t = lim∆t→0+

∆θ

||∆T||||∆T||

∆t

= lim∆t→0+

||∆T||/∆t

= ||dTdt |t=t0||

Page 40: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

40

Based on this idea, we define the curvature κ of x in R3 to be the angularrate of change of the direction of T as a function of distance. That is

κ(t) =||dT/dt||

ds/dt=||dT/dt||||x′(t)||

If x is parameterized by arc length, then κ(t) = ||dT/dt||.

Example 8.6. Find the curvature of a line x(t) = tv+b.

Answer: We haveT = x′/||x||= v/||v||.

Thus, dT/dt = 0 and so κ(t) = 0.

Example 8.7. The curvature of a circle of radius r > 0 is 1/r at each pointon the circle.

Example 8.8. Let φ(t) = (t,at2) be a parameterized curve. Find the curva-ture of φ at t = 0.

Answer: We have: φ ′(t) = (1,2at) and T = (1,2at)/√

1+4a2t2. Thus,

ddt

T = (0,2a)/√

1+4a2t2 +(1,2at)(−1/2)(1+4a2t2)−3/2(8a2t).

Thus,||φ ′(0)||= 1

and

|| ddt

T(0)||= ||(0,2a)||= 2a

Consequently,κ(t) = 2a/1 = 2a

A C3 curve x can allow us to create a certain coordinate system (called themoving frame) for the tangent spaces to Rn at the points of the curve.

One basis vector is T. (This requires that ||x′(t)||> 0.

Since T(t) is a unit vector for all time, it is always perpendicular to T′. Wetake our second basis vector to be N = T′/||T′||. This requires that ||T′||>0. N is called the principal normal vector to x. It follows from the chainrule that N is an intrinsic quantity (it remains the same after an orientationpreserving parameterization change). To get a vector perpendicular to bothT and N we use the binormal vector

B = T×N.

Page 41: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

41

Example 8.9. Compute the moving frame and curvature for the path x(t) =(sin t− t cos t,cos t + t sin t,2) with t ≥ 0.

Answer: We compute:

x′(t) = (cos t− cos t + t sin t,−sin t + sin t + t cos t,0) = (t sin t, t cos t,0)

||x′(t)|| =√

t2 sin2 t + t2 cos2 t = t

T = x′(t)/||x′(t)|| = (sin t,cos t,0)

T′ = (−cos t,sin t,0)

||T′|| = 1

N = T′/||T′|| = (−cos t,sin t,0)

κ = ||T′||/||x′|| = 1/t

Finally, to compute B we need the cross product:

B = (sin t,cos t,0)× (−cos t,sin t,0) = (0,0,1).

It turns out thatB′(t)||x′(t)||

=−τN

for some scalar function τ , called the torsion. The torsion measures howmuch the curve twists out of a plane. If τ(t) = 0 for all t, then the curve liesin a plane.

Example 8.10. Let x(t) =

sin t− t cos tcos t + t sin t

t2

for t > 0. Calculate T, N, B, κ ,

and τ for x.

Easy computations show that:

x′(t) =

t sin tt cos t

2t

||x′(t)|| = t

√5.

Page 42: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

42

More computations show:

T(t) = 1√5

sin tcos t

2

T′(t) = 1√5

cos t−sin t

0

N(t) =

cos t−sin t

0

κ(t) = 1

5t

B(t) = 1√5

2sin t2cos t−1

B′(t) = 1√5

2cos t−2sin t

0

B′(t)/||x′(t)|| = 2

5t N(t)

τ(t) = − 25t .

.

Page 43: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

43

9. INTEGRATING OVER FUNCTIONS f : R→ Rn

In the last section we focused on differentiating functions φ : R→ Rn. InMA 122, we studied how to integrate functions f : Rn→R. In this section,we will discuss how to integrate a function f : Rn → R over a curve φ .Certainly one way to do this is to use 1-variable calculus to integrate:∫ b

af ◦φ(t)dt

where [a,b] is in the domain of φ . This is a fine thing to do in many situa-tions, however, consider the following example:

Example 9.1. Let φ : [0,1]→R2 be given by φ(t) = (t,2t) and let ψ : R→R2 be defined by ψ(t) = (t2,2t2). Notice that φ and ψ have the same image.Let f : R2→ R be defined by f (x,y) = x2 + y. Then∫ 1

0f ◦φ(t)dt =

∫ 1

0t2 +2t dt = 4/3.

However, ∫ 1

0f ◦ψ(t)dt =

∫ 1

04t4 +2t2 dt = 4/5+1/3

Example 9.2. Show that φ and ψ in the previous example are reparameter-izations of each other.

Solution: Define p(t) = t2 and q(t) =√

t. Both p and q are bijective func-tions [0,1]→ [0,1]. Clearly, φ = ψ ◦q and ψ = φ ◦ p.

Thus, the integral∫ b

a f ◦φ dt depends on the parameterization of the curveφ , not just on its image. In many cases, we will want to have an integralwhich depends only on the image of the curve, not on its parameterization.That way, in applications, we will be free to pick a parameterization whichsuits us and we won’t have to worry about what would happen if we pickeda different parameterization.

The following example demonstrates the important points.

Example 9.3. Let L be a straight piece of wire in R2 with endpoints at(0,0) and at (1,2). Suppose that the temperature of the wire at point (x,y)is f (x,y) = x2 + y. Find the average temperature of the wire.

Solution: Break the wire L into little tiny segments, L1, . . . ,Ln each oflength ∆s. Since L has a length of

√5, ∆s =

√5/n.

Page 44: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

44

Then the average temperature of L is approximately

Tn =1n

n

∑i=1

f (x∗i )

In fact, the average temperature of L is exactly

T = limn→∞

1n

n

∑i=1

f (x∗i ).

Recall that 1/n = (∆s)/√

5. Thus,

T = limn→∞

1√5

n

∑i=1

f (x∗i )∆s

This looks a lot like a limit of Riemann sums, so perhaps we can convertthis to a definite integral and use the Fundamental Theorem of Calculus.Before we do that, however, notice that (up to proving that the limit exists)we have a perfectly fine definition of the quantity

Ave. value of f on L =1

length of L

∫L

f ds.

We were able to define this integral without relying on a parameterizationof L!

To calculate this, however, we need a parameterization. Suppose that thereexists a parameterization φ : [0,

√5]→ R2 of L such that at time t, the dis-

tance from (0,0) to φ(t) along L is exactly t. That is, “L is parameterizedby arc length”. Then, ∆s = ∆t =

√5/n so

T =1√5

limn→∞

n

∑i=1

f (φ(t∗i ))∆t =1√5

∫ √5

0f (φ(t))dt.

Exercise: Find a parameterization of L by arclength.

Solution: Define φ(t) = (t,2t) and define φ(t) = φ(t/√

5).

This example has all the important points except that at the very end wehad to pick a particular parameterization. You can imagine that in manysituations, finding a suitable parameterization might be challenging!. Thenext sections will address that issue. In general, the nicest parameterizationsare those which are parameterizations “by arc length”.

Consequently, we make the following definition:

Page 45: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

45

Suppose that f : Rn→ R is continuous and that x : [a,b]→ Rn is a (piece-wise) C1 path. Define∫

xf ds =

∫ b

af (x(t))||x′(t)||dt.

Example 9.4. Let f (x,y) = x2 + y and x(t) = t(

12

)for 0≤ t ≤ 1. Then,∫

x f ds =∫ 1

0 f (x(t))| ||~x′(t)||dt=

∫ 10 (t

2 +2t)√

5dt.

Example 9.5. Let f (x,y,z) = 1/(xyz) and x(t) =

sin tt cos t

t

for π/4 ≤ t ≤

2π .

Then ||x′(t)||=√

cos2 t +(cos t− t sin t)2 +1.

Thus, ∫x

f ds =∫ 2π

π/4

√cos2 t +(cos t− t sin t)2 +1

t2 sin t cos tdt.

Page 46: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

46

10. SCALAR FIELDS AND VECTOR FIELDS

A scalar field on Rn is simply a function f : Rn → R. We think of f asassigning a number f (x) to each point x in Rn. Below is a depiction of thescalar field f (x,y) = x2 + y2 on R2. To a point (x,y) ∈ R2, we assign thenumber x2 + y2. Points which are assigned small numbers are colored blueand points which are assigned large numbers are colored red.

-40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 40

-25

-20

-15

-10

-5

5

10

15

20

25

A vector field on Rn is a function F such that for every x ∈ Rn, F(x) is avector in Tx. Since Tx is simply a copy of Rn with origin at x, we can thinkof F as the assignment of a vector F(x) in Rn to each point in Rn. Since wethink of this vector as living in Tx, we draw it as a vector in Rn with tail atx.

Example 10.1. Here is a picture of the vector field F(x,y) = (−y,x). Thearrows are not drawn with the correct lengths.

Page 47: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

47

Example 10.2. Here is the vector field F(x,y) = (y,x). The arrows are notdrawn with the right lengths.

A good way of thinking about a vector field is that it tells you the directionand speed of flow of water in a huge water system. To see this, suppose that

Page 48: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

48

we have an object in the stream at point (1,0) at time 0. Its position at time tis given by φ(t)= (x(t),y(t)). If the vector field F(x,y)= (F1(x,y),F2(x,y))describes the direction and speed of the object, then

x′(t) = F1(φ(t))y′(t) = F2(φ(t))

This a system of differential equations which we may or may not be able tosolve. If φ exists, it is called a flow line for F .

Example 10.3. Find a flow line φ(t) for F(x,y) = (−y,x) passing throughthe point (2,0).

Solution: Suppose that φ(t) =(

x(t)y(t)

). Then the equation φ ′(t) = F(φ(t))

becomes: (x′(t)y′(t)

)=

(−y(t)x(t)

).

Thus we are looking for function x and y so that

x′(t) = −y(t)y′(t) = x(t)x(0) = 2y(0) = 0

The differential equations make us remember that sin and cos have deriva-tives related to each other in the way that we need.

Thus,

φ(t) =(

2cos t2sin t

)is the flow line we are looking for.

Example 10.4. Let F(x,y) = (y,x). Find flow lines through (1,1) andthrough (1,0).

Answer: Let φ(t) =(

x(t)y(t)

)be a flow line. Then,

x′(t) = y(t)y′(t) = x(t)

As a first guess, we try x(t) = et and y(t) = et . Sure enough, φ(t) =(

et

et

)is a flow line for F passing through (1,1).

Page 49: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

49

To find a flow line passing through (1,0) more ingenuity is required. Even-tually, we might come up with:

φ(t) =(

cosh tsinh t

)=

((et + e−t)/2(et− e−t)/2

)The image of this second flow line in the vector field F is pictured below.

10.1. Gradient. Define the gradient by ∇ : C1(Rn)→ Rn by

grad f = ∇ f = (∂

∂x1,

∂x2, . . . ,

∂xn).

If we think of f ∈C1(Rn) as a scalar field, then ∇ (the gradient) converts thescalar field into a vector field. The vectors point in the direction of greatestincrease of f .

Example 10.5. Consider f : R2→ R defined by f (x,y) = sinxcosy. Then∇ f = (cosxcosy,−sinxsiny). Below is the vector field ∇ f on top of the

Page 50: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

50

scalar field f . Contour lines have been drawn on the scalar field so that youcan see how the vectors ∇ f are perpendicular to the contour lines.

If f : Rn→ R is a scalar field and if F = ∇ f , we say that f is a potentialfunction for F and that F is a gradient field or a conservative vector field.

For a fixed constant c, the set of points {x : f (x) = c} is called an equipo-tential set for f or F.

Example 10.6. Find a potential function for F(x,y) =(−xy

).

Answer: The function f (x,y) = −12x2 + 1

2y2 is a potential function for Fsince ∇ f = F. The hyperbolae

−12

x2 +12

y2 = c

are the equipotential lines for f . Notice in the figure below, that the equipo-tential line is perpendicular to a flow line. The flow line is black and theequipotential line is red.

Page 51: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

51

Theorem 10.7. Suppose that F is a conservative vector field with potentialfunction f . Suppose that L is a smooth equipotential line for f and that φ isa flow line for F intersecting L. Then L and φ are perpendicular.

Proof. Suppose that φ and L intersect at a point x0 and that L has a unittangent vector v at x0. Since f is constant along L, the directional derivative∂

∂v f (x0) is equal to zero. By a standard result from Calculus II, ∂

∂v f (x0) =∇ f (x0) · v. Since this is zero, ∇ f (x0) = F(x0) is perpendicular to L atx0. �

Another very useful fact is:

Theorem 10.8. Suppose that F is a gradient field and that φ is a flow linewith ||φ ′(t)||> 0 for all t. Then φ does not close up on itself; in fact, for allt1 and t2 with t1 6= t2, φ(t1) 6= φ(t2).

Proof. Since F is a gradient field, there exists a potential function f for F.Consider g(t) = f (φ(t)). Then

g′(t) = D f (φ(t))φ ′(t) = ∇ f (φ(t)) ·φ ′(t)

Since F = ∇ f and since φ ′(t) = F(φ(t)), we have

g′(t) = F(φ(t)) ·F(φ(t)) = ||F(φ(t))||2 = ||φ ′(t)||2 > 0.

Thus, g′(t)> 0 for all t. In particular, g(t) = f (φ(t)) is a strictly increasingfunction.

Suppose that there exist t1 6= t2 such that φ(t1) = φ(t2). Then g(t1) = g(t2),but this contradicts the fact that g is strictly increasing. Hence, φ(t1) 6= φ(t2)for all t1 6= t2. �

Example 10.9. The vector field F(x,y) = (−y,x) has φ(t) = (cos t,sin t) asa flow line. Since φ(0) = φ(2π), the vector field F is not a gradient field.

Page 52: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

52

10.2. Divergence. Let F : Rn→ Rn be a differentiable vector field. Thenthe divergence of F is

divF = ∇ ·F =∂

∂x1F1 + . . .+

∂xnFn

The divergence converts a vector field into a scalar field.

Example 10.10. Let F(x,y)= (xy,cosxcosy). Then divF(x,y)= y−cosxsiny.Below is plotted the vector field F and the scalar field divF. The arrows ofvector field are not drawn with the correct length (so that we can see all thearrows). The red areas of the vector field have positive divergence and theblue areas have negative divergence. The green area has zero divergence.

-4.8 -4 -3.2 -2.4 -1.6 -0.8 0 0.8 1.6 2.4 3.2 4 4.8

-3.2

-2.4

-1.6

-0.8

0.8

1.6

2.4

3.2

10.3. Curl. Let F : R3 → R3 be a differentiable vector field. Define thecurl of F to be

curlF = ∇×F =

∂yF3− ∂

∂ zF2∂

∂ zF1− ∂

∂xF3∂

∂xF2− ∂

∂yF1

Example 10.11. Let F(x,y,z) = (−yx,x,0). Then F(x,y,z) = (0,0,1+ x).Notice that the vector field F lies in the xy plane and that curlF is always avector perpendicular to the xy plane. Below is drawn the vector field F andthe scalar field ||curlF||. You can see that the farther from the origin a pointis, the greater the magnitude of the curl.

Page 53: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

53

-0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2

0.25

0.5

0.75

1

1.25

1.5

Where does this rather strange formula for curl come from and how couldwe come up with it? After discussing integration we’ll be able to see thereal answer, however here’s a very handwavy way of thinking about it.

Suppose that F = (F1,F2,F3) is a vector field. Let’s find a way to create avector field curlF = (G1,G2,G3) that measures how much F is (instanta-neously) curling around the coordinate axes of the tangent space at a pointx0 ∈ R3.

We know that H1(x,y,z) = (0,−z,y) is a vector field “rotating” around thex axis. and that H2(x,y,z) = (z,0,−x) is a vector field rotating around they-axis and that H3(x,y,z) = (−y,x,0) is a vector field rotating around the z-axis. The dot product measures how much one vector ”looks like” anothervector so we might guess that

G1(x,y,z) ≈ F ·H1(x,y,z) = −zF2(x,y,z)+ yF3(x,y,z)G2(x,y,z) ≈ F ·H2(x,y,z) = zF1(x,y,z)− xF3(x,y,z)G3(x,y,z) ≈ F ·H3(x,y,z) = −yF1(x,y,z)+ xF2(x,y,z)

However, we want exact values not approximations, so in place of the x, y,and z coming from H1, H2, and H3, we use ∂

∂x , ∂

∂y , and ∂

∂ z . This gives usthe formula:

curlF =

−∂

∂ zF2 +∂

∂yF3∂

∂ zF1− ∂

∂xF3

− ∂

∂yF1 +∂

∂xF2

.

Page 54: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

54

10.4. The relationship of Grad, Curl, Div. In summary:

grad : scalar field → vector fielddiv : vector field → scalar field

curl : 3D vector field → 3D vector field

The following theorem is straightforward, but tedious to prove.

Theorem 10.12. (1) Suppose that f : R3→R is a C2 scalar field. Thencurl(grad f ) = 0.

(2) Suppose that F : R3→R3 is a C2 vector field. Then div(curlF) = 0.

The importance of this theorem is that it shows that the following:

{C∞ s. f. } grad→ {C∞ v.f. } curl→ {C∞ v. f. } div→{C∞ s.f. }

is a co-chain complex. See the section on cohomology for more on this.

Page 55: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

55

11. INTERLUDE: SOME TOPOLOGICAL NOTIONS

When we try to develop higher dimensional analogues of what we havedone for space curves, we will have trouble precisely stating our mathemat-ics unless we introduce a few terms from topology. The following defini-tions are given assuming the context of this course. None of the definitionsare incorrect in this context, but in other contexts they may not be the correctdefinition.

• Open ball: Given a ∈ Rn and r > 0, the open ball of radius rcentered at a is the set

Br(a) = {x ∈ Rn : d(x,a)< r

where d is the usual distance function on Rn.

• Open set: A subset U of Rn is open if every a ∈ U , there existsr > 0 so that Br(a) ⊂U . That is, each point in an open set has anopen ball containing it that is, in turn, contained in the open set.

• Homeomorphism: A function f : U →W such that f is continu-ous, one-to-one (injective), onto (surjective), and with the inversefunction f−1 continuous.

• Diffeomorphism: A function f : U →W such that f is a homeo-morphism and both f and f−1 are differentiable. (Usually, we willrequire f and f−1 to be either C1 or C∞.

• Closed set: A subset V of Rn is closed if the set Rn−V is open.Equivalently: If a sequence (xn) of points in V converges to a pointx in Rn, then x ∈V .

• Bounded set: A subset X of Rn is bounded if there exists an r > 0so that X ⊂ Br(0).

• Compact set: A subset X of Rn is compact if it is closed andbounded. Equivalently, every sequence of points in X has a sub-sequence converging to a point in X .

• Closed curve: A continuous function f : [a,b] → Rn such thatf (b) = f (a) or the image of such a function.

• Simple closed curve: A closed curve f : [a,b] → Rn such thatf : (a,b)→Rn is one-to-one (injective) or the image of such a func-tion.

• k-dimensional manifold: A subset F of Rn such that if a∈ F , thereexists an open ball Br(a)⊂Rn, such that Br(a)∩F is homeomorphic

Page 56: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

56

to either Rk or Rk+ = {(x1,x2, . . . ,xk) : xk ≥ 0}. The manifold F

is smooth if “homeomorphic” can be replaced by “diffeomorphic”.The set of homeomorphisms (or diffeomorphisms) is called an atlasfor F . The set of functions that are inverses to the functions in theatlas are called a parameterization of F . If F is compact, it turnsout that we may assume that the atlas or parameterization has onlyfinitely many functions in it.

• Surface: A 2-dimensional manifold.

• Boundary of a k-dimensional manifold: If F is a k-dimensionalmanifold, the boundary of F , denoted ∂F , is the set of points a∈ Fsuch that there exists r > 0 with Br(a)∩F homeomorphic to Rk

+.

• Closed k-dimensional manifold: A compact manifold F with ∂F =∅.

Page 57: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

57

12. INTEGRATION OF SCALAR FIELDS AND VECTOR FIELDS ON Rn

OVER CURVES

Suppose that x : [a,b]→ Rn is a C1 curve. If f : Rn → R is continuous,then define ∫

xf ds =

∫ b

af (x(t))||x′(t)||dt.

Lemma 12.1. Suppose that y : φ(t) is a reparameterization of x. Then∫y

f ds =∫

xf ds.

Proof. Assume that φ : [a,b]→ [c,d]. Recall from the chain rule that ||y′(t)||=||x(φ(t))|||φ ′(t)|. Thus, if φ is orientation preserving:∫

yf ds =

∫ d

cf (xx(φ(t)))|x′(φ(t))||φ ′(t)dt.

Perform the last integral by letting u(t) = φ(t) so that du = φ ′ dt. That lastintegral is then equal to∫ b

af (x(u))||x′(u)||du =

∫x

f ds.

If φ is orientation reversing, then |φ ′(t)| = −φ ′(t) and so the work aboveis largely the same except that in the substitution u(c) = b and u(d) =a. Reversing the limits of integration kills the negative sign coming from−φ ′(t). �

If F : Rn→ Rn is a continuous vector field, then define∫x

F ·ds =∫ b

aF(x(t)) ·x′(t)dt.

The proof of the next lemma should be easy.

Lemma 12.2. If y = x◦φ then if φ is orientation preserving,∫y

F ·ds =∫

xF ·ds.

If φ is orientation reversing, then∫y

F ·ds =−∫

xF ·ds.

Page 58: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

58

12.0.1. Alternative Notation 1: Let T = x′/||x′||. This is the unit tangentvector. Then,∫

xF ·ds =

∫ b

a

F(x(t))x′(t)||x′(t)||

|vectx′(t)||dt =∫

x(F ·T)ds

Thus the integral of a vector field F over a path x, “adds” up the tangentialcomponent of F along the image of x.

12.0.2. Alternative Notation 2: Suppose that F = (M,N,P) and that x =(x,y,z). Using the notation of differentials we can write

dx = x′(t)dtdy = y′(t)dtdz = z′(t)dt

F ·x′(t) = M dx+N dy+Pdz.

Consequently, we can write∫x

F ·ds =∫

xM dx+N dy+Pdz.

The object M dx+N dy+Pdz is an example of something called a “differ-ential form”.

Be careful to evaluate an integral like∫

x M dx+N dy+Pdz correctly. If younever use a parameterization for x, you’ve done something incorrectly.

Example 12.3. Let f (x,y)= 1/(x2+y2). Let F(x,y)=∇ f (x,y)=−2(x,y)/(x2+y2)2. Let x(t) = (cos t,sin t) for 0≤ t ≤ 2π .

Notice that ||x′(t)||= 1.

Then, ∫x

f ds =∫ 2π

01/(cos2 t + sin2 t)dt =

∫ 2π

01dt = 2π.

And, ∫x

F ·ds =∫ 2π

0−2(

cos tsin t

)·(−sin tcos t

)= 0

Page 59: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

59

12.1. Conservative Vector Fields have Path Independent Line Integrals.

Lemma 12.4. Suppose that F = ∇ f . Assume that f is C2 on an open setD⊂ Rn. If A,B ∈ D and if x is any path joining A to B, then∫

xF ·ds = f (B)− f (A).

Proof. Recall that ∇ f ·x′ = (D f )x′. Thus, F(x(t)) ·x′(t) = ddt f (x(t)) by the

chain rule. Consequently, by the Fundamental Theorem of Calculus:∫x F ·ds =

∫ ba F(x(t)) ·x′(t)dt

=∫ b

a( d

dt f (x(t)))

dt= f (x(b))− f (x(a))= f (B)− f (A).

Here is an application:

Suppose that P is a charged particle at x and that Q is a charged particle ata with charges qP and qQ respectively. The force exerted by P on Q is

E(x,a) =qPqQ(x−a)||x−a||3

.

If we fix x and let a vary, E(a) is a gradient field with potential function

f (a) =qPqQ

||x−a||.

By the previous lemma, the work required to move Q from a to b is

1||x−b||

− 1||x−b||

In particular, it does not depend on the path taken by the particle.

If we have stationary particles P1, . . . ,Pn at x1, . . . ,xn respectively, each withcharge +1 and if Q is a charged particle at a, the force exerted by the sta-tionary particles on Q is

E(a) = a∑1

||xi−a||3

Since the gradient is additive, this electric field is also a gradient field withpotential function

f (a) = q∑1

xi−a.

Page 60: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

60

Given this set-up, if D is a collection of particles (possibly infinite) eachwith charge +1 we define the potential function of the electric field gener-ated by D to be

f (a) =∫

D

1||x−a||

where the integration is performed with respect to x.

Here is a specific example. Suppose that D is the line segment [−r,r] onthe y–axis in R2. How much work is required to move a charged particleQ from a point a = (a,0) on the positive x axis to a point b = (b,0) on thepositive x axis, by a path with positive x–coordinates.

The work is the line integral of the electric field along the path taken by Q.By the lemma above, we need only use the potential function to find thatthe work is: ∫

D

1||x−b||

ds−∫

D

1||x−a||

ds.

To solve this, let x(t) = (0, t) for −r ≤ t ≤ r be a parameterization of D.Then the expression above equals∫ r

−r

1√t2 +b2

− 1√t2 +a2

dt.

Page 61: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

61

13. THE FUNDAMENTAL THEOREM OF CALCULUS REVISITED

13.0.1. Another view of the FTC. Let I = [a,b] be an interval (orientedfrom a to b) If F : I→ R is a differentiable function, then you learn in onevariable calculus that ∫

I

ddt

F(t)dt = F(b)−F(a).

To generalize this theorem to higher dimensions we introduce some newterminology.

Terminology 1: If p ∈ R is a point, then say that p has “positive orien-tation” if we place an arrow on it pointing to the right. The point p has“negative orientation” if we put an arrow on it pointing to the left. If wehave chosen an orientation for p, we say that p is oriented. If A is a fi-nite subset of R and if each point in A has been given an orientation (notnecessarily the same), we say that A is oriented.

Terminology 2: Suppose that p∈R is an oriented point and that f : R→Ris a function. If p has positive orientation, define

∫p f = f (p). If p has

negative orientation, define∫

p f =− f (p). If A = {p1, . . . , pn} is a finite setof oriented points in R, define

∫A = ∑

ni=1∫

pif .

Terminology 3: Suppose that a < b are real numbers. The interval [a,b]is positively oriented and the interval [ba] is negatively oriented. (Thinkof an arrow running from the small number a to the big number b. If thearrow points right, the interval is positively oriented; if it points left it isnegatively oriented.) If I is an interval in R with endpoints a < b, then the“boundary” of I, denoted ∂ I, is the set {a,b}. If I has positive orientation,we assign the points of ∂ I the orientation with arrows pointing out of I. IfI has negative orientation, we assign the points of ∂ I, the orientations witharrows pointing into I. We say that ∂ I has the orientation “induced” by theorientation from I.

Suppose that I = [a,b] has positive orientation (i.e. a < b). Let J = [b,a]be the same interval but with the opposite orientation. If f : R → R isintegrable, then by definition

∫I

f =∫ b

af (x)dx and

∫J

f =∫ a

bf (x)dx =−

∫I

f .

The fundamental theorem of calculus can then be stated as

Page 62: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

62

Theorem 13.1 (Fundamental Theorem of Calculus). Suppose thatF : R→ R is a C1 function. Let DF : R→ R be its derivative. LetI ⊂ R be an oriented interval and give ∂ I the induced orientation.Then ∫

IDF =

∫∂ I

F.

13.0.2. Returning to main lecture. We will construct a version of the fun-damental theorem of Calculus in 2-dimensions. It will have the form:

Theorem (Vaguely Stated Version of Green’s Theorem). Let D be a regionin R2. Let F : D→ R2 be a C1 vector field on D. Then:∫∫

D

“a derivative” of FdA =∫

∂DF ·ds

For the left side of the equation to make sense, it turns out that we need aderivative of F which is a scalar function. Perhaps the idea of using divFappeals to you? Well, there is a version of the theorem which will usedivF, but for this version we’ll use an adaptation of the curl. (Recall thatcurlF = ∇×F.

Theorem (Less Vaguely Stated Version of Green’s Theorem). Let D be aregion in R2. Let F : D→ R2 be a C1 vector field on D Then:∫∫

D

(curlF) ·kdA =∫

∂DF ·ds.

To get the precise version of Green’s theorem we need to discuss what sortof regions D are allowed and what ∂D means. We also need to reviewdouble integration.

Page 63: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

63

14. DOUBLE INTEGRATION AND ITERATED INTEGRALS

14.1. Integrals over Rectangles. Suppose that R = [a,b]× [c,d] is a rec-tangle in R2. Let f : R→ R be a function.

R

a b

c

d

Partition R into n subrectangles each of area less than ∆A and in each sub-rectangle choose a sample point. Call the ith rectangle Ri and the samplepoint in it ci. Let ∆Ai be the area of the ith subrectangle.

ci

b

d

a

c

The integral of f over R is defined as∫∫R

f dA = lim∆A→0

∑ f (ci)∆Ai

if the limit exists.

Informally, the double integral is approximated by the sum of sample valuesof f on the rectangle taken from the partition of R into small rectangles.Naturally, we want to know if the double integral exists.

Page 64: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

64

Theorem 14.1. Suppose that R⊂R2 is a rectangle and that f : R→R2 is abounded function. If the set of discontinuities of f has 0 area, then

∫∫R

f dA

exists.

Of course, this raises the question, “What is area?”, but we won’t answerthat here.

Often we calculate∫∫R

f dA using the following theorem.

Theorem 14.2 (Fubini’s Theorem). Suppose that R⊂R2 is a rectangle andthat f : R2→R is a bounded function. Suppose that the following are true:

•∫∫R

f dA exists

• For all x ∈ [a,b], the integral∫ d

c f (x,y)dy exists.• For all y ∈ [c,d] the integral

∫ ba f (x,y)dx exists.

Then ∫∫R

f dA =∫ b

a

∫ d

cf (x,y)dydx =

∫ d

c

∫ b

af (x,y)dxdy.

Example 14.3. Let R = [0,1]× [0,2]. Let f (x,y) = x2 + y2. Then by Fu-bini’s theorem ∫∫

Rf dA =

∫ 20∫ 1

0 x2 + y2 dxdy

=∫ 2

0 1+ y2 dy= 14/3.

14.2. Integrals over other regions. We can also define integrals over re-gions other than rectangles.

Let D ⊂ R2 be a compact 2–dimensional region such that the area of ∂Dis zero. Let f : D→ R be a continuous function. We define

∫∫D f dA as

follows.

Let f : R2 → R be defined by f (x) = f (x) if x ∈ D and f (x) = 0 if x 6∈D. Notice that the set of discontinuities of f is a subset of ∂D and so thediscontinuities of f have 0 area. Thus, if R is any rectangle containing Din its interior,

∫∫R

f dA exists. (Such a rectangle R does exists, since D is

bounded.) We define∫∫D

f dA =∫∫R

f dA.

Page 65: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

65

If D ⊂ R2 is an open region, we can define an improper integral∫∫D

f dA.

For each n, let Cn ⊂ D be a compact subset such that ∂Cn has zero area.Choose the sets Cn so that for all n, Cn ⊂Cn+1 and D =

⋃nCn. (That is, the

sets are nested and every point of D is contained in some Cn. Then define∫∫D

f dA = limn→ ∞

∫∫Cn

f dA

if the limit exists.

If D is a compact, 2–dimensional region the set D−∂D is open. We can askif the integral

∫∫D

f dA is equal to the improper integral∫∫

D−∂Df dA. It turns

out that if both integrals exist, then they are equal. It is possible for theimproper integral to exist when the proper integral does not.

14.3. Elementary Regions. Before returning to Green’s theorem, we in-troduce the concept of “elementary region” and discuss iterated integralsover elementary region.

We say that a set D⊂R2 is a Type I region (or “vertically convex”) if thereare continuous functions γ and δ so that

D ={(x,y) : a≤ x≤ b and γ(x)≤ y≤ δ (x)}

Here is an example:

D

y = γ(x)

y = δ (x)

ba

We say that a set D ⊂ R2 is a Type II region (or “horizontally convex”) ifthere are continuous functions α and β so that

D ={(x,y) : c≤ y≤ d and α(y)≤ x≤ β (y)}

Page 66: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

66

Here is an example:

D

x = α(y) x = β (y)

c

d

Finally, a Type III region is a region that is of both Type I and Type II. Hereis an example:

b

c

a

dD

A region that is of Type I, II, or III is called an elementary region.

Page 67: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

67

If D is an elementary region and if f : D→ R is a continuous function, byFubini’s theorem we can write:∫∫

Df dA =

∫ ba∫ δ (x)

γ(x) f dydx if D is of Type I.∫∫D

f dA =∫ d

c∫ β (y)

α(y) f dydx if D is of Type II.

Example 14.4. Consider the region D between the graphs of y = (x− 1)2

and y =−(x−1)2 +2. (See below.) Let f (x,y) = xy. Compute∫∫

D f dA.

Answer: By Fubini’s theorem, we have∫∫D

f dA =∫ 2

0

∫ (x−1)2

−(x−1)2+2xydydx.

This iterated integral can be easily solved by a computer.

Page 68: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

68

15. GREEN’S THEOREM

For this section, let D⊂R2 be a closed bounded region with ∂D a collectionof piecewise smooth simple closed curves.

Theorem 15.1 (Green’s Theorem). Let D be as above. Orient ∂D so thatD is on the left as ∂D is traversed. (Equivalently, N points into D.) LetF : D→ R2 be a C1 vector field on D. Then,

∫∂D

F ·ds =∫∫D

(curlF) ·

001

dA.

If we write F(x,y) = M(x,y)i + N(x,y)j, then the conclusion of Green’stheorem can be written as:∫

∂DM dx+N dy =

∫∫D

(∂N∂x− ∂M

∂y

)dA.

Before proving (part of) Green’s theorem, we’ll look at some examples.

15.1. Examples relevant to Green’s Theorem.

Example 15.2. For this example, let D⊂R2be the solid square with corners(1,−1), (1,1), (−1,1), and (−1,−1). We will need a parameterization of∂D. Since ∂D is made up of 4 line segments, we can parameterize them asfollows. For each of them 0≤ t ≤ 1.

L1(t) = (1,2t−1)L2(t) = (1−2t,1)L3(t) = (−1,1−2t)L4(t) = (2t−1,−1)

We will also need the derivatives:

L′1(t) = (0,2)L′2(t) = (−2,0)L′3(t) = (0,−2)L′4(t) = (2,0)

Example 1a: Let F(x,y) = (−x,y).

Example 1a.i: Compute∫

∂D F ·ds.

Page 69: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

69

Answer: We have:∫∂D F ·ds =

∫ 10 F(L1(t)) ·L′1(t)dt +

∫ 10 F(L2(t)) ·L′2(t)dt+∫ 1

0 F(L3(t)) ·L′3(t)dt +∫ 1

0 F(L4(t)) ·L′4(t)dt

=∫ 1

0

(−1

2t−1

)·(

02

)+

(2t−1

1

)·(−20

)+

(1

1−2t

)·(

0−2

)+

(1−2t−1

)·(

20

)dt

=∫ 1

0 2(2t−1)+(−2)(2t−1)+(−2)(1−2t)+2(1−2t)dt= 0

Example 1a.ii: Compute∫∫D(curlF) ·kdA.

Answer: We have

curlF ·k =∂ (y)∂x− ∂ (−x)

∂y= 0.

Thus,∫∫D

curlF · kdA =∫∫D

0dA = 0. Notice that this matches the answer

from Example 1a.i, as predicted by Green’s theorem.

Example 1b: Let F(x,y) = (−y,x).

Example 1b.i Compute∫

∂D F ·ds.

Answer: We have:∫∂D F ·ds =

∫ 10 F(L1(t)) ·L′1(t)dt +

∫ 10 F(L2(t)) ·L′2(t)dt+∫ 1

0 F(L3(t)) ·L′3(t)dt +∫ 1

0 F(L4(t)) ·L′4(t)dt

=∫ 1

0

(1−2t

1

)·(

02

)+

(−1

1−2t

)·(−20

)+

(2t−1−1

)·(

0−2

)+

(1

2t−1

)·(

20

)dt

=∫ 1

0 2+2+2+2dt= 8

Example 1b.ii Compute∫∫D(curlF) ·kdA.

In this case, curlF ·k = 2. Thus,∫∫D

curlF ·kdA =∫ 1

−1

∫ 1

−12dA = 8.

Notice that this is the same as in Example 1b.i as predicted by Green’stheorem.

Example 15.3. Let F(x,y) = (sinx, ln(1+ y2)). Let C be a simple closedcurve which is made up of 24 line segments in a star shape. Compute∫

C Fds.

Page 70: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

70

Answer: Let D be the region bounded by C. Notice that curlF = 0, so∫∫D

curlF · kdA = 0. By Green’s theorem, this is also the answer to the

requested integral.

Example 15.4. Let φ(t) =(

cos t sin(3t)sin t cos(3t)

)for 0 ≤ t ≤ π/2. Find the area

of the region D enclosed by φ .

Answer: Notice that φ travels clock-wise around D, we need it to gocounter-clockwise to use Green’s theorem. Changing the direction that φ

travels, changes the sign of a path integral of a vector field. Thus, by Green’stheorem, the area of D is given by∫∫

D1dA =−

∫φ

F ·ds,

where F is a vector field having the property that curlF = (0,0,1). Thevector field: F(x,y) = 1

2(−y,x) has that property. Thus,∫∫D 1dA = −

∫φ

F ·ds= −(1/2)

∫ π/20 (−sin t cos3t,cos t sin3t) ·φ ′(t)dt

= −(1/2)∫ π/2

0 cos3t sin3t−3sin t cos t dt= −(1/2)

∫ π/20 sin(6t)/2−3sin(2t)/2dt

= −(1/2)(1/6−3/2)= 2/3.

Page 71: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

71

16. PROOF OF GREEN’S THEOREM

No typed notes available.

17. WHEN IS A FIELD CONSERVATIVE?

So far we know two theorems about conservative vector fields:

Theorem 17.1. Suppose that D ⊂ R3 is open. If F : D→ R3 is C1 andconservative, then curlF(x) = 0 for all x ∈ D.

If D⊂ Rn is open and if F is a C1 vector field on D, we say that F has pathindependent line integrals on D if whenever φ1 and φ2 are two C1 pathswith the same endpoints and oriented in the same direction, then∫

φ1

F ·ds =∫

φ2

F ·ds.

Theorem 17.2. Suppose that D⊂Rn is open and that F is a C1 conservativegradient field on D. Then F has path independent line integrals on D. In fact,if φ joins point a to b and if f is a potential function of F, then

∫φ

F ·ds =f (b)− f (a).

We set about showing some partial converses of these theorems. This willallow us to develop a good criterion for determining if a vector field on R2

is conservative.

In Calc I, you learn that if f : [a,b]→ R is a continuous function, thenF(x) =

∫ xa f (t)dt will always be an antiderivative of f (x). The next theorem

generalizes this to vector fields.

Theorem 17.3. Suppose that D ⊂ Rn and that F : D→ Rn is a C1 vectorfield. If F has path independent line integrals on D then F is conservative.

Proof. We need to define a C2 potential function f : D→ R2 for F. Tothat end, let a ∈ D, be considered as a basepoint. If x ∈ D, choose a pathφ joining a to x and define f (x) =

∫φ

F · ds. Notice that definition of frequires that the path φ be chosen, but that the choice does not matter – anytwo paths will give the same answer, by our hypothesis.

We need to show that f is differentiable and that ∇ f = F. Since D is open,there exists an open disc centered at x and contained in D. Let x+h be avector in this disc. Let h = ||h||. Let φ be a path from a to x and let ψ be a

Page 72: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

72

straight line path in D from x to x+h. Then:1h( f (x+h)− f (x) =

1h

(∫φ

F ·ds+∫

ψF ·ds−

∫φ

F ·ds)

=1h∫

ψF ·ds

Since ψ is a straight line path, we may assume that ψ(t) = x+ th so thatψ ′(t) = h. Then,

1h

∫ψ

F ·ds =1h

∫ 1

0F(ψ(t)) ·hdt.

Write h = hu with u a unit vector. Then1h∫

ψF ·ds =

1h∫ 1

0 F(ψ(t)) · (hu)dt =∫ 10 F(ψ(t)) ·udt =

When h is very small, F(ψ(t)) ≈ F(x) with the approximation improvingas h→ 0. Thus, if u is constant, we have the directional derivative of f inthe u direction as:

limh→0

1h( f (x+h)− f (x)) = F(x) ·u

By making wise choices of h, we see that ∂ f∂x = F · i and ∂ f

∂y = F · j. Conse-quently, ∇ f = F. Furthermore, because F is C1, f is differentiable and isC2. �

It may be difficult to imagine why the previous theorem is useful, sinceit seems impossible to check the integral of a vector field over all pathsjoining two points. However, the next theorem shows that, in fact, path-independence can be useful.

A region D⊆R2 is simply connected if it is connected (i.e. consists of onepiece) and if each loop in D can be continuously shrunk to a point all thewhile remaining in D (that is, D has “no holes”).

Theorem 17.4. Suppose that D⊆R2 is simply connected and that F : D→R2 is a C1 vector field. If curlF(x,y) = 0 for all (x,y) ∈ D, then F has pathindependent line integrals on D.

Proof Sketch. We assume by hypothesis that curlF = 0. Let φ1 and φ2 betwo paths which join A to B. For simplicity, assume that the paths do notintersect except at A and B. Then the images of φ1 and φ2 form the bound-ary of a region E ⊆ D since D is simply connected. Giving the boundary

Page 73: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

73

the correct orientation amounts to traversing one of φ1 and φ2 in the givendirection and traversing the other in the reverse direction. Thus, by Green’stheorem: ∫

φ1

F ·ds−∫

φ2

F ·ds =±∫

∂EF ·ds =

∫∫E

curlF ·kdA.

By our initial hypothesis that curlF = 0, we have shown that this last inte-gral is 0. Consequently, the line integrals over φ1 and over φ2 have the samevalues. �

For vector fields defined on regions in R2 we put all these results togetherto obtain:

Theorem 17.5 (Poincare). Let D⊂R2 be simply connected, and let F : D→R2 be a C1 vector field. Then, the following are equivalent:

(1) F is conservative.(2) F has path independent line integrals on D(3) curlF = 0.

Proof. (1)⇒ (3)

This is Theorem 17.1.

(3)⇒ (2)

This is Theorem 17.4.

(2)⇒ (1)

This is Theorem 17.3. �

Page 74: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

74

18. SURFACES

18.1. The Topological idea of a Surface. Recall that a surface is a 2–dimensional manifold: that is, every point on a surface has a region aroundit (in the surface) that looks like the region around some point in R2

+.

Examples of surfaces are spheres, tori, tori with holes in them, infinitecones, mobius bands, Klein bottles, and projective planes. Here are threedefinitions of what it means for a surface to be orientable. They more-or-less (but not exactly) are equivalent.

Combinatorial: A surface is orientable if there is a triangulation of thesurface, such that the boundary of each triangle is oriented and if two tri-angles share an edge e they induce opposite orientations on that edge. Fora given triangulation of a connected surface there are at most two possibleorientations.

Exercise 18.1. Triangulate the Mobius band and prove that there is no wayto orient that triangulation.

Topological A surface is not orientable if and only if it contains a Mobiusband as a subset.

Exercise 18.2. Prove that the Klein bottle and Projective Plane are not ori-entable.

We will wait to define the calculus notion of “orientable” until we havediscussed parameterizations in more detail.

18.2. Parameterizations of Surfaces in R3. Suppose that X : D→ R3 isa function defined on a 2–dimensional region D ⊆ R2. We require that Dhave piece-wise C1 boundary and that X be continuous and injective on theinterior of D (that is on D−∂D). We say that X is a parameterized surfaceand that it is a parameterization of the surface X(D) ⊆ R3. It is possiblethat X(D) is not a surface in the topological sense.

Example 18.3. Let X(s, t) = (s, t,0) for (s, t) ∈ D with D some region inR2.

Example 18.4. The graph of a function z = f (x,y) can be parameterized asX(s, t) = (s, t, f (s, t)).

Example 18.5. Suppose that x : [a,b]→ R3 and y : [a,b]→ R3 are twosimple curves. Define X(s, t) = (1− s)x(t)+ sy(t) for (s, t) ∈ [0,1]× [a,b].This is the surface of lines that joint the path x to the path y.

Page 75: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

75

Example 18.6. Suppose that u, v, and w are three non-collinear points inR3. The plane containing the three points can be parameterized as X(s, t) =su+ tv+(1− s− t)w. If we restrict (s, t) to be in [0,1]× [0,1] then we havea parameterized solid triangle with corners at v, u, and w.

Example 18.7. If x(t) = (x(t),y(t)) is a curve in the x−y plane, the surfaceobtained by rotating that curve around the y axis can be parameterized as

X(s, t) =

cos(s)x(t)y(t)

sin(s)x(t)

with s ∈ [0,2π].

If X : D→ R3 is a surface and if we fix some t0 then the curve x(s) =X(s, t0) is called a s–coordinate curve. Similarly, if s0 is fixed, then x(t) =X(s0, t) is a t–coordinate curve. We let Ts and Tt be the tangent vectors ofthese curves. That is: Ts(s, t) = ∂

∂ sX(s, t) and Tt(s, t) = ∂

∂ t X(s, t). Noticethat the vectors Ts(s, t) and Tt(s, t) are tangent to the surface X(D). Indeed,if X(D) has a tangent plane at the point (s, t) then Ts(s, t) and Tt(s, t) lie inthat plane. The following definition, therefore, is likely to be useful:

If X is C1 at the point (s, t), then the vector N(s, t) = Ts×Tt is called thenormal vector at (s, t). If N(s, t) 6= 0, then we say that X is smooth at (s, t).Being smooth at (s, t) is equivalant to the statment that the vectors Ts andTt form a basis for the tangent plane to X(D) at X(s, t).

If D is connected and if X is smooth, then if N varies continuously with(s, t), then X is oriented with orientation N/||N||. Notice that since X issmooth and since N is continuous, a connected smooth surface has exactlytwo orientations.

In fact this sort of orientation is called a “normal orientation”. In R3, asmooth connected surface has a normal orientation if and only if it has acombinatorial orientation if and only if it does not contain a Mobius band.In other 3–dimensional spaces, the combinatorial and calculus versions oforientation may differ.

Example 18.8. Let

X(s, t) =

cosscos tsin t

sinscos t

Page 76: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

76

for (s, t) ∈ [0,2π]× [−π,π]. This is a parameterization of the unit sphere.Calculations show that

N(s, t) =

−sinssin2 t− cosscos2 t−cos2 scos t sin t− sin2 scos t sin t−cos2 t sins+ sin2 t coss

.

It is possible to check that N is everywhere non-zero and continuous. ThusX is smooth and orientable.

18.3. Surface Integrals. Notes will be added later.

18.4. Reparameterizations.

Definition 18.9. Suppose that D and E are 2-dimensional regions in R2

with C1 boundary. Let h : E→ D be a function such that:

(1) h is a surjection.

(2) except on a finite set of points, h is C1

(3) Let P be the set of points such that the determinant of the derivativeof h is 0. If P is infinite, then P ⊂ ∂E.

Then we say that h is a change of coordinates function.

Example 18.10. Let D be the disc 0≤ s2 + t2 ≤ 4 in the s− t plane. Let Ebe the rectangle [0,2π]× [0,2] in the u− v plane. Define:(

st

)= h(u,v) =

(vcosuvsinu

).

Claim: h is a change of coordinates function.

Clearly, h is a surjection and h is C1. Notice that:

Dh(u,v) =(−vsinu cosuvcosu sinu

).

Thus, detDh(u,v) = −v. As long as v > 0, detDh(u,v) 6= 0. The set P ={(0,v)} lies in ∂E. Thus, h is a change of coordinates function.

Lemma 18.11. Suppose that E is connected and that h : E→D is a changeof coordinates function. If x1 and x2 are points in E at which h is C1 andwith detDh(x1) 6= 0 and detDh(x2) 6= 0, then either both detDh(x1) anddetDh(x2) are positive, or both are negative.

Proof. Let P be the set of points at which either h is not C1 or at whichdetDh is zero. By our hypotheses on P and the fact that E is connected,there is a continuous path in E−P joining x1 to x2. Since h is C1 on E−P ,

Page 77: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

77

detDh varies continuously along the path. Since the path misses the placeswhere detDh(u,v) = 0, detDh(x1) and detDh(x2) are both positive or bothnegative. �

Definition 18.12. If h : E → D is a change of coordinates function, andif E is connected then h is orientation preserving if detDh > 0 on allpoints where detDh is defined and non-zero. Otherwise, h is orientationreversing.

Definition 18.13. Suppose that X : D→ R3 is a surface and that Y : E →R3 is a surface such that there exists a change of coordinates functionh : E→ D with Y = X◦h. Then Y is a reparameterization of X.

Example 18.14. Let X(s, t) =

st

s2 + t2

for 0≤ s2+ t2 ≤ 4. Let Y(u,v) =vcosuvsinu

v2

. Notice that X and Y are parameterizations of the same parab-

oloid. Define h(u,v) =(

vcosuvsinu

). Then Y is a reparameterization of X by

an orientation reversing change of coordinates.

Lemma 18.15. Suppose that X : D→R3 and that h : E→D is a change ofcoordinates function. Let Y = X◦h. Let NX and NY be the normal vectorsof X and Y respectively. Then,

NY(u,v) = (detDh(u,v))NX(h(u,v)).

Proof. We simply provide a sketch for those who have taken Linear Alge-bra. The book provides a different method.

Let S = X(D) = Y(E). Assume that both X and Y are smooth, so thatthere exists a tangent plane T Sp to S at p = X(s, t) = Y(u,v). Assume thatcoordinates on R3 have been chosen so that T Sp is the xy-plane in R3.

We think of T S(u,v) as lying in the tangent space Tp in R3 at p. Since bothX and Y are smooth, the sets of vectors {Ts,Tt} and {Tu,Tv} are each abasis for T Sp. Identifying T Sp with both the s− t plane and with the u− vplane.

By the chain rule,

DY(u,v) = DX(h(u,v))Dh(u,v).

Page 78: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

78

We haveDY(u,v) =

(Tu(u,v) Tv(u,v)

)DX(h(u,v)) =

(Ts(h(u,v)) Tt(h(u,v))

)Recall that the absolute value of the determinant of a 2× 2 matrix is thearea of the parallelogram formed by its column vectors. Recall also thatdeterminant is multiplicative. Thus, by taking determinants and absolutevalues we get:

( Area of parallelogram formed by Tu(u,v) and Tv(u,v) ) =( Area of parallelogram formed by Ts(h(u,v)) and Tt(h(u,v)) )|detDh(u,v)|

Thus,

||NY(u, ,v)||= ||NX(h(u,v))|| |detDh(u,v)|.

Since we have arranged that T Sp is the xy-plane, both NY(u,v) and NX pointin the ±k direction. That is:

NY(u, ,v) =

00

detDY(u,v)

NX(h(u,v)) =

00

detDX(h(u,v))

Since, detDY(u,v) = detDX(h(u,v))detDh(u,v), the result follows. �

Thus, if X and Y are both smooth and connected surfaces and if Y is areparameterization of X by a change of coordinates function h, then Y hasthe same normal orientation as X if and only if there exists a point (u,v)with detDh(u,v)> 0.

Example 18.16. Let X(s, t) =

st

s2 + t2

for 0≤ s2+ t2 ≤ 4. Let Y(u,v) =vcosuvsinu

v2

. Notice that X and Y are parameterizations of the same parab-

oloid. Define h(u,v) =(

vcosuvsinu

). Notice that Y = X ◦ h where h(u,v) =

(vcosu,vsinu).

Page 79: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

79

Calculations show that:

NX =

−2s−2t

1

NY =

2v2 cosu2v2 sinu−v

Recalling that detDh(u,v) = −v, we see that the lemma gives us the samerelationship between NX and NY.

18.5. Surface Integrals: Definitions and Calculations. Suppose that X : D→R3 is a smooth surface. Suppose that f : X(D)→ R and f : X(D)→ R3

are C1. Then define:∫∫X F · dS =

∫∫D(F◦X) ·NdA∫∫

X f dS =∫∫D( f ◦X) ||N||dA.

Example 18.17. Let Y(u,v)=

vcosuvsinu

v2

for (u,v)∈E where E = [0,2π]×

[0,4]. Let F(x,y,z) =

−yx0

. Calculate∫∫

X F ·dS.

Recall that NY =

2v2 cosu2v2 sinu−v

. Thus,

∫∫Y FdS =

∫∫E F(Y(u,v)) ·NY dA

=∫ 4

0∫ 2π

0

−vsinuvcosu

0

·2v2 cosu

2v2 sinu−v

dudv

=∫ 4

0∫ 2π

0 0dudv= 0.

You may wonder how surface integrals change under reparameterization.The following theorem provides the answer:

Page 80: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

80

Theorem 18.18. Suppose that X and Y are parameterized connected sur-faces and that Y is a reparameterization of X. If the change of coordinatefunction h is orientation-preserving, let ε = +1. If h is orientation revers-ing, let ε = −1. Let f be a C1 scalar field and let F be a C1 vector field,both defined in a neighborhood of the image of X and Y. Then:∫∫

Y f dS =∫∫

X f dS∫∫Y F · dS =

∫∫X F · dS

Proof. We will need the change of variables theorem:

Theorem. Suppose that D and E are regions in the st plane and the uvplane respectively and that h : E → D is a change of coordinates function.Let g : D→ R be C1. Then∫∫

Eg◦h |detDh(u,v)|dudv =

∫∫D

gdsdt

Both equations are a rather immediate application of this. We prove onlythe second, in the case when h is orientation reversing.

∫∫Y FdS =

∫∫E(F◦Y) ·NY dudv

=∫∫

E((F◦X)◦h) · (NX ·h)(detDh(u,v))dudv=

∫∫D(F◦X) ·NX dsdt

=∫∫

X F ·dS.

The second to last equality comes from an application of the change ofvariables theorem. �

19. FLUX

If F : R3→ R3 is a vector field and if S ⊂ R3 is an oriented surface, withnormal orientation n, then the flux of F across S is, by definition,

∫∫X F ·dS,

where X is any parameterization of S, with normal vector N pointing in thesame direction as n.

Informally, the flux of F across S, measures the rate of fluid flow across S.

Example 19.1. Let S be the paraboloid which is the graph of f (x,y) =x2 + y2 for x2 + y2 ≤ 4. Orient S. If F(x,y,z) = (−y,x,0), then the flux of Facross S is 0 since the vector field is tangent to S. (Notice that the flow linesfor F which contain points of S, actually lie on S.

Page 81: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

81

Example 19.2. Let S be the unit sphere in R3 with outward pointing normal.Let F(x,y,z)= (x,y,z). Then the flux of F across S is simply the surface areaof S (which is 4π/3) since, at (x,y,z) ∈ S.

To see this, let X : D→R3 be a smooth parameterization of S with outwardpointing normal vector. Noticing that ||F(X)||= 1, we have:∫∫

X F ·dS =∫∫

D F(X) ·Ndsdt

=∫∫

D

(F(X) · N

||N||

)||N||dsdt

=∫∫

D ||F(X)||||N||dsdt=

∫∫D ||N||dsdt

=∫∫

X dS

and this last expression is the surface area of S.

This last example can be generalized to:

Theorem 19.3. Suppose that S is a compact surface in R3 and that F isa non-zero C1 vector field defined in a neighborhood of S such that foreach (x,y,z) ∈ S, F(x,y,z) is perpindicular to S. If ||F(x,y,z)|| > 0 for all(x,y,z) ∈ S, then the flux of F across S is simply ±

∫∫S ||F||dS.

Example 19.4. Suppose that a thin sphere of radius 1 centered at the originis given a constant +1 charge. Then the sphere generates an electric fieldgiven by:

E(a,b,c) = ∇(a,b,c) ·∫∫

Sf dS,

where f (x,y,z) = −1(a−x)2+(b−y)2+(c−z)2 .

By the theorem, this does not depend on a parameterization for S.

Page 82: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

82

20. STOKES’ AND GAUSS’ THEOREMS

Definition 20.1. Suppose that S is a piecewise smooth surface which hasnormal orientation n (a unit vector). Let γ be a component of ∂S. Orient γ .We say that γ has been oriented consistently with n if it is possible to puta little triangle on γ , give the edges of the triangle arrows circulating in thedirection of the orientation of γ , use the right hand rule and obtain a normalvector pointing in the direction of n. We also say that ∂S has been given theorientation induced from the orientation of S.

Example 20.2. Suppose that A ⊂ R3 is an oriented annulus (i.e. cylinder)with two boundary components. Those boundary components must haveopposite orientations.

Theorem 20.3 (Stokes’ Theorem). Let S be a compact, oriented, piecewisesmooth surface in R3. Give ∂S the orientation induced by the orientation ofS. Let F be a C1 vector field defined on an open set containing S. Then,∫∫

S(curlF) ·dS =

∫∂S

F ·ds.

Theorem 20.4 (Divergence Theorem/Gauss’ Theorem). Let D be a com-pact solid region in R3 such that ∂D consists of piecewise smooth, closed,orientable surfaces. Orient ∂D with unit normals pointing out of D. Sup-pose that F is a C1 vectorfield defined on an open set containing D. Then:∫∫∫

D

divF ·dS =∫∫∂D

F ·dS

Page 83: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

83

21. GRAVITY

Suppose that for each point x ∈ R3, there is a point mass ρ(x). Then thegravitational field exerted by x is:

F(r) = (Gρ(x))x− r||x− r||3

.

where G is the gravitational constant. It is easy to check that the divergenceof F with respect to r (denoted ∇r ·F is 0.

Fundamental to the study of gravitation is:

Theorem 21.1 (Gauss’ Law). Let V be a 3–dimensional region. The fluxof the gravitational field exerted by V across ∂V is:∫∫

∂VF ·dS =−4πG

∫∫∫V

ρ dV

Proof. Case 1: There exists a point x ∈ V with ρ(x) 6= 0 and all otherpoints in V have zero mass. Let S be a small sphere of radius a enclosing xcontained inside V . then∫∫

SaF ·dS =

∫∫Sa

F ·ndS= Gρ(x)

∫∫S

1||x−r||3 (x− r) · −1

||x−r||(x− r)dS

= −Gρ(x)∫∫

S1

||x−r||3 dS

= −Gρ(x) 1||x−r||3

∫∫S dS

= −Gρ(x(4π)

Now notice that since ∇r ·F = 0, by the divergence theorem, we have:∫∫∂V

F ·dS =∫∫

SF ·dS =−4πGρ(x).

Case 2: There is a 3-dimensional region R⊂V with non-zero mass (possi-bly all of V ) then by superposition:∫∫

∂VF ·dS =−4πG

∫∫∫R

ρ dV.

We can now prove an important theorem:

Theorem 21.2 (Shell Theorem). Suppose that W is a 3–dimensional regionof constant mass which is the region between a sphere of radius a ≥ 0 anda sphere of radius b > a, both centered at the origin.

Then the following hold:

Page 84: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

84

(1) For a point r, with ||r||> b, the force of gravity is the same as if Wwere a point mass.

(2) In either case, for a point r with a < ||r|| < b, the force of gravityvaries linearly with distance from the origin.

(3) For a point r with ||r||< a, the force of gravity is zero.

Proof. Let r be a point in R3. By the principal of superposition, the gravi-tational field at r is a vector that points toward the origin. That is, if r 6= 0,

F(r) =− f (r)r||r||

where f (r) is a non-negative scalar function depending only on the magni-tude r of r.

Let S be a sphere of radius r bounding a ball V centered at 0. We have:∫∫S F ·dS = f (r)

∫∫S−x||x|| dS

= −4πr2 f (r).

By the differential form of Gauss’ Law and the divergence theorem , wealso have: ∫∫

S F ·dS = −4πG∫∫∫

B ρ dV

Thus,−4πr2 f (r) =−4piG

∫∫B

ρ dV

Thus:

• If r > b, for all x ∈V −W , ρ(x) = 0, so the first result follows.• If a < r < b, we have the second result.• If r < a we have the 3rd result, since for all x ∈ B, ρ(x) = 0.

Page 85: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

85

22. COHOMOLOGY THEORY

In this section we work entirely on subsets of R3. Throughout we assumethat whenever every appropriate that the objects under consideration are C1

or C2.

Theorem 22.1. Suppose that F and G are vector fields defined on D andthat whenever φ is a simple closed curve in D, then

∫φ

F · ds =∫

φG · ds.

Then there exists a scalar field h : D→ R such that F = G+∇ f .

Proof. Recall from the proof of Poincare’s Theorem that if a vector fieldhas path independent line integrals then it is a gradient field. In particular,this result did not rely on D being simply connected. Let H = F−G.

Claim: H has path independent line integrals.

Assume that φ and ψ are two paths joining a point a to a point b. Let Cbe the closed curve obtained by traversing φ and then traversing ψ in thereverse direction. For simplicity, we assume that C is simple. Then,∫

φ

H ·ds−∫

ψ

H ·ds =∫

CH ·ds =

∫C(F−G) ·ds =

∫C

F ·ds−∫

CG ·ds = 0.

Thus, by Poincare’s Lemma, there exists a scalar function f : D→ R suchthat F−G = ∇ f as desired. �

Corollary 22.2. Let D = R2 − {0}. Suppose that F : D → R and thatcurlF = 0. Then there exists a constant k ∈ R and a scalar field f : D→ Rsuch that

F(x,y) =k

x2 + y2

(−yx

)+∇ f (x,y).

Proof. Let C be a counter-clockwise oriented simple closed curve enclos-ing the origin. Define k = 1

∫C F · ds. Then evaluating both F and G =

kx2+y2

(−yx

)around C produces the same answer. Since curlF = 0 inte-

grating F and G over any other simple closed curve containing the originproduces k (by Green’s theorem and some topology). If C is a simple closedcurve not enclosing the origin, since curlF = 0 and since curlG = 0, F andG once again have the same contour integrals. Thus, by the theorem F−Gis a gradient field. �

Let cycle2(D) be the set of all vector fields on a region D with 0 curl.cycle2(D) is a real vector space. Let boundary1(D) be the set of all gradientfields on D. boundary1(D) is also a real vector space. Since curl◦grad =

Page 86: CONTENTS - Colby Collegepersonal.colby.edu/personal/s/sataylor/teaching/F10/MA302/VectorC… · Space Curves 20 5. Direction Vectors and Tangent spaces 22 5.1. Derivatives and Tangent

86

0, boundary1(D) ⊂ cycle2(D). Let H1(D) be the quotient vector spacecycle2(D)/boundary1(D). That is, two vector fields with 0 curl on D areconsidered “the same” if they differ by a gradient field. We conclude fromthe above example that H1(R2 − {0}) is a 1–dimensional vector space.From Poincare’s Theorem, we know that H1(R2) is a 0–dimensional vectorspace (i.e. every vector field with 0 curl is a gradient field).

You might enjoy this (challenging) exercise: Let D be the result of removingn points from R2. Prove that H1(D) is n–dimensional.