Math 221 Examination 1 Spring 2013 Several Variable Calculus Instructions These problems should be viewed as essay questions. Before making a calculation, you should explain in words what your strategy is. Please write your solutions on your own paper. Each of the 10 problems counts for 10 points. 1. Let ๐ฃโ be the vector whose ๐คฬ, ๐ฅฬ, and ๐ฬ components are the last three digits of your student identification number. Find an equation for the plane perpendicular to ๐ฃโ and passing through the point (2, 2, 1). Solution. The numerical answer is different for each student. Here is a general solution assuming that the last three digits are ๐, ๐, and ๐. The vector โจ๐, ๐, ๐โฉ is normal to the plane, so the equation of the plane has the general form ๐๐ฅ + ๐๐ฆ + ๐๐ง = ๐. The value of ๐ can be determined by plugging in the coordinates of the given point that lies in the plane: ๐ = 2๐ + 2๐ + ๐. Thus one form of the answer is ๐๐ฅ + ๐๐ฆ + ๐๐ง = 2๐ + 2๐ + ๐. Another way to write the answer is ๐(๐ฅ − 2) + ๐(๐ฆ − 2) + ๐(๐ง − 1) = 0. 2. Let ๐ฃโ be the same vector as in the preceding problem. Find a vector that is orthogonal both to ๐ฃโ and to the vector โจ5, 0, 1โฉ. Solution. Of course the vector โจ0, 0, 0โฉ solves the problem! But presumably the goal is to find a “nontrivial” solution. One way to get a vector orthogonal to two specified vectors is to compute the cross product. If ๐ฃโ is the vector โจ๐, ๐, ๐โฉ, then the required vector is โจ๐, ๐, ๐โฉ × โจ5, 0, 1โฉ. February 14, 2013 Page 1 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus This cross product can be worked out by the determinant formula: | ๐คฬ ๐ฅฬ ๐ฬ | | | |๐ ๐ | |๐ ๐ | | | | | | | | | ฬ |๐ ๐| ฬ |๐ ๐ ๐ | = ๐คฬ | | − ๐ฅฬ | | + ๐| | = ๐ฬ๐ค − (๐ − 5๐)ฬ๐ฅ − 5๐๐. | | |0 1 | | 5 1| | 5 0| |5 0 1 | | | | | | | | | The solution is not unique: any multiple of this vector is another solution. 3. The “twisted cubic” is the curve given by the parametric equations ๐ฅ = ๐ก, ๐ฆ = ๐ก2 , and ๐ง = ๐ก3 . Find parametric equations for the line tangent to this curve at the point where ๐ก = 1. Solution. The coordinate vector of a point on the curve at time ๐ก is โจ๐ก, ๐ก2 , ๐ก3 โฉ. The derivative vector โจ1, 2๐ก, 3๐ก2 โฉ points in the direction of the tangent line. When ๐ก = 1, this tangent vector becomes โจ1, 2, 3โฉ. And when ๐ก = 1, the corresponding point on the curve has coordinates (1, 1, 1). Thus the problem amounts to writing equations for a line passing through the point (1, 1, 1) in the direction of the vector โจ1, 2, 3โฉ. Parametric equations for this line are ๐ฅ=1+๐ก ๐ฆ = 1 + 2๐ก ๐ง = 1 + 3๐ก. The problem does not ask for the symmetric equations of the line; those equations would be ๐ฅ−1 ๐ฆ−1 ๐ง−1 = = . 1 2 3 4. Explain how to use a dot product to compute the distance between a plane and a line parallel to that plane. Solution. Pick an arbitrary point on the plane and an arbitrary point on the line. Subtract the corresponding coordinates to get a vector pointing from one point to the other. Take the dot product of this vector with a unit vector in the direction of the normal to the plane. Finally, take the absolute value, if necessary, in case the normal vector is pointing backward. February 14, 2013 Page 2 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus Another way to express this process is to find a vector joining a point on the plane to a point on the line and to compute the scalar projection of this vector onto the direction normal to the plane. If the line and the plane are given by explicit equations, then all the data needed in this calculation can be read off from the equations. To get a point on the line (or on the plane), plug in arbitrary values (zero, for instance) for all the variables but one, and solve for the remaining variable. A vector normal to the plane with equation ๐๐ฅ + ๐๐ฆ + ๐๐ง = ๐ is โจ๐, ๐, ๐โฉ. √ And you can make this vector into a unit vector by dividing it by its length ๐2 + ๐2 + ๐ 2 . 5. The vector function ๐โ(๐ก) = โจ2 cos(๐ก), 2 sin(๐ก), ๐กโฉ describes a helix (a spiral). Show that the curvature of this helix is constant (that is, the same for every value of ๐ก). Solution. The details of the solution depend on which formula you apply for the curvature ๐ . One formula says that if ๐โ is the unit tangent vector, namely ๐โ ′ โ|โ๐ ′ |, then ๐ equals |๐โ ′ |โ|โ๐ ′ |. So compute: ๐โ ′ (๐ก) = โจ−2 sin(๐ก), 2 cos(๐ก), 1โฉ, √ √ |โ๐ ′ (๐ก)| = 4(sin ๐ก)2 + 4(cos ๐ก)2 + 12 = 5, 1 ๐โ (๐ก) = √ โจ−2 sin(๐ก), 2 cos(๐ก), 1โฉ , 5 1 ๐โ ′ (๐ก) = √ โจ−2 cos(๐ก), −2 sin(๐ก), 0โฉ, 5 √ 2 1 |๐โ ′ (๐ก)| = √ 4(cos ๐ก)2 + 4(sin ๐ก)2 = √ , 5 5 √ 2โ 5 2 ๐ = √ = . 5 5 Thus the curvature is indeed independent of ๐ก. An alternative formula for ๐ is February 14, 2013 |โ๐ ′ × ๐โ ′′ | . Here is the computation using |โ๐ ′ |3 Page 3 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus that formula: ๐โ ′ (๐ก) = โจ−2 sin(๐ก), 2 cos(๐ก), 1โฉ, ๐โ ′′ (๐ก) = โจ−2 cos(๐ก), −2 sin(๐ก), 0โฉ, | ๐คฬ ๐ฅฬ ๐ฬ || | | | ′ ′′ ฬ ๐โ (๐ก) × ๐โ (๐ก) = | −2 sin(๐ก) 2 cos(๐ก) 1| = 2 sin(๐ก)ฬ๐ค − 2 cos(๐ก)ฬ๐ฅ + 4๐, | | |−2 cos(๐ก) −2 sin(๐ก) 0| | | √ √ √ ′ ′′ 2 2 |โ๐ (๐ก) × ๐โ (๐ก)| = 4(sin ๐ก) + 4(cos ๐ก) + 16 = 20 = 2 5, √ √ ′ 2 2 2 |โ๐ (๐ก)| = 4(sin ๐ก) + 4(cos ๐ก) + 1 = 5, √ 2 5 2 ๐ = (√ )3 = . 5 5 Remark Even without doing any calculation, one can see by geometric reasoning that the curvature must be constant. Think of the helix as the threads on a bolt. Any point of the helix can be moved to any other point by rotating the bolt and moving it parallel to its axis. But a rigid motion does not change the curvature. Since all points of the helix are equivalent to each other via rigid motions, the curvature must be the same at all points. 6. Find a function ๐ (๐ฅ, ๐ฆ) for which ๐๐ ๐๐ = 2๐ฅ + ๐ฆ and = ๐ฅ + ๐ฆ. ๐๐ฅ ๐๐ฆ Solution. This question is in the spirit of the game show Jeopardy: the answer to a partial-differentiation problem is given, and you need to recover the original function. The systematic method is to start by integrating the first equation with respect to ๐ฅ to deduce that ๐ (๐ฅ, ๐ฆ) = ๐ฅ2 + ๐ฅ๐ฆ + ๐ถ, where ๐ถ is an integration constant. But from the point of view of the ๐ฅ partial derivative, what “constant” means is “independent of ๐ฅ,” so the “constant” ๐ถ is really a function ๐ถ(๐ฆ) that depends on ๐ฆ. Next take the ๐ฆ partial derivative: ๐๐ ๐ 2 = (๐ฅ + ๐ฅ๐ฆ + ๐ถ(๐ฆ)) = ๐ฅ + ๐ถ ′ (๐ฆ). ๐๐ฆ ๐๐ฆ February 14, 2013 Page 4 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus ๐๐ = ๐ฅ + ๐ฆ, so ๐ถ ′ (๐ฆ) must be equal ๐๐ฆ to ๐ฆ. Therefore ๐ถ(๐ฆ) = 12 ๐ฆ2 + ๐, where this time ๐ is authentically a constant (independent of both ๐ฅ and ๐ฆ). Accordingly, the final answer is that ๐ (๐ฅ, ๐ฆ) = ๐ฅ2 + ๐ฅ๐ฆ + 12 ๐ฆ2 + ๐. Since the question asks for “a” function, not “the most On the other hand, it is given that general function,” the answer ๐ฅ2 + ๐ฅ๐ฆ + 12 ๐ฆ2 is perfectly acceptable. Alternatively, you could solve the problem by the “guess and check” method. The simplest function whose ๐ฅ partial derivative equals 2๐ฅ + ๐ฆ is ๐ฅ2 + ๐ฅ๐ฆ, and the simplest function whose ๐ฆ partial derivative equals ๐ฅ + ๐ฆ is ๐ฅ๐ฆ + 12 ๐ฆ2 . These two expressions do not match, but if you try merging them as the function ๐ฅ2 + ๐ฅ๐ฆ + 12 ๐ฆ2 , then you can easily check that this function solves the problem. Yet another approach is to observe that the given first-order partial derivatives are first-degree expressions in ๐ฅ and ๐ฆ, so the original function ๐ (๐ฅ, ๐ฆ) must be a second-degree expression in ๐ฅ and ๐ฆ. The most general such expression has the form ๐๐ฅ2 + ๐๐ฅ๐ฆ + ๐๐ฆ2 for certain numbers ๐, ๐, and ๐. Then ๐๐ = 2๐๐ฅ + ๐๐ฆ, ๐๐ฅ ๐๐ ๐ฅ+๐ฆ= = ๐๐ฅ + 2๐๐ฆ. ๐๐ฆ 2๐ฅ + ๐ฆ = Evidently these equations for the undetermined coefficients ๐, ๐, and ๐ are satisfied when ๐ = 1, ๐ = 1, and ๐ = 1โ2. 7. Suppose ๐ง = 21 ๐ฅ2 − 13 ๐ฆ3 . Find the point(s) on this surface where the tangent plane is parallel to the plane with equation ๐ฅ + ๐ฆ + ๐ง = 1. Solution. Two planes are parallel precisely when their normal vectors are parallel. The vector โจ1, 1, 1โฉ is normal to the given plane, so what needs to be determined is a vector normal to the surface. If the equation for the surface is rewritten in the form of a level surface as ๐ง − 21 ๐ฅ2 + 13 ๐ฆ3 = 0, then a normal vector can be obtained as the gradient vector โจ−๐ฅ, ๐ฆ2 , 1โฉ. The two vectors โจ1, 1, 1โฉ and โจ−๐ฅ, ๐ฆ2 , 1โฉ have the same third coordinate, so these vectors are parallel precisely when the other two coordinates match February 14, 2013 Page 5 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus up: namely, 1 = −๐ฅ and 1 = ๐ฆ2 . Consequently, ๐ฅ = −1 and ๐ฆ = ±1. Going back to the equation of the surface reveals that if ๐ฅ = −1 and ๐ฆ = +1, then ๐ง = 1โ6; while if ๐ฅ = −1 and ๐ฆ = −1, then ๐ง = 5โ6. Therefore the two points that solve the problem are (−1, 1, 1โ6) and (−1, −1, 5โ6). 8. Suppose ๐ฅ cos(๐ฆ) + sin(๐ฅ๐ง) = ๐๐ฆ . Find ๐๐ง at the point (1, 0, ๐). ๐๐ฅ Solution. Differentiate implicitly with respect to ๐ฅ (viewing ๐ฆ as constant): ) ( ๐ ๐๐ง cos(๐ฆ) + cos(๐ฅ๐ง) (๐ฅ๐ง) = 0, or cos(๐ฆ) + cos(๐ฅ๐ง) ๐ง + ๐ฅ = 0. ๐๐ฅ ๐๐ฅ Insert the values of the coordinates at the specified point: ( ) ๐๐ง ๐๐ง 1− ๐+ = 0, so = 1 − ๐. ๐๐ฅ ๐๐ฅ 9. Suppose ๐ (๐ฅ, ๐ฆ) = ๐ฅ3 − 3๐ฅ๐ฆ + ๐ฆ3 . Find the point(s) at which this function has a local minimum. Solution. First identify the critical points by setting both partial derivatives equal to zero: ๐๐ = 3๐ฅ2 − 3๐ฆ, ๐๐ฅ ๐๐ 0= = −3๐ฅ + 3๐ฆ2 . ๐๐ฆ 0= The first equation implies that ๐ฆ = ๐ฅ2 , and the second equation implies that ๐ฅ = ๐ฆ2 = (๐ฅ2 )2 = ๐ฅ4 . Consequently, either ๐ฅ = 0 or ๐ฅ = 1; the corresponding values of ๐ฆ are 0 and 1. Thus the critical points are (0, 0) and (1, 1). To apply the second-derivative test, compute the matrix of second-order partial derivatives: ( ) ( ) ๐๐ฅ๐ฅ ๐๐ฅ๐ฆ 6๐ฅ −3 = . ๐๐ฆ๐ฅ ๐๐ฆ๐ฆ −3 6๐ฆ February 14, 2013 Page 6 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus ( ) 0 −3 At the point (0, 0), this matrix becomes , which has negative −3 0 determinant, so the point (0, 0) is a saddle point. At ( the point ) (1, 1), the 6 −3 matrix of second-order partial derivatives becomes . Now the −3 6 determinant is positive, and both derivatives ๐๐ฅ๐ฅ and ๐๐ฆ๐ฆ are positive, so the point (1, 1) is a local minimum. 10. Suppose ๐ (๐ฅ, ๐ฆ) = ๐ฅ2 +๐ฆ. Find the absolute maximum value of this function on the closed disk where ๐ฅ2 + ๐ฆ2 ≤ 1. ๐๐ = 1, so the function ๐ has no critical points. ๐๐ฆ Therefore all that is required is to find the maximum of ๐ on the circle where ๐ฅ2 + ๐ฆ2 = 1. Solution. Observe that Apply the method of Lagrange multipliers: the gradient of ๐ , which equals โจ2๐ฅ, 1โฉ, must be parallel to the gradient of the function defining the circle, which is โจ2๐ฅ, 2๐ฆโฉ. In other words, there is a number ๐ such that 2๐ฅ = 2๐ฅ๐, 1 = 2๐ฆ๐. The second equation says that ๐ = 1โ(2๐ฆ), and substituting this expression into the first equation shows that 2๐ฅ = 2๐ฅโ(2๐ฆ), or 2๐ฅ๐ฆ = ๐ฅ, or 2๐ฅ๐ฆ − ๐ฅ = 0, or ๐ฅ(2๐ฆ − 1) = 0. Therefore either ๐ฅ = 0 or ๐ฆ = 1โ2. If ๐ฅ = 0, the constraint that ๐ฅ2 + ๐ฆ2 = 1 implies that ๐ฆ = ±1. In this case, there are two candidate points, (0, 1) and (0, −1). Now ๐ (0, 1) = 1 and 2 2 ๐ (0, −1) √1 implies that √ = −1. If ๐ฆ = 1โ2, then the constraint that ๐ฅ + ๐ฆ = ๐ฅ =√± 3โ2. In this case, there are two candidate points, (+ 3โ2, 1โ2) and (− 3โ2, 1โ2). The value of the function ๐ at both of these points is 5โ4. The maximum value of the function ๐ at the four candidate points is thus equal to 5โ4. An alternative method is to observe first that ๐ฅ2 + ๐ฆ will not achieve a maximum when the number ๐ฆ is negative. Moreover, there is no need to consider negative values of ๐ฅ, since ๐ (−๐ฅ, ๐ฆ) = ๐ (๐ฅ, ๐ฆ). Thus it suffices to find the maximum value of ๐ (๐ฅ, ๐ฆ) on the√part of the circle lying in the first quadrant. On that part of the circle, ๐ฆ = 1 − ๐ฅ2 (with the positive square root), so February 14, 2013 Page 7 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus √ ๐ (๐ฅ, ๐ฆ) reduces to the single-variable function ๐ฅ2 + 1 − ๐ฅ2 . The problem then becomes a question of maximizing this function of ๐ฅ when 0 ≤ ๐ฅ ≤ 1. Find the critical point of this one-variable function by setting the derivative equal to 0: 0 = 2๐ฅ + 21 (1 − ๐ฅ2 )−1โ2 (−2๐ฅ). Either ๐ฅ = 0 (which is√an endpoint) or 0 = 2 − (1 − ๐ฅ2 )−1โ2 . The latter 2 2 2 equation √ simplifies to 1 − ๐ฅ = 1โ2 or 1 − ๐ฅ = 1โ4 or ๐ฅ = 3โ4 or ๐ฅ = √3โ2 (since ๐ฅ is assumed to be positive). The value of the function ๐ฅ2 + 1 − ๐ฅ2 at this critical point is 5โ4; the value at the endpoint where ๐ฅ = 0 is 1; and the value at the endpoint where ๐ฅ = 1 is 1. Thus the absolute maximum value is 5โ4. Optional bonus problem for extra credit The parametric equations ๐ฅ = (sin ๐ก)(sin 12 ๐ก)2 , ๐ฆ = (cos ๐ก)(sin 12 ๐ก)2 , 0 ≤ ๐ก ≤ 2๐ describe a cardioid, a heart-shaped figure. Show that the arc length of this cardioid is equal to 4. Solution. The arc length is the integral of the speed, which is √ ( )2 ( )2 d๐ฆ d๐ฅ + . d๐ก d๐ก First compute the derivatives using the product rule and the chain rule: d๐ฅ = (cos ๐ก)(sin 12 ๐ก)2 + (sin ๐ก)2(sin 21 ๐ก)(cos 12 ๐ก)(1โ2), d๐ก d๐ฆ = (− sin ๐ก)(sin 12 ๐ก)2 + (cos ๐ก)2(sin 21 ๐ก)(cos 21 ๐ก)(1โ2). d๐ก Of course the factors of 2 and 1โ2 cancel. Now add the squares of these derivatives, observing that the cross terms cancel out because of the minus sign in the second February 14, 2013 Page 8 of 9 Dr. Boas Math 221 Examination 1 Spring 2013 Several Variable Calculus equation: ( d๐ฅ d๐ก )2 ( + d๐ฆ d๐ก )2 = [(cos ๐ก)2 + (sin ๐ก)2 ](sin 12 ๐ก)4 + [(sin ๐ก)2 + (cos ๐ก)2 ](sin 21 ๐ก)2 (cos 12 ๐ก)2 = (sin 12 ๐ก)4 + (sin 12 ๐ก)2 (cos 12 ๐ก)2 = (sin 12 ๐ก)2 [(sin 21 ๐ก)2 + (cos 12 ๐ก)2 ] = (sin 12 ๐ก)2 . Taking the square root shows that the speed is sin 12 ๐ก. Therefore the computation of the arc length reduces to the following integral: 2๐ ∫0 February 14, 2013 |2๐ sin 21 ๐ก d๐ก = −2 cos 21 ๐ก | = −2(cos ๐ − cos 0) = 4. |0 Page 9 of 9 Dr. Boas