calculus 224

197
z=f(x,y) x z y MATH 234 THIRD SEMESTER CALCULUS Spring 2014 1

Upload: tomematesic

Post on 16-Oct-2015

171 views

Category:

Documents


0 download

DESCRIPTION

calculus

TRANSCRIPT

  • z=f(x,y)

    x

    z

    y

    MATH 234THIRD SEMESTER

    CALCULUS

    Spring 2014

    1

  • 2Math 234 3rd Semester CalculusLecture notes version 0.9(Spring 2014)

    is is a self contained set of lecture notes for Math 234. e notes were wrien bySigurd Angenent, some problems were taken from Guichards open calculus text whichis available at http://www.whitman.edu/mathematics/multivariable/src/

    e LATEX les, as well as the P and I les that were used to pro-duce the notes before you can be obtained from the following web site:

    http://www.math.wisc.edu/~angenent/Free-Lecture-Notesey are meant to be freely available for non-commercial use, in the sense that freesoware is free. More precisely:

    Copyright (c) 2009 Sigurd B. Angenent. Permission is granted to copy, distribute and/or modify thisdocument under the terms of the GNU Free Documentation License, Version 1.2 or any laterversion published by the Free Soware Foundation; with no Invariant Sections, no Front-CoverTexts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU FreeDocumentation License.

  • Contents

    Chapter 1. Vector Geometry in Three dimensional space 51. Three dimensional space 52. Geometric description of vectors 53. Arithmetic of vectors 64. Vector algebra 75. Component representation of vectors 86. The dot product 97. The cross product 108. The triple product 129. Determinants 1310. Determinants, the triple product, and the cross product 1311. Defining equations for lines and planes 1412. Problems 16

    Chapter 2. Parametric curves and vector functions 191. Vector functions 192. Using vector functions to describe motion 193. Lines 204. Circular motion 205. The cycloid 216. The helix 217. The derivative of a vector function 228. The derivative as velocity vector 239. Acceleration 2410. The dierentiation rules 2511. Vector functions of constant length 2612. Two examples 2713. Arc length 2814. Arc length derivative 2915. Unit Tangent and Curvature 3016. Osculating plane 3117. Problems 31

    Chapter 3. Functions of more than one variable 351. Functions of two variables and their graphs 352. Linear functions 383. adratic forms 394. Functions in polar coordinates r; 425. Methods of visualizing the graph of a function 44Problems 46

    Chapter 4. Derivatives 491. Interior points and continuous functions 492. Partial Derivatives 503. Problems 514. The linear approximation to a function 525. The tangent plane to a graph 55

    3

  • 4 CONTENTS

    6. The Two Variable Chain Rule 587. Problems 618. Gradients 629. The chain rule and the gradient of a function of three variables 6610. Implicit Functions 69Problems 7211. The Chain Rule with more Independent Variables;

    Coordinate Transformations 7312. Problems 7513. Higher Partials and Clairauts Theorem 7814. Finding a function from its derivatives 7915. Problems 81

    Chapter 5. Maxima and Minima 831. Local and Global extrema 832. Continuous functions on closed and bounded sets 833. Problems 854. Critical points 865. When there are more than two variables 896. Problems 917. A Minimization Problem: Linear Regression 928. Problems 939. The Second Derivative Test 9410. Problems 9911. Second derivative test for more than two variables 10012. Optimization with constraints and the method of Lagrange multipliers 10113. Problems 104

    Chapter 6. Integrals 1071. Ways of Integrating 1072. Double Integrals 1083. Problems 1204. Triple integrals 1215. Why compute a Triple Integral? 1246. Integration in special coordinate systems 1297. Problems 132

    Chapter 7. Vector Calculus 1371. Vector Fields 1372. Examples of vector fields 1373. Line integrals 1404. Problems 1425. Line integrals of vector fields 1426. Another Fundamental Theorem of Calculus 1487. Conservative vector fields 1508. Problems 1519. Flux integrals 15110. Greens Theorem 15511. Conservative vector fields and Clairauts theorem 15712. Problems 15913. Surfaces and Surface integrals 16014. Examples 16515. The divergence theorem and Stokes theorem 16716. #r dierentiating vector fields 16817. Problems 171

  • CHAPTER 1

    Vector Geometry in ree dimensional space

    1. ree dimensional spacee world according to our rst and second semester calculus courses is at: except

    for a brief digression about surfaces of revolution, everything that we discussed in Math221 and 222 took place in the (x; y)-plane. All curves were curves in the plane and allfunctions had graphs that were curves in the plane. is semester we leave two dimen-sions behind and enter the three dimensional world. In order to understand the objectswe will be dealing with, such as curves that are free to loop around in space, or functionswhose graphs are themselves two dimensional curved surfaces, we will rst review somethree dimensional geometry. In particular, we will review the use of vectors in threedimensional geometry.

    2. Geometric description of vectors2.1. Points and their coordinates. We are used to describing the location of any

    point in the plane by choosing two perpendicular coordinate axes (the x and y axes),and specifying the corresponding (x; y)-coordinates of any given point. In the same waywe can describe where points are in three dimensional space by choosing three mutuallyperpendicular axes, which we call the x, y, and z axes. To say where some given point Pis, we travel from the origin to P , rst along the x axis, then parallel to the y-axis, andnally parallel to the z-axis. e distances we had to go in the x, y, and z directions arethe x, y, and z coordinates of our point P .

    y-axis

    z-axis

    x-axis

    Figure 1. To determine the location of points in three dimensional space (such as the center of theblue sphere in this drawing), we should choose three coordinate axes, and specify three numbers:the x, y, and z coordinates of the point.

    5

  • 6 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    2.2. Vectors. While points and their coordinates are used to described locations inspace, vectors are used to describe displacements, i.e. how to go from one point to an-other. Such a displacement has a size (how far we have to go), and a direction (which waydo we go). Vectors also get used in non-geometric situations to describe objects that havesize and direction, e.g. velocities and forces in physics are typical examples of vector-likeobjects.

    Informal denition of vectors. Wewill think of a vector as an arrow connecting twopoints. If the points areA andB then we call the vector # AB. If we translate a vector # ABwithout turning it then we say that the resulting vector # CD is the same vector as theoriginal vector # AB. A more precise way of saying that we should be able to move # ABwithout turning, is to insist that the line segments AB and CD should be parallel, andhave the same length and orientation.

    A

    B

    C

    D

    Figure 2. This figure contains four points (A,B,C ,D), two line segments (AB andCD), but onlyone vector since # AB and # CD represent the same vector: # AB = # CD.

    We say that the arrows # AB and # PQ both represent the same vector. Since both#

    AB and # PQ are the same vector we will oen want to use a notation for vectors thatdoes not emphasize any particular choice of initial- and endpoint. e notation we willuse in this course is

    #a =#

    AB =#

    PQ;

    i.e., a single leer with an arrow on top will always stand for a vector in this course.

    to addtwo vectors

    move one vectoruntil its initial point

    is the end point ofthe other and combine them.

    BP

    Q

    BP

    Q

    C

    B

    C

    B

    C

    A A A A

    #a #a #a #a

    #

    b#

    b#

    b#

    b#a +

    #

    b

    Figure 3. Adding vectors

    3. Arithmetic of vectorsTo add two vectors # AB and # PQ we rst translate the vector # PQ so that its initial

    point becomes B; let the result of this translation be the vector # BC . en, by denition,

  • 4. VECTOR ALGEBRA 7

    the sum of # AB and # PQ is # AC : in a formula,#

    AB +#

    PQ =#

    AB +#

    BC =#

    AC:

    An equivalent way of adding two vectors # AB and # PQ is to move the vectors around untilthey have the same initial point. Two vectors with a common initial point form two sidesof a parallelogram (see Figure 4) and the sum of the two vectors is the diagonal of thatparallelogram.

    A

    B

    CC

    D

    A

    B

    CC

    D

    A

    B

    CC

    D

    A

    BD

    #

    AB +#

    AD =?

    Figure 4. Using a parallelogram to add vectors. To find # AB+ # AD wemove the vector # AD sothat its initial point is at B, i.e. the endpoint of # AB. This gives us a parallelogram ABCD, where# AD =

    # BC . Therefore # AB + # AD = # AB + # BC = # AC

    One can also multiply vectors with numbers. To multiply a vector #a with a positivereal number t > 0, we multiply the length of the vector by a factor t, without changingthe direction of the vector.

    #a

    2 #a

    #a

    #a

    #

    b

    #a

    #b

    #a #b

    #

    b #aFigure 5. Multiplying and subtracting vectors

    4. Vector algebrae addition and multiplication of vectors and numbers satisfy a number of alge-

    braic properties that should look familiar, as they are very similar to the usual algebraicproperties for adding and multiplying numbers. Here they are:

    #a +#

    b =#

    b + #a commutative law( #a +

    #

    b ) + #c = #a + (#

    b + #c ) t (s #a) = (ts) #a associative lawst ( #a + #b ) = t #a + t #b (t+ s) #a = t #a + s #a distributive laws

  • 8 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    5. Component representation of vectors

    5.1. Components of a vector in two dimensional space. ere is a way to representa vector by specifying a list of numbers instead of by giving a geometric description of thevector. To do this for vectors in the plane, we must choose two perpendicular coordinateaxes (the x and y axes). We dene

    #e1 = vector with length 1, in the direction of the x axis#e2 = vector with length 1, in the direction of the y axis

    en any other vector can be wrien as the sum of a multiple of #e1 and another multipleof #e2:(1) #a = a1 #e1 + a2 #e2:See Figure 6. e numbers a1 and a2 are called the components of the vector #a . If weknow the components a1 and a2 of a vector, and if we know the two vectors #e1 and #e2,then we can reconstruct the vector #a by using the formula (1).

    #e1

    #e2

    #a #a #a

    a1#e1

    a2#e2

    Figure 6. Describing a vector in terms of its components.

    Instead of using the notation (1), one very oen writes

    (2) #a =a1a2

    ; or #a =

    a1a2

    ; or #a = ha1; a2i:

    is notation says that #a is the vector whose components are a1 and a2. Since the twovectors #e1 and #e2 depend on our choice of coordinate axes, we can only use the compo-nent notation if it is clear to everyone how we chose the coordinate axes.

    e rst way of writing the vector, in which the components a1 and a2 are listed in acolumn enclosed in either parentheses or square brackets, is the standard way of writingcolumn vectors, and is used in linear algebra courses (math 320, 340, 341, etc.), as wellas by most computational soware (MatlabTM, Octave, etc.). e other way of writing thecomponents, i.e. as ha1; a2i, also gets used, especially when one has to type the equationsrather than write them by hand.

    5.2. Components of a vector in three dimensional space. e preceding also ap-plies to vectors in three dimensional space: instead of choosing two coordinate axes wechoose three axes, and call them the x, y, and z axes (or, the x1, x2, and x3 axes). enwe dene #{ , #| , and #k (or #e1, #e2, and #e3) to be vectors of length one in the direction of

  • 6. THE DOT PRODUCT 9

    the three coordinate axes. A vector #a in space can then be wrien as a combination ofthe three vectors #{ , #| , and #k , namely,

    #a = a1#{ + a2

    #| + a3#

    k ; or #a =0@a1a2a3

    1A :e #e1, #e2, #e3 notation is more systematic, but the #{ , #| , #k notation, which was intro-

    a2#e2a1

    #e1

    a3#e3

    #e2

    #e3

    #e1

    The vector #a =0@a1a2a3

    1A is#a = a1

    #e1 + a2#e2 + a3

    #e3

    0@a1a2a3

    1A

    Figure 7. Components of a vector in three dimensional space

    Josiah Willard Gibbs18391903https://en.wikipedia.org/wiki/Josiah_Willard_Gibbs

    duced into vector geometry and vector calculus by J.W.Gibbs, is also very common.

    5.3. Length of a vector whose components are given. We will writek #ak

    for the length of a vector #a . If the vector is given in components,#a = a1

    #e1 + a2#e2; or #a = a1 #e1 + a2 #e2 + a3 #e3;

    then the length of the vector is determined by Pythagoras law (see Figures 6 and 7):

    (3) k #ak =qa21 + a

    22; or k #ak =

    qa21 + a

    22 + a

    23:

    6. e dot product

    ere are two dierent descriptions of the dot product of two vectors: one geometric,and the other in terms of the components of the vectors.

    6.1. Geometric description of the dot product. If #a and #b are two given vectors,then, by denition,

    #a

    #b

    The dot product betweentwo vectors.

    (4) #a #b = k #ak k #b k cos ;where is the angle between the two vectors #a and #b .

  • 10 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    6.2. e dot product in terms of vector components. If we choose an orthonormalset of vectors #e1; #e2; #e3, and write

    #a = a1#e1 + a2

    #e2 + a3#e3 =

    0@a1a2a3

    1A ; #b = b1 #e1 + b2 #e2 + b3 #e3 =0@b1b2b3

    1A ;then(5) #a #b = a1b1 + a2b2 + a3b3:e fact that (4) and (5) always give the same result is not obvious (the formulas look verydierent), and requires a proof. A very common proof relies on the law of cosines (it wasgiven in math 222 see also Problem 12.17)

    6.3. Algebraic properties of the dot product. e dot product has the followingalgebraic properties, which we will use very oen throughout this course:

    #a #b = #b #a commutatives( #a #b ) = (s #a) #b associative

    ( #a +#

    b ) #c = #a #c + #b #c : distributiveWe will not prove these properties here. Proofs can be given if one starts either fromthe algebraic description of the dot-product (5), or from the geometric description (4) (al-though the distributive property is more dicult to prove from the geometric descriptionthan from the algebraic description.)

    e sign of the dot product tells us if the angle between two vectors is acute, obtuse,or if the vectors are perpendicular:

    #a ? #b () #a #b = 0(6a)#a #b > 0 () <

    2(6b)

    #a #b < 0 () > 2:(6c)

    7. e cross productAs with the dot product, the cross product of two vectors also has a geometric de-

    scription, and a description in terms of components.

    7.1. Geometric description of the cross product. Let #a and #b be two vectors inthree dimensional space, then their cross product is the vector #a #b that satises

    #a #b is perpendicular to #a , and also to #b the length of #a #b is given by

    k #a #b k = k #ak k #b k sin ;where is the angle between the vectors #a and #b ,

    the three vectors #a , #b , #a #b satisfy the right hand rule: if on your right hand#a is the index nger and #b is the middle nger, then your thumb points in thedirection of #a #b . See Figure 8.

  • 7. THE CROSS PRODUCT 11

    #a

    #

    b

    #a #b#a

    #

    b

    #a #b

    Figure 8. The cross product: #a #b is perpendicular to both #a and #b ; its direction follows fromthe right-hand rule.

    e length of the cross product of two vectors has a geometric interpretation. Namely,the quantity k #ak k #b k sin is exactly the are of the parallelogram spanned by the vectors#a and #b .

    height = k #ak sin

    base = k #b k

    #a

    Area=heightbase

    #

    b

    7.2. Algebraic description of the cross product. If #a and #b are given by (4), i.e. by#a = a1

    #e1 + a2#e2 + a3

    #e3 =a1a2a3

    ;

    #

    b = b1#e1 + b2

    #e2 + b3#e3 =

    b1b2b3

    ;

    then#a #b =

    0@a2b3 a3b2a3b1 a1b3a1b2 a2b1

    1A :7.3. Algebraic properties of the cross product. e cross product has the distribu-

    tive property, namely,(7) ( #a + #b ) #c = #a #c + #b #c ;holds true for any three vectors #a , #b , #c .

    e cross product is not commutative: #a #b and #b #a are not the same thing.Instead, we have :(8) #a #b = #b #a :Because of this property the cross product is said to be anti-commutative.

  • 12 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    e associative property fails completely for the cross product: for most vectors #a ,#

    b , #c one has(9) ( #a #b ) #c 6= #a( #b #c )

    If you need a vector that is perpendicular to two given vectors, take their cross prod-uct.

    e length of the cross product #a #b is the area of the parallelogram spanned bythose vectors.

    8. e triple productJust as two vectors in the plane form a parallelogram, three vectors in space will

    form a shape called a parallelepiped. By denition, a parallelepiped is a solid body eachof whose faces is a parallelogram.

    #a

    #c

    #

    b

    #

    b #c

    heigh

    t

    #a#

    b#c

    #

    b #c

    heigh

    t

    Figure 9. A parallelepiped spanned by three vectors #a , #b , #c . Since the base of the paral-lelepiped is a parallelogram with edges #b and #c , we have

    Area of base = k #b #c k.The height of the parallelepiped is k #ak cos , and therefore the volume is given by

    Volume = height area of base = k #ak k #b #c k cos = #a #b #c .This derivation applies to the situation on the le, where the vector #a and the cross product #b #cpoint in the same direction. If these vectors form an obtuse angle, as is the case on the right, thencos < 0, and the height is k #ak cos . In that case one has

    Volume = height area of base = k #ak k #b #c k cos = #a #b #c .If we are given three vectors #a , #b , and #c , then the volume of the parallelepiped they

    determine is given by the formulaVolume equals Area of base times height

    In terms of the three vectors this is(10) V =

    #a #b #c :A derivation is sketched in Figure 9. e quantity #a ( #b #c ) (without the absolutevalues) is called the triple product of the three vectors #a , #b , and #c . Apart from its usein computing the volume of a parallelepiped, the triple product appears in many other

  • 10. DETERMINANTS, THE TRIPLE PRODUCT, AND THE CROSS PRODUCT 13

    contexts. At rst sight the expression #a ( #b #c ) suggests that the order in which thevectors appear is important, but this turns out not to be true. One has

    #a #b #c = #b #c #a = #c #a #b for any #a ; #b ; #c .

    9. DeterminantsFor any four numbers a, b, c, d, one denes the 2 2 determinant to be

    (11) a bc d

    = ad bc :One can also dene 3 3 determinants. Namely, for any nine numbers a1; : : : ; c3 onedenes

    (12)a1 b1 c1a2 b2 c2a3 b3 c3

    = a1b2c3 a1b3c2 a2b1c3 + a2b3c1 + a3b1c2 a3b2c1 :is can be wrien as

    a1 b1 c1a2 b2 c2a3 b3 c3

    = a1b2c3 b3c2 a2b1c3 b3c1+ a3b1c2 b2c1(13)= a1

    b2 c2b3 c3 a2 b1 c1b3 c3

    + a3 b1 b1b2 b2

    where each coecient in the rst row is multiplied with the 22 determined that remainsaer one deletes the row and column containing the coecient.

    Instead of expanding along the rst row one can also expand along the rst column:

    (14)a1 b1 c1a2 b2 c2a3 b3 c3

    = a1 b2 c2b3 c3

    b1 a2 c2a3 c3+ c1 a2 b2a3 b3

    Many other mnemonic devices exist to remember how to compute a 3 3 determinant.A popular trick is Sarrus rule (see Figure 10.)

    One can also dene larger determinants, i.e. 4 4, 5 5, etc, and generally n ndeterminants. e theory, which is beyond the scope of this course, is treated in linearalgebra courses such as Math 320, 340, or 341.

    10. Determinants, the triple product, and the cross productIf the numbers a1; : : : ; c3 in a determinant happen to be the components of three

    vectors #a , #b , #c , i.e. if

    #a =

    0@a1a2a3

    1A ; #b =0@b1b2b3

    1A ; #c =0@c1c2c3

    1A ;then the corresponding determinant is exactly the triple product:

    (15)a1 b1 c1a2 b2 c2a3 b3 c3

    = #a #b #c :

  • 14 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    a1 a2 a3 a1 a2

    + + +---

    b1 b2 b3 b1 b2

    c1 c2 c3 c1 c2

    a1b2c3 a2b3c1 a3b1c2a3b2c1 a1b3c2 a2b1c3

    Figure 10. Computing 3 3 determinants. There are several shortcuts to remember howto compute a 3 3 determinant. Pictured here is Sarrus rule, which tells us to copy the firsttwo columns of the determinant to the right of the determinant, and read o the six terms in thedeterminant by following the diagonals.

    Related to this is the following practical trick for computing the cross product of twocolumn vectors. Given two column vectors #b and #c one can write their cross product as0@b1b2

    b3

    1A0@c1c2c3

    1A =

    #e1 b1 c1#e2 b2 c2#e3 b3 c3

    =

    b2 c2b3 c3 #e1 b1 c1b3 c3

    #e2 + b1 c1b2 c2 #e3:

    e 3 3 determinant in this equation is unusual in that some of its entries are vectorsinstead of numbers. e intention of this notation is that one expand the determinantalong the rst column, as in (13) and then interpret the result as a vector.

    11. Dening equations for lines and planes

    11.1. Lines. Let ` be a line in the plane, and suppose we know one point A on theline, and that we also have a vector #n that is perpendicular to the line (and we exclude#n =

    #0 .) Such a vector is called a normal vector to the line. Given any other pointX in

    the plane we can form the vector # AX and consider its dot-product with the normal. Wehave

    #n # AX = k #nk k # AXk cos ;where is the angle between the normal vector #n and # AX .

    e combination k # AXk cos is, up to its sign, the distance from the line ` to thepointX : IfX lies on the side of ` at which the normal vector points then #n # AX > 0; ifX lies on the other side then #n # AX < 0. We therefore have the following formula forthe distance between a point X and the line `:

    (16) d =#n # AXk #nk

    When we use this equation to compute the distance from X to `, it is good to recall thatif #x = ( x1x2 ) and #a = ( a1a2 ) are the position vectors of the points X and A, then

    #

    AX = #x #a =x1 a1x2 a2

    :

  • 11. DEFINING EQUATIONS FOR LINES AND PLANES 15

    X

    A

    `

    d

    #n

    XA

    `

    d

    #n

    #n # AX < 0 d = k#

    AXk cos( )= k # AXk cos #n # AX > 0 d = k # AXk cos

    Moreover, the length of the normal vector is k #nk =pn21 + n22, so we can rewrite (16) asd =

    n1(x1 a1) + n2(x2 a2)pn21 + n

    22

    :

    is last formula is more impressive than (16), but it is beer to remember (16).e equation for the distance from any point X to a given line ` is also important

    because it gives us the dening equation for the line `. e dening equation is anequation that tells us for any given pointX in the plane if that point is on the line or not.SinceX is on ` exactly when the distance from ` toX vanishes, it follows from (16) thatX is on ` if and only if(17) #n # AX = 0:We can again rewrite this equation in a few dierent ways. If we want to write it in termsof the position vectors of A and X , then we get

    #n #x #a = 0; i.e.: #n #x = #n #a :Wrien without vectors, but in terms of the coordinates of the points A, X , and thecomponents of the normal vector #n, we can write this last version of our equation as

    n1x1 + n2x2 = n1a1 + n2a2:

    11.2. Planes. We can repeat the derivation of the distance from a point to a line inthe plane and derive a formula for the distance from a point in three dimensional spaceto a given plane. e drawings are harder to make (at rst only, practice makes perfect!),but the resulting formulas are the same.

    e distance from a point X to a plane P is given by equation (16), where #n is anormal vector to the plane (a vector that is perpendicular to the plane), and A is somepoint on the plane that we happen to know.

  • 16 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    A

    X

    #n

    d

    d = k # AXk cos #n # AX = k #nk k # AXk cos

    12. Problems

    1. (a) Simplify the following

    #a =

    0@ 123

    1A+ 30@013

    1A#

    b = 12

    11/3

    3

    41

    #c = (1 + t)

    1

    1 t t

    1t

    #

    d = t

    0@100

    1A+ t20@ 01

    2

    1A0@001

    1A(b) Write the vectors from part (a) usingGibbs notation, i.e. write them in terms of#{ , #| , #k . (See 5).2. If #a ; #b ; #c are as in the previous prob-lem, then which of the following expressionsmean anything? Compute those expressionsthat are well defined.(a) #a + #b (b) #b + #c (c) #a(d) #b 2 (e) #b / #c (f) k #ak+ k #b k(g) k #b k2 (h) #b / k #c k

    3. Let #a =

    122

    and #b =

    211

    .

    Compute:(a) jj #a jj (b) 2 #a (c) jj2 #a jj2

    (d) #a + #b (e) 3 #a #b

    4. Given: points A(2; 1) and B(1; 4).Compute the vector # AB. Is # AB a positionvector?

    5. Given: points A(2; 1), B(3; 2), C(4; 4)andD(5; 2).estion: Is ABCD a parallelogram?

    6. Given: points A(0; 2; 1), B(0; 3; 2),C(4; 1; 4) andD.(a) If ABCD is a parallelogram, then whatare the coordinates of the pointD? (b) If ABDC is a parallelogram, then whatare the coordinates of the pointD?

    7. You are given three points in the plane:A has coordinates (2; 3), B has coordinates(1; 2) and C has coordinates (4;1).(a) Compute the vectors # AB, # BA, # AC , # CA,# BC and # CB.(b) Find the points P;Q;R and S whose po-sition vectors are # AB, # BA, # AC , and # BC ,respectively. Make a precise drawing.

    8. Explain how you can use the dot prod-uct to find the angle between the vectors#a = 2 #{ 3 #| , and #b = #| + #k .

  • 12. PROBLEMS 17

    A

    B

    C

    D

    E FGH

    Figure 11. Figure for problem 12.10

    9. For which value(s) of the number s arethe vectors

    #a =

    s

    1 s

    and #b =23

    perpendicular? Forwhich values of s do theymake an acute angle?

    10. Figure 11 shows a cube whose sides havelength 1.

    Choose A to be the origin, and let the x,y, and z axes be along the sides AB, AD,and AE, respectively.(a) Draw the vectors #e1, #e2, and #e3 in thefigure.(b) Find a normal vector to the planethrough the points B,D, and E.(c) Draw the plane through ACH (or atleast the portion of that plane that lies in-side the cube). Find a normal to the planeACH .(d) Find the angle between the two planesBDE and ACH . (The angle between twoplanes is the same as the angle between theirnormal vectors, i.e. to find the angle betweentwo planes find a normal vector for each ofthe planes and compute the angle betweenthese two vectors.)(e) Find the angle between the two planesBDE andHFC .

    11. (a) Draw two vectors #a and #b for which#a has length 3, #b has length 5, and forwhich #a #b = 12. How many solutionsare there? (b)Can there be two vectors #a and #b whoselengths are k #ak = 3 and k #b k = 5, andwhose inner product is #a #b = 25?

    12. Compute#a = ( #{ #| ) #| and #b = #{( #| #| ):What does your answer say about the asso-ciative property for the cross product? (See 7.3.)

    What about#c = ( #{ #| ) #k and #d = #{( #| #k )?

    13. Which of the following vector equationsare true for any pair of vectors #a and #b ? Ei-ther give a proof (using the algebraic prop-erties or the algebraic or geometric descrip-tions).(a) ( #a + #b ) ( #a #b ) = k #ak2k #b k2 ? (b) If #a ? #b then

    k #a + #b k2 = k #ak2 + k #b k2 ? (c) If #a ? #b then

    k #a #b k2 = k #ak2 k #b k2 ?

  • 18 1. VECTOR GEOMETRY IN THREE DIMENSIONAL SPACE

    14. True or False:(a) If #a ? #b and also #b ? #c then #a ? #c?(b) If #a ? #b and also #a ? #c then #a ?(

    #

    b + #c ) ?(c) If #a ? #b and also #b ? #c then #b ?( #a #c ) ?(d) If #a ? #b + #c and also #a ? #b #c then#a ? #b ?

    15. Simplify the following expressions(a) ( #a + #b )( #a + #b ) (b) ( #a + #b + #c )( #a + #b + #c ) (c) ( #a #b )( #a + #b ) (d) ( #a + #b #c )( #a #b + #c )(e) ( #a + #b #c ) ( #a #b + #c )

    16. This problem is about cross division,i.e. can you solve #a #b = #c for #b if youknow #a and #c ?(a) Let

    #a = #e1 #e3; #c = #e1 + 3 #e2 + 2 #e3:

    Find a vector #b for which #a #b = #c , ifthere is such a thing. (Hint: if #c = #a #b ,then what do you know about #a #c ?)

    (b) Let #a = 2 #e1 #e3, and #c = #e1+3 #e2+2 #e3. Find a vector #b for which #a #b = #c ,if such a thing exists.

    17. The law of cosines says that in a triangle4ABC for which you know the sides ABandAC , as well as the angle \A, the lengthof the opposing side BC is given by

    (BC)2 = (AB)2 + (AC)2

    2(AB)(AC) cos\A:

    Show how you can use the dot product to(re)prove this law.

    Hint: consider the vector equation# BC =

    # AC # AB. You will need both the

    geometric description (4) of the dot product,and the algebraic properties from 6.3.

  • CHAPTER 2

    Parametric curves and vector functions

    1. Vector functions

    So far in calculus we have only considered functions y = f(x) where both the inde-pendent variable x and the dependent variable y are real numbers.

    A vector function is a function of one variable whose values are vectors instead ofnumbers. One way to specify a vector function is to say what its components are:

    #x(t) =

    0@x(t)y(t)z(t)

    1A = x(t) #e1 + y(t) #e2 + z(t) #e3:2. Using vector functions to describe motion

    One way to visualize a vector function #x(t) is to think of the vector #x(t) for anygiven value of t as the position vector of some point in space (or the plane, if #x(t) is a two-dimensional vector). In other words, we represent the vector #x(t) as an arrow startingat the origin, and ending at some point X(t) whose coordinates are (x(t); y(t); z(t)):

    #x(t) =#

    OX(t):

    As t varies, the pointX(t) moves around and traces out a curve. Such a curve is called aparametrized curve, or a parametric curve. e quantity t is called the parameter.

    We will now take a look at some examples of parametric curves.

    #x(t)

    O

    X(t)

    Figure 1. A parametric curve: as the parameter t changes, the vector #x(t)will also move. Keep-ing the initial point of the vector #x(t) at the originO, the endpointX(t) traces out a space curve.

    19

  • 20 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    3. LinesConsider the parametric curve given by

    (18) #x(t) = #a + t #vwhere #a and #v are given constant vectors. As before we let X(t) be the point with#x(t) =

    #

    OX(t), i.e. #x(t) is the position vector of the point X(t), and as t changes, X(t)traces out the parametric curve.

    To see what the parametric curve looks like, we let A be the point with # OA = #a ,then, since

    #

    OX(t) =#

    OA+#

    AX(t);

    it follows from (18) that # AX(t) = t #v . Now consider going from the origin O to thepoint X(t) in two steps: rst move from O to the point A, then go from A to X(t). edisplacement in the second step is # AX(t) = t #v . Changing t will then make the pointX(t) slide along the line through the point A in the direction of #v .

    #a#v

    #x(t) = #a + t #v

    X(t)

    Origin

    A

    t #v

    Figure 2. Vector form of linear motion given by #x(t) = #a + t #v .

    We say that #x(t) given by (18) describes motion with constant velocity, whose ve-locity vector is #v .

    4. Circular motionFor given constants R > 0 and ! we consider the vector function

    (19) #x(t) = R cos!t #e1 +R sin!t #e2 =R cos!tR sin!t

    :

    e corresponding point is X(t) = R cos!t;R sin!t. It lies on the circle of radius Rwith center at the origin, and the angle subtended by OX(t) and the positive x-axis isexactly !t.

    If ! > 0 then as t increases, the angle !t increases and the point X(t) goes aroundthe circle in counter-clockwise direction. If! < 0 thenX(t) goes around in the clockwisedirection.

    e number ! is the rate of increase of the angle !t, and is called the angular ve-locity of the motion.

  • 6. THE HELIX 21

    #x(t)!t

    X(t)

    O

    Figure 3. Circular motion with angular velocity !.

    5. e cycloid

    e cycloid is the curve we get if we put a (bicycle) wheel on the ground, markthe point on the tire that touches the ground, and follow this point as we roll the wheelforward. If we call the pointX , then it depends on the angle that the wheel has turnedsinceX was on the ground. Figure 4 provides a derivation of the vector function #x() =#

    OX() that describes the cycloid. e result is

    (20) #x() =R R sin RR cos

    :

    X

    C

    B

    AO

    O AA

    CC

    X

    X

    Figure 4. The cycloid. A wheel of radius R rolls over the x-axis. Initially the wheel touches thex-axis at the origin O. The cycloid is the curve traced out by a pointX on the wheel.

    Derivation of the cycloid motion. The arc AX and the line segment OA have the samelength. Since AX has length R, the x coordinates of the points A, B, and C are R. The righttriangle CXB has hypotenuse R, so the lengths ofXB and CB are R sin , and R cos , respec-tively. Therefore the coordinates of the pointX are x = R R sin , and y = RR cos .

    6. e helix

    When we walk up a spiral staircase we are tracing out a helix: we are going aroundin circles, and moving upward at the same time. e parametric curve that does this (and

  • 22 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    that has the z-axis as its central axis) is given by

    (21) #x() =0@R cos R sin

    a

    1A or: #x() = R cos #e1 +R sin #e2 + a #e3:Here R > 0 is the radius of the helix, i.e. the radius of the circle on the ground abovewhich the helix lies; the number a represents the rate at which the helix goes up.

    x y

    z

    a

    X

    O

    YA

    Figure 5. The Helix. The point X traces out a helix: it sits at a height a above the point Y ,while Y runs around on a circle of radius R; here = \AOY

    7. e derivative of a vector functionFor a function y = f(x) of one variable we had twoways of describing the derivative:

    on one hand we had a geometric description of f 0(x) as the slope of the tangent to thegraph, and on the other we could describe f 0(x) in terms of a dierence quotient, i.e.

    f 0(x) = limx!0

    f(x+x) f(x)x

    :

    For vector functionswe can imitate both descriptions. We beginwith the formal denitionin terms of limits and then proceed to the geometric description, in which we interpretthe derivative as the instantaneous velocity vector.

    Denition. If #x(t) is a vector function, then we set(22) #x 0(t) def= lim

    t!0

    #x(t+t) #x(t)t

    :

    For (22) to make sense we would have to dene what the limit of a vector function is.is can be done, but we will not go into the precise denitions in this course. More

  • 8. THE DERIVATIVE AS VELOCITY VECTOR 23

    important for our use is that if the components of a vector function #x(t) are given, thenthe derivative can be computed by just dierentiating those components:

    (23) #x 0(t) =0@x0(t)y0(t)z0(t)

    1A ; or #x 0(t) = x0(t) #e1 + y0(t) #e2 + z0(t) #e3:As with ordinary functions of one variable we will use Leibniz notation for the derivativewhenever it seems convenient. us the following are equivalent ways of expressing thesame derivative:

    #a 0(t) =d #a(t)

    dt=

    d

    dt#a(t):

    Example. For instance,

    #x() =

    0@cos 0

    1A = cos #e1 + #e3denes a vector function. Here we have called the independent variable instead of t.e derivative of this vector function is

    d #x

    d=

    d

    d

    0@cos 0

    1A =0@ sin 0

    1

    1A = sin #e1 + #e3:8. e derivative as velocity vector

    Suppose the motion of some point X(t) in space is described by its position vectorfunction #x(t). Let us try to dene the instantaneous velocity of the point. is velocityshould have magnitude (how fast the point is moving) and also direction (which way

    x

    v = dx/dt

    x(t)x(t+

    t)

    X(t)

    O

    Figure 6. The vector function #x(t) traces out a curve in space. The vector #x(t) is the positionvector of a pointX(t) on this curve. As we increase time from t to t+t, the pointX(t) moves.The displacement of the point X(t) is given by #x = #x(t + t) #x(t). The average velocityvector during this displacement is displacement/time, i.e. #x/t.

    If we let t ! 0, then the average velocity becomes the instantaneous velocity at time t:#v = limt!0 #x/t = #x 0(t). This vector is tangent to the curve traced out by the vectorfunction #x(t). We call it a tangent vector.

  • 24 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    is the point going?). e velocity should therefore be a vector. To see which vector, wego back to the notion that velocity is always displacement divided by time.

    We consider two instances in time, say, time t and time t+t. en the position vec-tors of the pointX at these two dierent times are #x(t) and #x(t+t). e displacementof the point X between these two times is then

    #x = #x(t+t) #x(t)(see Figure 6.) We say that the average velocity over the time interval from t to t+t isthe displacement divided by t, i.e.

    #v average =#x(t+t) #x(t)

    t:

    Note that the average velocity is a vector. If we write it out in components, we get a muchlarger formula:

    #v average =

    0BBBBBB@

    x(t+t) x(t)t

    y(t+t) y(t)t

    z(t+t) z(t)t

    1CCCCCCA :One big advantage of using vector notation is that many formulas simplify considerablywhen wrien in terms of vectors.

    To get the instantaneous velocity, we do the same thing as in one variable calculus:we take the limit ast! 0 of the average velocity over the time interval from t to t+t.us we get

    (24) #v (t) = limt!0

    #x(t+t) #x(t)t

    def=

    d #x

    dt:

    In terms of components this derivative is

    #x 0(t) =d #x

    dt=

    0@x0(t)y0(t)z0(t)

    1A :us the velocity vector of any given vector function #x(t) is the same as the derivativeof this vector function.

    9. AccelerationHaving found the velocity vector of a point X(t) whose position vector is a given

    vector function # OX(t) = #x(t), we can also dene the acceleration vector of themovingpoint. By denition, the acceleration vector is the derivative of the velocity vector, i.e.

    (25) #a(t) = d#v

    dt=d2 #x

    dt2=

    0@x00(t)y00(t)z00(t)

    1A :is denition is entirely analogous to the denition of acceleration (a = dvdt ) from rstsemester calculus. e only dierence is that, here, the position, velocity, and accelerationall have directions in addition to magnitudes: they are vectors.

  • 10. THE DIFFERENTIATION RULES 25

    Newtons famous law relating forces and acceleration continues to hold. If a pointX(t) moves according to some vector function #x(t), then some force must be actingon this point. is force is a vector (it has magnitude and direction), and, according toNewton, it is given by

    (26) #F = m #a = md#v

    dt= m

    d2 #x

    dt2;

    wherem is the mass of the object at the pointX(t) whose motion we are considering. Itis always assumed to be a positive number.

    Note that according to this law, the absence of forces, i.e. #F = #0 , is the same asd #vdt =

    #0 , i.e. no force acts on the point if and only if its velocity vector is constant. Here

    constant means constant magnitude and constant direction.

    10. e dierentiation rules

    Just as with ordinary derivatives, the derivatives of vector functions satisfy certainrules, such as the product rule. e purpose of these rules is not the same as in one variablecalculus. ere we used sum, product, quotient and chain rules to compute derivativesof given functions without having to fall back on the denition of a derivative all thetime. For vector functions we do not need such rules, because we can dierentiate themby simply dierentiating each of their components (see the above example). Instead, thedierentiation rules for vector functions are mostly used to gain insight and establishgeneral facts about vector functions, a number of which we will see shortly.

    10.1. e sum rule. e analog of the sum rule (derivative of the sum is the sum ofthe derivatives) looks exactly like the ordinary sum rule. It says that for any two vectorfunctions #a(t) and #b (t) one has

    d

    dt

    #a(t) #b (t) = d #a(t)

    dt d

    #

    b (t)

    dt:

    10.2. emany product rules. ere is no quotient rule for vector functions, simplybecause we have no way of dividing vectors. On the other hand we have two ways ofmultiplying vectors, and we can also multiply vectors and numbers, so there are threedierent product rules. Fortunately they all look like the product rule from rst semestercalculus.

    If #a(t) and #b (t) are vector functions, and if f(t) is a function, thend #a(t) #b (t)

    dt=d #a(t)

    dt #b (t) + #a(t) d

    #

    b (t)

    dt

    d #a(t) #b (t)dt

    =d #a(t)

    dt #b (t) + #a(t)d

    #

    b (t)

    dt

    d f(t) #a(t)

    dt=df(t)

    dt#a(t) + f(t)

    d #a(t)

    dt

    In spite of the fact that these rules look right, they could still be wrong, so to be surewe would have to prove them. e proofs are very straightforward. Here is a short proof

  • 26 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    for the product rule involving the dot product. To shorten the formulas we omit the (t)from all functions:

    d #a #bdt

    =d

    dt

    a1b1 + a2b2

    =da1b1dt

    +da2b2dt

    =da1dt

    b1 + a1db1dt

    +da2dt

    b2 + a2db2dt

    ordinary product rule

    =da1dt

    b1 +da2dt

    b2 + a1db1dt

    + a2db2dt

    switch terms around

    =d #a

    dt #b + #a d

    #

    b

    dt: recognize the dot-products

    11. Vector functions of constant lengthAs an immediate application of the product rule for the dot-product we prove the

    following fact about vector functions whose length does not change, i.e. vector functions#a(t) that change their direction, but not their length.

    #a(t)

    #a#a(t+t)

    If a vector function #a(t) hasconstant length, then, when theparameter t undergoes a smallchange t, the correspondingsmall change #a in the vectorfunction will be almost perpendic-ular to #a(t) itself.

    eorem. Let #a(t) be a vector function. en a necessary and sucient condition forthe length k #a(t)k to be constant is that #a(t) and #a 0(t) be perpendicular for all t.

    P. Dierentiating both sides of the equationk #a(t)k2 = #a(t) #a(t)

    we get(27) d

    dtk #a(t)k2 = #a 0(t) #a(t) + #a(t) #a 0(t) = 2 #a(t) #a 0(t):

    If #a(t) has constant length, then k #a(t)k2 is also constant, and thus ddtk #a(t)k2 = 0.erefore, for a vector function #a(t)whose length is constant, #a(t) #a 0(t) = 0, i.e. #a(t) ?#a 0(t).

    Conversely, if #a(t) is a vector function for which #a(t) ? #a 0(t) holds for all t, then#a(t) #a 0(t) = 0, and (27) implies that ddtk #a(t)k2 = 0, i.e. that k #a(t)k2 and hence k #a(t)kare constant.

  • 12. TWO EXAMPLES 27

    12. Two examples12.1. Motion on a straight line. We return to the motion given by (18), i.e.

    (28) #x(t) = #a + t #v :e velocity and acceleration are easy to compute:

    d #x(t)

    dt= #v ;

    d2 #x(t)

    dt=d #v

    dt=

    #0 ;

    since #v is a constant vector in this case.We see that if a point X(t) moves according to the parametrization (18), then its

    velocity is constant, and its acceleration is zero. According to Newtons law, no force isexerted on an object undergoing this motion.

    12.2. Circular motion. For the point X(t) moving on a circle of radius R with an-gular velocity ! we have (19), i.e.

    #x(t) = R cos!t #e1 +R sin!t #e2so that the velocity and acceleration are easy to compute:

    #v (t) = #x 0(t) = !R sin!t #e1+ !R cos!t #e2,#a(t) = #v 0(t) = !2R cos!t #e1 !2R sin!t #e2.

    Note that the velocity vector #v (t) is perpendicular to the position vector #x(t), aspredicted in 11. Our expression for the velocity vector #v (t) contains the familiar re-lation between angular velocity and velocity: the velocity v = k #v (t)k with which thepoint X(t) is moving is

    v(t) = k!R sin!t #e1 + !R cos!t #e2k(29)=p!2R2 sin2 !t+ !2R2 cos2 !t

    = !R:

    Hence the angular velocity of an object undergoing circular motion is(30) ! = v

    R:

    #

    F#v (t) !t R

    X

    Figure 7. If an objectmoves along a circlewith constant angular velocity, then the force #F requiredto make the object follow that motion is #F = !2 #x . In particular it is parallel to the positionvector #x but in the opposite direction.

  • 28 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    We also note that the acceleration is a multiple of the position vector:#a(t) = !2 #x(t):

    According to Newton the force acting on the object atX(t) is #F = m #a = m!2 #x , andits magnitude is(31) F = k #F k = km!2 #x(t)k = m!2R;because k #x(t)k = R at all times.

    Using (30) we can replace the angular velocity ! by the actual velocity, which leadsto the classical formula for the centrifugal force

    (32) F = mv2

    R:

    13. Arc lengthFor any given vector function there is a simple formula for the length of the curve

    it traces out. e formula is essentially the same as the formula for the length of a para-metric curve (or, to a lesser extent, of the graph of a function) that was described in Math221. Here we repeat the intuitive derivation of the formula, wrien in terms of vectorsthis time.

    Let #x(t) (a t b) be a vector function. To determine the length of the arc tracedout by X(t) as t varies from t = a to b, we divide the interval a t b into manyvery short subintervals. e corresponding pointsX(t) on the curve split the curve intomany short segments, each of which will be close to a line segment. We approximatethe length of the curve by adding the lengths of all these short segments. Finally we takethe limit in which the number of partition points becomes innite and our sum of lengthsof short segments becomes an integral. To see which integral we get, we need to nd anexpression for the length of a short segment between two adjacent partition points onthe curve.

    Suppose we have two points on the curve, with parameter values t and t + t, re-spectively. e points are X(t) and X(t + t), and the distance between them is thelength of the vector #x from one point to the next. is vector is

    x start(t=a)

    end(t=b)

    partition piece

    X(t)

    X(t+t)

    x = #x(t+t) #x(t) =#x(t+t) #x(t)

    tt #x 0(t)t;

    so that its length is k #x 0(t)kt. Adding the lengths of the short segments together,we nd that the length is approximatelyP k #x 0(t)kt (where the summation is over allshort pieces of the curve). Taking the limit we arrive at this formula for the length of thecurve traced out by #x(t); a t b:

    (33) Length =Z bt=a

    k #x 0(t)k dt:

    is integral looks simple, but that appearance turns out to be deceptive as we ndout when we write it in terms of the components of the vector function #x(t). Suppose#x(t) = x(t) #e1 + y(t)

    #e2 + z(t)#e3. en

    #x 0(t) = x0(t) #e1 + y0(t) #e2 + z0(t) #e3;

    so thatk #x 0(t)k =

    px0(t)2 + y0(t)2 + z0(t)2:

  • 14. ARC LENGTH DERIVATIVE 29

    erefore the length formula (33) of the curve is equivalent to

    (34) Length =Z bt=a

    px0(t)2 + y0(t)2 + z0(t)2 dt:

    e square root makes this formula a reliable source of very dicult integrals. In fact thelist of curves whose length one can actually compute by doing the integral is rather short(see Problem ).

    14. Arc length derivativeLet #x(t) be some vector function that describes the motion through space of some

    point X(t), and let f(t) be some other function. In what follows it will help to think ofthe parameter t as time. Typical examples of functions f that wemight want to considerare f(t) = k #x(t)k (the distance to the origin of the point X(t)) or f(t) = k #x 0(t)k (thespeed at which the point is moving.)

    To describe the rate with which f(t) is changing we could compute its derivative,df

    dt

    which tells us what the ratio between the change f of f , and the change t in theparameter t is (at least approximately, if t is small). If we interpret t as time thenthis derivative tells us how fast f(t) changes per second. But sometimes it is more usefulto know how much f changes aer we have travelled a small distance along the curve,rather than aer a short amount of time has passed. In other words, for two nearby pointsX(t) and X(t+t) on the curve we would like to know the ratio

    (35) change in fdistance travelled =f(t+t) f(t)

    distance from X(t) to X(t+t)We can work this out by observing that the distance fromX(t) toX(t+t) is the lengthof the vector from X(t) to X(t+t), i.e.

    distance from X(t) to X(t+t) = k #x(t+t) #x(t)k :Assumingt is small, we have

    k #x(t+t) #x(t)k =

    #x(t+t) #x(t)t

    t

    #x 0(t)

    t:We substitute this in (35), and get

    change in fdistance travelled

    f(t+t) f(t)k #x 0(t)kt :

    Now let t ! 0: the quantity on the le becomes what is called the arc length deriv-ative of the function f along the curve vx(t), and which is commonly denoted by dfds Inthe quantity on the right we recognize the derivative of f with respect to t (time), whichleads to(36) df

    ds=

    1

    k #x 0(t)kdf

    dt:

    Here dfdt = f 0(t) is the usual derivative of f with respect to t.If we want to emphasize the distinction between these two derivatives, then we can

    call dfdt the time derivative of f .

  • 30 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    15. Unit Tangent and Curvature

    15.1. Unit tangent. We have seen that we can nd a tangent vector to the curvetraced out by some vector function #x(t), simply by dierentiating the vector function:#x 0(t) always provides a tangent vector (if #x 0(t) 6= #0 ). In fact any multiple #x 0(t)A vector with length 1 is

    called a unit vector of this vector will also be a tangent vector (provided 6= 0.) We can single out onespecial tangent vector, by choosing > 0 so that #x 0(t) has length 1. Since for > 0we have k #x 0(t)k = k #x 0(t)k the value of that will make #x 0(t) a unit vector is = 1/k #x 0(t)k.

    For this reason the vector

    (37) #T (t) = d#x

    ds=

    #x 0(t)k #x 0(t)k

    is called the unit tangent vector to the curve corresponding to the vector function #x(t).

    15.2. Example. For our constant velocity parametrization (18) of a straight line from 3 we have

    #x(t) = #a + t #v ;

    so that #x 0(t) = #v and hence#

    T =#v

    k #v k :

    We see that the unit tangent vector is constant.

    15.3. Curvature and normal. If the curve described by a vector function #x(t) is nota straight line, then the tangent to the curve will turn as one moves along the curve. ecurvature vector # measures how much the curve is curved. It is dened to be the rateof change of the unit tangent, but with respect to arc length instead of with respect to thegiven parameter t. us

    (38) # def= d#

    T

    ds:

    According to our denition of derivative with respect to arc length the right hand sidestands for

    (39) d#

    T

    ds=

    1

    k #x 0(t)kd

    #

    T

    dt:

    To write this completely in terms of the original vector function #x(t) we use (37)

    (40) # = 1k #x 0(t)kd

    dt

    n 1k #x 0(t)k

    d #x

    dt

    ois formula is not as short as the original denition (38), but it does show that the curva-ture vector comes about by dierentiating the vector function #x(t) twice (and dividingby k #x 0(t)k at the right moments.)

  • 17. PROBLEMS 31

    eorem. e curvature vector # is perpendicular to the tangent, i.e. # ? #T .P. We have to show that # #T = 0. From the second form (39) of the denition

    of # we see# #T =

    1k #x 0(t)k

    d#

    T

    dt

    #T = 1k #x 0(t)k

    d#

    T

    dt #T :

    Remember that #T (t) is always a unit vector, i.e. #T (t) has constant length: by 11 thisimplies that d #Tdt ?

    #

    T (t) and thus d #Tdt #

    T = 0, so we are done. ere are two concepts that are derived from the curvature vector: the curvature

    is by denition the length of the curvature vector # ,

    (41) = k #k =

    d

    #

    T

    ds

    ;and the normal vector to the curve is

    (42) # N =#

    k #k =d#Tds

    d #Tds

    :

    e normal vector is undened when # = #0 , because it would require division by zero.Since # is perpendicular to #T , the normal vector # N is also perpendicular to #T (hence

    its name).

    (43) d#

    T

    ds=

    #

    N

    16. Osculating planeAt any pointX(t) on a space curve given by #x(t) one denes the osculating plane

    to be the plane that contains the pointX(t) and that is parallel to both the tangent #T (t)and normal # N(t) of the curve.

    If we want to write a dening equation for the osculating plane as in 11.2 thenwe need a vector perpendicular to the osculating plane. Since this plane is dened to beparallel to both #T and # N , we can nd a normal vector to the osculating plane by takingthe cross product of #T and # N . is vector is called the binormal to the curve. In aformula, it is dened to be(44) #B = #T # N :

    17. Problems

    1. Let ` be the line given by

    #x(t) =

    0@110

    1A+ t0@12

    1

    1A :

    (a) Find the unit tangent vector, the curva-ture, and the tangent line to the line ` at thepoint where t = 2.(b) Find the unit tangent vector, the curva-ture, and the tangent line to the line ` at anypoint on the line.2. What sign does ! have in Figure 7 ? Howwould the figure change if we change the

  • 32 2. PARAMETRIC CURVES AND VECTOR FUNCTIONS

    sign of !? Does the force #F on the objectchange if we change the sign of !?

    3. Suppose a point P is rotating around aline `, keeping its distance to the line fixedat r, and moving in a plane perpendicular tothe line. Suppose the point has angular ve-locity !: this means that during a time in-terval of length t the angle swept out by theline segment connecting P to ` is exactly !t.

    In a previous math or physics class it wasshown that the velocity of the point P is !r,where r is the distance from P to the line `.

    The angular velocity vector is defined tobe the vector #! whose length is !, and thatis parallel to the line `. There are two suchvectors ( #!). By definition #! points in thedirection in which a screw would move if itwere turning in the same direction as thepoint P .(a) Assuming the line ` passes through theorigin show from the drawing that the ve-locity vector of the point P is #v is given by#! #x . You can do this in two steps, namely:

    show that #! #x has the same direction as #v , show that #! #x has the same length as #v .

    (b) Show that the acceleration vector isgiven by #a = #!( #! #x). (hint: dont usethe drawing, but combine the definitions of#v and #a , in (24) and (25) and also the prod-uct rule; finally, keep in mind that you havejust found that #v = #! #x .)(c) If someone told you they had computedthe acceleration vector and found

    #a = ( #! #!) #x ;

    could they be right? Explain! What if theytold you they got #a = #! #! #x?(d) True or False (explain your answers):

    (a) #v ? #x? (b) #a ? #v ? (c) #aand #x are parallel?(e) Include the acceleration vector #a in theabove drawing.4. Consider the twisted cubic, i.e. the curvegiven by #x(t) = t #e1 + t2 #e2 + t3 #e3.(a) Find a parametrization for the tangent tothe curve at the point where t = 1. Wheredoes this point intersect the xy-plane?(b) For any given t find the tangent line tothe curve at the point X(t), and find wherethis curve intersects the xy-plane.(c) If you call that intersection point P (t),then which curve is traced out by the pointP (t) as t varies?5. Compute the length of one full turn of thehelix by taking the parametrization given in(21) and computing the length of the seg-ment with 0 2.

    Aer computing the length, considerthis: let P be the perimeter of the circle un-derneath the helix, and let H be the heightachieved by one full turn of the helix. Showthat the length L of the helix satisfies L2 =P 2 +H2.6. There is a multistory parking ramp wherethe way out is a path in the shape of a he-lix that is wound around the outside of thebuilding. As a car drives down this pathat night its headlights shine a spot on theground. Which curve is traced out by thislight spot as the car drives all the way down?

    Origin

    s = r = r!t

    #!

    #x

    #v = #! #x`

    r rP P

  • 17. PROBLEMS 33

    Make a good drawing. Assume for sim-plicity that the center of the Parking ramp isthe z-axis.7. Compute the tangent, curvature, normaland binormal for the following curves(a) The parabola: #x(t) = t2

    t

    . At whichpoint on the curve is the curvature thelargest?(b) Neils parabola: #x(t) =

    t2

    t3

    . At

    which point on the curve is the curvature thelargest?(c) The helix: #x() =

    R cos R sin a

    (see 6 for

    an explanation of the constantsR and a). At

    which point on the curve is the curvature thelargest?(d) The graph of y = ex by using theparametrization #x(t) = t

    et

    . Where onthe graph is the curvature the largest?

  • CHAPTER 3

    Functions of more than one variable

    1. Functions of two variables and their graphs

    1.1. Denition. A function of two variables has two ingredients: a domain and arule. e domain of the function is a collection of points in the xy-plane. For each point(x; y) from the domain of the function, the rule should tell us how to nd the functionvalue f(x; y).

    Just as with functions of one variable, the rule that gives us the function value isoen specied by some formula, e.g. f(x; y) = x + y. e domain of a function is theset of points at which we dene the function. is can in principle be any set of pointsin the plane. Typically the domain will be a rectangle, or a disc, or it could be the entirexy-plane, possibly with some points and lines removed.

    z

    height:z=f(x,y)

    Domain of f

    x

    y

    Figure 1. The graph of some function, and its domain (a rectangle in this example).

    1.2. Graphs. By denition, the graph of a function z = f(x; y) is the collection ofall points (x; y; z) in three dimensional space that satisfy the equation z = f(x; y).

    e graph is usually a surface that oats above (or below) the domain of the function(see Figure 2).

    35

  • 36 3. FUNCTIONS OF MORE THAN ONE VARIABLE

    1.3. Level sets. e graph of a function of two variables is a surface siing in threedimensional space, which can be dicult to draw or visualize. Instead of looking at thegraph we can also consider its level sets. If c is any real number, then, by denition, thelevel set at level c of the function is the set of all points (x; y) in the plane that satisfyf(x; y) = c.

    z

    c

    x

    y

    level set at level c

    level set at level c

    x

    y

    Figure 2. The graph of some function (top), and a construction of one of its level sets (boom).Note that by definition the level set (at level c) is the curve in the xy-plane under the graph: itis obtained by intersecting the graph of the function with a horizontal plane at height c, and thenprojecting this curve of intersection onto the xy-plane.

    Since the level set is the set of all solutions to the equation f(x; y) = c, one oen usesthe notation f1(c) (f -inverse of c) for the level set. We can summarize the denitionin an equation:

    f1(c) =(x; y) : f(x; y) = c

    :

    Note that the denition says that f1(c) is not a number, but a set of points!

  • 1. FUNCTIONS OF TWO VARIABLES AND THEIR GRAPHS 37

    Level sets tend to be curves in the xy-plane, although in general level sets can haveany shape (see Problem 5.13 for an example.) ey are usually easier to draw than thegraphs of the corresponding functions.

    1.4. An example from the real world. Here is a function of local interest. edomain of the function is the water surface of Lake Mendota (lets pretend this is a planedomain), and the function, which we will call d instead of f , is given by d(x; y) = thedepth of the lake at location (x; y). ere is no formula for this function, but the Wiscon-sin Department of Natural Resources has measured the depth and presented the resultsin terms of the level sets of the function d.

    Figure 3. The level curves of a function z = d(x; y). The domain of this function is the lakesurface, and d(x; y) is the depth in meters of Lake Mendota at (x; y). To see the graph of thefunction we could try to drain the lake.See http://limnology.wisc.edu/lake_information/mendota/mendota.html

    1.5. A comment about language and set-theoretic notation. Wewill oen say con-sider a function z = f(x; y), but there is a sense in which this is incorrect. It is conve-nient to say consider a function z = f(x; y) since it not only names the function, butit also gives the independent variables x, y, and the dependent variable z a name. Nev-ertheless, the symbol in the equation z = f(x; y) that actually represents the function isf. e correct way of introducing the function would be to say consider a functionf .

    In fact, in the notation that is used inmodernmathematics onewouldwrite Considerthe function f : D ! R Here f is the name of the function we are introducing, D is

    Saying consider the function z = f(x; y) to introduce the function f is like saying Please meet mybrother Joe, Bill, and Sue when you want to introduce your brother Joe, who happens to be standing next toBill and Sue. To introduce your brother, you would of course say Please meet my brother Joe. and to introducethe function you should really say Consider the function f .

  • 38 3. FUNCTIONS OF MORE THAN ONE VARIABLE

    the domain of that function (soD is a set of points in the plane), and R stands for the setof real numbers, indicating that computing f always results in a real number.

    1.6. Vector notation. If #x is the position vector of the point (x; y) in the plane, i.e.if #x = ( xy ), then one sometimes writes

    f(x; y) = f( #x):

    Physicists have a preference for #r instead of #x (because they call the position vector theradius vector), and will write f(x; y) = f( #r ).

    2. Linear functions

    e simplest function of one variable are those of the form f(x) = ax + b. eirgraphs are lines, and we called them linear functions.

    A linear function of two variables is a function f of the form(45) z = f(x; y) = ax+ by + c;where a; b; c are constants.

    x

    y

    z

    Figure 4. The graph of a linear function z = ax+ by + c.

    e graph of a linear function is always a plane. Indeed, the graph consists of allpoints (x; y; z) that satisfy the equation

    ax by + z = c;which we can write as

    #n #x = #n #p ;where

    #n =

    0@ab1

    1A ; and #p =0@00c

    1A :

  • 3. QUADRATIC FORMS 39

    3. adratic forms

    Aer learning about linear functions in pre-calculus one usually goes on to quadraticfunctions. We will do the same for functions of two variables and studyadratic Forms.Just as in the one variable case where quadratic functions can have a maximum or min-imum, quadratic forms provide examples of functions of two variables that can have amaximum or a minimum, or, it turns out, a third kind of min-max or saddle shape.ey provide the basic prole of what we will run into when we look for local minimaand maxima of functions of two variables. In particular, the technique of classifying qua-dratic forms by completing the square, which we will see in this section, is the key to thesecond derivative test for functions of more than one variable.

    3.1. Denition. e general quadratic form in two variables is(46) f(x; y) = Ax2 +Bxy + Cy2;whereA, B, and C are constants. Depending on the values of these constants the graphsof the functions can have a number of dierent shapes.

    In addition to these quadratic forms one can also consider the more general class ofquadratic functions,

    f(x; y) = Ax2 +Bxy + Cy2 +Dx+ Ey + F;

    which also have terms of degree 1 and 0. We will restrict ourselves to quadratic forms(for now).

    e prototypical examples. ere are several important special cases that are repre-sentative of what the graphs of quadratic forms can look like. ese special cases are

    f(x; y) = x2 + y2; and g(x; y) = x2 y2;(47a)h(x; y) = x2; and ~h(x; y) = x2;(47b)k(x; y) = xy(47c)

    eir graphs are discussed in Figure 5.

    3.2. Classifying quadratic forms the general procedure. All quadratic forms havegraphs that look like one of the examples shown above but how can we tell which itis? In other words, if Q(x; y) is a given quadratic form how can we tell if it is denite,indenite, or semidenite? How do we know for which (x; y) the formQ(x; y) is positiveor negative? It turns out that we can always nd out by using the trick of completingthe square.

    e general procedure for a given quadratic formQ(x; y) = Ax2+Bxy+Cy2 is asfollows:

    (1) If A = 0, then we really have Q = Bxy + Cy2 and we can factor Q asQ(x; y) = (Bx+ Cy)y:

  • 40 3. FUNCTIONS OF MORE THAN ONE VARIABLE

    (2) Assume A 6= 0. We factor out A, and complete the square for the rst twoterms:

    Q(x; y) = Anx2 +

    B

    Axy +

    C

    Ay2o

    = Anx+

    B

    2Ay2 B

    2Ay2

    +C

    Ay2o

    = Anx+

    B

    2Ay2| {z }

    u2

    +4AC B2

    4A2y2| {z }

    v2

    o:

    (3) If 4AC B2 > 0, then the expression in braces is positive, and we can write

    Q(x; y) = A(u2 + v2); where u = x+ B2A

    y; and v =p4AC B2

    2Ay:

    Depending on the sign of A our function is always positive or always negative,and we say the form is positive denite or negative denite.

    The two forms f and g from (47a)are called definite, since they cannotchange sign:

    f(x; y) = x2 + y2

    is the sum of two squares, and there-fore is always positive, unless both xand y vanish. Similarly, g(x; y) =f(x; y) is always negative, exceptat (x; y) = (0; 0).The form h(x; y) = x2 is called semi-definite because it too cannot changeits sign. Clearly, h(x; y) = x2 isnever negative, but for h(x; y) to bepositive, we need x 6= 0. So, the func-tion h(x; y) is positive, except on theline x = 0 (the y axis). The graph ofthe function ~h(x; y) = y2 is simi-lar, but upside down.The form k(x; y) = xy is called in-definite, because it can be both posi-tive and negative: if x and y have thesame sign, then xy > 0, but if theyhave opposite signs, then xy < 0.Thus the graph of z = xy lies abovethe xy-plane in the first and thirdquadrants, and below the xy-plane inthe second and fourth quadrants.

    xy > 0

    xy > 0

    xy < 0

    xy < 0x

    y

    Figure 5. Graphs of some representative quadratic forms.

  • 3. QUADRATIC FORMS 41

    (4) If 4AC B2 < 0, then we have

    Q(x; y) = A(u2 v2); where u = x+ B2A

    y; and v =pB2 4AC

    2Ay:

    When this happens we can factor the quadratic form, i.e. we haveQ(x; y) = A(u+ v)(u v):

    e form is indenite.(5) in the only remaining case we have 4AC B2 = 0, so that

    Q(x; y) = Ax+

    B

    2Ay2:

    In this case the form is a perfect square (times A). e form is semi-denite.

    To understand this procedure it is perhaps best to look at how it works in some examples.

    3.3. Classifying quadratic forms two examples.3.3.1. An indenite quadratic form. Consider the formQ(x; y) = 3x2+9xy+6y2.

    We rewrite this as follows:Q = 3x2 + 6xy + 9y2

    = 3x2 2xy 3y2= 3x2 2xy + y2| {z }4y2 complete the square= 3(x y)2 4y2 in this case we get the dierence of twosquares, so use a2 b2 = (a b)(a+ b)= 3(x y 2y)(x y + 2y)= 3(x 3y)(x+ y):

    is shows thatQ(x; y) > 0 when y > 13x or y < x, andQ(x; y) < 0 whenx < y 0, where 2 < < 2 . In other regions of theplane there are other expressions relating to (x; y). See problem 5.8.

    r

    x

    y

    P0

    =0r=r0

    Figure 7. Polar coordinates are defined in the picture on the right (see also equations (48)). Onthe le: the set of points at which has one given value 0 form a half line emanating from theorigin that makes an angle 0 with the positive x-axis. The set of points at which r has a givenvalue r0 form a circle centered at the origin, with radius r0.

    e simplest kinds of functions one can consider in polar coordinates are those thatonly depend on one of those coordinates, i.e. functions that only depend on the radius r,and functions that only depend on the polar angle . Lets look at some examples of suchfunctions.

  • 4. FUNCTIONS IN POLAR COORDINATES r; 43

    xy

    z

    z = r =px2 + y2

    r

    z

    z=(r) =

    r

    Figure 8. Radially symmetric functions. The graph of z = r.

    4.1. Radially symmetric functions. e functionsf(x; y) = x2 + y2; g(x; y) =

    px2 + y2; h(x; y) = lnx2 + y2;

    all can be expressed in terms of the radius r only. Namely, using r2 = x2 + y2, we havef(x; y) = r2; g(x; y) = r; h(x; y) = ln r2(= 2 ln r):

    In general, a function z = f(x; y) that can be wrien in terms of the radius r only, i.e. afunction for which there is some function of one variable with

    f(x; y) = (r); i.e. f(x; y) = px2 + y2;is called a radially symmetric function.

    Since a radially symmetric function only depends on the radius r, its level sets consistof circles centered at the origin (one exception: the origin, r = 0 can also be a level set,and this is obviously not a circle but a point.)

    As an example, we consider the function g(x; y) = px2 + y2 = r in more detail.e function of one variable here is (r) = r. We can try to visualize the graph of gby rst looking at the positive x-axis only. ere we have f(x; 0) = px2 = x. We getthe graph of g by revolving the graph of z = x around the z-axis. See Figure 8.

    4.2. Functions of only. Here are two functions that happen to depend on the polarangle only:

    f(x; y) = sin ; h(x; y) = :We can rewrite these functions in terms of x and y by using the relations between Carte-sian and Polar coordinates (48). We get

    f(x; y) = sin = yr=

    ypx2 + y2

    for f , andh(x; y) = = arctan y

    xfor h, at least in the right half plane where x > 0.

    A function that only depends on is constant on rays emanating from the originbecause the polar angle is constant on such rays. e level sets of such a functiontherefore consist of half-lines (rays) starting at the origin. Its graph consists of spokesaached to the z-axis. Each spoke lies above a ray in the xy-plane with some polar angle, and is aached to the z-axis at a height given by the function value. As we vary , the

  • 44 3. FUNCTIONS OF MORE THAN ONE VARIABLE

    spoke rotates around the vertical axis and moves up or down, as dictated by the function.Figure 9 shows what happens for f(x; y) = sin .

    x y

    z=f()ray

    spoke

    The graph of a function of onlyconsists of horizontal spokes

    aached to the z-axis. The graph of z = sin (the x-axis is coming right at us.)Figure 9

    e function z = has a simpler formula in polar coordinates but actually has amore complicated graph. Let us try to visualize its graph: the spokes that make up thegraph are horizontal, aached to the z-axis, and are at height . If we increase the angle the spokes go up at a steady rate in a way that should remind us of a helix (see 6and Figure 5). Based on this description its graph should look like the surface drawn inFigure 10. e surface is called the helicoid, and it is not the graph of a function (it failsthe vertical line test.) We could have known this from the beginning , because when wedescribed our function as f(x; y) = , we should have immediately asked which ? epolar angle of any given point is only determined up to a multiple of 2. e graphthat we have drawn of the function z = reects this. To make h(x; y) = into anhonest function we have to say which of the many possible angles we choose when weare given a point. One possible choice is to always require the polar angle to lie between0 and 2 (radians). More precisely, we can insist on

    0 < 2:If we do this then there is a unique angle for each point (x; y) in the plane. e graphof this function is shown on the right in Figure 10.

    5. Methods of visualizing the graph of a function

    5.1. Freezing a variable. If a function is not familiar, then a good strategy for draw-ing its graph is to freeze a variable. In other words, to analyze a function z = f(x; y)we pretend y is a constant: then x is the only independent variable, and we can try todraw the graph of the function z = f(x; y), now thinking of this as a function of onlyone variable. is graph is a curve in the xz plane. We get one such curve for each choiceof y. Piecing these graphs together then gives us the graph of the two-variable functionz = f(x; y).

    We could apply the same procedure with the roles of x and y switched: i.e. for eachxed x you try to graph z = f(x; y) as a function of the variable y only, aer which wetry to t all the graphs we get for dierent values of x together.x

    y

    z

  • 5. METHODS OF VISUALIZING THE GRAPH OF A FUNCTION 45

    x

    y

    x

    y

    Figure 10. The graph of z = is the helicoid. It is not the graph of a function, but one can extracta function by choosing a branch of the function. One possible choice, drawn here on the right,is to restrict the polar angle to the interval 0 < 2. There are many other possible choices.

    5.2. Moving graphs. ere is another way of visualizing a function z = f(x; y) oftwo variables in which we think of one of the independent variables (e.g. y) as time. enal picture is not one static image of a three dimensional surface, but rather a movie ofa graph that is moving around in the xz plane.

    If we have a function z = f(x; y), then let us think of y as time, and let us relabelit as t, so that we are looking at the function z = f(x; t). Now at each moment in timet we can think of z = f(x; t) as a function of one variable x whose graph we can try todraw, regarding it as a still-image. en, as we let time t vary, puing the still images ina sequence, you get a movie of a graph of a changing function of one variable.

    For instance, if the function is (once again) the saddle surface function z = xy, thenwe would be considering the function z = xt. At each moment t the graph of z = xt is

    t=1

    z

    x x x x x

    z z z z

    t=1 t=1/2 t=0 t=1/2

    Figure 11. The saddle movie. Its about a line segment whose slope changes, even though it isotherwise stuck to the origin.

  • 46 3. FUNCTIONS OF MORE THAN ONE VARIABLE

    a line with slope t. Puing these graphs together gives a movie which begins with a lineof rather negative slope; during the movie the slope increases, and in the middle of themovie our line has achieved horizontality; nally, the closing shot presents us with a linewith a very positive slope. Figure 11 shows some stills from the movie.

    is interpretation is not very dierent from the procedure of freezing the y vari-able. e only real dierence lies in what we do with all the separate graphs we get aerwe freeze a variable. In one case we try to piece them together to make a bigger draw-ing of a three-dimensional object, in the other we put them together to make a motionpicture.

    ProblemsIn the problems in this stage of the course, you will be asked to sketch the graph of a function.

    From math 221 you remember that this meant you had to find minima, maxima, inflection points,and other features of the graph. In 234 you will learn to do the same for functions of two (andmore) variables, but for now you should try to use the method of freezing a variable or othersimilar tricks to get an idea of what the graph of f looks like.

    You can use a graphing program (such as Grapher.app on the Mac, GraphCalc on Windows,or one of the many websites such as http://www.graphycalc.com/) to check your answer.

    Note: very oen students try to fittheir drawings into a region the sizeof a post-it. In this course, wheneveryou make a drawing, especially if itsa three-dimensional drawing, make itlarge! Use half a page for a drawing.Make sure you have enough paper, tryto find lots of cheap scrap paper.

    1. If we were to drain LakeMendota, as sug-gested in 1.4, would the lake boom give usthe graph of d(x; y) or of d(x; y)? (whered is the depth of the lake)? 2. What are the signs of the coeicients a,b, and c for the linear function whose graphis drawn in Figure 4? 3. About planes and their intersections withthe coordinate axes.(a) Where does the plane z = 3x y + 6intersect the three coordinate axes? (b) Find the equation for the plane that in-tersects the x-axis at x = 4, the y-axis aty = 2, and the z-axis at z = 3. (c) Find the equation for the plane that in-tersects the x-axis at x = a, the y-axis aty = b, and the z-axis at z = c. (Write theequation as nice as possible.) 4. Find a formula for the distance to the ori-gin of the graph of (45).

    5. Classify the following quadratic forms asdefinite, indefinite, or other, by completingthe square. Determine the zero set for eachof these quadratic forms.(a) f(x; y) = x2 + 2y2 (b) Q(x; y) = x2 y2 (c) g(x; y) = x2 4xy + 3y2 (d) Q(s; t) = 9s2 36st+ 81t2 (e)M(; ) = 1

    22 + 2.

    (f) Q(x; y) = xy + y2 (g) Q(x; y) = x2 + 2xy 6. For which values of the constant k is thequadratic form

    Q(x; y) = x2 + 2kxy + y2

    positive definite? 7. Which functions of two variables z =f(x; y) are defined by the following formu-lae?

  • PROBLEMS 47

    . Find draw the domain of each function(the largest domain on which the definitionwould make sense).. Try to sketch their graphs.. Draw the level sets for each function.

    (a) z = xy (b) z x2 = 0 (c) z2 x = 0 (d) z x2 y2 = 0 (e) z2 x2 y2 = 0 (f) xyz = 1 (g) xy/z2 = 1 (h) x+ y + z2 = 0(i) x+ y + z2 = 1

    8. The following expressions are all equal tothe polar angle in some region of the xy-plane. Explain why the expression gives ,and identify in which region this holds.(a) = arctan y

    x

    (b) = + arctan yx

    (c) = 2 + arctan yx

    (d) = 2 arctan x

    y

    (e) = arcsin ypx2+y2

    .

    9. The level set is always a curve not!If d(x; y) is the depth function of Lake Men-dota (see 1.4), then what are the level setsd1(c) for c = 0, c = +24 and for c = 24(meters)? What is the level set d1(400)(meter)?

    10. Describe and explain the relation be-tween the graph of the function y = g(x) ofone variable, and the corresponding functionf(x; y) = g

    px2 + y2

    of two variables.What do the level sets of f(x; y) look

    like?For instance, if g(x) = x, then f(x; y) =px2 + y2: what is the relation between the

    graphs of g and f?

    11. Find the largest domain on which thefollowing functions of two (or occasionallythree) variables can be defined:(a) f(x; y) = p9 x2 +py2 4 (b) f(x; y) = arcsin(x2 + y2 2) (c) f(x; y) = px py (d) f(x; y) = pxy (e) f(x; y; z) = 1/pxyz(f) f(x; y) =p16 x2 4y2

    12. Here are two sets of level curves with lev-els z = 0:2; 0:4; 0:6; 0:8; 1:0; 1:2; 1:4. Oneis for a function whose graph is a cone (z =px2 + y2), the other is for a paraboloid

    (z = x2 + y2). Which is which? Explain.

    13. Let Q be the square in the plane con-sisting of all points (x; y) with jxj 1,jyj 1. This problem is about the so-calleddistance function to Q. This function is de-fined as follows: f(x; y) is the distance fromthe point (x; y) to the point in Q nearest to(x; y).(a) Which point in Q is nearest to (0; 1

    2)?

    Which is closest to (0; 2)? Which is closestto (3; 4)? (b)Compute f(0; 1

    2), f(0; 2) and f(3; 4)).

    (c)What is the zero set of f? (d) Draw the level sets of f at levels 1,1, 2, and 3. Describe the general level set

  • 48 3. FUNCTIONS OF MORE THAN ONE VARIABLE

    f(x; y) = c where c is an arbitrary number.(e) Give a formula for f(x; y). (It turns outto be too hard to capture the distance func-tion in one formula. You will have to splitthe plane into dierent regions and describef(x; y) by dierent formulas, according towhich region (x; y) belongs to.)

    14. Describe the movie that goes with eachof the following functions.(a) f(x; t) = x sin t (b) f(x; t) = x sin 2t (c) f(x; t) = t sinx (d) f(x; t) = 2t sinx (e) f(x; t) = t sin 2x (f) f(x; t) = (x t)2 (g) f(x; t) = (x sin t)2 (h) f(x; t) = (x t2)2

    (i) f(x; t) = t2

    1 + x2

    (j) f(x; t) = 1(1 + x2)(1 + t2)

    15. Describe the movie that goes with thefunction

    f(x; t) = arctan xt;

    for t > 0. The function is not defined att = 0, but can you describe the limit of this

    function as t! 0? (Hint: the sign of xmat-ters).

    16. If y = g(x) is any function of one vari-able, then a function of the form f(x; t) =g(xct) is oen called a traveling wavewithwave speed c and profile g. Let g be anynon constant function of your choice and de-scribe the movie presented by the functionf(x; t) = g(x ct) (cant choose? Then tryAgnesis witch g(x) = 1

    1+x2.)

    The number c is called the wave speed.If c > 0 is the motion to the le or to theright? Explain.

    17. If y = g(x) is any function of one vari-able, then a function of the form

    f(x; t) = cos(!t)g(x)is oen called a standing wave. Let g be anynon constant function of your choice and de-scribe the movie presented by the functionf(x; t) = cos(!t)g(x) (cant choose? Thentry Agnesis witch g(x) = 1

    1+x2again, or

    for this example, try g(x) = sinx.)The number !

    2is called the frequency

    of the standing wave. The function g(x) iscalled its profile. How long does it take be-fore the standing wave returns to its originalposition, i.e. what is the smallest T > 0 forwhich f(x; T ) = f(x; 0) for all x? Explain.

  • CHAPTER 4

    Derivatives

    1. Interior points and continuous functionsBefore diving into the calculus of partial derivatives we need to discuss certain as-

    sumptions that we shall always implicitly make about the functions in this course. erst concerns the domains of our functions. Namely:(49) We only consider functions at interior points of their domainHere, by denition, a point (a; b) in the domain of a function is called an interior point ifthe function is also dened at all points (x; y) that lie within some small disc centered at(a; b).

    P1 P2

    P3

    domain of f

    Q

    Figure 1. Interior and boundary points in the domain of f : P1, P2, or P3 are interior pointsin the domain. Each of these points is the center of a suiciently small disc that is still containedin the domain. For points such asQ, that lie on the edge of the domain, any disc centered atQwillstick out of the domain, no maer how small the disc is chosen. If we talk about the derivativeof a function at some point in its domain, then, in this course, we will always assume that we arenot at an edge-point like Q.

    e other standing assumption we make in this course is that(50) all functions we consider are continuous.We have seen the concept of continuity for functions of one variable. For functions ofmore variables continuity has a similar denition. In this course we will aim for anintuitive understanding of the concept, which can be formulated as follows.

    e function z = f(x; y) is continuous at some point (a; b) if the functionvalue f(x; y) at any point (x; y) is close to f(a; b) when (x; y) is closeto (a; b).

    49

  • 50 4. DERIVATIVES

    ere are many other ways of describing continuity, e.g. one can say that f is continuousat (a; b) if

    lim(x;y)!(a;b)

    f(x; y) = f(a; b):

    To make this precise we would have to dene what lim(x;y)!(a;b) : : : means.A precise denition of f is continuous at (a; b) invokes "s and s:

    e function z = f(x; y) is continuous at some point (a; b) if for every" > 0 there is a > 0 such that for every point (x; y) that lies in thedisc of radius centered at (a; b) one has jf(x; y) f(a; b)j < ".

    In this course we will not use the denition much, but we will occasionally appeal to theintuitive notion of continuity. e problems show some examples of how a function oftwo variables can fail to be continuous (e.g. Problem 3.1).

    Now that we have dispensed with these preliminary issues, we can go on to the centraltopic in the rst half of the semester: partial derivatives and the chain rule.

    2. Partial Derivativesederivative f 0(x) of a function of one variable, y = f(x), measures a rate of change:

    if we increase x by a small amount x then y = f(x) also increases by a small amounty. e ratio between these two changes is the derivative: f 0(x) yx .For a function z = f(x; y) of two variables there is a similar concept: if we changex and/or y by a small amount then z will also change by a small amount, and there areformulas relating the changesx,y andz. Because there are many dierent ways inwhich we can change x and y there are a few dierent formulas. We will encounter thefollowing versions of the derivative of f(x; y):IChange only one of the variables but not the other: this leads to the so-called partial

    derivatives.I Simultaneously vary both x and y: the resulting change turns out to be the sum

    of the changes we would get if we were to vary only x or only y, respectively. is willfollow from theain rule, and the resulting formula is called the total derivative.

    We begin with the partial derivatives.

    2.1. Denition of Partial Derivatives. If z = f(x; y) is a function of two variablesthen the partial derivatives of f with respect to x and with respect to y are

    (51) @f@x

    (x; y) = limx!0

    f(x+x; y) f(x; y)x

    and

    (52) @f@y

    (x; y) = limy!0

    f(x; y +y) f(x; y)y

    e followingmore convenient notation is used very oen (because its somuch shorter):

    (53) fx(x; y) = @f@x

    (x; y); fy(x; y) =@f

    @y(x; y):

    When we are in a hurry we can also drop the (x; y) from our notation for derivativesand just write fx and fy .

  • 3. PROBLEMS 51

    y

    x

    @f

    @yis the rate of change of f in the vertical direction

    @f

    @xis the rate of change of f in the horizontal direction

    When we define the partial derivatives at some point(x; y), we assume that the function is defined on somesuiciently small disc centered at that point (x; y).

    Figure 2. The partial derivatives of a function at some point (x; y) measure how fast the func-tion f(x; y) changes if we move the point either horizontally (the x direction) or vertically (the ydirection).

    2.2. Partial derivatives of functions of three or more variables. If a function de-pends on three or more variables then one can dene its partial derivatives in the sameway as for functions of two variables. For instance, ifw = f(x; y; z) is a function of threevariables, then its partial derivative with respect to x is dened to be

    @f

    @x= lim

    x!0f(x+x; y; z) f(x; y; z)

    x:

    e derivatives of f with respect to y and z have very similar denitions.2.3. Examples. Computing partial derivatives is not harder than computing ordi-

    nary derivatives. To nd the partial derivative of a function with respect to x we justpretend all other variables are constants and dierentiate. Or, in other words, we couldthink of the partial derivative of f(x; y) with respect to x as the ordinary derivative ofthe function f in which we have frozen the variable y at some particular value.

    For instance, the partial derivatives of the function f(x; y; z) = x2 siny+ z of threevariables x, y, and z, are

    fx = 2x siny; fy = x2 cosy and fz = 1:3. Problems

    1. For each of the following functions sketchthe graph (use a graphing program, if nec-essary) and decide if you think the functionhas a limit as (x; y) approaches (0; 0).(a) f(x; y) = xy

    x2 + y2

    (b) g(x; y) = 1x2 + y2

    (c)