Download Solutions to Midterm 2 | Calculus III | MATH 226 and more Exams Mathematics in PDF only on Docsity! Solutions to Midterm #2 Math 226, Fall 1996 Given Monday, 21 October 1996 Problem 1. If h = (h1, h2), show that h1h2 is o(h) as hโ 0. Solution. I did this example in class. I gave ten points if you wrote โitโs of higher degree than one.โ Thatโs the right philosphy, but a little vague, unless you explained further. You were being asked to show that h1h2 โhโ โ 0 as hโ 0, where of course โ(h1, h2)โ = โ h21 + h22. In class I worked this by noting that |h1h2| โค 12(h 2 1 + h22) = 1 2 โhโ2, thus h1h2/โhโ is bounded (in absolute value) by 1/2โhโ, which goes to zero. But you donโt need any fancy inequalities to do this. You just need to use the fairly obvious facts that |h1|โ h21 + h22 โค 1, |h2|โ h21 + h22 โค 1. This says that if h โ 0, then h1 โ 0 and h2 โ 0 at comparable rates. In fact, we explicitly have the estimates โh1โ โค โhโ, |h2| โค โhโ. Thus anytime we have a factor of h1 or h2 in an expression, we pick up an extra factor of โhโ on the right-hand side of the inequalities. If there are two or more, and we then divide by โhโ, weโre left with some power of โhโ on the right-hand-side: |h1h2| โhโ โค โhโ. And as hโ 0 โ which means exactly that โhโ โ 0 โ we see that h1h2 โhโ โ 0 as hโ 0. When h = (h1, h2, . . . , hn), Each hi is of the same order of magnitude as โhโ. Typeset byAMS-TEX 2 Problem 2. Show that u = 1โ x2 +y2 + z2 satisfies Laplaceโs equation for three variables: โ2u โx2 + โ 2u โy2 + โ 2u โz2 = 0. Solution. There are ugly ways, and there are pretty ways, to do this. The ugliest is to differentiate u with respect to x, then to differentiate that with respect to x; do the same for y ; do the same for z; and add. A slightly better way is to differentiate u with respect to x twice, then use the symmetry of u in x, y and z to write down the other two formulas for โ2u โy2 and โ2u โz2 , and add. Most people did the problem this way, and under the time-pressure of an exam thatโs reasonable. But the best way is to introduce a variable r by r = โ x2 +y2 + z2, to note that r is differentiable as a function of x (or y , or z) at every point except (0,0,0); and that r2 = x2 +y2 + z2, hence 2r โr โx = 2x, i.e. โr โx = x r , with similar formulas for โr/โy and โr/โz. Then u = 1/r , so โu โx = โ 1 r 2 x r = โ x r 3 . This is the chain rule. Since u is a function of r , which is a function of x,y, z, the only dependency path from u to x is uโ r โ x, and so โu โx = du dr โr โx . Anyway, we therefore get โ2u โx2 = โ โx ( โxrโ3 ) = โrโ3 + (โx)โr โ3 โx = โrโ3 + 3rโ4 โr โx = โrโ3 + 3x 2 r 5 . 5 where the last line was obtained by substituting for rโฒ(t) using the defining equation rโฒ(t) = โโv(r(t)). Sinceโu(x,y)ยทโv(x,y) = 0, this means qโฒ(t) โก 0, which means q is a constant function. That is, r(t) remains on the same level curve of u. To illustrate this, we have drawn the level curves for the two functions u(x,y) = x4 โ 6x2y2 +y4, v(x,y) = 4x3y โ 4xy3 on the same graph. (These functions satisfy the Cauchy-Riemann equations, since they are the real and imaginary parts of (x+ iy)4.) The level curves of u are always orthogonal to the level curves of v : -1 -0.5 0 0.5 1 -1 -0.5 0 0.5 1 Problem 6. Suppose f is a differentiable function of two variables (x,y). Show that the directional derivative of f in the direction of (โโf/โy, โf/โx) is zero. Solution. This is trivial. The gradient of ฯ is ( โฯ โx , โฯ โy ), and the dot product of this with the given direction is ( โฯ โx , โฯ โy ) ยท (โโf/โy, โf/โx) = 0. There is the technical problem that when the book defines directional derivative in the direction of u, it means that u should be a unit vector; so we should divide the vector (โโฯ/โy, โฯ/โx) by its length. Weโll still get zero for the dot product. 6 The purpose of this problem is to indicate a possible strategy for drawing the level curves of a function, ฯ(x,y) = c. Namely, we take a curve r(t) = (x(t),y(t)) so that its derivative is pointing in the direction of (โโฯ โy , โฯ โx ): xโฒ(t) = โโฯ โy (x(t),y(t)) y โฒ(t) = โฯ โx (x(t),y(t)). This is a system of differential equations (there are two unknown functions, x(t) andy(t), and two equations). It will usually have to be solved numerically. This problem shows that the derivative of ฯ(x(t),y(t)) will remain zero, i.e., ฯ(x(t),y(t)) will remain constant, i.e. r(t) will remain on the same level curve. This is a very fast way of drawing level curves, if theyโre smooth.