Classnotes - MA1101. Functions of Several Variables

Size: px
Start display at page:

Download "Classnotes - MA1101. Functions of Several Variables"

Transcription

1 lassnotes - MA111 Functions of Several Variables epartment of Mathematics Indian Institute of Technology Madras This material is only meant for internal use; not to be distributed for commercial purpose. Maintained by A.Singh.

2 ontents 1 ifferential alculus Regions in the plane Level curves and surfaces ontinuity Partial erivatives Increment Theorem hain Rules irectional erivative Normal to Level urve and Tangent Planes Taylor s Theorem Extreme Values Lagrange Multipliers Review Problems Multiple Integrals Volume of a solid of revolution Approximating Volume Riemann Sum in Polar coordinates Triple Integral Triple Integral in ylindrical coordinates Triple Integral in Spherical coordinates hange of Variables Review Problems Vector Integrals Line Integral Line Integral of Vector Fields onservative Fields Green s Theorem url and ivergence of a vector field Surface Area of solid of Revolution Surface area Integrating over a surface Surface Integral of a Vector Field

3 3.1 Stokes Theorem Gauss ivergence Theorem Review Problems Bibliography 115 Appendix A One Variable Summary 116 A.1 Graphs of Functions A.2 oncepts and Facts A.3 Formulas Index 133 3

4 hapter 1 ifferential alculus 1.1 Regions in the plane Let be a subset of the plane R 2 ; often called a region. Let (a, b) R 2 be any point. An ɛ-disk around (a, b) is the set of all points (x, y) R 2 whose distance from (a, b) is less than ɛ. (a, b) is an interior point of if some ɛ-disk around (a, b) is contained in. (a, b) is a boundary point of if every ɛ-disk around (a, b) contains points from and points not from. R is an open subset of R 2 if all points of are its interior points. is a closed subset of R 2 if it contains all its boundary points. = the set of boundary points of ; It is the closure of. is a bounded subset of R 2 if is contained in some ɛ-disk. (around some point) An interior point A boundary point A subset of R 2 is called connected if any two points in the subset can be joined by a piecewise smooth curve entirely lying in. A domain is an open connected subset together with some or all of its boundary points. 4

5 Let be a region in the plane. Let f : R be a function. The graph of f is {(x, y, z) R 3 : z = f(x, y), (x, y) }. The graph here is also called the surface z = f(x, y). The domain of f is. The co-domain of f is R. The range of f is {z R : z = f(x, y) for some (x, y) }. Sometimes, we do not fix the domain but ask you to find it out. The function f(x, y) = y x 2 has domain = {(x, y) : x 2 y}. Its range is the set of all non-negative reals. What is its graph? Some examples of surfaces are here: 1.2 Level curves and surfaces Let f(x, y) be a function of two variables. That is, f : R, where is a domain in R 2. The level curves of f are the curves f(x, y) = c in the xy-plane, for some constant c in the range of f. onsider the function f(x, y) = 1 x 2 y 2. Its domain is R 2. Its range is the interval (, 1]. The level curve f(x, y) = is {(x, y) : x 2 + y 2 = 1}. The level curve f(x, y) = 51 is {(x, y) : x 2 + y 2 = 49}. 5

6 The union of all level curves, translated in z-direction suitably, is the surface z = f(x, y); it is also the graph of f. The contour curve is the curve f(x, y) = c in the plane z = c. The level curve is the projection of the contour curve on the xy-plane. Similarly, for a function f(x, y, z) of three variables, the level surfaces are the surfaces f(x, y, z) = c for values c in the range of f. Let f : R be a function. Let (a, b). The limit of f(x, y) as (x, y) approaches (a, b) is L iff given any ɛ >, we can choose a corresponding δ > such that for all (x, y) with < (x a) 2 + (y b) 2 < δ, we have f(x, y) L < ɛ. In this case, we write lim f(x, y) = L. (x,y) (a,b) We also say that L is the limit of f at (a, b). If for no real number L, the above happens, then limit of f at (a, b) does not exist. It is often difficult to show that limit of a function does not exist at a point. We will come back to this question soon. When limit exists, we write it in many alternative ways: The limit of f(x, y) as (x, y) approaches (a, b) is L. f(x, y) L as (x, y) (a, b). lim f(x, y) = L. (x,y) (a,b) lim f(x, y) = L. x a y b 6

7 The intuitive understanding of the notion of limit is as follows: The distance between f(x, y) and L can be made arbitrarily small by making the distance between (x, y) and (a, b) sufficiently small but not necessarily zero. Example 1.1. etermine if lim (x,y) (,) 4xy 2 x 2 + y 2 exists. Observe that the domain of f is R 2 \{(, )}. And f(, y) = for y ; f(x, ) = for x. We guess that if the limit exists, it would be. To see that it is the case, we start with any ɛ >. We want to choose a δ > such that the following sentence becmes true: If < x 2 + y 2 < δ, then 4xy2 < ɛ. x 2 + y 2 Since y 2 = y 2 x 2 + y 2 and x 2 = x 2 x 2 + y 2, we have 4xy 2 x 2 + y 2 4 x 4 x 2 + y 2. So, we choose δ = ɛ/4. Assume that < x 2 + y 2 < δ. Then 4xy 2 x 2 + y 2 4 x 2 + y 2 < 4δ = ɛ. Hence lim (x,y) (,) 4xy 2 x 2 + y 2 =. Example 1.2. onsider f(x, y) = 1 x 2 y 2 when = {(x, y) : x 2 + y 2 1}. We guess that limit f(x, y) is 1 as (x, y) (, ). To show that the guess is right, let ɛ >. Observe that f(x, y) 1 on. So, if ɛ 1, then f(x, y) 1 varies between and 1. That is, f(x, y) 1 < ɛ, for (x, y) near (, ). Next, assume that < ɛ < 1. hoose δ = 1 (1 ɛ) 2. Let (x, y) (, ) < δ. Then x 2 + y 2 < 1 (1 ɛ) 2 1 x 2 y 2 > (1 ɛ) 2 f(x, y) > 1 ɛ. That is, f(x, y) 1 = 1 f(x, y) < ɛ. Therefore, f(x, y) 1 as (x, y) (, ). For a function of one variable, there are only two directions for approaching a point; from left and from right. Whereas for a function of two variables, there are infinitely many directions, and 7

8 infinite number of paths on which one can approach a point. The limit refers only to the distance between (x, y) and (a, b). It does not refer to any specific direction of approach to (a, b). If the limit exists, then f(x, y) must approach the same limit no matter how (x, y) approaches (a, b). Thus, if we can find two different paths of approach along which the function f(x, y) has different limits, then it follows that limit of f(x, y) as (x, y) approaches (a, b) does not exist. Theorem 1.1. Suppose that f(x, y) L 1 as (x, y) (a, b) along a path 1 and f(x, y) L 2 as (x, y) (a, b) along a path 2. If L 1 L 2, then the limit of f(x, y) as (x, y) (a, b) does not exist. Example 1.3. onsider f(x, y) = x2 y 2 for (x, y) (, ). What is its limit at (, )? x 2 + y2 x 2 When y =, limit of f(x, y) as x is lim x x = lim (1) = 1. 2 x That is, f(x, y) 1 as (x, y) (, ) along the x-axis. y 2 When x =, limit of f(x, y) as y is lim = 1. y y 2 That is, f(x, y) 1 as (x, y) (, ) along the y-axis. Hence lim f(x, y) does not exist. (x,y) (,) Example 1.4. onsider f(x, y) = xy for (x, y) (, ). What is its limit at (, )? x 2 + y2 Along the x-axis, y = ; then limit of f(x, y) as (x, y) (, ) is. Along the y-axis, x = ; then limit of f(x, y) as (x, y) (, ) is. oes it say that limit of f(x, y) as (x, y) (, ) is? x 2 Along the line y = x, limit of f(x, y) as (x, y) is lim x x 2 + x = 1/2. 2 Hence lim (x,y) (,) f(x, y) does not exist. Example 1.5. onsider f(x, y) = If y = mx, for some m R, then f(x, y) = If x = y 2, y, then f(x, y) = Hence lim f(x, y) does not exist. (x,y) (,) A question: are the following same? xy2 for (x, y) (, ). What is its limit at (, )? x 2 + y4 m2 x. So, lim along all straight lines is. 1 + m 4 x2 (x,y) (,) y4 y 4 + y 4 = 1/2. As (x, y) (, ) along x = y2, f(x, y) 1/2. lim f(x, y), (x,y) (a,b) lim lim f(x, y), x a y b lim lim f(x, y) y b x a 8

9 Example 1.6. Let f(x, y) = Along y = mx, (y x)(1 + x) (y + x)(1 + y) for x + y, 1 < x, y < 1. Then lim lim y f(x, y) = lim y x y y(1 + y) = 1. lim lim x y x(1 + x) f(x, y) = lim x x lim f(x, y) = lim (x,y) (,) (x,y) (,) = 1. x(m 1)(1 + x) x(1 + m)(1 + mx) = m 1 m + 1. For different values of m, we get the last limit value different. So, limit of f(x, y) as (x, y) (, ) does not exist. But the two iterated limits exist and they are not equal. Example 1.7. Let f(x, y) = x sin 1 y + y sin 1 x for x, y. Then lim x y sin 1 x and lim y x sin 1 y do not exist. So, neither lim y lim x f(x, y) exists not lim x lim y f(x, y) exists. However, f(x, y) x + y = x 2 + y 2 2 x 2 + y 2 = 2 (x, y). That is, If (x, y) (, ) < ɛ/2, then f(x, y) < ɛ. Therefore, lim f(x, y) =. (x,y) (,) That is, the two iterated limits do not exist, but the limit exists. Hence existence of the limit of f(x, y) as (x, y) (a, b) and the two iterated limits have no connection. The usual operations of addition, multiplication etc have the expected effects as the following theorem shows. Its proof is analogous to the single variable limits. Theorem 1.2. Let L, M, c R; 1. onstant Multiple : lim cf(x, y) = cl. (x,y) (a,b) 2. Sum : lim (f(x, y) + g(x, y)) = L + M. (x,y) (a,b) 3. Product : lim (f(x, y) g(x, y)) = LM. (x,y) (a,b) lim f(x, y) = L; lim g(x, y) = M. Then (x,y) (a,b) (x,y) (a,b) 4. Quotient : If M and g(x, y) in an open disk around the point (a, b), then (f(x, y)/g(x, y)) = L/M lim (x,y) (a,b) 5. Power : If r R, L r R and lim f(x, y) = L, then lim (f(x, (x,y) (a,b) (x,y) (a,b) y))r = L r. 9

10 1.3 ontinuity Let f(x, y) be a real valued function on a domain R 2. We say that f(x, y) is continuous at a point (a, b) if 1. f(a, b) is well defined. 2. lim f(x, y) exists. (x,y) (a,b) 3. lim f(x, y) = f(a, b). (x,y) (a,b) The function f(x, y) is said to be continuous on if f(x, y) is continuous at all points in. Therefore, constant multiples, sum, difference, product, quotient, and rational powers of continuous functions are continuous whenever they are well defined. Polynomials in two variables are continuous functions. Rational functions, i.e., ratios of polynomials are continuous functions provided they are well defined. Example 1.8. f(x, y) = { 3x 2 y x 2 +y 2 if (x, y) (, ) if (x, y) = (, ) is continuous on R 2. At any point other than the origin, f(x, y) is a rational function; therefore, it is continuous. To see that f(x, y) is continuous at the origin, let ɛ > be given. Take δ = ɛ/3. Assume that x2 + y 2 < δ = ɛ/3. Then 3x2 y x 2 + y f(, ) 3(x 2 + y 2 )y 3 y 3 x2 + y 2 x 2 + y 2 < ɛ. 2 Example 1.9. f(x, y) = { xy(x 2 y 2 ) x 2 +y 2 if (x, y) (, ) if (x, y) = (, ) is continuous on R 2. Why? At all nonzero points, it is continuous, being a rational function. For the point (, ), let ɛ > be given. hoose δ = ɛ. Notice that xy x 2 + y 2 and x 2 y 2 x 2 + y 2. For all (x, y) with x 2 + y 2 < δ, we have Hence lim f(x, y) = = f(, ). (x,y) (,) Example 1.1. f(x, y) = x2 y 2 f(x, y) (x2 + y 2 )(x 2 + y 2 ) x 2 + y 2 < δ 2 = ɛ. x 2 + y 2 is continuous on = R 2 \ {(, )}. f(x, y) is not continuous at (, ) since it is not defined at (, ). Also, f(x, y) is not continuous at (, ) since lim f(x, y) does not exist. See Example 1.3. (x,y) (,) 1

11 Therefore, the function g(x, y) defined on R 2 by the following is not continuous at (, ). { x 2 y 2 if (x, y) (, ) x g(x, y) = 2 +y 2 if (x, y) = (, ) As in the single variable case, composition of continuous functions is continuous: Let f : R be continuous at (a, b) with f(a, b) = c. Let g : I R be continuous at c I for some interval I in R. Then g(f(x, y)) from to R is continuous at (a, b). Proof of this fact is left to you as an exercise. For example, e x y is continuous at all points in the plane. xy cos 1 + x and ln(1 + 2 x2 + y 2 ) are continuous on R 2. At which points is tan 1 (y/x) continuous? The function y/x is continuous everywhere except when x =. The function tan 1 is continuous everywhere on R. So, tan 1 (y/x) is continuous everywhere except at x =. The function 1 x 2 +y 2 +z 2 1 is continuous everywhere except on the sphere x2 + y 2 + z 2 = 1, where it is not defined. 1.4 Partial erivatives Let f(x, y) be a real valued function defined on a domain R 2. Let (a, b). If is the curve of intersection of the surface z = f(x, y) with the plane y = b, then the slope of the tangent line to at (a, b, f(a, b)) is the partial derivative of f(x, y) with respect to x at (a, b). In the figure take x = a, y = b. A formal definition of the partial derivative follows. The partial derivative of f(x, y) with respect to x at the point (a, b) is f x (a, b) = f = x (a,b) df(x, b) dx f(a + h, b) f(a, b) = lim, x=a h h provided this limit exists. Notice that f(x, b) must be continuous at x = a. 11

12 The partial derivative of f(x, y) with respect to y at the point (a, b) is f y (a, b) = f df(a, y) f(a, b + k) f(a, b) = = lim, y (a,b) dy y=b k k provided this limit exists. Again, f(a, y) must be continuous at y = b. Example Find f x (1, 1) where f(x, y) = 4 x 2 2y 2. (4 (1 + h) 2 2) (4 1 2) 2h h 2 f x (1, 1) = lim = lim = 2. h h h h That is, treat y as a constant and differentiate with respect to x. f x (1, 1) = f x (x, y) (1,1) = 2x (1,1) = 2. The vertical plane y = 1 crosses the paraboloid in the curve 1 : z = 2 x 2, y = 1. The slope of the tangent line to this parabola at the point (1, 1, 1) (which corresponds to (x, y) = (1, 1)) is f x (1, 1) = 2. Example Find f x and f y, where f(x, y) = y sin(xy). Treating y as a constant and differentiating with respect to x, we get f x. Similarly, f y. f x (x, y) = y cos(xy) y, f y (x, y) = yx cos(xy) + sin(xy). Example Find z/ x and z/ y where z = f(x, y) is defined by x 3 + y 3 + z 3 6xyz = 1. ifferentiate x 3 + y 3 + z 3 6xyz 1 = with respect to x treating y as a constant: 3x z 2 z ( x 6y z + x z ) =. x Solving this for z/ x, we have Similarly, z x (3z2 6xy) + (3x 2 6yz) =, z x = x2 2yz z 2 2xy. z y = y2 2xz z 2 2xy. that is, 12

13 Example The plane x = 1 intersects the surface z = x 2 + y 2 in a parabola. Find the slope of the tangent to the parabola at the point (1, 2, 5). The asked slope is z/ y at (1, 2). It is (x 2 + y 2 ) (1, 2) = (2y)(1, 2) = 4. y Alternatively, the parabola is z = x 2 + y 2, x = 1 OR, z = 1 + y 2. So, the slope at (1, 2, 5) is dz = d(1 + y2 ) = (2y) y=2 = 4. dy y=2 dy y=2 For a function f(x, y), partial derivatives of second order are: f xx = (f x ) x = f x x = 2 f x. 2 f xy = (f x ) y = f x y = y f yx = (f y ) x = f y x = x f yy = (f y ) y = y f y = 2 f y. 2 f x = 2 f y x. f y = 2 f x y. Similarly, higher order partial derivatives are defined. For example, f xxy = y Observe that f x (a, b) is not the same as f x x = 3 f y x x. lim f x(x, y). To see this, let (x,y) (a,b) f(x, y) = { 1 if x > if x. Then f x (x, y) = for all x >. Also, f x (x, y) = for all x <. Now, But f x (, ) does not exist. Reason? f x (, ) = lim h f(h, ) f(, ) h = lim h 1 or h On the other hand, f x (a, b) can exist though lim f x does not. (x,y) (a,b) However, if f x (x, y) is continuous at (a, b), then f x (a, b) = lim f x(x, y). (x,y) (a,b) Similarly, f xy need not be equal to f yx. See the following example. does not exist lim f x (x, y) =. (x,y) (,) 13

14 Example onsider f(x, y) = xy(x2 y 2 ) x 2 + y 2 for (x, y) (, ), and f(, ) =. f(x, ) = f(, y) = f(, ) =. f x (x, ) = f y (, y) = f xx (, ) = f yy (, ) =. f x (, y) = f(h, y) f(, y) lim h h f xy (, ) = lim k f x (, k) f x (, ) k f yx (, ) = lim h f y (h, ) f y (, ) h That is, f xy f yx. = y, f y (x, ) = lim k f(x, k) f(x, ) k = lim k k k = lim h h h But continuity of both of f xy and f yx implies their equality. = 1. Theorem 1.3. (lairaut) Let R 2 be a domain. Let f : R. Suppose that f xy and f yx are continuous on. Then f xy = f yx. = 1. Proof: Let (a, b). Let h. Write g(x) = f(x, b + h) f(x, b). Then = x. f := g(a + h) g(a) = [f(a + h, b + h) f(a + h, b)] [f(a, b + h) f(a, b)]. By MVT, we have c between a and a + h such that f = g (c)h = h[f x (c, b + h) f x (c, b)]. Again, by MVT (on f x with the second variable), we have d between b and b + h such that ue to continuity of f xy, we have Write f = h h f xy (c, d) = h 2 f xy (c, d). f lim h h = lim f xy(c, d) = f 2 xy (a, b). (c,d) (a,b) f = [f(a + h, b + h) f(a, b + h)] [f(a + h, b) f(a, b)] and apply MVT twice as above to get f yx (a, b) = lim h f h 2. But the two limits with ( f)/h 2 are equal. So, f xy (a, b) = f yx (a, b). In one variable, f (t) exists at t = a implies that f(t) is continuous at t = a. We have seen similarly that existence of f x (a, b) and f y (a, b) guarantees continuity of f(x, b) and of f(a, y) at (a, b). But for f(x, y), even both f x (x, y) and f y (x, y) exist at (a, b), the function f(x, y) need not be continuous at (a, b). See the following example. { xy if (x, y) (, ) x Example Let f(x, y) = 2 +y 2 if (x, y) = (, ). 14

15 Here, f(x, ) = = f(, y). So, f x (, ) = = f y (, ). And limit of f(x, y) as (x, y) (, ) does not exist. Hence f(x, y) is not continuous at (, ). Further, we find that f xx (x, ) = = f yy (, y). What about f xy (, )? f x (, y) is not continuous at y =. f x (, y) = lim h f(h, y) f(, y) h y = lim h h 2 + y = 1 2 y. Notice that the second partial derivatives f xy (, ) and f yx (, ) do not exist. 1.5 Increment Theorem In order to see the connection between continuity of a function and the partial derivatives, the associated geometry may help. Let S be the surface z = f(x, y), where f x, f y are continuous on the domain of f. Let (a, b). Let 1 and 2 be the curves of intersection of the planes x = a and of y = b with S. Let T 1 and T 2 be tangent lines to the curves 1 and 2 at the point P (a, b, f(a, b)). The tangent plane to the surface S at P is the plane containing T 1 and T 2. The tangent plane to S at P consists of all possible tangent lines at P to the curves that lie on S and pass through P. This plane approximates S at P most closely. Write the z-coordinate of P as c. Then P = (a, b, c). Equation of any plane passing through P is z c = A(x a) + B(y b). When y = b, the tangent plane represents the tangent to the intersected curve at P. Thus, A = f x (a, b), the slope of the tangent line. Similarly, B = f y (a, b). Hence equation of the tangent plane to the surface z = f(x, y) at the point P (a, b, c) on S is provided that f x, f y are continuous at (a, b). z c = f x (a, b)(x a) + f y (a, b)(y b) Example Find the equation of the tangent plane to the elliptic paraboloid z = 2x 2 + y 2 at (1, 1, 3). Here, z x = 4x, z y = 2y. So, z x (1, 1) = 4, z y (1, 1) = 2. Then the equation of the tangent plane is z 3 = 4(x 1) + 2(y 1). It simplifies to z = 4x + 2y 3. 15

16 The tangent plane gives a linear approximation to the surface at that point. Why? Write the equation as f(x, y) f(a, b) = f x (a, b)(x a) + f y (a, b)(y b). Then f(x, y) = f(a, b) + f x (a, b)(x a) + f y (a, b)(y b). This formula holds true for all points (x, y, f(x, y)) on the tangent plane at (a, b, f(a, b)). For approximating f(x, y) for (x, y) close to (a, b), we may take f(x, y) f(a, b) + f x (a, b)(x a) + f y (a, b)(y b). The RHS is called the standard linear approximation of f(x, y, z). Writing in the increment form, f(a + h, b + k) f(a, b) + f x (a, b)h + f y (a, b)k. This gives rise to the total increment f(a + h, b + k) f(a, b). The total increment can be written in a more suggestive form. Towards this, we proceed as follows: f = f(a + h, b + k) f(a + h, b) + f(a + h) f(a, b). By MVT, there exist c [a, a + h] and d [b, b + k] such that f(a + h, b) f(a, b) = h[f x (c, b) f x (a, b)] + hf x (a, b) f(a + h, b + k) f(a + h, b) = k[f y (a + h, d) f y (a, b)] + kf y (a, b) Write ɛ 1 = f x (d, b) f x (a, b) and ɛ 2 = f y (a + h, c) f y (a, b). When both h, k, we see that c a and d b. Since f x and f y are assumed to be continuous, we have ɛ 1 and ɛ 2. Then the total increment can be written as f = f(a + h, b + k) f(a, b) = hf x (a, b) + kf y (a, b) + ɛ 1 h + ɛ 2 k, where ɛ 1 and ɛ 2 as both h, k. We also write the increments h, k in x, y as x, y respectively. From the above rewriting of f it is also clear that f(x, y) is a continuous function. Let us note down what we have proved. Theorem 1.4. (Increment Theorem) Let be a domain in R 2. Let f : R be such that both f x and f y are continuous on. Then f(x, y) is continuous on and the total increment f = f(a + x, b + y) at (a, b) can be written as f = f x (a, b) x + f y y + ɛ 1 x + ɛ 2 y, where ɛ 1 and ɛ 2 as both x and y. Recall that for a function g of one variable, its differential is defined as dg = g (t)dt. Let f(x, y) be a given function. The differential of f, also called the total differential, is df = f x (x, y)dx + f y (x, y)dy. Here, dx = x and dy = y are the increments in x and y, respectively. The equation above represents a linear approximation to the total increment f. 16

17 Example The dimensions of a rectangular box are measured to be 75cm, 6cm, and 4 cm, and each measurement is correct to within.2cm. Use differentials to estimate the largest possible error when the volume of the box is calculated from these measurements. The volume of the box is V = xyz. So, dv = V V V dx + dy + x y z dz. Given that x, y, z.2cm, the largest error in cubic cm is V dv = = 198. Notice that the relative error is 198/(75 6 4) which is about 1%. Remark: Let be a domain in R 2. A function f : R is called differentiable at a point (a, b) if the total increment z = f(a+ x, b+ y) f(a, b) in f with respect to increments x, y in x, y, can be written as z = f x (a, b) x + f y (a, b) y + ɛ 1 x + ɛ 2 y where ɛ 1 and ɛ 2 as both x and y. The following statements state the connection between differentiability, continuity and the partial derivatives. Let be a domain in R 2. Let f : R be such that both f x and f y exist on and at least one of them is continuous at (a, b). Then f is differentiable at (a, b). Let be a domain in R 2. Let f : R be differentiable at (a, b). Then f is continuous at (a, b). Notice that the first statement strengthens the increment theorem. Instead of increasing the load on terminology, we will continue with the increment theorem. Note that whenever we assume that f x and f y are continuous, you may replace this with the weaker assumption: f(x, y) is differentiable. Remember that we formulate and discuss our results for a function f(x, y) of two variables. Analogously, all the notions and the results can be formulated for a function f(x 1,..., x n ) of n variables for n hain Rules We apply the increment theorem to partially differentiate composite functions. Theorem 1.5. (hain Rule 1) Let x(t) and y(t) be differentiable functions. Let f(x, y) be such that f x and f y are continuous. Then df dt = f dx x dt + f dy y dt. 17

18 Proof: By Theorem 2.2, f(x, y) is a differentiable function. Use the increment f at a point P to obtain f t = f x x t + f y y t + ɛ x 1 t + ɛ y 2 t. As t, we have x, y, ɛ 1, ɛ 2. Then the result follows. For example, if z = xy and x = sin t, y = cos t, then dz dt = z x x (t) + z y y (t) = cos 2 t sin 2 t. heck: z(t) = sin t cos t = 1 2 sin 2t. So, z (t) = cos 2t = cos 2 t sin 2 t. Theorem 1.6. (hain Rule 2) Let f(x, y) be a function, where f x and f y are continuous. Suppose x = x(s, t) and y = y(s, t) are functions such that x s, x t, y s and y t are also continuous. Then f s = f x x s + f y y s, f t = f x x t + f y y t. Proof of this follows a similar line to that of hain Rule - 1. The pattern is clearer if you use the subscript notation: f s = f x x s + f y y s, f t = f x x t + f y y t. Example Let z = e x sin y, x = st 2, y = s 2 t. Then z s = (ex sin y)t 2 + (e x cos y)2st = te st2 (t sin(s 2 t) + 2s cos(s 2 t)). z t = (ex sin y)2st + (e x cos y)s 2 = se st2 (2t sin(s 2 t) + s cos(s 2 t)). Substitute expressions for x and y to get z = z(s, t) and then check that the results are correct. Example 1.2. Given that z = f(x, y) has continuous second order partial derivatives and that x = r 2 + s 2, y = 2rs, find z rr. We have x r = 2r, y r = 2s. Then z r = 2rz x + 2sz y. z xr = z xx x r + z xy y r = 2rz xx + 2sz xy. z yr = z yx x r + z yy y r = 2rz yx + 2sz yy. z rr = z r r = r (2rz x + 2sz y ) = 2z x + 2rz xr + 2sz yr = 2z x + 2r(2rz xx + 2sz xy ) + 2s(2rz yx + 2sz yy ) = 2z x + 4r 2 z xx + 8rsz xy + 4s 2 z yy. Functions can be differentiated implicitly. If F is defined within a sphere S containing a point (a, b, c), where F (a, b, c) =, F z (a, b, c), and F x, F y, F z are continuous inside the sphere, then the equation F (x, y, z) = defines a function z = f(x, y) in a sphere containing (a, b, c) and contained in the sphere S. Moreover, the function z = f(x, y) can now be differentiated partially with z x = F x /F z, z y = F y /F z. It is easier to differentiate implicitly than remembering the formula. 18

19 Example Find z x and z y if x 3 + y 3 + z 3 + 6xyz = 1. We differentiate the equation with respect to x and y as follows: 3x 2 + 3z 2 z x + 6y(z + xz x ) = z x = (x2 + 2yz) z 2 + 2xy. 3y 2 + 3z 2 z y + 6x(z + xz y ) = z y = (y2 + 2xz) z 2 + 2xy. Example Find dy dx if y = y(x) is given by y2 = x 2 + sin(xy). 2y dy 2x cos(xy)(y + xdy dx dx ) = dy dx Example Find w x if w = x 2 + y 2 + z 2 and z = x 2 + y 2. = 2x + y cos(xy) 2y x cos(xy). As it looks, w x = 2x. However, since z = x 2 + y 2, we have w = x 2 + y 2 + (x 2 + y 2 ) 2. Then w x = 2x + 4x3 + 4xy 2. Notice that, here we take z as the dependent variable and x, y as independent variables. But suppose we know that x and z are the independent variables and y is the dependent variable. Then the second equation says that y 2 = z x 2. Then w = x 2 + (z x 2 ) + z 2 = z + z 2. Thus The correct procedure to get w/ x is : w x =. 1. w must be dependent variable and x must be independent variable. 2. ecide which of the other variables are dependent or independent. 3. Eliminate the dependent variables from w using the constraints. 4. Then take the partial derivative w/ x. Example Given that w = x 2 + y 2 + z 2 and z(x, y) satisfies z 3 xy + yz + y 3 = 1, evaluate w/ x at (2, 1, 1). It is now clear that z, w are dependent variables and x, y are independent variables. So, w x = 2x + 2z z x, z 3z2 x y + y z x =. These two together give w x = 2x + 2yz. Evaluating it at (2, 1, 1) gives w (2, 1, 1) = 3. y+3z 2 x 19

20 1.7 irectional erivative Recall that if f(x, y) is a function, then f x (x, y ) is the rate of change in f with respect to change in x, at (x, y ), that is, in the direction î. Similarly, f y (x, y ) is the rate of change at (x, y ) in the direction ĵ. How do we find the rate of change of f(x, y) at (x, y ) in the direction of any unit vector û? onsider the surface S with the equation z = f(x, y). Let z = f(x, y ). The point P (x, y, z ) lies on S. The vertical plane that passes through P in the direction of û (containing û) intersects S in a curve. The slope of the tangent line T to at P is the rate of change of z in the direction of û. Let f(x, y) be a function defined in a domain. Let (x, y ). The directional derivative of f(x, y) in the direction of a unit vector û = aî + bĵ at (x, y ) is given by ( ) df f(x + ha, y + hb) f(x, y ) ( u f)(x, y ) = = lim. ds (x,y ) h h u Example Find the derivative of z = x 2 +y 2 at (1, 2) in the direction û = (1/ 2)î+(1/ 2)ĵ. ( ) f 1 + h/ 2, 2 + h/ 2 f(1, 2) u z(1, 2) = lim h h 2h/ h/ 2 = lim h h Notice that f x (1, 2)(1/ 2) + f y (1, 2)(1/ 2) = (2 + 2(2)) (1/ 2) = 6/ 2. = 6 2. Theorem 1.7. If f(x, y) is a function of x and y having continuous partial derivatives f x and f y, then f has a directional derivative at (x, y) in any direction û = aî + bĵ; and it is given by u f(x, y) = f x (x, y)a + f y (x, y)b. Proof: Let (x, y ) be a point in the domain of definition of f(x, y). efine the function g( ) by g(h) = f(x + ah, y + bh). Then g(h) is a continuous function of h. Now, g dx (h) = f x dh + f dy y dh = f x a + f y b. 2

21 Then g () = f x (x, y ) + f y (x, y ). Since f x, f y are continuous, g () = lim h g(h) g() h Hence u f(x, y ) = g () = f x (x, y )a + f y (x, y )b. = u f(x, y ). Example Find the directional derivative of f(x, y) = x 3 3xy + 4y 2 in the direction of the line that makes an angle of π/6 with the x-axis. Here, the direction is given by the unit vector û = cos(π/6)î + sin(π/6)ĵ = 3 1 î + Thus 2 2ĵ. u f(x, y) = 3 2 f x f y = 3 2 (3x2 3y) ( 3x + 8y) = 1 [ 3 3x 2 3x + (8 3 ] 3)y. 2 The formula for the directional derivative in the direction of the unit vector û = aî + bĵ can be written as u f = f x a + f y b = (f x î + f y ĵ) (aî + bĵ). The vector operator := xî + ĵ is called the gradient and the gradient of f(x, y) is y f := grad f := f xî + f y ĵ. Therefore, u f = grad f û. That is, at (x, y ), the directional derivative is given by u f (x,y ) = grad f (x,y ) û. For example, for the function f(x, y) = xe y + cos(xy), grad f (2,) = î + 2ĵ. Thus, the directional derivative of f in the direction of 3î 4ĵ is grad f (1,2) ((3/5)î (4/5)ĵ) = 1. However, remember that in order that this formula is applicable, we have assumed that the function f(x, y) has continuous partial derivatives f x, f y at (x, y ). Theorem 1.8. Let f(x, y) have continuous partial derivatives f x and f y. The maximum value of the directional derivative u f(x, y) is grad f and it occurs when û has the same direction as that of grad f. This is obvious since u f = grad f û says that the directional derivative is the scalar projection of the gradient in the direction of û. Proof: u f = grad f û = grad f û cos θ = grad f cos θ, where θ is the angle between grad f and û. Since maximum of cos θ is 1, maximum of u f is grad f. The maximum occurs when θ =, that is, when the directions of grad f and û coincide. This also says the following: f(x, y) increases most rapidly in the direction of its gradient. f(x, y) decreases most rapidly in the opposite direction of its gradient. f(x, y) remains constant in any direction orthogonal to its gradient. 21

22 Example Find the directions in which the function f(x, y) = x 2 + y 2 changes most, least, and not at all, at the point (1, 1). grad f = f x î + f y ĵ = 2xî + 2yĵ. (grad f)(1, 1) = 2î + 2ĵ. Thus the function f(x, y) increases most at (1, 1) in the direction (î + ĵ)/ 2. It decreases most at (1, 1) in the direction (î + ĵ)/ 2. And it does not change at (1, 1) in the directions ±(î ĵ)/ Normal to Level urve and Tangent Planes Let z = f(x, y) be a given surface. A level curve to this surface is a curve f(x, y) = c for any constant c. On this level curve, the function f(x, y) is a constant, namely, c in the range of f(x, y). Suppose r (t) = x(t)î + y(t)ĵ is a parametrization of this level curve. ifferentiating, we have d f(x(t), y(t)) =. Or, dt dx f x dt + f dy y dt = grad f d r (t) dt =. Since d r /dt is the tangent to the curve, grad f is the normal to the level curve. That is, At any point (x, y ) in the domain of the differentiable function f(x, y), its gradient grad f is the normal to the level curve that passes through (x, y ). In higher dimensions, if f(x 1,..., x n ) is a function of n independent variables defined on R n, then its gradient at any point is grad f = ( f x 1,..., f x n ). The directional derivative at any point x in the direction of a unit vector û = (u 1,..., u n ) is u f = lim h f( x + hû) f( x ) h The algebraic rules for the gradient are as follows: 1. onstant multiple: grad (kf) = k(grad f) for k R. 2. Sum: grad (f + g) = grad f + grad g. = grad f û = f x1 u f xn u n. 22

23 3. ifference: grad (f g) = grad f grad g. 4. Product: grad (fg) = f(grad g) + g(grad f). 5. Quotient: grad f g(grad f) f(grad g) =. g g 2 In 3d, let r (t) = x(t)î + y(t)ĵ + z(t)ˆk be a smooth curve on the level surface f(x, y, z) = c. Then f(x(t), y(t), z(t)) = c for all t. ifferentiating this we get grad f r (t) =. Look at all such smooth curves that pass through a point P on the level surface. The velocity vectors r (t) to all these smooth curves are orthogonal to the gradient at P. Let f(x, y, z) have continuous partial derivatives f x, f y, and f z. The tangent plane at P (x, y, z ) on the level surface f(x, y, z) = c is the plane through P which is orthogonal to grad f at P. Its equation is f x (x, y, z )(x x ) + f y (x, y, z )(y y ) + f z (x, y, z )(z z ) =. The normal line to the level surface f(x, y, z) = c at P (x, y, z ) is the line through P parallel to grad f. Its parametric equation is x = x + f x (x, y, z ) t, y = y + f y (x, y, z ) t, z = z + f z (x, y, z ) t. The equation of the tangent plane to the surface z = f(x, y) at (a, b) can be obtained as follows: Write the surface as F (x, y, z) =, where F (x, y, z) = f(x, y) z. Then F x = f x, F y = f y, F z = 1. Then the equation of the tangent plane is f x (a, b)(x a) + f y (a, b)(y b) (z f(a, b)) =. Example Find the tangent plane and the normal line of the surface x 2 + y 2 + z 9 = at the point (1, 2, 4). First, check that the point (1, 2, 4) lies on the surface. Next, f x (1, 2, 4) = 2, f y (1, 2, 4) = 4 and f z (1, 2, 4) = 1. The tangent plane is given by The normal line at (1, 2, 4) is given by 2(x 1) + 4(y 2) + (z 4) =. x = 1 + 2t, y = 2 + 4t, z = 4 + t. Example Find the tangent plane to the surface z = x cos y ye x at the origin. f x (, ) = 1, f y (, ) = 1. The tangent plane is x y z =. Example 1.3. Find the tangent line to the curve of intersection of the surfaces f(x, y, z) := x 2 + y 2 2 = and g(x, y, z) := x + z 4 = at the point (1, 1, 3). 23

24 The tangent line is orthogonal to both grad f and grad g at (1, 1, 3). So, it is parallel to grad f grad g = (2î + 2ĵ) (î + ˆk) = 2î 2ĵ 2ˆk. Thus the tangent line is x = 1 + 2t, y = 1 2t, z = 3 2t. 1.9 Taylor s Theorem For a function of one variable, a polynomial approximation is given by the Taylor s formula. Observe that it is a generalization of the Mean value theorem. Theorem 1.9. (Taylor s Formula for one variable) Let n N. Suppose that f (n) (x) is continuous on [a, b] and is differentiable on (a, b). Then there exists a point c (a, b) such that f(x) = f(a) + f (a)(x a) + f (a) 2! (x a) f (n) (a) (x a) n + f (n+1) (c) n! (n + 1)! (x a)n+1. Proof: For x = a, the formula holds. So, let x (a, b]. For any t [a, x], let p(t) = f(a) + f (a)(t a) + f (a) 2! (t a) f (n) (a) (t a) n. n! Here, we treat x as a certain point, not a variable; and t as a variable. Write g(t) = f(t) p(t) f(x) p(x) (x a) n+1 (t a)n+1. We see that g(a) =, g (a) =, g (a) =,..., g (n) (a) =, and g(x) =. By Rolle s theorem, there exists c 1 (a, x) such that g (c 1 ) =. Since g(a) =, apply Rolle s theorem once more to get a c 2 (a, c 1 ) such that g (c 2 ) =. ontinuing this way, we get a c n+1 (a, c n ) such that g (n+1) (c n+1 ) =. 24

25 Since p(t) is a polynomial of degree at most n, p (n+1) (t) =. Then g (n+1) (t) = f (n+1) (t) Evaluating at t = c n+1 we have f (n+1) (c n+1 ) f(x) p(x) (n + 1)!. (x a) n+1 f(x) p(x) (n + 1)! =. That is, (x a) n+1 f(x) p(x) (x a) = f (n+1) (c n+1 ). n+1 (n + 1)! onsequently, g(t) = f(t) p(t) f (n+1) (c n+1 ) (n + 1)! (t a) n+1. Evaluating it at t = x and using the fact that g(x) =, we get f(x) = p(x) + f (n+1) (c n+1 ) (n + 1)! Since x is an arbitrary point in (a, b], this completes the proof. We have a similar result for functions of several variables. (x a) n+1. Theorem 1.1. (Taylor) Let be a domain in R 2 ; (a, b) be an interior point of. Let f : R have continuous partial derivatives of order up to n + 1 in some open disk centered at (a, b) and contained in. Then for any (a + h, b + k), there exists θ [, 1] such that f(a + h, b + k) = f(a, b) (n + 1)! n m=1 1 m! ( h ( h x + k y For example, m = 2 on the right gives 1 2! (h2 f xx + 2hkf xy + k 2 f yy ). Proof: Let φ(t) = f(a + th, b + tk). Then, x + k ) m f(a, b) y ) n+1 f(a + θh, b + θk) φ (t) = f x (a + th, b + tk)h + f y (a + th, b + tk)k = (h + k )f(a + th, b + tk). x y φ (2) (t) = (f xx h + f xy k)h + (f yx h + f yy k)k = (h x + k y )2 f(a + th, b + tk). By induction, it follows that φ (m) (t) = ( h x + k y ) mf(a + th, b + tk). Using Taylor s formula for the single variable function φ(t), we have n φ (m) () φ(1) = φ() + + φ(n+1) (θ) m! (n + 1)!. m=1 for some θ [, 1]. Substituting the expression for φ (n+1) (θ), we get the required result. Example Let f(x, y) = x 2 + xy y 2, a = 1, b = 2. Here, f(1, 2) = 5, f x (1, 2) =, f y (1, 2) = 5, f xx = 2, f xy = 1, f yy = 2. Then f(x, y) = 5 + 5(y + 2) + 1 2[ 2(x 1) 2 + 2(x 1)(y + 2) 2(y + 2) 2]. This becomes exact, since third (and more) order derivatives are. 25

26 1.1 Extreme Values We extend the notions of local maxima and local minima to a function of two variables. Let be a domain in R 2 ; (a, b) ; and let f : R. f(x, y) has a local maximum at (a, b) if f(x, y) f(a, b) for all (x, y) near (a, b). That is, for all (x, y) in some open disk centered at (a, b), f(x, y) f(a, b). The number f(a, b) is then called a local maximum value of f(x, y); and the point (a, b) is called a point of local maximum of f(x, y). If for all (x, y), f(x, y) f(a, b) then f has an absolute maximum at (a, b). The number f(a, b) is called the absolute maximum value of f; and the point (a, b) is called a point of absolute maximum of f(x, y). Replace all by ; then call all those minimum instead of maximum. Let be a domain in R 2 ; f : R. Let (a, b). The function f(x, y) has a local extremum at (a, b) if f(x, y) has a local maximum or a local minimum at (a, b). An interior point (a, b) of is a critical point of f(x, y) if either f x (a, b) = = f y (a, b) or at least one of f x (a, b) or f y (a, b) does not exist. Theorem Let be a domain in R 2 ; f : R. Let (a, b) be an interior point of. If f(x, y) has a local extremum at (a, b), then (a, b) is a critical point of f(x, y). Proof: Suppose f has a local maximum at an interior point (a, b) of. Suppose f x (a, b) exists. The function g(x) = f(x, b) has a local maximum at x = a. Then g (a) =. That is, f x (a, b) =. Similarly, consider h(y) = f(a, y) and conclude that f y (a, b) =. Give similar argument if f has a local minimum at (a, b). Geometrically, it says that if at an interior point (a, b), there exists a tangent plane to the surface z = f(x, y), and if this point (a, b) happens to be an extremum point, then there exists a horizontal tangent plane to the surface at (a, b). Let be a domain in R 2. Let f : R have continuous partial derivatives f x and f y. Let (a, b) be a critical point of f(x, y). The point (a, b, f(a, b)) on the surface is called a saddle point of f(x, y) if in every open disk centered at (a, b) and contained in, there are points (x 1, y 1 ), (x 2, y 2 ) such that f(x 1, y 1 ) < f(a, b) < f(x 2, y 2 ). At a saddle point, the function has neither a local maximum nor a local minimum; the surface crosses its tangent plane. 26

27 For a function f(x, y), its Hessian is defined by H(f) := f xx f xy f xy f yy = f xxf yy fxy. 2 Suppose that the function f(x, y) has second order continuous partial derivatives in an open disk centered at a point (a, b) inside its domain of definition. If H(f)(a, b) >, then the surface z = f(x, y) curves the same way in all directions near (a, b). We will not prove this geometrical fact. We rather prove one of its corollaries which will help us in determining the local maxima and local minima. Theorem Let f : R have continuous first and second order partial derivatives in an open disk centered at (a, b). Suppose (a, b) is a critical point of f(x, y). 1. If H(f)(a, b) > and f xx (a, b) <, then f(x, y) has a local maximum at (a, b). 2. If H(f)(a, b) > and f xx (a, b) >, then f(x, y) has a local minimum at (a, b). 3. If H(f)(a, b) < then f(x, y) has a saddle point at (a, b). 4. If H(f)(a, b) =, then nothing can be said, in general. Proof: Let (a + h, b + k) be in an open disk centered at (a, b) and contained in. By Taylor s formula, f(a + h, b + k) = (f + hf x + kf y ) + 1 (a,b) 2 (h2 f xx + 2hkf xy + k 2 f yy ) Since (a, b) is a critical point of f, f x (a, b) = = f y (a, b). Then (a+θh,b+θk) f(a + h, b + k) f(a, b) = 1 2 (h2 f xx + 2hkf xy + k 2 f yy ) (1.1) (a+θh,b+θk) (1) Let H(f)(a, b) > and f xx (a, b) <. Multiply both sides of Equation 1.1 by 2f xx, add and subtract (f xy ) 2 k 2, and rearrange to get (All of f xx, f xy, f yy are evaluated at (a + θh, b + θk).) 2f xx [f(a + h, b + k) f(a, b)] = (hf xx + kf xy ) 2 + (f xx f yy (f xy ) 2 )k 2. 27

28 By continuity of functions involved, f xx (a + θh, b + θk) <. The RHS is positive. Therefore, f(a + h, b + k) f(a, b) <. That is, (a, b) is a local maximum point. (2) Let H(f)(a, b) > and f xx (a, b) >, By continuity again, f xx (a + θh, b + θk) >. So, f(a + h, b + k) f(a, b) >. That is, (a, b) is a local minimum point. (3) Let H(f)(a, b) <. We want to show that f(a + h, b + k) f(a, b) has opposite signs at different points in any small disk around (a, b). We break this case into three sub-cases: (3A) f xx (a, b). (3B) f yy (a, b), (3) f xx (a, b) = f yy (a, b) =. (3A) Let H(f)(a, b) < and f xx (a, b). First, set h = t, k = in Equation 1.1 and evaluate the following limit: f(a + h, b + k) f(a, b) lim t t 2 t 2 f xx (a + t, b) = lim = f xx(a, b) t 2t 2 2 Next, set h = tf xy (a, b), k = tf xx (a, b). Use Equation (1.1) to obtain f(a + h, b + k) f(a, b) lim t t 2 1 = lim t 2 (f xyf 2 xx 2f xx fxy 2 + fxxf 2 yy ) = f xx(a, b) 2 Since H(f)(a, b) <, these two limits have opposite signs. ue to continuity, f(a + h, b + k) f(a, b) will have opposite signs in any neighborhood of (a, b). (3B) Let H(f)(a, b) < and f yy (a, b). This is similar to (3A). (3) Let H(f)(a, b) < and f xx (a, b) = f yy (a, b) =. First, set h = k = t. Use Equation (1.1) to get f(a + h, b + k) f(a, b) lim t t 2 Next, set h = t, k = t. Using Equation (1.1) again, we have f(a + h, b + k) f(a, b) lim t t 2 1 = lim t 2 (f xx + 2f xy + f yy ) (a+t,b+t) = f xy (a, b).. H(f)(a, b). 1 = lim t 2 (f xx 2f xy + f yy ) (a+t,b+t) = f xy (a, b). As in (3A), f(a + h, b + k) f(a, b) will have opposite signs in any neighborhood of (a, b). Notice that the case H(f)(a, b) > and f xx (a, b) = is not possible. Moreover, Under the condition that H(f)(a, b) >, both f xx (a, b) and f yy (a, b) have the same sign. Thus, in Theorem 1.12, the sign condition on f xx (a, b) can be replaced by the corresponding sign condition on f yy (a, b). It also says that if f xx (a, b) and f yy (a, b) have the opposite signs, then the critical point (a, b) is a saddle point of f(x, y). Example Find the extreme values of f(x, y) = xy x 2 y 2 2x 2y + 4. omain of f is R 2 having no boundary points. f is differentiable. Its extreme values are all local extrema. The critical points are those where both f x and f y vanish. Now, f x = y 2x 2, f y = x 2y 2. 28

29 The critical points satisfy f x = = f y. That is, x = y = 2. f xx ( 2, 2) = 2, f xy ( 2, 2) = 1, f yy ( 2, 2) = 2. Then H(f)( 2, 2) = 3 >, f xx <. Thus, f has local maximum at ( 2, 2). Here also f has absolute maximum and the maximum value is f( 2, 2) = 8. Example Investigate f(x, y) = x 4 + y 4 4xy + 1 for extreme values. The function has continuous first and second partial derivatives everywhere. The critical points are at (x, y) where f x = 4x 3 4y = = f y = 4y 3 4x. That is, when x 3 = y and y 3 = x. Giving x 9 = x which has solutions x =, 1, 1 in R. The corresponding y values are, 1, 1. Now, f xx = 12x 2, f xy = 4, f yy = 12y 2. Thus H(f) = 144x 2 y At x =, y =, H(f) = 16. Thus f has a saddle point at (, ). At x = 1, y = 1, H(f) >, f xx >. Thus f has a local minimum at (1, 1). At x = 1, y = 1, H(f) >, f xx >. Thus f has a local minimum at ( 1, 1). The local minimum values are f(1, 1) = 1 and f( 1, 1) = 1. Both are absolute minima. Example Find absolute extrema of f(x, y) = 2 + 2x + 2y x 2 y 2 defined on the triangular region bounded by the straight lines x =, y =, and x + y = The critical points are solutions of f x = 2 2x = = f y = 2 2y. That is, x = 1, y = 1. This accounts for the interior points of the domain. 2. raw the picture. The vertices of the triangle are A(, ), B(, 9), (9, ). These are possible extremum points. This accounts for the vertices which are on the boundary. 3. Next, we should consider the boundary in detail. 3(a). On the line segment AB, f is given by (y = ): g(x) = f(x, ) = 2 + 2x x 2 for x 9. Now, g (x) = x = 1. Thus (1, ) is a possible extremum point. 3(b). Similarly, on the line segment A, f is given by (x = ): g(y) = f(, y) = 2 + 2y y 2 for y 9. Then g (y) = y = 1. Thus, a possible extremum point is (, 1). 3(c). On the line segment B, f is given by (x + y = 9): g(x) = f(x, 9 x) = 2 + 2x + 2(9 x) x 2 (9 x) 2 = x 2x 2 for x 9. g (x) = 18 4x = x = 9/2, y = 9 x = 9/2. Thus (9/2, 9/2) is a possible extremum point. The values at these possible extrema are f(1, 1) = 4, f(, ) = 2, f(, 9) = 61, f(9, ) = 61, f(1, ) = 3, f(, 1) = 3, f(9/2, 9/2) = 41/2. Therefore, f(x, y) has absolute minimum at (, 9) and (9, ) and its minimum value is

30 It has absolute maximum at (1, 1) and its maximum value is 4. Example Maximize the volume of a box of length x, width y and height z subject to the condition that x + 2y + 2z = 18. V = xyz = (18 2y 2z)yz. Take f(y, z) = (18 2y 2z)yz. Then f y = (18 4y 2z)z, f z = (18 2y 4z)y. The equations f y = = f z imply that (z = or 18 4y 2z = ) and (y = or 18 2y 4z = ) We have four possibilities: (a) z =, y =. (b) z =, 18 2y 4z = z =, y = 54. (c) 18 4y 2z =, y = z = 54, y =. (d) 18 4y 2z =, 18 2y 4z =. Subtracting, 2y+2z = y = z z = 18, y = 18. Therefore, the critical points (y, z) are (, ), (, 54), (54, ) and (18, 18). At the first three points, f(y, z) is, which is clearly not the maximum value of f(y, z). The only possibility is (18, 18). To see that this a point where f(y, z) is maximum, consider f yy = 4z, f yz = 18 4y 2z 2z = 18 4y 4z, f zz = 4y. At (18, 18), f yy <, and H(f) = f yy f zz f 2 yz = ( 9) 2 >. Hence the volume of the box is maximum when its length is = 36, width is 18 and height is 18 units. The maximum volume is cubic units. Example Find the points closest to the origin on the hyperbolic cylinder x 2 z 2 = 1. We seek a point (x, y, z) that minimizes f(x, y, z) = x 2 + y 2 + z 2 subject to x 2 z 2 = 1. As earlier, taking z 2 = x 2 1, we seek (x, y) that minimizes g(x, y) := f(x, y, ± x 2 1) = x 2 + y 2 + x 2 1 = 2x 2 + y 2 1 3

31 Now, g x = 4x, g y = 2y. Equating them to zero gives x = and y =. But x = does not correspond to any point on the surface x 2 z 2 = 1. So, the method fails! Instead of eliminating z, suppose we eliminate x. In that case, we seek to minimize g(y, z) := f(± 1 + z 2, y, z) = 1 + z 2 + y 2 + z 2 = y 2 + 2z Then g y = = g z implies that 2y = = 4z. The point so obtained is y =, z =. This corresponds to the points (±1,, ) on the surface. Now, of course, we can proceed as earlier for minimizing g(y, z). Here, g yy = 2, g yz =, g zz = 4. At y =, z =, we have H(g)(, ) = g yy g zz gyz 2 = 8 >. Since g yy (, ) >, we conclude that g(y, z) has a local minimum at (, ). These points (±1,, ) of local minima give the minimum value of the distance f(x, y, z) as 1. But how do we know eliminating which variable would result in a solution? We would rather look for alternative ways of solving extremum problems with constraints Lagrange Multipliers Our requirement is to minimize or maximize a certain function f(x, y, z) subject to the constraint g(x, y, z) =. The constraint represents a surface in three dimensional space. Let S be a surface given by g(x, y, z) =. Let f(x, y, z) have an extreme value at P (x, y, z ) on the surface S. Let be a curve given by r (t) = x(y)î + y(t)ĵ + z(t)ˆk that lies on S and passes through P. Suppose for t = t, we get the point P, that is, P = r (t ). The composite function h(t) = f g = f(x(t), y(t), z(t)) represents the values that f takes on. Since f has an extreme value at P (t = t ), the function h(t) has an extreme value at t = t. Then h (t ) =. That is, = h (t ) = f x (P )x (t ) + f y (P )y (t ) + f z (P )z (t ) = (grad f)(p ) r (t ). For every such curve, (grad g)(p ) is orthogonal to r (t ). Thus, (grad f)(p ) is parallel to (grad g)(p ). If (grad g)(p ), then (grad f + λ grad g)(x, y, z ) = for some λ R. Breaking into components, we have, at (x, y, z ) f x + λg x =, f y + λg y =, f z + λg z =, g =. Similar equations hold when there are more than one constraint. Example 1.36 ontd.: We see that f(x, y, z) = x 2 + y 2 + z 2, g(x, y, z) = x 2 z

32 The necessary equations at a possible extremum point (x, y, z ) are f x + λg x = 2x + λ2x =, f y + λg y = 2y =, f z + λg z = 2z λ2z =, g = x 2 z 2 1 =. It gives x = or λ = 1; y = ; z = or λ = 1. From these options, x = is not possible for any z since x 2 z 2 = 1. λ = 1 gives x =, which is again not possible. We are left with λ = 1, y =, z =. Now, x 2 z 2 1 = gives x = ±1. The corresponding points are (±1,, ). f(x, y, z) at these extremum points has value 1. Since f(x, y, z) is unbounded above, it does not have a maximum. Therefore, f(x, y, z) at these points is minimum. Thus the points closest to the origin on the cylinder are (±1,, ). Notice that if we set F (x, y, z, λ) := f(x, y, z) + λg(x, y, z) =, then F x = f x + λg x =, F y = f y + λg y =, F z = f z + λg z =. Moreover, g(x, y, z) = also comes from F λ =. We can now formulate the method of solving a constrained optimization problem. Requirement: Find extrema of the function f(x 1,..., x n ) subject to the conditions Method: Set the auxiliary function: g 1 (x 1,..., x n ) =,, g m (x 1,..., x n ) =. F (x 1,..., x n, λ 1,..., λ m ) := f(x 1,..., x n ) + λ 1 g 1 (x 1,..., x n ) + λ m g m (x 1,..., x n ). Equate to zero the partial derivatives of F with respect to x 1,..., x n, λ 1,..., λ m. It results in m + n equations in x 1,..., x n, λ 1,..., λ m. etermine x 1,..., x n λ 1,..., λ m from these equations. The required extremum points may be found from among these values of x 1,..., x n, λ 1,..., λ m. Remember that the method succeeds under the condition that such extreme values exist where grad g j for any j. Example Find the maximum value of f(x, y, z) = x + 2y + 3z on the curve of intersection of the plane g(x, y, z) := x y + z 1 = and the cylinder h(x, y, z) := x 2 + y 2 1 =. The auxiliary function is F (x, y, z, λ, µ) := f + λg + µh = x + 2y + 3z + λ(x y + z 1) + µ(x 2 + y 2 1). Setting F x = F y = F y = F λ = F µ =, for (x, y, z ), we have 1 + λ + 2x µ =, 2 λ + 2y µ =, 3 + λ =, x y + z 1 =, x 2 + y 2 1 =. We obtain: λ = 3, x = 1/µ, y = 5/(2µ), 1/µ /(4µ 2 ) = 1. That is, µ 2 = 29/4. Then the extreme points are x = ±2/ 29, y = 5/ 29, z = 1 ± 7/ 29. The corresponding values of f(x, y, z ) show that the maximum value of f is Notice that if µ =, then 1 + λ = = 2 λ leads to inconsistency. Also the conditions that grad g and grad h are satisfied automatically for the given constraints. 32

33 1.12 Review Problems Probelm 1.1: Where is the function f(x, y) = points of discontinuity? 2xy x 2 +y 2 continuous? What are the limits of f at the f(x, y) is defined everywhere in the plane except at the origin. When (x, y) (, ), the functions g(x) = 2xy and h(x, y) = x 2 + y 2 are continuous. Hence f(x, y) is continuous everywhere except at the origin. The only point of discontinuity is possibly the origin. We show that as (x, y) (, ), f(x, y) has no limit. On the contrary, suppose f(x, y) has the limit L at (, ). Then and also It is a contradiction. L = L = 2x 2 lim f(x, y) = lim y=x,x x 2x = 1 2 2x 2 lim f(x, y) = lim y= x,x x 2x 2 = 1 Problem 1.2: Find the total increment z and the total differential dz of the function z = xy at (2, 3) for x =.1, y =.2. At (2, 3) with x =.1, y =.2, we have z = (x + x)(y + y) xy = y x + x y + x y = =.72. dz = z x dx + z y dy = ydx + xdy = y x + x y. = =.7. Problem 1.3: It is known that in computing the coordinates of a point (x, y, z, t) certain (small) errors such as x, y, z, t might have been committed. Find the maximum absolute error so committed when we evaluate a function f(x, y, z, t) at that point. Let u = f(x+ x, y + y, z + z, t+ t) f(x, y, z, t). We want to find max u. By Taylor s formula, u = (f x x + f y y + f z z + f t t)(a, b, c, d) where (a, b, c, d) lies on the line segment joining (x, y, z, t) to (x + x, y + y, z + z, t + t). Therefore, u f x x + f y y + f z z + f t t. Problem 1.4: The hypotenuse c and the side a of a right angled triangle AB determined with maximum absolute errors c =.2, a =.1 are, respectively, c = 75, a = 32. etermine the angle A and determine the maximum absolute error A in the calculation of the angle A. A(a, c) = sin 1 a c gives 1 A (75) (32) 2 A a = 1 c2 a, A 2 c = 75 (75) 2 (32) a c c 2 a 2. Then 2.2 = Therefore sin.273 A sin Problem 1.5: Let f(x, y, z) = x 2 + y 2 + z 2. Find ( f s 33 ) v (1, 1, 1), where v = 2î + ĵ + 3ˆk.

34 The unit vector in the direction of v is û = 2 14 î ĵ ˆk. The gradient of f at (1, 1, 1) is grad f(1, 1, 1) = (f x î + f y ĵ + f zˆk)(1, 1, 1) = 2î + 2ĵ + 2ˆk. Then ( f 12 (1, 1, 1) = (grad f û)(1, 1, 1) =. s )v 14 Problem 1.6: Find a point in the plane where the function f(x, y) = 1 2 sin(x2 + y 2 ) has a local maximum. We see that at (, ), the function has a maximum value of 1. To prove this, consider the neighborhood B = {(x, y) : x 2 + y 2 π/9} of (, ). Now, for any point (a, b) B other than (, ), we 2 have f(a, b) = 1 2 sin(a2 + b 2 ) 1 = f(, ). 2 Problem 1.7: ecompose a given positive number a into three parts to make their product maximum. Let a = x + y + (a x y), for x, y, a x y a. Then x and y can take values from the region bounded by the straight lines x =, y = and x + y = a. The function to be maximized is f(x, y) = xy(a x y) defined from to R. The partial derivatives of f are continuous everywhere on. They are f x = y(a 2x y), f y = x(a x 2y). The critical points satisfy y(a 2x y) =, x(a x 2y) =. The solutions of these equations give: P 1 = (, ), P 2 = (, a), P 3 = (a, ), P 4 = ( a 3, a 3 ). Of these, the points P 1, P 2, P 3 are on the boundary of, where the value of f(x, y) is zero. The only interior point is P 4, where the value of f(x, y, z) = a3, which is the maximum value of 27 f(x, y, z). omparing f(p 1 ), f(p 2 ), f(p 3 ), f(p 4 ), we get the required decomposition of a as a = a + a + a Problem 1.8: Test for maxima-minima the function z = x 3 + y 3 3xy. The function is differentiable everywhere. Thus the critical points are obtained by solving These are P 1 = (1, 1) and P 2 = (, ). z x = 3x 2 3y =, z y = 3y 2 3x =. The second derivatives are z xx = 6x, z xy = 3, z yy = 6y. For P 1, H(P 1 ) = (z xx z yy z 2 xy)(p 1 ) = 36 9 = 27 >, z xx (P 1 ) = 6 >. Thus, P 1 is a minimum point and z min = 1. For P 2, H(P 2 ) = (z xx z yy z 2 xy)(p 2 ) = 9 <. Hence P 2 is a saddle point. 34

35 Problem 1.9: Find the maximum of w = xyz given that xy + zx + yz = a for a given positive number a, and x >, y >, z >. The auxiliary function is Equating its partial derivatives to zero, we have F (x, y, z, λ) = xyz + λ(xy + zx + yz a). yz + λ(y + z) =, xz + λ(x + z) =, xy + λ(x + y) =. Multiply the first by x, the second by y, and subtract to obtain: λx(y + z) λy(x + z) = λz(x y) =. If λ =, then xy + λ(x + y) = would imply x = or y =. But x > and y >. So, λ. Also, z >. Therefore, x = y. Similarly, using the second and third equations, we get y = z. Therefore, x = y = z. Then xy + zx + yz = a gives x = y = z = a/3. The corresponding value of w cannot be minimum, since by reducing x, y close to, and taking z close to a so that xy + zx + yz = a is satisfied, w can be made as small as possible. Hence w has a maximum at ( a/3, a/3, a/3). The maximum value of w is (a/3) 3. Problem 1.1: etermine the maximum value of z = (x 1 x n ) 1/n provided that x x n = a, where a is a given positive number. Maximizing z is equivalent to maximizing f(x 1,..., x n ) = z n = x 1 x 2 x n. Set up the auxiliary function F (x 1,..., x n, λ) = x 1 x 2 x n + λ(x 1 + x n a). Equate the partial derivatives F xi to zero to obtain x 1 x i 1 x i+1 x n + λ = for i = 1, 2,..., n. Notice that λ. Then multiplying by x i, we see that λx i = x 1 x 2 x n for each i. Therefore, x 1 = x 2 = = x n = a/n. In that case, f = (a/n) n and z = a/n. This value is not a minimum value of z since z can be made arbitrarily small by choosing x 1 close to. Thus, the maximum of z is a/n. This gives an alternative proof that the geometric mean of n positive numbers is no more than the arithmetic mean of those numbers. 35

36 hapter 2 Multiple Integrals 2.1 Volume of a solid of revolution The solid obtained by rotating a plane region about a straight line in the same plane is called a solid of revolution. The line is called the axis of revolution Suppose the region is bounded above by the curve y = f(x) and below by the x-axis, where a x b. To find the volume of the solid so generated, we divide the interval [a, b] into n equal parts. Let the partition be a = x < x 1 < < x n 1 < x n = b. On the ith subinterval we approximate the slice of the solid by π[f(x i )] 2 (x i x i 1 ) for a point x i [x i 1, x i ]. Reason: the slice is a portion of a cylinder whose cross section with a plane vertical to its axis is a circle. Then the volume of the solid of revolution is approximated by the sum n π[f(x i )] 2 (x i x i 1 ). i=1 Then the volume of the solid of revolution is the limit of the above sum where n. Observe that the cross sectional area for x [a, b] is A(x) = π(f(x)) 2. If A(x) is a continuous function of x, then the limit of the above sum is the required volume; that is, V = b a A(x) dx = b a π[f(x)] 2 dx. If the axis of revolution is a straight line other than the x-axis, similar formulas can be obtained for the volume. 36

37 Example 2.1. The region between the curve y = x, x 4 and the x-axis is revolved around x-axis. Find the volume of the solid of revolution. As shown in the above figure, the required volume is V = 4 π( x) 2 dx = 4 [ x 2 π x dx = π 2 Example 2.2. Find the volume of the sphere x 2 + y 2 + z 2 = a 2, a >. ] 4 = 8π. We think of the sphere as the solid of revolution of the region bounded by the upper semi-circle x 2 + y 2 = a 2, y. Here, a x a. The curve is thus y = a 2 x 2. Then the volume of the sphere is V = a a π( a 2 x 2 ) 2 dx = a a π(a 2 x 2 ) dx = π [a 2 x x3 3 ] a a = 4 3 πa3. Example 2.3. Find the volume of the solid obtained by revolving the region bounded by y = x and the lines y = 1, x = 4 about the line y = 1. The required volume is V = 4 1 π[r(x)] 2 dx = 4 1 π( x 1) 2 dx = 4 1 π(x 2 x + 1) dx = 7π 6. Example 2.4. Find the volume of the solid generated by revolving the region between the y-axis and the curve xy = 2, 1 y 4, about the y-axis. The volume is V = π[r(y)] 2 4 dy = π dy = 3π. 1 y2 37

38 Example 2.5. Find the volume of the solid generated by revolving the region between the parabola x = y and the line x = 3 about the line x = 3. Notice that the cross sections are perpendicular to the axis of revolution: x = 3. The volume is V = 2 2 π[r(y)] 2 dy = 2 2 π[2 y 2 ] 2 dy = 64π If the region which revolves does not border the axis of revolution, then there are holes in the solid. In this case, we subtract the volume of the hole to obtain the volume of the solid of revolution. Look at the figure. In this case, the volume of the the solid of revolution is given by V = b a A(x) dx = b a π[(r(x)) 2 (r(x)) 2 ] dx. Example 2.6. The region bounded by the curve y = x and the line x + y = 3 is revolved about the x-axis to generate a solid. Find the volume of the solid. The outer radius of the washer is R(x) = x + 3 and the inner radius is r(x) = x The limits of integration are obtained by finding the points of intersection of the given curves: The required volume is V = 1 x = x + 3 x = 2, 1. 2 π[( x + 3) 2 (x 2 + 1) 2 ] dx = 117π 5. Example 2.7. Find the volume of the solid obtained by revolving the region bounded by the curves y = x 2 and y = 2x, about the y-axis. 38

39 The given curves intersect at y = and y = 4. The required volume is Example 2.8. V = 4 [(R(y)) 2 (r(y)) 2 ] dy = 4 π[( y) 2 (y/2) 2 ] dy = 8π 3. In the figure is shown a solid with a circular base of radius 1. Parallel cross sections perpendicular to the base are equilateral triangles. Find the volume of the solid. Take the base of the solid as the disk x 2 +y 2 1. The solid, its base, and a typical triangle at a distance x from the origin are shown in the figure below. The point B lies on the circle y = 1 x 2. So, the length of AB is 2 1 x 2. Since the triangle is equilateral, its height is 3 1 x 2. The cross sectional area is Thus, the volume of the solid is A(x) = x x 2 = 3 (1 x 2 ). V = 1 1 A(x) dx = (1 x 2 ) dx =

40 Example 2.9. A wedge is cut out of a circular cylinder of radius 4 by two planes. One plane is perpendicular to the axis of the cylinder. The other intersects the first at an angle of 3 along a diameter of the cylinder. Find the volume of the wedge. If we place the x-axis along the diameter where the planes meet, then the base of the solid is a semicircle with equation y = 16 x 2, 4 x 4. A cross-section perpendicular to the x-axis at a distance x from the origin is the triangle AB, whose base is y = 16 x 2 ; its height is B = y tan 3 = 16 x 2 / 3. Thus the cross sectional area is A(x) = x 2 Then the required volume of the wedge is V = 4 4 A(x) dx = 16 x x = 16 x dx = Example 2.1. Find the volume of the solid generated by revolving about the x-axis the region bounded by the curve y = 4/(x 2 + 4) and the lines x =, x = 2, y =. The volume is V = 2 16 π (x 2 + 4) dx. 2 Substitute x = 2 tan t. dx = 2 sec 2 t dt, (x 2 + 4) 2 = 16 sec 4 t for t π/4. So, V = π/4 16π 2 sec2 t 16 sec 4 t dt = 2.2 Approximating Volume π/4 ( π 2π cos 2 t dt = π ) We now consider solids which are not necessarily solids of revolution. First, we take a typical simpler case, when a given solid has all plane faces except one, which is a portion of a surface given by a function f(x, y). Let f(x, y) be defined on the rectangle R : a x b, c y d. For simplicity, take f(x, y). The graph of f is the surface z = f(x, y). We approximate the volume of the solid S : {(x, y, z) : (x, y) R, z f(x, y)} by partitioning R and then adding up the volumes of the solid rods: 4

41 So, consider a partition of R as P : R ij = [x i 1, x i ] [y j 1, y j ] for 1 i m, 1 j n, a = x, b = x m, c = y, d = y n. enote by A(R ij ) the area of the rectangle R ij ; enote by P = max A(R ij ), the norm of P. hoose sample points (x i, yj ) R ij. An approximation to the volume of S is the Riemann sum S mn = m n f(x i, yj )A(R ij ). i=1 j=1 If limit of S mn exists as P, then this limit is called the double integral of f(x, y). It is denoted by f(x, y)da. Whenever the integral exists, it is also enough to consider uniform R partitions, that is, x i x i 1 = (b a)/m = x and y j y j 1 = (d c)/n = y. In this case, we write A(R ij ) = A = x y. Then R f(x, y)da = lim S mn = lim lim P m n m i=1 n f(x i, yj ) A. Since f(x, y), the value of this integral is the volume of the solid S bounded by the rectangle R and the surface z = f(x, y). When the integral of f(x, y) exists, we say that f is Riemann integrable or just integrable. Riemann sum is well defined even if f is not a positive function. However, the double integral computes the signed volume. Analogous to the single variable case, we have the following result; we omit its proof. Theorem 2.1. Each continuous function defined on a closed bounded rectangle is integrable. Volumes of solids can also be calculated by using iterated integrals. Example Find the volume V of the solid raised over the rectangle R : [, 1] [, 2] and bounded above by the plane z = 4 x y, we proceed as follows (similar to solids of revolution): j=1 41

42 Suppose A(x) is the cross sectional are at x. Then V = 1 A(x)dx. Now, A(x) = 2 (4 x y)dy. Thus, V = 1 2 (4 x y)dydx. Therefore, 1 2 (4 x y)da = (4 x y)dydx. R The expression on the left is a double integral and on the right is an iterated integral. Theorem 2.2. (Fubini) Let R be the rectangle [a, b] [c, d]. Let f : R R be a continuous function. Then b d d b f(x, y)da = f(x, y)dydx = f(x, y)dxdy. R Example Evaluate R (1 6x2 y)da, where R = [, 2] [ 1, 1]. R (1 6x 2 y)da = a c (1 6x 2 y)dxdy = c a 1 Also, reversing the order of integration, we have 2 1 (1 6x 2 y)da = (1 6x 2 y)dydx = R Example Evaluate y sin(xy)da, where R = [1, 2] [, π]. R R y sin(xy)da = π 2 1 y sin(xy) dxdy = π 1 1 (2 16y)dy = 4. 2 ( cos 2y + cos y)dy =. 2dx = 4. The volume of the solid above R and below the surface z = y sin(xy) is the same as the volume below R and above the surface. Therefore, the net volume is zero. 42

43 Example Find the volume of the solid bounded by the elliptic paraboloid x 2 + 2y 2 + z = 16, planes x = 2 and y = 2, and the three coordinate planes. Let R be the rectangle [, 2] [, 2]. The solid is above R and below the surface defined by z = f(x, y) = 16 x 2 2y 2, where f is defined on R. V = R (16 x 2 2y 2 )da = 2 2 (16 x 2 2y 2 )dxdy = 48. The double integrals can be extended to functions defined on non-rectangular regions. Essentially, the approach is the same as earlier. We partition the region into smaller rectangles, form the Riemann sum, take its limit as the norm of the partition goes to zero. The double integral of f over such a bounded region R can also be evaluated using iterated integrals. Look at R bounded by two continuous functions g 1 (x) and g 2 (x); or, as a region bounded by two continuous functions h 1 (y) and h 2 (y). Theorem 2.3. Let f(x, y) be a continuous real valued function on a region R. 1. If R is given by a x b, g 1 (x) y g 2 (x), where g 1, g 2 : [a, b] R are continuous, then b g2 (x) f(x, y)da = f(x, y)dydx. R a g 1 (x) 2. If R is given by c y d, h 1 (y) x h 2 (y), where h 1, h 2 : [c, d] R are continuous, then d h2 (y) f(x, y)da = f(x, y)dxdy. R c h 1 (y) 43

44 Example Find the volume of the prism whose base is the triangle in the xy-plane bounded by the lines y =, x = 1 and y = x, and whose top lies in the plane z = 3 x y. Also, V = V = 1 x 1 1 y (3 x y)dydx = (3 x y)dxdy = 1 1 (3x 3x 2 /2)dx = 1. (5/2 4y + 3y 2 /2)dy = 1. Suppose R is the region bounded by the line x + y = 1 and the portion of the circle x 2 + y 2 = 1 in the first quadrant. Sketch it and then find the limits: Write the appropriate integrals. f(x, y)da = 1 1 x 2 f(x, y)dydx = 1 R 1 x 1 y 1 y 2 f(x, y)dxdy. 44

45 For evaluating a double integral as an iterated integral, choose some order: first x, next y. If it does not work, or if it is complicated, you may have to choose the reverse order. Example Evaluate R y =, x = 1, and y = x. sin xda, where R is the triangle in the xy-plane bounded by the lines x Here, the triangular region R can be expressed as {(x, y) : y 1, y x 1}. So, sin x 1 1 x da = sin x x dxdy. R We are stuck. No way to proceed further. On the other hand, we express the same R in a different way: {(x, y) : y x, x 1}. Then sin x 1 x R x da = sin x 1 ( sin x x ) 1 x dydx = dy dx = sin xdx = cos(1) + 1. x Example Evaluate the iterated integral 1 1 x sin(y2 )dydx. Write : x 1, x y 1. We plan to change the order of integration. y 1 1 x sin(y 2 )dydx = = = 1 y 1 sin(y 2 )da sin(y 2 )dxdy y sin(y 2 )dy = 1 (1 cos(1). 2 Properties of double integrals with respect to addition, multiplication etc. are as follows. Theorem 2.4. Let f(x, y) and g(x, y) be continuous on a domain. Let c be a constant. 1. (onstant Multiple): cf(x, y)da = c f(x, y)da. 2. (Sum-ifference): [f(x, y) ± g(x, y)]da = f(x, y)da ± g(x, y)da. 3. (Additivity): f(x, y)da = f(x, y)da + f(x, y)da, R R provided f(x, y) is continuous on a domain R also, and and R are non-overlapping. 4. (omination): If f(x, y) g(x, y) in, then f(x, y)da g(x, y)da. 5. (Area): 1 da = () = Area of. 6. (Boundedness): If m f(x, y) M in, then m () f(x, y)da M (). 45

46 2.3 Riemann Sum in Polar coordinates Suppose R is one of the following regions in the plane: It is easy to describe such regions in polar coordinates. Using polar coordinates, we define a polar rectangle as a region given in the form: R = {(r, θ) : a r b, α θ β, β α 2π}. We can divide a polar rectangle into polar subrectangles as in the following: R ij = {(r, θ) : r i 1 r r i, θ j 1 θ θ j }. Suppose f is a real valued function defined on a polar rectangle R. Let P be a partition of R into smaller polar rectangles R ij. The area of R ij is (R ij ) = 1 2 (r2 i r 2 i 1)(θ j θ j 1 ). Take a uniform grid dividing r into m equal parts and θ into n equal parts. Write r i r i 1 = r and θ j θ j 1 = θ. Also write the mid-point of r i 1 and r i as r i = 1 2 (r i + r i 1 ), similarly, θ j = 1 2 (θ j 1 + θ j ). Then the Riemann sum for f(x, y) in artesian coordinates can be written as S = m n f(ri, θj ) (R ij ) = i=1 j=1 m n f(ri, θj )ri r θ. i=1 j=1 Therefore, if f(r, θ) is continuous on the polar rectangle R, then f(r, θ)da = f(r, θ)r dr dθ R R If f(x, y) is continuous on the polar rectangle R, then converting this into polar form, we have β b f(x, y)da = f(r cos θ, r sin θ)r dr dθ. R α a 46

47 The double integral in polar form can be generalized to functions defined on regions other than polar rectangles. Let f be a continuous function defined over a region bounded by the rays θ = α, θ = β and the continuous curves r = g 1 (θ), r = g 2 (θ). Then R f(r, θ)da = β g2 (θ) aution: o not forget the r on the right hand side. α g 1 (θ) f(r, θ) r dr dθ. Example Find the limits of integration for integrating f(r, θ) over the region R that lies inside the cardioid r = 1 + cos θ and outside the circle x 2 + y 2 = 1. Better write the circle as r = 1. Now, R is the region: R f(r, θ)da = π/2 1+cos θ π/2 Example Evaluate I = 1 1 x 2 (x 2 + y 2 )dydx. 1 f(r, θ)r dr dθ. The limits of integration say that the region is the quarter of the unit disk in the first quadrant: The region in polar coordinates is R : r 1, θ π/2. hanging to polar coordinates, we have x = r cos θ, y = r sin θ and then I = 1 π/2 r 2 r dr dθ = 47 π/2 1 4 dθ = π 8.

48 Example 2.2. Evaluate I = 1 1 x 2 e x2 +y 2 dydx. 1 The region is the upper semi-unit-disk, whose polar description is R = {(r, θ) : r 1, θ π}. Then I = R ex2 +y 2 da. Using integration in polar form, I = π 1 e r2 r dr dθ = π [ 1 2 er2] 1 dθ = π e 1 2 dθ = π (e 1). 2 Example Evaluate R (3x + 4y2 )da, where R is the region in the upper half plane bounded by the circles x 2 + y 2 = 1 and x 2 + y 2 = 4. R = {(r, θ) : 1 r 2, θ π}. Therefore, π 2 (3x + 4y 2 )da = (3r cos θ + 4r 2 sin 2 θ)r dr dθ = R π [ r 3 cos θ + r 4 sin 2 θ 1 ] 2 1 dθ = π (7 cos θ + 15 sin 2 θ) dθ = 15π 2. Example Find the area enclosed by one of the four leaves of the curve r = cos(2θ). The region is R = {(r, θ) : π/4 θ π/4, r cos(2θ)}. Then the required area is R da = π/4 cos(2θ) π/4 r dr dθ = π/4 π/4 cos 2 (2θ) dθ = π/4 π/4 cos(4θ) 1 4 dθ = π 8.

49 Example Find the volume of the solid that lies under the paraboloid z = x 2 + y 2, above the xy-plane, and inside the cylinder x 2 + y 2 = 2x. The solid lies above the disk whose boundary has equation x 2 +y 2 = 2x, or in polar coordinates, r 2 = 2r cos θ, or r = 2 cos θ. The disk = {(r, θ) : π/2 θ π/2, r 2 cos θ}. Then the required volume V is given by V = (x 2 +y 2 )da = π/2 2 cos θ π/2 r 2 r dr dθ = π/2 π/2 4 cos 4 θ dθ = π/2 π/2 (3+cos 4θ+4 cos 2θ) dθ = 3π Triple Integral Let f(x, y, z) be a real valued function defined on a bounded region in R 3. As earlier we divide the region into smaller cubes enclosed by planes parallel to the coordinate planes. The set of these smaller cubes is called a partition P. The norm of the partition is the maximum volume enclosed by any smaller cube. Then form the Riemann sum S and take its limit as the cubes become smaller and smaller. If the limit exists, we say that the limit is the triple integral of the function over the domain. f(x, y, z)dv = lim f(x i, yj, zk)(x i x i 1 )(y j y j 1 )(z k z k 1 ), P where (x i, yj, zk ) is a point in the (i, j, k)-th cube in the partition. As earlier, Fubuni s theorem says that for continuous functions, if the region can be written as = {(x, y, z) : a x b, g 1 (x) y g 2 (x), h 1 (x, y) z h 2 (x, y)}, then the triple integral can be written as an iterated integral: f(x, y, z)dv = b g2 (x) h2 (x,y) a g 1 (x) h 1 (x,y) f(x, y, z)dz dy dx. To find the limits of integration, we first sketch the region along with its shadow on the xy-plane. Next, we find the z-limits, then y-limits and then x-limits. 49

50 Observe that the volume of is 1 dv. All properties for double integrals hold analogously for triple integrals. Example Find the volume of the solid enclosed by the surfaces z = x 2 + 3y 2 and z = 8 x 2 y 2. Eliminating z from the two equations, we get the projection of the solid on the xy-plane, which is x 2 + 2y 2 = 4. This gives the limits of integration for y as (4 x 2 )/2. learly, 2 x 2. 5

51 Therefore, V = = = = = dv = 2 2 (4 x 2 )/2 (4 x 2 )/2 8 x 2 y 2 x 2 +3y 2 (4 x 2 )/2 (8 2x 2 4y 2 ) dy dx (4 x 2 )/2 [ (8 2x 2 )y 4 ] y= (4 x 2 )/2 3 y3 dx y= (4 x 2 )/2 [ ( 4 x 2 ) 3/2 8 ( 4 x 2 ) ] 3/2 8 dx (4 x 2 ) 3/2 dx = 8π 2. dz dy dx Notice that changing the order of integration involves expressing the domain by choosing different order of the limits of values in the axes. Example Write the integral of f(x, y, z) over a tetrahedron with vertices at (,, ), (1, 1, ), (, 1, ), and (, 1, 1) as an iterated integral. First, sketch the region to see the limits geometrically. The right hand side bounding surface of lies in the plane y = 1. The left hand side bounding surface lies in the plane y = z + x. The projection of on the zx-plane is R. The upper boundary of R is the line z = 1 x. The lower boundary of R is the line z =. To find the y-limits for, we consider a typical point (x, z) in R and a line through this point parallel to y-axis. It enters at y = x + z and leaves at y = 1. To find the z-limits for, we find that the line L through (x, z) parallel to z-axis enters R at z = and leaves R at z = 1 x. Finally, as L sweeps across R the value of x varies from x = to x = 1. Therefore, = {(x, y, z) : x 1, z 1 x, x + z y 1}. 51

52 Thus the triple integral of a function f(x, y, z) over is given by f(x, y, z) dv = 1 1 x 1 x+z f(x, y, z) dy dz dx. If we interchange the orders of y and z, then first we consider limits for z and then of y. In this case, we project on the xy-plane. A line parallel to z-axis through (x, y) in the xy-plane enters at z = and leaves through the upper plane z = y x. For the y-limits, on the xy-plane, where z =, the sloped side of crosses the plane along the line y = x. A line through (x, y) parallel to y-axis enters the xy-plane at y = x and leaves at y = 1. The x-limits are as earlier. Therefore = {(x, y, z) : x 1, x y 1, z y x}. The same triple integral is rewritten as the following iterated integral: f(x, y, z) dv = 1 1 y x x f(x, y, z) dz dy dx. Example Evaluate 1 z y e(1 x)3 dx dy dz by changing the order of integration. Here, the domain is = {(x, y, z) : z 1, y z, x y}. Sketch the region. Its projection on the yz-plane is the triangle bounded by the lines y =, z = 1 and z = y. That is, the projection is {(y, z) : z 1, y z}. Its projection on the xy-plane is the triangle bounded by the lines x =, y = 1 and y = x, which is also expressed as {(x, y) : y 1, x y}. Its projection on the zx-plane is the triangle bounded by the lines z =, x = 1 and x = z, that is, {(z, x) : x 1, x z 1}. We plan to change the order of integration from dxdydz to dzdydx. All of x, y, z take values from [, 1], so the x-limits are and 1. Next, x y says that the y-limits are x and 1. Since y z, the z-limits are y and 1. Therefore, = {(x, y, z) : x 1, x y 1, y z 1}. 1 z y = 1 1 = x e (1 x)3 dx dy dz = (1 y)e (1 x)3 dy dx = (1 ) 3 e t x 1 y e (1 x)3 dz dy dx (1 x) 2 e (1 x)3 dx 2 6 dt = e 1. with t = (1 x) Triple Integral in ylindrical coordinates ylindrical coordinates express a point P in space as a triple (r, θ, z), where (r, θ) is the polar representation of the projection of P on the xy-plane. 52

53 If P has artesian representation (x, y, z) and cylindrical representation (r, θ, z), then x = r cos θ, y = r sin θ, z = z, r 2 = x 2 + y 2, tan θ = y/x. In cylindrical coordinates, r = a describes a cylinder with axis as z-axis. θ = α describes a plane containing the z-axis. z = b describes a plane perpendicular to z-axis. The Riemann sum of f(r, θ, z) uses a partition of into cylindrical wedges: The volume element dv = r dr dθdz. Thus the triple integral is f(r, θ, z)dv = f(r, θ, z)r dr dθ dz. Its conversion to iterated integrals uses a similar technique of determining the limits of integration. Example Find the limits of integration in cylindrical coordinates for integrating a function f(r, θ, z) over the region bounded below by the plane z =, laterally by the circular cylinder x 2 + (y 1) 2 = 1, and above by the paraboloid z = x 2 + y 2. 53

54 The projection of onto the xy-plane gives the disk R enclosed by the circle x 2 + (y 1) 2 = 1. It simplifies to x 2 + y 2 = 2y. Its polar form is r 2 = 2r sin θ or, r = 2 sin θ. A line through a point (r, θ) R enters at z = and leaves at z = x 2 + y 2 = r 2. A line in the (r, θ)-plane through the origin enters R at r = and leaves R at r = 2 sin θ. As this line sweeps through R it enters R at θ = and leaves at θ = π. Hence Example Evaluate I = f(r, θ, z)dv = π 2 sin θ r x x 2 f(r, θ, z)r dz dr dθ. x 2 +y 2 (x 2 + y 2 ) dz dy dx. The z-limits show that the solid is bounded below by the cone z = x 2 + y 2 and above bythe plane z = 2. Its projection on the xy-plane is the disk x 2 + y 2 = 4. The limits for y also confirm this. A sketch of the solid looks as follows: Since the projection of the solid on the xy-plane is a disk; cylindrical coordinates will be easier. The projected disk gives the limits as θ 2π, r 2 whereas x 2 + y 2 = r z 2. Thus 2π 2 2 I = (x 2 + y 2 )dv = r 2 r dz dr dθ = 2π 2 (r 3 (2 r) dr dθ = r 2π ( Triple Integral in Spherical coordinates ) 2π 8 16 dθ = dθ = 5 5 π. Spherical coordinates express a point P in space as a triple (ρ, φ, θ), where ρ is the distance of P from the origin O, φ is the angle between z-axis and the line OP, and θ is the angle between the projected line of OP on the xy-plane and the x-axis. This θ is the same as the cylindrical θ. Moreover, ρ, φ π, and θ 2π. If P (x, y, z) has spherical representation (ρ, φ, θ), then x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ, r = ρ sin φ, ρ = x 2 + y 2 + z 2. 54

55 In spherical coordinates, ρ = a describes a sphere centered at origin. φ = φ describes a cone with axis as z-axis. θ = θ describes the plane containing z-axis and OP. When computing triple integrals over a region in spherical coordinates, we partition the region into n spherical wedges. The size of the kth spherical wedge, which contains a point (ρ k, φ k, θ k ), is given by the changes ρ k, φ k, θ k in ρ, φ, θ. Such a spherical wedge has one edge a circular arc of length ρ k φ k, another edge a circular arc of length ρ k sin φ k θ k and thickness ρ k. The volume of such a spherical wedge is approximately a rectangular box with dimensions ρ k, ρ k φ k (arc of a circle with radius ρ k and angle φ k, and ρ k sin φ k θ k (arc of a circle with radius ρ k sin φ k and angle θ k ). Thus V k = ρ 2 k sin φ k ρ k φ k θ k. The corresponding Riemann sum is S = n k=1 f(ρ k, φ k, θ k )ρ 2 k sin φ k ρ k φ k θ k. Accordingly, f(ρ, φ, θ)dv = f(ρ, φ, θ)ρ 2 sin φ dρ dφ dθ. The procedure in computing a triple integral in spherical coordinates is similar to that in cylindrical coordinates: Sketch the region and its projection on the xy-plane. Then find the ρ limit, φ limit and θ limit. 55

56 f(ρ, φ, θ)dv = β φ max g2 (φ,θ) α φ min g 1 (φ,θ f(ρ, φ, θ)ρ 2 sin φ dρ dφ dθ. Example Find the volume of the solid cut from the ball ρ 1 by the cone φ = π/3. raw a ray M through from the origin making an angle φ with the z-axis. raw also its projection L on the xy-plane. The line L makes an angle θ with the x-axis. Let R be the projected region of in the xy-plane. M enters at ρ = and leaves at ρ = 1. Angle φ runs through to π/3, since is bounded by the cone φ = π/3. L sweeps through R as θ varies from to 2π. Thus 2π π/3 1 V = ρ 2 sin φ dv = ρ 2 sin φ dρ dφ dθ = 2π π/3 Example 2.3. Evaluate I = 1 1 x 2 1 2π ] π/3 1 [ cos φ sin φ dφ dθ = x 2 y 2 (x2 +y2 +z2 )3/2 e 1 x 2 1 x 2 y 2 Notice that I = e(x2 +y 2 +z 2 ) 3/2 dv, where is the unit ball. = 1 6 2π = π 3. dz dy dx. Writing in spherical coordinates, I = eρ3 dv. Then converting to iterated integral, I = 1 π 2π e ρ3 ρ 2 sin φ dρ dφ dθ. 56

57 Since the integrand is a product of separate functions of ρ, of φ, of θ, I = 1 e ρ3 ρ 2 dρ π sin φ dφ 2π [ e ρ 3 dθ = 3 ] 1 [ cos φ ] π (2π) = 4π 3 (e 1). 2.7 hange of Variables The change of coordinate system from artesian to ylindrical or to Spherical are examples of change of variables. Let us consider what happens when a different type of change of variables occurs. Suppose f maps a region in R 2 onto a region R in R 2 in a one-one manner. For convenience, we say that is a region in the uv-plane and R is a region in the xy-plane; and f maps (u, v) to (x, y). Then f can be thought of as a pair of maps: (f 1, f 2 ). That is, x = f 1 (u, v) and y = f 2 (u, v). We often show this dependence implicitly by writing x = x(u, v), y = y(u, v). Example What is the image of = {(u, v) : u 1, v 1} under the the map given by x = u 2 v 2, y = 2uv? Let us see the boundaries of the square : u 1, v 1. The lower boundary is the line segment u 1, v =. It is transformed to the line segment x = u 2, y = or in the xy-plane it is the line segment x 1, y =. The left boundary of is the line segment u =, v 1. It is transformed to x = v 2, y =. This is the line segment joining (, ) to ( 1, ) in the xy-plane. The upper boundary line of is the line segment u 1, v = 1. This is transformed to x = u 2 1, y = 2u. Eliminating u from these equations, we get the arc of the curve x = y2 1 4 joining the points ( 1, ) to (, 2) in the xy-plane. The right hand side boundary of is the line segment u = 1 and v varying from 1 to. This is transformed to x = 1 v 2, y = 2v. Eliminating v from these equations we have the arc of the curve x = 1 y2 joining the points (, 2) to (1, ). 4 The interior of is mapped onto the interior of the so obtained region R in the xy-plane whose boundary are the line segments and the arcs. This transformation is shown is the picture below. If (u, v) (x, y), then how does area of a small rectangle change? 57

58 A typical small rectangle with sides u and v has corners at the points A 1 = (a, b), A 2 = (a + u, b), A 3 = (a, b + v), A 4 = (a + u, b + v). Let the images of A k under (u, v) (x, y) be B k = (a k, b k ) for k = 1, 2, 3, 4. Then a 1 = x(a, b) a 2 = x(a + u, b) x(a, b) + x u u a 3 = x(a, b + v) x(a, b) + x v v a 4 = x(a + u, b + v) x(a, b) + x u u + x v v Here, x u = x u (a, b) and x v = x v (a, b). Similar approximations hold for b 1, b 2, b 3, b 4. Now, Area of the image of the rectangle A 1 A 2 A 3 A 4 is approximately equal to the area of the parallelogram B 1 B 2 B 3 B 4 in xy-plane, which is twice the area of the triangle B 1 B 2 B 4 and is [ ] (a 4 a 1 )(b 4 b 2 ) (a 4 a 2 )(b 4 b 1 ) = det xu x v (a, b) u v. This determinant is called the Jacobian of the map (u, v) (x, y); and is denoted by J(x(u, v), y(u, v)). The Jacobian is also written as J(x(u, v), y(u, v)) = (x, y) (u, v). We write this as Area of image of a rectangle with one corner at (a, b) and sides of length u and v is approximately J(x(u, v), y(u, v) u v, where the Jacobian J(, ) is evaluated at (a, b). In deriving this approximation, we have assumed that x u, x v, y u, y v are continuous. Assume that x = x(u, v) and y = y(u, v) have continuous partial derivatives with respect to u and v. Assume also that a region in the uv-plane is in one-one correspondence with a region R in the xy-plane by the map (u, v) (x, y). Let f(x, y) be a real valued continuous function on the region R. Then we have the map f(u, v) = f(x(u, v), y(u, v)). To see how the integrals of f over R and integral of f over are related, divide in the uv-plane into smaller rectangles. Now, the images of the smaller rectangles are related by Area of R = J(x(u, v), y(u, v)) Area of. By forming the Riemann sum and taking the limit, we obtain: f(x, y)da = f(u, v) J(x(u, v), y(u, v) da. R For example, in the case of polar coordinates, we have Thus, the Jacobian is y u x = x(r, θ) = r cos θ, y = y(r, θ) = r sin θ. J(x(r, θ), y(r, θ)) = x r y θ x θ y r = cos θ(r cos θ) ( r sin θ) sin θ = r. y v 58

59 Therefore, the double integral in polar coordinates for a function f(x, y) takes the form f(x, y)da = f(r cos θ, r sin θ) r da. as we had seen earlier. R For x = x(u, v, w), y = y(u, v, w), z = z(u, v, w), we write the Jacobian as x (x, y, z) u x v x w J(x(u, v, w), y(u, v, w), z(u, v, w)) = (u, v, w) = det y u y v y w. z u z v z w If R is the region in R 3 on which f has been defined and is the region in the uvw-space so that the functions x, y, z map onto R in a one-one manner, then f(x, y, z)dv = f(x(u, v, w), y(u, v, w), z(u, v, w)) (x, y, z) (u, v, w) du dv dw. R In the case of cylindrical coordinates, x = r cos θ, y = r sin θ, z = z. The Jacobian is x r x θ x z J(x(r, θ, z), y(r, θ, z), z(r, θ, z)) = det y r y θ y z z r z θ z = r. z f(x, y, z)dv = f(r cos θ, r sin θ, z) r dr dθ dz. For the spherical coordinates, we see that The triple integral looks like f(x, y, z)dv = R R x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ. We had already derived these results independently. f(ρ sin φ cos θ, ρ sin φ sin θ, ρ cos φ)ρ 2 sin φ dρ dφ dθ. These formulas help us in evaluating double and triple integrals in x, y, z as integrals in u, v, w by choosing a transformation (u, v, w) (x, y, z) suitably. Example Evaluate the double integral (y x)da, where R is the region bounded by the R lines y x = 1, y x = 3, 3y + x = 7, 3y + x = 15. Take u = y x, v = 3y + x. That is, x = 1(v 3u), y = 1 (u + v). Then 4 4 The Jacobian is Therefore, (y x)da = R = {(u, v) : 3 u 1, 7 v 15}. J = x u y v x v y u = ( 3/4)(1/4) (1/4)(1/4) = 1/4. u J da = u 1 4 da = u dv du = (15 7)u du =

60 Example Evaluate u = x y/2, v = y/ y/2 y/2 2x y 2 dx dy by using the transformation The domains R in the xy-plane and G in the uv-plane are R = {(x, y) : y 4, y/2 x 1 + y/2}, G = {(u, v) : u 1, v 2}. And f(x, y) = 2x y = u. 2 Notice that x = u + v, y = 2v. Thus, J = x u y v x v y u = (1)(2) ()(1) = y/2 y/2 2x y dxdy = u du dv = dv = 2. 2 aution: The change of variables formula turns an xy-integral into a uv-integral. But the map that changes the variables goes from uv-domain onto xy-domain. This map must be one-one on the interior of the uv-domain. Sometimes it is easier to get such a map from xy-domain to uv-domain. Then we will be tackling with the inverse of such an easy map. Here the fact that the Jacobian of the inverse map is the inverse of the Jacobian of the original map helps us. This may be expressed as (x, y) (u, v) = ( ) 1 (u, v). (x, y) Similarly, triple integrals undergo change of variables by using the inverse of the Jacobian. Example Integrate f(x, y) = xy(x 2 + y 2 ) over the domain R : 3 x 2 y 2 3, 1 xy 4. There is a simple map that goes in the wrong direction: u = x 2 y 2, v = xy. Then the image of R, which we denote as in the uv-plane is the rectangle : 3 u 3, 1 v 4. We have F : R defined by F (x, y) = (u, v) = (x 2 y 2, xy). And its inverse is G = F 1, where G : R. 6

61 We need not compute the map G. Instead, we go for the Jacobian. (u, v) (x, y) = u x u y = 2x 2y y x = 2(x2 + y 2 ). Therefore, v x (x, y) (u, v) = 1 2(x 2 + y 2 ). Then R v y xy(x 2 + y 2 ) da = [ ] xy(x 2 + y 2 ) 1 2(x 2 + y 2 ) da. Notice that the integral on the right side is in the uv-plane and the bracketed term inside [ ] is a function of (u, v). Since the bracketed term simplifies to xy/2 which is equal to v/2, we have the integral as v 2 da = Review Problems 1 v dv du = du = 15 [ ] 45 3 ( 3) = 4 2. Problem 2.1: Find the area of the region bounded by the curves y = x and y = 2 x 2. The points of intersection of the curves satisfy y = x and x = 2 x 2. The last equation is same as (x + 2)(x 1) =. Thus the points of intersection are ( 2, 2) and (1, 1). Hence the area is 1 2 x 2 2 x dydx = 1 2 (2 x 2 x)dx = [2x x3 3 x2 2 ] 1 2 = 9 2. Since the significant portion of the curve y = 2 x 2 lies above the portion of the line y = x, there is no need to take the absolute value. The calculation also confirms this. Problem 2.2: Evaluate I = (4 x2 y 2 ) da if is the region bounded by the straight lines x =, x = 1, y = and y = 3/2. I = 3/2 1 (4 x 2 y 2 )dxdy = 3/2 [ 4x x 3 /3 y 2 x ] 1 dy = 3/2 ( 11 3 y2 ) dy = Problem 2.3: Evaluate the double integral of f(x, y) = 1 + x + y over the region bounded by the lines y = x, y = 2 and the parabola x = y. raw the region. The integral is equal to 61

62 2 y = y 2 (1 + x + y)dx dy = 2 ( y + y 2 + y y ( y + y2 2 y2) dy ( 3y y y y + y2 ) [ 2 dy = 2 3 y3/ y5/ y2 + 1 ] 2 6 y3 = 1 3 ( ). Problem 2.4: hange the order of integration in 1 x f(x, y)dydx. x The domain of integration is bounded by the straight line y = x and the parabola y = x. Every straight line parallel to x-axis cuts the boundary of in no more than two points, and it remains in between y 2 to y. Also, y lies between and 1. Hence Problem 2.5: Evaluate y =, and x = 1. 1 x x f(x, y)dydx = 1 y y 2 f(x, y)dx dy. e y/x da, where is a triangle bounded by the straight lines y = x, In, the variable x remains in between and 1, and y lies between and x. Hence 1 x 1 e y/x da = e y/x dy dx = x(e 1) dx = e 1 2. Problem 2.6: Find I = ex+y da, where is the annular region bounded by two squares of sides 2 and 4 each having center at (, ). raw the picture. is not a simply connected domain. ivide into four simply connected domains by drawing lines x = 1 and x = 1. Let 1 be the rectangle to the left of the inner square; 2 be the square on top of the inner square; 3 be the square below the inner square; and 4 be the rectangle to the right of the inner square; so that is the disjoint union of 1, 2, 3, 4. Then I = e x+y da + e x+y da + e x+y da + e x+y da onverting each integral to an iterated integral, we have I = e x+y dydx e x+y dydx e x+y dydx e x+y dydx = e 4 e 2 e 2 + e 4. Problem 2.7: Evaluate (x2 + y 2 ) 2 da, where is the shaded region in the figure below: 62

63 The integrand in polar coordinates is f(r, θ) = r 4. The region is given by θ π/4, sec θ r 2 cos θ. Thus (x 2 + y 2 ) 2 da = π/4 2 cos θ sec θ r 4 r dr dθ = 1 8 π/4 (4 cos 2 θ sec 2 θ) dθ = π 16. Problem 2.8: alculate the volume of the solid bounded by the planes x =, y =, z =, and x + y + z = 1. The volume V = (1 x y)da, where is the base of the solid on the xy-plane. We see that is the triangular region bounded by the straight lines x =, y =, x + y = 1. Thus, V = 1 1 x (1 x y)dydx = (1 x)2 dx = 1 6. Problem 2.9: ompute the volume V of the solid bounded by the spherical surface x 2 + y 2 + z 2 = 4a 2 and the cylinder x 2 + y 2 = 2ay, where a >. The domain of integration is the base of the cylinder. This is the circle x 2 + y 2 2ay =, whose centre is (, a) and radius a. We calculate V/4, the volume of the portion of the solid in the first octant. Now, the domain of integration is the semicircular disk whose boundaries are given by x = g 1 (y) =, x = g 2 (y) = 2ay y 2, y =, y = 2a. The integrand is z = f(x, y) = 4a 2 x 2 y 2. Then V 4 = 2a 2ay y 2 4a2 x 2 y 2 dx dy. To evaluate this, use polar coordinates: x = r cos θ, y = r sin θ. For the limits of integration, use x 2 + y 2 = r 2, y = r sin θ to get: x 2 + y 2 2ay = r 2 2ar sin θ = r = 2a sin θ. That is, in polar coordinates, the boundaries of are given by r = g 1 (θ) =, r = g 2 (θ) = 2a sin θ, θ π/2. The integrand is f(r, θ) = 4a 2 r 2. Hence, V = 4 = 4 3 π/2 2a sin θ π/2 4a2 r 2 r dr dθ [ (4a 2 4a 2 sin 2 θ) 3/2 (4a 2 ) 3/2] dθ = 16 9 a3 (3π 4). Problem 2.1: Integrate f(x, y, z) = z x 2 + y 2 over the solid cylinder x 2 +y 2 4 for 1 z 5. 63

64 The domain of integration in cylindrical coordinates is given by θ 2π, r 2, 1 z 5. The integrand is zr. Thus z x 2 + y 2 dv = 2π (zr) r dz dr dθ = 64π. Problem 2.11: Integrate f(x, y, z) = z over the part of the solid cylinder x 2 + y 2 4 for z y. The domain W has the projection on the xy-plane as the semicircle depicted in the figure. The z-coordinate varies from to y and y = r sin θ. Thus W is given by θ π, r 2, z r sin θ. In cylindrical coordinates, W z dv = π 2 r sin θ z r dθ dr dz = π 2 1( ) 2 r sin θ r dθ dr = π. 2 Problem 2.12: ompute z dv, where is the solid lying above the cone x2 + y 2 = z 2 and below the unit sphere. 64

65 The upper branch of the cone, which is relevant to, has the equation φ = π/4 in spherical coordinates. The sphere has the equation ρ = 1. Thus is given by : θ 2π, φ π/4, ρ 1. Since z = ρ cos φ, the required integral is 2π π/4 1 z dv = (ρ cos φ)ρ 2 sin φ dρ dφ dθ = 2π π/4 1 Problem 2.13: Evaluate I = e x2 dx. [ a = lim a a a ρ 3 cos φ sin φ dρ dφ = π 2 I 2 = ( a 2 [( lim e dx) a x2 = lim a a a a a ] e x2 y 2 dx dy where R is the square [ a, a] [ a, a] for a >. π/4 cos φ sin φ dφ = π 8. )( a )] e x2 dx e y2 dy a = lim e a R x2 y 2 da Let = B(, a) and S = B(, 2 a), the balls centred at and with radii a and 2 a, respectively. Then R S. Since e x2 y 2 > for all (x, y) R 2, we have e x2 y 2 da e x2 y 2 da e x2 y 2 da. Now, Similarly, e x2 y 2 da = S 2π a R e r2 r dr dθ = 1 2 e x2 y 2 da = π(1 e 2a2 ). We see that lim e x2 y 2 da = π, a Therefore, by sandwich theorem, we have 2π S (e a2 1) dθ = π(1 e a2 ). lim e a S x2 y 2 da = π. I 2 = lim e a R x2 y 2 da = π I = π. 65

66 Problem 2.14: ompute the volume of the ellipsoid x2 a 2 + y2 b 2 + z2 c 2 = 1. Projection of this solid on the xy-plane is the ellipse x2 a + y2 = 1. Therefore, the required volume 2 b2 is V = a a b 1 x2 a 2 b 1 x2 a 2 c 1 x2 a 2 y2 b 2 c 1 x2 a 2 y2 b 2 dz dy dx = 2c a a b 1 x2 a 2 b 1 x2 a 2 Substitute y = b(1 x 2 /a 2 ) 1/2 sin t. Then dy = b(1 x 2 /a 2 ) cos t dt and π/2 t π/2. Therefore, a V = 2c = bcπ a 2 π/2 a π/2 a a 1 x2 a y2 dy dx. 2 b2 [ (1 x 2 ) ( x 2 ) ] 1/2 ( 1 sin 2 x 2 ) t b 1 cos t dt dx a 2 a 2 a 2 (a 2 x 2 ) dx = 4πabc. 3 Problem 2.15: Evaluate e ax e bx dx for a >, b >. x e ax e bx dx = x = b a b Notice the change in order of integration above. Problem 2.16: Evaluate y xe y dx dy. a e yx dy dx e yx dx dy = The domain of integration is given by 1 y 9, y x 3. b a 1 y dy = ln b a. The same is expressed as 1 x 3, 1 y x 2. hanging the order of integration, we have y xe y dx dy = Problem 2.17: Show that π 3 3 x xe y dx dy = 3 1 (xe x2 e x)dx = 1 2 (e9 9e). da π, where is the unit disc. x2 + (y 2) 2 66

67 The quantity f(x, y) = x 2 + (y 2) 2 is the distance of any point (x, y) from (, 2). For (x, y), maximum of f(x, y) is thus 3 and minimum is 1. Therefore, Integrating over, we have 1 3 da Since da = area of, we obtain π x2 + (y 2) x2 + (y 2) da 2 da x2 + (y 2) 2 π. 1 da. Problem 2.18: Evaluate z dv, where W is the solid bounded by the planes x =, y =, W x + y = 1, z = x + y, and z = 3x + 5y in the first octant. W lies over the triangle in the xy-plane defined by x 1, y 1 x. Hence z dv = = 1 1 x 3x+5y 1 1 x x+y z dz dy dx (4x xy + 12y 2 ) dy dx = 1 (4 5x + 2x 2 x 3 ) dx = Fun Problem: The n-dimensional cube with side a has volume a n. What is the volume of an n-dimensional ball? 67

68 enote by V n (r) the volume of the n-dimensional ball with radius r. Also, write A n = V n (1). For n = 1, we have the interval [ 1, 1], whose volume we take as its length, that is, A 1 = 2, V 1 = 2π. For n = 2, we have the unit disk, whose volume is its area; that is, A 2 = π, V 2 = πr 2. For n = 3, we know that A 3 = 4π/3 and V 3 (r) = 4πr 3 /3. Exercise 1: Show by induction that V n (r) = A n r n. Suppose V n 1 (r) = A n 1 r n 1. The slice of the n-dimensional ball x x 2 n 1 + x 2 n = r n at the height x n = c, has the equation x x 2 n 1 + c 2 = r 2. This slice has the radius r 2 c 2. Thus V n (r) = r r r V n 1 r2 x 2 n dx n = A n 1 ( r 2 x 2 n) n 1 dx n. Substitute x n = r sin θ. So, dx n = r cos θ and π/2 θ π/2. Then π/2 V n (r) = A n 1 r n cos n θ dθ = A n 1 n r n, π/2 where n = π/2 π/2 cosn θ dθ. This says that A n = A n 1 n. Exercise 2: Prove that 3 = 4/5, 4 = 3π/8 and n = n 1 n n 2. Exercise 3: Prove that A 2m = πm m! and A 2m+1 = r 2 m+1 π m 1 3 (2m + 1). This sequence of numbers have a curious property: A n increases up to n = 5 and then it decreases to as n. 68

69 hapter 3 Vector Integrals 3.1 Line Integral Line integrals are single integrals which are obtained by integrating a function over a curve instead of integrating over an interval. Let f(x, y, z) be a real valued function with domain. Let be a curve that lies in given in parametric form as r (t) = x(t) î + y(t) ĵ + z(t) ˆk, a t b. The values of f on the curve are given by the composite function f(x(t), y(t), z(t)). We want to integrate this composite function on the curve. Partition into n sub-arcs. hoose a point (x k, y k, z k ) on the kth subarc. Suppose the kth subarc has length s k. Form the Riemann sum S n = n f(x k, y k, z k ) s k. k=1 When n approaches, the length s k approaches. In such a case, if lim n S n exists, then this limit is called the line integral of f over the curve. f(x, y, z)ds = lim S n. n In practice, the line integral is computed by parameterizing the curve. 69

70 Theorem 3.1. Let : x(t) î + y(t) ĵ + z(t) ˆk be a parametrization of the curve lying in a domain R 3. If f : R is continuous and the component functions x(t), y(t), z(t) are differentiable, then the line integral of f over exists and is given by b ( dx) 2 (dy ) 2 (dz ) 2 f(x, y, z)ds = f(x(t), y(t), z(t)) + + dt. a dt dt dt We also write ds = ( r dx) 2 (dy ) 2 (dz ) 2 (t) dt = + + dt. dt dt dt Example 3.1. Integrate f(x, y, z) = x 3y 2 + z over the line segment from (,, ) to (1, 1, 1). Parametrize the curve : r (t) = t î + t ĵ + t ˆk, t 1. Then x(t) = y(t) = z(t) = t. So, r (t) = = 3. fds = 1 Example 3.2. Evaluate [ x(t) 3y 2 (t) + z(t) ] 1 3dt = [t 3t 2 + t] 3dt = [ ] 1 3 t 2 t 3 =. (2 + x 2 y)ds, where is the upper half of the unit circle in the xy-plane. Here, f = f(x, y) is a function of two variables. Parametrize the curve. : x(t) = cos t, y(t) = sin t, t π. Then π (2 + x 2 y)ds = (2 + cos 2 t sin t) (x (t)) 2 + (y (t)) 2 dt = 2π If is a piecewise smooth curve, i.e., it is a join of finite number of smooth curves, written as = 1 m, then we define f(x, y, z)ds = f(x, y, z)ds f(x, y, z)ds. m Example 3.3. Let be the curve consisting of line segments joining (,, ) to (1, 1, ) and (1, 1, ) to (1, 1, 1). Evaluate (x 3y 2 + z)ds. is the join of 1 and 2, whose parametrization are given by 1 : r (t) = t î + t ĵ, t 1; 2 : r (t) = î + ĵ + t ˆk, t 1. 7

71 Then On 1, r (t) = 2 and on 2, r (t) = 1. Now, (x 3y 2 + z)ds = (x 3y 2 + z)ds + 1 (x 3y 2 + z)ds 2 Example 3.4. Evaluate = = 1 1 f(t, t, ) 2dt + 1 (t 3t 2 + ) 2dt + followed by the line segment joining (1, 1) to (1, 2). f(1, 1, t) 1 dt 1 (1 3 + t)dt = xds, where is the arc of the parabola y = x 2 from (, ) to (1, 1). Parametrize: = 1 2, where 1 : x = x, y = x 2, x 1; 2 : x = 1, y = y, 1 y 2. hoosing x = t for 1 and y = t for 2, we have 1 : x = t, y = t 2, t 1; 2 : x = 1, y = t, 1 t 2. On 1, dx = 1 dt, dy = 2t dt, ds = 1 + 4t 2 dt. Similarly, on 2, ds = dt. Then 1 2xds = 2xds + 2xds = 2t 1 + 4t 2 dt = (1 + 4t2 ) 3/ = Example 3.5. Evaluate y sin zds, where is the circular helix given by x(t) = cos t, y(t) = sin t, z(t) = t, t 2π (1)dt 71

72 y sin zds = 2π sin t t sin 2 t + cos 2 t + 1dt = 2π. If the curve happens to be a line segment on the x-axis, then ds = dx. In that case, the line integral over the curve becomes n f(x, y, z)dx = lim f(x k, y k, z k ) x k. n As earlier, if f(x, y, z) has continuous partial derivatives and r (t) is smooth, and has parametrization as x = x(t), y = y(t), z = z(t), a t b, then b f(x, y, z)dx = f(x(t), y(t), z(t))x (t)dt. a Similarly, if the curve is a segment on the y or z-axis, then the line integrals are, respectively b b f(x, y, z)dy = f(x(t), y(t), z(t))y (t)dt, f(x, y, z)dz = f(x(t), y(t), z(t))z (t)dt. a These line integrals are called as the line integrals of f over with respect to x, y, z respectively. Example 3.6. Evaluate ydx + zdy + xdz, where is the curve joining the line segments from (2,, ) to (3, 4, 5) to (3, 4, ). Parameterize: = 1 2, where 1 : x = 2 + t, y = 4t, z = 5t, t 1; 2 : x = 3, y = 4, z = 5 5t, t 1. k=1 a Then ydx + zdy + xdz = ydx + zdy + xdz + 1 ydx + xdz + zdx 2 = 1 (4t)dt + (5t)4dt + (2 + t)5dt + 1 3( 5)dt = 49/2 15 =

73 3.2 Line Integral of Vector Fields We want to generalize line integrals to vector fields. A vector field is a function defined on a domain in the plane or space that assigns a vector to each point in. If is a domain in space, a vector field on may be written as F (x, y, z) = M(x, y, z) î + N(x, y, z) ĵ + P (x, y, z) ˆk. Vectors in a gravitational field point toward the center of mass that gives the source of the field. The velocity vectors on a projectile s motion make a vector field along the trajectory. Let f(x, y, z) be a function from a domain in R 3 to R. If f x, y y, f z exist, then the gradient field of f(x, y, z) is the field of gradient vectors grad f = f = f x î + f y ĵ + f z ˆk. The gradient field of the surface f(x, y, z) = c may be drawn as follows: At each point on the surface, we have a vector, the gradient vector, which is normal to the surface. And we draw it there itself to show it. For example, the gradient field of f(x, y, z) = xyz is grad f = yz î + zx ĵ + xy ˆk. Notice that f(x, y, z) has a continuous gradient iff f x, f y, f z are continuous on the domain of definition of f. A vector field F is called conservative if there exists a scalar function f such that F = grad f. In such a case, the scalar function f is called the potential of the vector field F. For example, consider the gravitational force field F = mmg r 3 mmg F (x, y, z) = [x î + y ĵ + z ˆk] (x 2 + y 2 + z 2 ) 3/2 73 r. It is also written in the form:

74 Here, F is a conservative field. Reason? mmg efine f(x, y, z) =. Then (x 2 + y 2 + z 2 ) 1/2 grad f = f x î + f y ĵ + f z ˆk = F. Physically, the law of conservation of energy holds in every conservative field. Let F (x, y, z) be a continuous vector filed defined over a curve given by r (t) = x(t) î + y(t) ĵ + z(t) ˆk for a t b. The line integral of F along, also called the work done by moving a particle on under the force field F is F d r = F ( r (t)) r (t) dt = F T ds, where T r (t) (t) = is the unit tangent vector at a point on. r (t) Example 3.7. Evaluate the line integral of the vector field F (x, y, z) = x 2 î xy ĵ along the first quarter unit circle in the first quadrant. The curve is given by r (t) = cos t î + sin t ĵ, t π/2. Then The work done is F ( r (t)) = cos 2 t î cos t sin t ĵ, d r = sin t î + cos t ĵ. F d π/2 r = F ( r ) r dt = 2 3. Let the vector filed be F (x, y, z) = M(x, y, z) î + N(x, y, z) ĵ + P (x, y, z) ˆk. Let be the curve given by r (t) = x(t) î + y(t) ĵ + z(t) ˆk for a t b. Then F d r = = = b a b a b a F ( r (t)) r (t) dt [M(x(t), y(t), z(t)) x (t) + N y (t) + P z (t)] dt Mdx + Ndy + P dz. 74

75 Example 3.8. Evaluate F d r, where F = xy î + yz ĵ + zx ˆk and is the twisted cube given by x = t, y = t 2, z = t 3, t 1. Mdx = 1 t t2 1 dt = 1/4, Ndy = t2 t 3 2t dt = 2/7, and P dz = t3 t 3t 2 dt = 3/7. So, F d r = 1/4 + 2/7 + 3/7 = 27/28. Also, F d r = onservative Fields [xyx + yzy + zxz ]dt = 1 [t 3 + 2t 6 + 3t 6 ]dt = 27/28. Recall: b a f (t)dt = f(b) f(a) for a function f(t). In case of line integrals, the gradient acts as a sort of derivative. Theorem 3.2. Let be a smooth curve given by r (t) = x(t) î + y(t) ĵ + z(t) ˆk for a t b. Suppose joins points (x 1, y 1, z 1 ) to (x 2, y 2, z 2 ). That is, r (a) = x1 î + y 1 ĵ + z 1 ˆk and r (b) = x2 î + y 2 ĵ + z 2 ˆk. Let f(x, y, z) be a function whose gradient vector is continuous on a domain containing. Then f d r = f( r (b)) f( r (a)) = f(x 2, y 2, z 2 ) f(x 1, y 1, z 1 ) Proof: f d r = = = b a b a b a f( r (t)) r (t) dt [ f dx x dt + f dy y dt + f z dz ] dt dt d dt f( r (t)) dt = f( r (t)) b a = f( r (b)) f( r (a)). Theorem 3.2 is sometimes called as the Fundamental theorem for line integrals. It says that if F is a conservative vector field with potential f, then the line integral over any smooth curve joining points A to B can be evaluated from the potential by: F d r = f(b) f(a). 75

76 In such a case, the line integral is independent of path of ; it only depends on the initial point and the end point of. We say that a line integral F d r is independent of path iff for any curve that is lying in the domain of F, and having the same initial and end points as that of, we have F d r = F d r. Thus, if F is conservative, then the line integral F d r is path independent. Then the following result is obvious: Theorem 3.3. Let F be a continuous vector field defined on a domain. Let be any smooth curve lying in. The line integral F d r is path independent iff F d r = for every closed curve lying in. Remark: A closed curve is a curve having the same initial and end points. Smooth curve may be replaced by Piecewise smooth curve everywhere. When is a closed curve, the line integral over is written as F d r. Theorem 3.4. Let F be a continuous vector field defined on an open connected region. If F d r is path independent for each smooth curve lying in, then F is conservative. Hints for the Proof: Suppose is in the plane. Fix any point (a, b) in. Let be a curve from (a, b) to (x, y). efine f(x, y) := F d (x,y) r = F d r, (a,b) due to path independence. Next show that F = grad f. If F (x, y) = M(x, y) î + N(x, y) ĵ is conservative, then we have a scalar function f(x, y) such that f x = M, f y = N. Then using lairaut s theorem, we have f xy = M y = f yx = N x. That is, if F = M î + N ĵ is conservative, then M y = N x. Similar result holds in three dimensions. Theorem 3.5. Let F (x, y, z) = M(x, y, z) î + N(x, y, z) ĵ + P (x, y, z) ˆk, where the gradients of the component functions M, N, P are continuous on a domain. If F is conservative, then we have M y = N x, N z = P y, P x = M z on. The converse of Theorem 3.5 holds if the domain of F is a simply connected domain. A simple curve is a curve which does not intersect itself. A connected region is said to be a simply connected region iff every simple closed curve lying in encloses only points from. 76

77 Theorem 3.6. Let F = M î + N ĵ + P ˆk be a vector field on a simply connected region, where gradients of M, N, P are continuous. If M y = N x, N z = P y, and P x = M z hold on, then F is conservative. Proof of this can be done here, but it follows from Green s theorem in the plane and from Stokes theorem in space, which we will do later. These equations help in determining the potential function of a conservative field. Example 3.9. Find the line integral of the field F = yz î + zx ĵ + xy ˆk along any smooth curve joining the points A( 1, 3, 9) to B(1, 6, 4). Notice that F is conservative since F = grad (xyz) = f, where f = xyz. Let be any such curve. Then F d B r = f d r = f(b) f(a) = 3. A Example 3.1. Are the following vector fields conservative? (a) F (x, y) = (x y) î + (x 2) ĵ (b) F (x, y) = (3 + 2xy) î + (x 2 3y 2 ) ĵ. (c) F (x, y, z) = (2x 3) î + z ĵ + cos z ˆk. (a) F = M î + N ĵ, where M = x y, N = x 2. M y = 1, N x = 1. Since M y N x, the vector field F is not conservative. (b) Here, M = 3 + 2xy, N = x 2 3y 2. M y = 2x = N x. The vector filed is defined on R 2, which is a simply connected region. The partial derivatives of M and N are continuous. Therefore, F is a conservative field. (c) F = M î + N ĵ + P ˆk, where M = 2x 3, N = z, P = cos z. M y =, N x =, N z = 1, P y =, P x =, M z =. Since N z P y, the field F is not conservative. Example Find a potential for the vector field F = (3 + 2xy) î + (x 2 3y 2 ) ĵ. Then evaluate F d r, where is given by r (t) = e t sin t î + e t cos t ĵ, t π. We know that F is conservative. To determine the scalar function f(x, y, z) such that F = grad f, we have f x = 3 + 2xy, f y = x 2 3y 2. Integrate the first one with respect to x and integrate the second with respect to y to obtain: f(x, y) = 3x + x 2 y + g(y), f(x, y) = x 2 y y 3 + h(x). Taking g(y) = y 3 + const. and h(x) = 3x + const., we have Next, f(x, y) = 3x + x 2 y y 3 + k for any constant k. F d r = f(x(π), y(π)) f(x(), y()) = e 3π

78 Example Find a potential for the vector field F = y 2 î + (2xy + e 3z ) ĵ + 3ye 3z ˆk. enote the potential by f(x, y, z). Then Integrate with respect to suitable variables: f x = y 2, f y = 2xy + e 3z, f z = 3ye 3z. f = xy 2 + g(y, z), f = xy 2 + ye 3z + h(x, z), f = ye 3z + φ(x, y). Taking g(x, z) = ye 3z, φ(x, y) = xy 2, h(x, z) = k, a constant, we get one such f. Sometimes matching may not be obvious. So, differentiate the first: f y = 2xy + g y (y, z) = 2xy + e 3z. Thus, g y (y, z) = e 3z. Integrate: g(y, z) = ye 3z + ψ(z). Then f = xy 2 + ye 3z + ψ(z). This gives f z = 3e 3z + ψ (z) = 3y 3z. Thus, ψ(z) = k, a const. Therefore, f(x, y, z) = xy 2 + ye 3z + k. Example Show that the vector field F = (e x cos y + yz) î + (xz e x sin y) ĵ + (xy + z) ˆk is conservative by finding a potential for it. Let the potential be f(x, y, z). Then Integrate the first w.r.t. x to get ifferentiate w.r.t. y to get f x = e x cos y + yz, f y = xz e x sin y, f z = xy + z. f = e x cos y + xyz + g(y, z). f y = e x sin y + xz + g y (y, z) = xz e x sin y g y (y, z) =. Thus g(y, z) = h(z). And then f = e x cos y + xyz + h(z). ifferentiate w.r.t. z to obtain f z = xy + h (z) = xy + z h (z) = z h(z) = z 2 /2 + k. Then f(x, y, z) = e x cos y + xyz + z 2 /2 + k. If M, N, P are functions of x, y, z, on a domain in space, then the expression Is called a differential form. f(x, y, z) such that M(x, y, z)dx + N(x, y, z)dy + P (x, y, z)dz The differential form is called exact iff there exists a function M(x, y, z) = f f f, N(x, y, z) =, P (x, y, z) = x y z. 78

79 Notice that if the differential form is exact, then M(x, y, z)dx + N(x, y, z)dy + P (x, y, z)dz = df, which is an exact differential. In that case, if is any curve joining points A to B in the domain, then B [Mdx + Ndy + P dz] = f d B r = df = f(b) f(a). A Therefore, the differential form is exact iff F = M î + N ĵ + P ˆk is conservative. Then the scalar function f(x, y, z) is the potential of the field F. Example Show that the differential form ydx + xdy + 4dz is exact. Then evaluate the integral (ydx + xdy + 4dz) over the line segment joining the points (1, 1, 1) to (2, 3, 1). M = y, N = x, P = 4. Then M y = 1 = N x, N z = = P y, P x = = M z. Therefore, the differential form is exact. Also, notice that ydx + xdy + 4dz = d(xy + 4z + k). Hence it is exact. In case, f is not obvious, we can determine it as earlier by differentiating and integrating etc. Next, (ydx + xdy + 4dz) = 3.4 Green s Theorem (2,3, 1) (1,1,1) A d(xy + 4z + k) = (xy + 4z + k) (2,3, 1) (1,1,1) = 3. Let be a simple closed curve in the plane. The positive orientation of refers to a single counter-clockwise traversal of. If is given by r (t), a t b, then its positive orientation refers to a traversal of keeping the region bounded by the curve to the left. Theorem 3.7. (Green s Theorem) Let be a positively oriented simple closed piecewise smooth curve in the plane. Let be the region bounded by. (That is, =.) If M(x, y) and N(x, y) have continuous partial derivatives on an open region containing, then (Mdx + Ndy) = (Mdy Ndx) = ( N x M y ( M x + N y ) da. ) da. 79

80 Green s theorem helps in evaluating an integral of the type b F d r in a non-conservative vector a field F. It gives a relationship between a line integral around a simple closed curve and the double integral over the plane region bounded by this closed curve. Proof: We only prove for a special kind of regions to give an idea of how it is proved. onsider the region = {(x, y) : a x b, f(x) y g(x)}. Assume that f, g are continuous functions. Then M b g(x) b y da = M y dydx = [M(x, g(x)) M(x, f(x))]dx. a f(x) Now we compute Mdx by breaking into four parts 1, 2, 3 and 4. The curve 1 is given by x = x, y = f(x), a x b. Thus 1 Mdx = b a a M(x, f(x))dx. On 2 and also on 4, the variable x is a single point. So, Mdx = Mdx =. 2 4 As x increases, 3 is traversed backward. That is, 3 is given by x = x, y = g(x), a x b. So, b Mdx = Mdx = M(x, g(x))dx. 3 3 a M Therefore, y da = Mdx. Similarly, express using the variable of integration as y. N Then we have x da = Ndy. Next, add the two results obtained to get The second form follows similarly. (Mdx + Ndy) = ( N x M ) da. y Example Verify Green s theorem for the field F = (x y) î + x ĵ, where is the unit circle oriented positively. Here, we have : r (t) = cos t î + sin t ĵ, t 2π. The region is the unit disk. 8

81 Now, Similarly, M = cos t sin t, N = cos t, dx = sin t dt, dy = cos t dt. M x = 1, M y = 1, N x = 1, N y =. 2π (Mdy Ndx) = [(cos t sin t) cos t cos t( sin t)]dt = π. (M x + N y )da = (1 + )da = Area of = π. 2π (Mdx + Ndy) = [(cos t sin t)( sin t) + cos 2 t]dt = 2π. (N x M y )da = (1 ( 1))dA = 2 Area of = 2π. Example Evaluate the integral I = xy dy + y2 dx, where is the square cut from the first quadrant by the lines x = 1 and y = 1, with positive orientation. Take M(x, y) = xy, N(x, y) = y 2, as the region bounded by. Then 1 1 I = (Mdy Ndx) = (M x + N y )da = (y + 2y)dxdy = 3/2. Also, taking M = y 2, N = xy, we have I = (Mdx + Ndy) = (N x M y )da = 1 1 (y + 2y)dxdy = 3/2. Example Evaluate the integral I = (3y esin x )dx + (7x y 4 )dy, where is the positively oriented circle x 2 + y 2 = 9. Take as the disk x 2 + y 2 9. Then by Green s theorem, [ ] I = (7x y4 ) x (3y e sin x ) y da = (7 3)dA = 36π. Example Evaluate I = x4 dx+xy dy, where is the triangle with vertices at (, ), (, 1) and (1, ); its orientation being from (, ) to (1, ) to (, 1) to (, ). The triangle is positively oriented. Let be the region bounded by the triangle. Take M = x 4, N = xy. Then 1 1 x I = [(xy) x (x 4 ) y ]da = y dy dx = 1 1 (1 x 2 )dx =

82 Example Evaluate (xdy y2 dx), where is the positively oriented square bounded by the lines x = ±1 and y = ±1. Let F be the vector field x î + y 2 ĵ. Here, M = x, N = y 2, and is the region bounded by. By Green s theorem, 1 1 (Mdy Ndx) = (M x + N y )da = (1 2y)dxdy = 4. Two important Observations 1. Suppose M(x, y) and N(x, y) are zero on a simple closed curve. If is the region bounded by, then (N x M y )da = (Mdx + Ndy) =, (M x + N y )da = 1 1 (Mdy Ndx) =. 2. Let be the region bounded by a simple closed curve. Suppose N x M y = 1. Then Area of = (N x M y )da = (Mdx + Ndy) gives Area of = x dy = y dx = 1 (x dy y dx). 2 For example, the constraint is satisfied when M =, N = x; Or, M = y, N = ; Or, M = y/2, N = x/2. As an application, to compute the area enclosed by the ellipse : as x = a cos t, y = b sin t, t 2π. And then the area is 1 dy y dx) = 2 (x 1 2 2π x 2 [(a cos t b cos t) (b sin t ( b sin t))]dt = 1 2 a + y2 = 1, we parameterize 2 b2 2π ab dt = π ab. Example 3.2. Evaluate (y2 dx + xy dy), where is the boundary of the semi- annular region between the semicircles x 2 + y 2 = 1 and x 2 + y 2 = 4 in the upper half plane. Write, in polar coordinates, = {(r, θ) : 1 r 2, θ π}. Then [ (y 2 dx + xy dy) = x (3xy) ] y (y2 ) da = = 2 π 1 r sin θr dr dθ = r 2 dr π y da sin θ dθ = 14 3.

83 In fact, Green s theorem can be applied to domains having holes, provided the domain can be divided into simply connected regions. The boundary of the region consists of two simple closed curves 1 (Outer) and 2 (inner). Assume that these boundary curves are oriented so that the region is always on the left as the curve is traversed. Thus the positive direction is counterclockwise for the outer curve 1 but clockwise for the inner curve 2. ivide into two regions and as shown in the figure. Green s theorem on and gives (N x M y )da = (N x M y )da + (N x M y )da = (Mdx + Ndy) + (Mdx + Ndy) = (Mdx + Ndy). This is the general version of Green s Theorem. Example Show that if is any positively oriented simple closed path that encloses the origin, then y x 2 + y dx + x 2 x 2 + y = 2π, 2 No idea how to show it for every such curve. So, take a positively oriented circle, of radius a, around origin that lies entirely in the region bounded by. Let be the annular region bounded by and. Take F (x, y) = ( y î + x ĵ)/(x 2 + y 2 ). Then the positively oriented boundary of is = ( ). Green s theorem on gives (Mdx + Ndy) + (Mdx + Ndy) = (N x M y )da = Reason? Here, F = M î + N ĵ gives N x = M y = (y 2 x 2 )/(x 2 + y 2 ) 2. Then (Mdx + Ndy) = (Mdx + Ndy). But is parameterized by x(t) = cos t, y(t) = sin t, t 2π. So, 2π (Mdx + Ndy) = F (a cos t î + a sin t ĵ) (a cos t î + a sin t ĵ) dt = 2π. Generalize this example by taking the constraint N x = M y on the vector field. 83

84 3.5 url and ivergence of a vector field If F = M î + N ĵ + P ˆk is a vector field in R 3, where the partial derivatives of the component functions exist, then curl F is a vector field given by curl F = ( P y N ) ( M î + z z P ) ( N ĵ + x x M ) ˆk. y Writing in operator notation, recall that grad = = î x + ĵ y + ˆk z. Then curl F = F î ĵ ˆk = x y z. M N P For example, if F = zx î + xyz ĵ y 2 ˆk, then curl F = y(2 + x) î + x ĵ + yz ˆk. Theorem 3.8. Let F be a vector field defined over a simply connected region whose component functions have continuous second order partial derivatives. Then F is conservative iff curl F =. Proof of : If F is conservative, then F = f for some f, where f is some scalar function defined on. Now, î ĵ ˆk curl f = ( f) = x y z = (f yz f zy ) î + (f zx f xz ) ĵ + (f xy f yx ) ˆk =. f x f y f z The converse follows from Stokes theorem, which we will discuss later. Remember: The curl of gradient of any scalar function is zero: curl grad f =. Example Is the vector field F = zx î + xyz ĵ y 2 ˆk conservative? Here, curl F = y(2 + x) î + x ĵ + yz ˆk. So, F is not conservative. Example Is the vector field F = y 2 z 3 î + 2xyz 3 ĵ + 3xy 2 z 2 ˆk conservative? Here, F is defined on R 2 and curl F î ĵ ˆk = x y z y 2 z 3 2xyz 3 3xy 2 z 2 = (6xy 2 z 2 6xy 2 z 2 ) î (3y 2 z 2 3y 2 z 2 ) ĵ +(2yz 3 2yz 3 ) ˆk =. Hence F is conservative. In fact, F = grad f, where f(x, y, z) = xy 2 z 3. The name game: curl F measures how quickly a tiny peddle (at a point) in some fluid in a vector field moves around itself. If curl F =, then there is no rotation of such a tiny peddle. 84

85 If F = M î + N ĵ + P ˆk is a vector field defined on a domain, where its component functions have first order partial derivatives, then div F = F = M x + N y + P z. The divergence is also called flux or flux density. For example, if F = zx î + xyz ĵ y 2 ˆk, then div F = z + xz. The divergence of the vector field F = (x 2 y) î + (xy y 2 ) ĵ is (x 2 y) x + (xy y2 ) y = 3x 2y. Intuitively, div F measures the tendency of the fluid to diverge from the point (a, b). When the gas (fluid) is expanding, divergence is positive; and when it is compressing, the divergence is negative. The fluid is said to be incompressible iff div F =. Theorem 3.9. Let F = M î + N ĵ + P ˆk be a vector field defined on a simply connected domain R 3, where M, N, P have continuous second order partial derivatives. Then div curl F =. Proof: div curl F = ( F ) = ( P x y N ) + ( M z y z P ) + ( N x z x M ) y This is equal to zero, due to lairaut s Theorem. Example oes there exist a vector field G such that F = zx î + xyz ĵ y 2 ˆk = curl G? div F = z + xz. Hence there is no such G. ivergence of grad f is the Laplacian of a scalar function f since The operator 2 = 2 x y z 2 Green s Theorem - Vector form - 1 div grad f = ( F ) = 2 f x f y f z 2 := 2 f. is called the Laplacian. Let be a simply connected region whose boundary is the simple closed curve. Let F = M î + N ĵ be a vector field defined on. Let be parameterized by r (t) = x(t) î + y(t) ĵ. Then The line integral of F over is F T (t)dt = F T (t)dt = F r (t)dt = F d r = Mdx + Ndy. onsider F as a vector field on R 3 with P =. Then F d r = (M dx + N dy). curl F = (N x M y ) ˆk curl F ˆk = N x M y. 85

86 Thus Green s theorem takes the form F T (t) dt = F d r = (curl F ˆk) da. Recall: T is the unit tangent vector and ˆn is the unit normal vector. Green s Theorem - Vector form - 2 Let be given by r (t) = x(t) î + y(t) ĵ. Then T = x (t) r (t) î + y (t) r (t), ˆn(t) = y (t) r (t) î x (t) r (t). onsequently, F ˆn = [M(x(t), y(t))y (t) N(x(t), y(t))x (t)]/ r (t). Now, F ˆn ds = b F ˆn r (t) dt = (Mdy Ndx). a Also, div F da = (M x + N y )da. Hence Green s theorem takes the form F ˆn ds = div F da. The first form is called the tangent-form and the second form is called the normal-form of Green s theorem. 3.6 Surface Area of solid of Revolution Suppose a smooth curve is given by y = f(x), where f(x). Its arc when a x b is revolved about the x-axis to generate a solid. How do we compute the area of the surface of this solid? We follow a strategy similar to computing the volume of revolution. Partition [a, b] into n subintervals [x k 1, x k ]. When each x k is small, the surface area corresponding to this subinterval is approximately same as the area on the frustum of a right circular cone. If a right circular cone has base radius R and slant height l, then its surface area is given by πrl. Now, for the frustum, we subtract the smaller cone surface area from the larger. Look at the figure. The area of the frustum is A = πr 2 (l 1 + l) πr 1 l 1 = π[(r 2 r 1 )l 1 + r 2 l]. 86

87 Using similarity of triangles, we have l 1 r 1 = l 1 + l r 2. This gives r 2 l 1 = r 1 l 1 + r 1 l (r 2 r 1 )l 1 = r 1 l. Therefore, A = π(r 1 l + r 2 l) = 2π r l, where r = r 1 + r 2. 2 To use this this formula on the frustum obtained on the subinterval [x k 1, x k ], we notice that the slant height l is approximated by ( x k ) 2 + ( y k ) 2, where x k = x k x k 1 and y k = f(x k ) f(x k 1 ). Next, the average radius r = r 1+r 2 is f(x k 1)+f(x k ). Thus the area of the frustum 2 2 is A k = 2π f(x k 1) + f(x k ) ( xk ) ( y k ) 2. ue to MVT, we have c k [x k 1, x k ] such that y k = f(x k ) f(x k 1 ) = f (c k )(x k x k 1 ) = f (c k ) x k. So, ( x k ) 2 + ( y k ) 2 = 1 + (f (c k )) 2 x k. The surface of revolution is approximated by n k=1 A k = 2π f(x k 1) + f(x k ) (f (c k )) 2 x k. Its limit as n is the Riemann sum of an integral, which is the required area: S = b a 2π f(x) 1 + (f (x)) 2 dx = b a 2πy 1 + (f (x)) 2 dx. If the arc is given by x = g(y), c y d, then the surface area of revolution is given by S = d 2π g(y) 1 + (g (y)) 2 dy = d c c 2πx 1 + (g (y)) 2 dy. Notice that with relevant limits of integration, if the revolution is about x-axis, then S = If the revolution is about y-axis, then the surface area of revolution is S = 2πxds. 2πyds. For parameterized curves, suppose the smooth curve is given by x = x(t), y = y(t) for a t b. If the curve is traversed exactly once while t increases from a to b, then the surface area of the solid generated by revolving the curve about the coordinate axes are as follows: 87

88 1. Revolution about the x-axis (y ) : S = 2. Revolution about the y-axis (x ) : S = b a b a 2π y(t) (x (t)) 2 + (y (t)) 2 dt. 2π x(t) (x (t)) 2 + (y (t)) 2 dt. Example Find the surface area of the solid obtained by revolving about x-axis, the arc of the curve y = 2 x, 1 x 2. Since y = 2 x, y = 1/ x, 1 + (y ) 2 = 1 + 1/x. Then 2 ) 1/2 2 S = 2πy (1 + [y ] 2 dx = 2π 2 x x dx = 8π 3 ( ). 1 1 Example The arc of the parabola y = x 2, 1 x 2 is revolved about the y-axis. Find the surface area of revolution. The curve can be parameterized by r (t) = x(t) î + y(t) ĵ, 1 t 2, where x(t) = t and y(t) = t 2. Then x (t) = 1 and y (t) = 2t. The surface area is S = Example = π π x(t) (x (t)) 2 + (y (t)) 2 dt = 2π t 1 + 4t 2 dt 1 + 4t2 d(1 + 4t 2 ) = π [ (1 ) ] + 4t 2 3/2 2 = π 6 6 ( ) The circle of radius 1 centered at (, 1) is revolved about the x-axis. Find the surface area of the solid so generated. The circle can be parameterized as x = cos t, y = 1 + sin t, t 2π. Then (x (t)) 2 + (y (t)) 2 = 1. Thus the area is S = 2π 3.7 Surface area 2π (1 + sin t) dt = 4π 2. As we know, a smooth surface can be given by a function such as z = f(x, y). More generally, a smooth surface is given parametrically by x = x(u, v), y = y(u, v), z = z(u, v), where (u, v) varies over a given parameter domain. Normally, we say that the point (u, v) varies over a domain in uv-plane. The parametric equation is also written in vector form as Some examples: r = x(u, v)î + y(u, v)ĵ + z(u, v)ˆk. 88 1

89 The cone z = x 2 + y 2, z 1 can be parametrized by x = r cos θ, y = r sin θ, z = r, where r 1 and θ 2π. Then its vector form is r (r, θ) = r cos θ î + r sin θ ĵ + r ˆk. The sphere x 2 + y 2 + z 2 = a 2 can be parametrized by x = a cos θ sin φ, y = a sin θ sin φ, z = a cos φ for θ 2π, φ π. In vector form the parametrization is r (θ, φ) = a cos θ sin φ î + a sin θ sin φ ĵ + a cos φ ˆk. The cylinder x 2 + y 2 = a 2, z 5 can be parametrized by r (θ, z) = a cos θ î + a sin θ ĵ + z ˆk, for θ 2π. Let S be a smooth surface given parametrically by x = x(u, v), y = y(u, v), z = z(u, v), where (u, v) ranges over a parameter domain in the uv-plane. Suppose that S is covered exactly once as (u, v) varies over. For simplicity, assume that is a rectangle. We write S in vector form: r = x(u, v)î + y(u, v)ĵ + z(u, v)ˆk. ivide into smaller rectangles R ij with the lower left corner point as P ij = (u i, v j ). For simplicity, let the partition be uniform with u-lengths as u and v-lengths as v. The part S ij of S that corresponds to R ij has the corner P ij with position vector r (u i, v j ). The tangent vectors to S at P ij are given by r u := r u (u i, v j ) = x u (u i, v j )î + y u (u i, v j )ĵ + z uˆk(ui, v j ) r v := r v (u i, v j ) = x v (u i, v j )î + y v (u i, v j )ĵ + z vˆk(ui, v j ) The tangent plane to S is the plane that contains the two tangent vectors r u (u i, v j ) and r v (u i, v j ). The normal to S at P ij is the vector r u (u i, v j ) r v (u i, v j ). Notice that since S is assumed to be smooth, the normal vector is non-zero. The part S ij is a curved parallelogram on S whose sides can be approximated by the vectors r u u and r v v. Then the area of S ij can be approximated by Area of S ij r u r v u v. 89

90 Then an approximation to the area of S is obtained by summing over both indices i and j: Area of S r u r v u v. j i We thus define the surface area by taking the limit of the above approximated quantity. It is as follows: Let S be a smooth surface given parametrically by r = x(u, v)î + y(u, v)ĵ + z(u, v)ˆk, where (u, v), a domain in the uv-plane. Suppose that S is covered exactly once as (u, v) varies over. Then the surface area of S is given by Area of S = r u r v da where r u = x u î + y u ĵ + z uˆk and r v = x v î + y v ĵ + z vˆk. In case, the surface S is given by the graph of a function such as z = f(x, y), where (x, y), then we take the parameters as u = x, v = y and z = z(u, v) = f(x, y). That is, S is given by We see that Therefore, r = uî + vĵ + zˆk. r u = î + z uˆk = î + fxˆk, r v = ĵ + z vˆk = ĵ + fyˆk. r u î ĵ ˆk r v = 1 f x = f x î f y ĵ + ˆk. 1 f y Area of S = r u r v da = f 2 x + f 2 y + 1 da. This formula can also be derived from the first principle as we had done for the parametric form. For this, suppose that S is given by the equation z = f(x, y) for (x, y). ivide into smaller rectangles R ij with area (R ij ) = x y. For the corner (x i, y j ) in R ij, closest to the origin, let P ij be the point (x i, y j, f(x i, y j )) on the surface. The tangent plane to S at P ij is an approximation to S near P ij. 9

91 The area T ij of the portion of the tangent plane that lies above R ij approximates the area of S ij, the portion of S that is directly above R ij. Therefore, we define the area of the surface S as (S) = lim m lim n m i=1 n T ij. Let a and b be the vectors that start at P ij and lie along the sides of the parallelogram whose area is T ij. Then T ij = a b. However, f x (x i, y j ) and f y (x i, y j ) are the slopes of the tangent lines through P ij in the directions of a and b, respectively. Therefore, j=1 a = x î + fx (x i, y j ) x ˆk, b = y ĵ + fy (x i, y j ) y ˆk. T ij = a b = f x (x i, y j ) î f y (x i, y j ) ĵ + k (R ij ) = fx(x 2 i, y j ) + fy 2 (x i, y j ) + 1 (R ij ). Summing over these T ij and taking the limit, we obtain: Area of S = fx 2 + fy da. Example Find the surface area of the part of the surface z = x 2 + 2y that lies above the triangular region in the xy-plane with vertices (, ), (1, ) and (1, 1). T = {(x, y) : x 1, y x}, f(x, y) = x 2 + 2y. The required surface area is 1 (2x) da = T x 4x2 + 5 dydx = 1 12 (27 5 5). Surface Area - a generalized form Recall that for a surface S which is given by f(x, y) = z, the surface area is Here, is the rectangle on the xy-plane obtained by projecting S onto the plane. f 2 x + f 2 y + 1dA. Look at this surface as f(x, y) z =. Then f = f x î + f y ĵ 1 ˆk. If p is the unit normal to the projected rectangle, then p = ˆk. Then f f 2 f p = x + fy 2 + 1,

92 which is the integrand in the surface area formula. Warning: f p must not be ZERO. A derivation similar to the surface area formula gives the following: Let the surface S be given by f(x, y, z) = c. Let R be a closed bounded region which is obtained by projecting the surface to a plane whose unit normal is p. Suppose that f is continuous on R and f p on R. Then The surface area of S = R f f p da. Of course, whenever possible, we project onto the coordinate planes. Example Find the area of the surface cut from the bottom of the paraboloid x 2 + y 2 = z by the plane z = 4. Surface S is given by f(x, y, z) = x 2 + y 2 z =. Project it onto xy-plane to get the region R as x 2 + y 2 4. Then f = 2x î + 2y ĵ ˆk. f = 1 + 4x 2 + 4y 2. p = ˆk. f p = 1. R is given by x = r cos θ, y = r sin θ, θ 2π, r 2. So, the surface area is 2π x2 + 4y 2 da = 1 + 4r2 r drdθ = π 6 ( ). R Example 3.3. Find the surface area of the cap cut from the hemisphere x 2 + y 2 + z 2 = 2, z by the cylinder x 2 + y 2 = 1. 92

93 The surface projected on xy-plane gives R as the disk x 2 + y 2 1. The surface is f(x, y, z) = 2, where f(x, y, z) = x 2 + y 2 + z 2. Then f = 2x î + 2y ĵ + 2z ˆk, f = 2 x 2 + y 2 + z 2 = 2 2. p = k. f p = 2z = 2z. Thus the surface area is = R 2 2 2z da = 2 z 1 da = 2 (2 x 2 y 2 ) 1 da. R R R is given by x = r cos θ, y = r sin θ, θ 2π, r 1. So, = 2π 1 r dr dθ 2 = 2π(2 2). 2 r Integrating over a surface Suppose over a surface f(x, y, z) = c, we have distribution of charge. The charge density, that is, the charge per unit area, may be given by a real valued function g(x, y, z) defined on the surface. Then we may calculate the total charge on the surface as an integral. So, we consider a real valued function g(x, y, z) defined over a surface S given by f(x, y, z) = c; and our task is to compute the integral of g, where the area elements are taken over the surface. We look at the region R in the xy-plane on which this surface is defined by f(x, y, z) = c. ivide the region R into smaller rectangles A k. onsider the corresponding surface areas σ k. Let P k denote the projection of σ k onto the tangent plane at (x k, y k, z k ). Then σ k P k. If p is the unit normal to the region R, and if u k and v k are the vectors that lie along the edges of the patch P k, then P k = u k v k. Write γ k = the angle between u k v k and p. Since p is a unit vector, we have A k = u k v k p = u k v k p cos(γ k ) = P k cos γ k. 93

94 Also, we have f p = f p cos γ = f cos γ. Therefore, σ k P k = A ( k f ) cos γ k = f A k. p k Assuming that g is nearly constant on the smaller surface fragments σ k, we form the sum ( f ) g(x k, y k, z k ) σ k g(x k, y k, z k ) f A k. p k k If this sum converges to a limit as the number of partitions, k approaches, then we define that limit as the integral of g over the surface S. We thus define the surface integral as follows. Let S be a surface S given by f(x, y, z) = c. Let the projection of S onto a plane with unit normal p be the region R. Let g(x, y, z) be defined over S. Then the surface integral of g over S is f g dσ = g(x, y, z) f p da. Also, we write the surface differential as Warning: f p must not be ZERO. S dσ = R f f p da. If the surface S can be represented as a union of non-overlapping smooth surfaces S 1,..., S n, then g dσ = S g dσ + + S 1 g dσ. S n If g(x, y, z) = g 1 (x, y, z) + + g m (x, y, z) over the surface S, then g dσ = g 1 dσ + + g m dσ. S Similarly, if g(x, y, z) = k h(x, y, z) holds for a constant k, over S, then g(x, y, z) dσ = k h(x, y, z) dσ. S S Example Integrate g(x, y, z) = xyz over the surface of the cube cut from the first octant by the planes x = 1, y = 1, and z = 1. S S 94

95 We integrate g over the six surfaces and add the results. As g = xyz is zero on the coordinate planes, we need integrals on sides A, B and. Side A is the surface defined on the region R A : x 1, y 1 on the xy-plane. For this surface and the region, p = ˆk, f = ˆk, f = 1, f p = ˆk ˆk = 1, g(x, y, z) = xyz z=1 = xy. Therefore, Similarly, Thus, S A g(x, y, z) dσ = xy f R 1 f p dxdy = g dσ = 3 4. B g(x, y, z) dσ = 1 4 = 1 1 xydxdy = g(x, y, z) dσ. Example Evaluate the surface integral of g(x, y, z) = x 2 over the unit sphere. 1 y 2 = 1 4. S can be divided into the upper hemisphere and the lower hemisphere. Let S be the upper hemisphere f(x, y, z) := x 2 + y 2 + z 2 = 1, z. Its projection on the xy-plane is the region R : x = r cos θ, y = r sin θ, r 1, θ 2π. Here, p = ˆk, f = 2 x2 + y 2 + z 2 = 2, f p = 2 z = 2 1 (x 2 + y 2 ) = 2 1 r 2. Hence x 2 dσ = S = x 2 R 2π 1 f f p da = R r 2 cos 2 θ 2π r dr dθ 1 r 2 x 2 1 r 2 da 1 cos 2 θ dθ r 3 1 r 2 dr = 2π 3. Since the integral of x 2 on the upper hemisphere is equal to that on the lower hemisphere, the required integral is 2 2π 3 = 4π 3. Recall that when p = ˆk, that is, when the region R is obtained by projecting the surface S onto the f xy-plane, f p = 1 + zx 2 + zy. 2 Now, if the surface f(x, y, z) = c can be written explicitly by z = h(x, y), then the surface integral takes the form g(x, y, z) dσ = g(x, y, h(x, y)) 1 + h 2 x + h 2 y dx dy. S R 95

96 Similarly, if the surface can be written as y = h(x, z) and R is obtained by projecting S onto the xz-plane, then g(x, y, z) dσ = g(x, h(x, z), z) 1 + h 2 x + h 2 z dx dz. S R If the surface can be written as x = h(y, z) and R is obtained by projecting S onto the yz-plane, then g(x, y, z) dσ = g(h(y, z), y, z) 1 + h 2 y + h 2 z dy dz. S R Example Evaluate S y dσ, where S is the surface z = x + y2, x 1, y 2. Projecting the surface onto xy-plane, we obtain the region R as the rectangle R : x 1, y 2. Here, the surface is given by z = h(x, y) = x + y 2. So, y dσ = y (2y) 2 da = S R Suppose the surface S is given in a parameterized form: 2 r (u, v) = x(u, v) î + y(u, v) ĵ + z(u, v) ˆk, 2y (1 + 2y2 ) dy dx = where (u, v) ranges over the region in the uv-plane. Here, a change of variable happens. The Jacobian is simply r u r v. Then dσ = r u r v da, where r u = x u î + y u ĵ + z u ˆk and r v = x v î + y v ĵ + z v ˆk. Then f(x, y, z) dσ = f( r (u, v)) r u r v da. S Also this formula can directly be derived as we had done for computing surface area when a surface is given parametrically. It is as follows. Suppose the smooth surface S has the parametric equation in vector form as r = x(u, v)î + y(u, v)ĵ + z(u, v)ˆk. Assume that the parameter domain is a rectangle. ivide into smaller rectangles R ij by taking grid lengths u and v. 96

97 Then the surface S is divided into corresponding patches S ij. We evaluate f at a point P ij in S ij and form the Riemann sum i j f(p ij) S ij, where S ij is the area of the patch S ij. Taking limit as the number of sub-rectangles approach, we obtain the surface integral of f over S as n m f(x, y, z) dσ = lim lim f(p ij ) S ij. m n S However, S ij = r u (P ij ) r v (P ij ) u v. Therefore, the surface integral is given by f(x, y, z) dσ = f( r (u, v)) r u r v da. S Observe that the surface area of S is simply 1 dσ as it should be. The relation between a surface S integral and surface area is much the same as that between a line integral and the arc length of a curve. Example Evaluate S z dσ, where S is the surface whose sides S 1 are given by the cylinder x 2 + y 2 = 1, bottom S 2 is the disk x 2 + y 2 1, z =, and whose top S 3 is part of the plane z = 1 + x that lies above S 2. i=1 j=1 S 1 is given by r = x î + y ĵ + z ˆk with x = cos θ, y = sin θ, z = z, where is given by θ 2π and z 1 + x = 1 + cos θ. Then r θ r z = cos θ î + sin θ ĵ = 1; 2π 1+cos θ z dσ = z r θ r z da = z dz dθ = S 1 S 2 lies in the plane z =. Hence S 2 z dσ =. S 3 lies above the unit disk and lies in the plane z = 1 + x. Here, u = x, v = y and r = xî + yĵ + z(x, y)ĵ. Then 2π r u r v = (î + z xˆk) (ĵ + zyˆk) = z 2 x + z 2 y (1 + cos θ) 2 dθ = 3π 2 2.

98 So, Hence, S 3 z dσ = S = 2π 1 (1 + x) 1 + zx 2 + zy 2 da (1 + r cos θ) r dr dθ = 2π. z dσ = z dσ + z dσ + z dσ = 3π S 1 S 2 S π. 3.9 Surface Integral of a Vector Field A smooth surface is called orientable iff it is possible to define a vector field of unit normal vectors ˆn to the surface which varies continuously with position. Once such normal vectors are chosen, the surface is considered an oriented surface. If the surface S is given by z = f(x, y), then we take its orientation by considering the unit normal vectors ˆn = f x î f y ĵ + ˆk. 1 + f 2 x + fy 2 If S is a part of a level surface g(x, y, z) = c, then we may take ˆn = g g. If S is given parametrically as r (u, v) = x(u, v) î + y(u, v) ĵ + z(u, v) ˆk, then ˆn = r u r v r u r v. Sometimes we may take negative sign if it is preferred. onventionally, the outward direction is taken as the positive direction. Note that the outward direction of a normal makes sense when the surface is oriented. Let F be a continuous vector field defined over an oriented surface S with unit normal ˆn. The surface integral of F over S, also called, the flux of F across S is F ˆn dσ. S The flux is the integral of the scalar component of F along the unit normal to the surface. Thus in a flow, the flux is the net rate at which the fluid is crossing the surface S in the chosen positive direction. If S is part of a level surface g(x, y, z) = c, which is defined over the domain, then dσ = So, the flux across S is S F ˆn dσ = F ± g S g dσ = ± g F g p da. 98 g g. p da.

99 If S is parametrized by r (u, v), where is the domain in uv-plane, then dσ = r u r v da. So, flux across S is r u F ˆn dσ = F S S r v r u r v dσ = F ( r (u, v)) ( r u r v ) da. Example Find the flux of F = yz ĵ + z 2 ˆk outward through the surface S which is cut from the cylinder y 2 + z 2 = 1, z by the planes x = and x = 1. S is given by g(x, y, z) := y 2 + z 2 1 =, defined over the rectangle R = R xy as in the figure. The outward unit normal is ˆn = + g g = y ĵ + z ˆk. Here, p = ˆk. So, dσ = g y2 + z da = 2 = 1 g ˆk z z da. F ˆn on S is y 2 z + z 3 = z(y 2 + z 2 ) = z. Therefore, outward flux through S is F ˆn dσ = z 1 z da = da = Area of R = 2. S R Example Find the flux of the vector field F = z î + y ĵ + x ˆk across the unit sphere. If no direction of the normal vector is given and the surface is a closed surface, we take ˆn in the positive direction, which is directed outward. Using the spherical coordinates, the unit sphere S is parametrized by r (φ, θ) = sin φ cos θ î + sin φ sin θ ĵ + cos φ ˆk, where φ π and θ 2π give the domain. Then F ( r (φ, θ)) = cos φ î + sin φ sin θ ĵ + sin φ cos θ ˆk. r φ r θ = sin 2 φ cos θ î + sin 2 φ sin θ ĵ + sin φ cos θ ˆk. R onsequently, S F n dσ = = 2π π F ( r φ r θ ) da (2 sin 2 φ cos φ cos θ + sin 3 φ sin 2 θ) dφ dθ = 4π 3. 99

100 Example Find the surface integral of the vector field F = yz î + x ĵ z 2 ˆk over the portion of the parabolic cylinder given by y = x 2, x 1, z 4. We assume the positive direction of the normal ˆn. On the surface, we have x = x, y = x 2, z = z giving the parametrization as r (x, z) = x î + x 2 ĵ + z ˆk where is given by x 1, z 4. On the surface F = x 2 z î + x ĵ z 2 ˆk. So, F ˆn dσ = F ( r x r y ) da S = (x 2 z î + x ĵ z 2 ˆk) (2x î ĵ) = 4 1 (2x 3 z x) dx dz = 4 z 1 2 dz = 2. If S is given by z = f(x, y), then think of x, y as the parameters u and v. We have F = M(x, y) î + N(x, y) ĵ + P (x, y) ˆk and r = x î + y ĵ + f(x, y) ˆk. Then r x r y = ( î + f x ˆk) ( ĵ + fy ˆk) = fx î f y ĵ + ˆk. Therefore, the flux is F ˆn dσ = S F ( r x r y ) da = ( Mf x Nf y + P ) da. Example Evaluate F ˆn dσ, where F = y î + x ĵ + z ˆk and S is the boundary of the S solid enclosed by the paraboloid z = 1 x 2 y 2 and the plane z =. The surface S has two parts: the top portion S 1 and the base S 2. Since S is a closed surface, we consider its outward unit normal ˆn. Projections of both S 1 and S 2 on xy-plane are, the unit disk. 1

101 By the simplified formula for the flux, we have F ˆn dσ = ( Mf x Nf y + P )da S 1 = [ y( 2x) x( 2y) + 1 x 2 y 2 ]da = = 2π 1 2π (1 + 4r 2 cos θ sin θ r 2 ) r dr dθ ( cos θ sin θ) dθ = π 2. The disk S 2 has positive direction, when ˆn = ˆk. Thus F ˆn dσ = ( F ˆk) dσ = S 2 S 2 ( z)da = since on = S 2, z =. Then π F ˆn dσ = F ˆn dσ + F ˆn dσ = S S 1 S Stokes Theorem onsider an oriented surface with a unit normal vector ˆn. all the boundary curve of S as. The orientation of S induces a positive orientation on. If you walk in the positive direction of keeping your head pointing towards ˆn, then S will be to your left. Recall that Green s theorem relates a double integral in the plane to a line integral over its boundary. We will have a generalization of this to 3 dimensions. Write the boundary curve of a given smooth surface as S. The boundary is assumed to be a closed curve, positively oriented unless specified otherwise. Theorem 3.1. (Stokes Theorem) Let S be an oriented piecewise-smooth surface that is bounded by a simple, closed, piecewise-smooth boundary curve S with positive orientation. Let F = M î + N ĵ + P ˆk be a vector field with M, N, P having continuous partial derivatives on an open region in space that contains S. Then S F d r = S 11 curl F ˆn dσ.

102 In particular, if S is a bounded region in the xy-plane, S =, the smooth boundary of, then ˆn = ˆk and dσ = da. We obtain F d r = curl F ˆk da = (N x M y ) dx dy. as Green s theorem states. In fact, we can use Green s theorem to prove Stokes theorem in case S is the graph of a smooth function z = f(x, y) with a smooth boundary, and the vector field F is smooth. Proof: Let F = M î + N ĵ + P ˆk. We see that F d r = M dx + N dy + P dz. And S S curl F ˆn dσ = + S S S curl (M î) ˆn dσ curl (N ĵ) ˆn dσ + S curl (P ˆk) ˆn dσ. We show that the M-, N- and P - components in both are equal. Suppose S is given by z = f(x, y) for (x, y). Orient positively, i.e., counter-clock-wise. hoose a parameterization for this. Suppose is given by Then S has the parameterization as Thus Or that r (t) = x(t) î + y(t) ĵ for a t b. r (t) = x(t) î + y(t) ĵ + f(x(t), y(t)) ĵ for a t b. S M(x, y, z) dx = S b M(x, y, z) dx = a M(x(t), y(t), f(x(t), y(t)) dx dt dt. M(x, y, z) dx. Next, we apply Green s theorem on the integral on the right to obtain: M(x, y, z) dx = M y (x, y, f(x, y)) da. S 12

103 Apply hain rule on the right side integrand to obtain ] M y (x, y, z) dx = [M y (x, y, f(x, y)) + M z (x, y, f(x, y))f y da. S We now compute curl (M î)dσ. For this, notice that S has the parameterization: S r (t) = x(t) î + y(t) ĵ + f(x, y) ˆk. So, ˆn = f x î f y ĵ + ˆk, where c = f x î f y ĵ + c ˆk. Then S curl (M î) ˆn = ( î + M z ĵ M y ˆk) ˆn = [ Mz f y M y ]/c. 1[ curl (M î) ˆn dσ = My (x, y, f(x, y))dy + M z (x, y, f(x, y)) ] (c da), c since c = (z f(x, y)) / (z f(x, y)) ˆk. Therefore, curl (M î) ˆn = M(x, y, z) dx. Similarly, other components become respectively equal. S S Example onsider S as the hemisphere x 2 + y 2 + z 2 = 9, z. Let F ( r ) = y î x ĵ. The bounding curve for S in the xy-plane is S given by x 2 + y 2 = 9, z =. Parameterization of S is r (θ) = 3 cos θ î + 3 sin θ ĵ S F d r = = 2π 2π for θ 2π. Then [(3 sin θ) î (3 cos θ) ĵ] [( 3 sin θ) î + (3 cos θ) ĵ] dθ [ 9 sin 2 θ 9 cos 2 θ] dθ = 18π. This is the line integral in Stokes theorem. For the surface integral, we have curl F = (P y N z ) î + (M z P x ) ĵ + (N x M y ) ˆk = 2 ˆk. Since on the surface g := x 2 + y 2 + z 2 9, we have S ˆn = grad g grad g = 1 (x î + y ĵ + z ˆk). 3 grad g p = ˆk, dσ = grad g da = 2 3 p 2z da = 3 z da, where da is the differential in the projected area : x 2 + y 2 9. Then curl F 2z ˆn dσ = 3 dσ = 2z 3 3 z da = ( 2) da = 18π. S 13

104 Example 3.4. Evaluate ((x2 y) î+4z ĵ +x 2 ˆk) d r, where is the intersection of the plane z = 2 and the cone z = x 2 + y 2. Parameterize the cone as r (r, θ) = r cos θ î + r sin θ ĵ + r ˆk for r 2, θ 2π. Then ˆn = r r r θ r r r θ = 1 2 ( cos θ î sin θ ĵ + ˆk). curl F = (P y N z ) î + (M z P x ) ĵ + (N x M y ) ˆk = 4 î 2r cos θ ĵ + ˆk. curl F ˆn = 1 (4 cos θ + r sin(2θ) + 1) 2 dσ = r 2 dr dθ. By Stokes theorem, F d r = S curl F ˆn dσ = 2π 2 (4 cos θ + r sin(2θ) + 1)r dr dθ = 4π. Example Evaluate ( y2 î + x ĵ + z 2 ˆk) d r, where is the curve of intersection of the plane y + z = 2 and the cylinder x 2 + y 2 = 1, oriented counter-clock-wise when looked from above. F = M î + N ĵ + P ˆk, where M = y 2, N = x, P = z 2. curl F = (P y N z ) î + (M z P x ) ĵ + (N x M y ) ˆk = (1 + 2y) ˆk. Here, there are many surfaces with boundary. We choose a convenient one: the surface S on the plane y+z = 2 with boundary as. Its projection on the xy-plane is the disc : x 2 +y 2 1. Then p = ˆk. With g(x, y) = y + z 2, we have ˆn = (grad g)/ grad g = (ĵ + ˆk)/ 2, grad g p = 1, and dσ = 2 da. Stokes theorem gives F d r = curl F ˆn dσ = = S 2π 1 (1 + 2r sin θ) r dr dθ = y 2 da 2 2π ( ) 3 sin θ dθ = π.

105 Example ompute S curl F ˆn dσ, where F = xz î + yz ĵ + xy ˆk and S is the part of the sphere x 2 + y 2 + z 2 = 4 that lies inside the cylinder x 2 + y 2 = 1 and above the xy-plane. The boundary curve is obtained by solving the two equations to get z 2 = 3. Since z >, we have the curve as x 2 + y 2 = 1, z = 3. In vector parametric form, : r (θ) = cos θ î + sin θ ĵ + 3 ˆk for θ 2π. Then By Stokes theorem, curl F ˆn dσ = S F ( r (θ)) = 3 cos θ î + 3 sin θ ĵ + cos θ sin θ ˆk. = 2π F d 2π r = F r (θ) dθ ( 3 cos θ sin θ + 3 sin θ cos θ) dθ =. Stokes theorem can be generalized to piecewise smooth surfaces like union of sides of a polyhedra. Here, we take the integral over the sides as the sum of integrals over each individual side. Similarly, Stokes theorem can be generalized to surfaces with holes. The line integrals are to be taken over all the curves which form the boundaries of the holes. The surface integral over S of the normal component of curl F is equal to the sum of the line integrals around all the boundary curves of the tangential component of F. Here, the curves are traced in the direction induced by the orientation of S. Recall that a conservative field is one which can be expressed as a gradient of another scalar field. In such a case, curl F =. Then from Stokes theorem, it follows that F d r =. Theorem If curl F = at each point of an open simply connected region in space, then on any piecewise smooth closed path lying in, F d r = Gauss ivergence Theorem We have seen how to relate an integral of a function over a region with the integral of possibly some other related function over the boundary of the region. For definite integrals on intervals: b a f (t) dt = f(b) f(a). For a path from a point P to a point Q in R 3, grad f ds = f(q) f(p ). 15

106 For a domain in R 2, (N y M x ) da = F d r. For a surface S in R 3, curl F ˆn dσ = F d r. S It suggests a generalization to three dimensions; and we use the divergence of a vector field for this purpose. Recall that div F = grad F = F. That is, the divergence of a vector field F = M(x, y, z) î+ N(x, y, z) ĵ + P (x, y, z) ˆk is the scalar function div F = M x + N y + P z. Our generalization is div F dv = F ˆn dσ. S Theorem (Gauss ivergence Theorem) Let S be a piecewise smooth simple closed bounded surface that encloses a solid region in R 3. Suppose S has been oriented positively by its outward normals. Let F be a vector field whose component functions have continuous partial derivatives on an open region that contains. Then S F ˆn dσ = div F dv. Proof: We prove this in the special case that is a box in R 3 given by = [a, b] [c, d] [e, f]. Let F = M î + N ĵ + P ˆk. Then div F dv = S F ˆn dσ = div M dv + S M ˆn dσ + S div N dv + N ˆn dσ + S P ˆn dσ. div F dv. We prove that the respective components are equal. We thus consider only the î-component. That is, we take F = M î and prove the divergence theorem in this case. So, let F = M î. The solid has six faces. The surface integral over S is the sum of integrals over these faces. A simplification occurs. F = M î we have F ĵ = F ˆk =. That is, F is orthogonal to the normals of the top, bottom, and the two side faces. 16

107 Writing the remaining faces as S f and S b, we have F ˆn dσ = F ˆn dσ + F ˆn dσ. S S f S b Parameterization of these faces give S f : r = b î + y ĵ + z ˆk, S b : r = a î + y ĵ + z ˆk. for c y d, e z f. The outward normal to S f is î, and to S b is î. Then S F ˆn dσ = = = = f d e c f d e c f d b e c a M(b, y, z) dydz f d e c [M(b, y, z) M(a, y, z)] dydz div F dv, M x (x, y, z) dxdydz M(a, y, z) dydz since F = M î div F = div M = M x. Example onsider the field F = x î + y ĵ + z ˆk over the sphere S : x 2 + y 2 + z 2 = a 2. The outer unit normal to S computed from grad f, with f = x 2 + y 2 + z 2 a 2, is ˆn = 2(x î + y ĵ + z ˆk) 4(x2 + y 2 + z 2 ) = 1 (x î + y ĵ + z ˆk). a Hence on the given surface, F ˆn dσ = 1 a (x2 + y 2 + z 2 ) dσ = a dσ. Therefore, F ˆn dσ = a dσ = a Area of S = 4πa 3. S S Now, for the triple integral, div F = M x + N y + P z = x x + y y + z z = 3. Therefore, with as the ball bounded by S, div F dv = 3 dv = 3 Volume of = 4πa 3. Example Find the outward flux of the vector field xy î + yz ĵ + zx ˆk through the surface cut from the first octant by the planes x = 1, y = 1 and z = 1. 17

108 The solid is a cube having six faces. all the surface of the cube as S. Instead of computing the surface integral, we use ivergence theorem. With F = xy î + yz ĵ + zx ˆk, we have div F = xy x + yz y + zx z = y + z + x. Therefore the required flux is S F ˆn dσ = div F dv = (y + z + x) dxdydz = 3 2. Example Evaluate F ˆn dσ, where F = xy î + y 2 + e xz2 ĵ + sin(xy) ˆk and S is the S surface of the solid bounded by the parabolic cylinder z = 1 x 2, and the planes y =, z =, and y + z = 2. S has four sides. Instead of computing the surface integrals, we use ivergence theorem. We have div F = (xy) x + (y 2 + e xz2 ) y + (sin(xy)) z = 3y. And is given by 1 x 1, z 1 x 2, y 2 z. Therefore, S F ˆn dσ = = div F dv = 1 1 x 2 2 z = y dv 3y dy dz dx = [(x 2 + 1) 3 8] dx = x 2 1 (2 z) 2 dz dx 2 Example Find the outward flux of the vector field F across the boundary of the solid where F = x î + y ĵ + z ˆk (x 2 + y 2 + z 2 ) and : < 3/2 a2 x 2 + y 2 + z 2 b 2. 18

109 Write ρ = x 2 + y 2 + z 2. Then dρ dx = x ρ. With F = M î + N ĵ + P ˆk, we have M x = (xρ 3 ) x = ρ 3 4 ρ 3xρ x = 1 ρ 3x2 3 ρ. 5 Similarly, N y = 1 ρ 3 3y2 ρ 5 and P z = 1 ρ 3 3z2 ρ 5. Then div F = 3 ρ 3 3x2 + 3y 2 + 3z 2 ρ 5 =. Thus the required flux is div F dv =. In fact, flux through the inner surface and flux through the outer surface are in opposite directions. Are their magnitudes equal? Example onsider the vector field F = 1 a 3 (x î + y ĵ + z ˆk) on the sphere S of radius a centered at the origin. Show that the flux through S is a constant. We compute the flux directly. Let S be the sphere x 2 + y 2 + z 2 = a 2 for any a >. The gradient computed from f = x 2 + y 2 + z 2 a 2 gives the outward unit normal to S as ˆn = 2x î + 2y ĵ + 2z ˆk 4x2 + 4y 2 + 4z = x î + y ĵ + z ˆk. 2 a Therefore, on the sphere S with F = (x î + y ĵ + z ˆk)/(x 2 + y 2 + z 2 ) 3/2, Then S F ˆn = x2 + y 2 + z 2 a 4 = 1 a 2. F ˆn dσ = S 1 a dσ = 1 Area of S = 4π. 2 a Review Problems Problem 3.1: ompute the line integral of the vector function x 3 î + 3zy 2 ĵ x 2 y ˆk along the straight line segment L from the point (3, 2, 1) to (,, ). The parametric equation of the line segment joining these points is The derivatives of these with respect to t are L x = 3t, y = 2t, z = t for 1 t. 1 x t = 3, y t = 2, z t = 1. Then the required line integral is x 3 dx+3zy 2 dy x 2 y dz = [( 3t) 3 ( 3)+3( t)( 2t) 2 ( 2) ( 3t) 2 ( 2t)( 1)] dt =

110 Problem 3.2: Let be the portion of the curve y = x 3 from (1, 1) to (2, 8). ompute (6x 2 y dx + 1xy 2 dy). is parametrized as x = t, y = t 3, 1 t 2. Then x t = 1, y t = 3t 2. The line integral is (6x 2 y dx + 1xy 2 dy) = 2 1 (6t t 7 3t 2 ) dt = Problem 3.3: Evaluate ( y î xy ĵ) d r, where is the circular arc joining (1, ) to (, 1) of a circle centered at the origin. Prameterize by r (θ) = cos θ î + sin θ ĵ, for θ π/2. Thus x(θ) = cos θ, y(θ) = sin θ. Then F d π/2 r = F ( r (θ)) r (θ) dθ = = π/2 π/2 ( sin θ î cos θ sin θ ĵ) ( sin θ î + cos θ ĵ) dθ (sin 2 θ cos 2 θ sin θ) dθ = π Problem 3.4: Let F = 5z î + xy ĵ + x 2 z ˆk. Is F d r the same if is a curve joining (,, ) to (1, 1, 1), given by (a) r (t) = t î + t ĵ + t ˆk for t 1; (b) r (t) = t î + t ĵ + t 2 ˆk for t 1? (a) F ( r (t)) = 5t î + t 2 ĵ + t 3 ˆk. d r (t) = î + ĵ + ˆk. Thus F d r = 1 (5t + t 2 + t 3 )dt = (b) F ( r (t)) = 5t î + t 2 ĵ + t 3 ˆk. d r (t) = î + ĵ + 2t ˆk. Thus F d r = 1 As we see the line integral is not path-independent. (5t 2 + t 2 + 2t 5 )dt = Problem 3.5: Let be a simply connected domain containing a smooth curve from (,, ) to (1, 1, 1). Evaluate (2xdx + 2ydy + 4zdz). F = 2x î + 2y ĵ + 4z ˆk = grad f, where f = x 2 + y 2 + 2z 2. Therefore, the line integral is independent of path. Hence its value is f(1, 1, 1) f(,, ) = 4. Problem 3.6: Evaluate S (7x î z ˆk) ˆn dσ over the surface S : x 2 + y 2 + z 2 = 4. div F = div (7x î z ˆk) = 7 1 = 6. So, the integral = 6 volume of S = 64π. Problem 3.7: Evaluate I = (3x2 dx + 2yz dy + y 2 dz), where is a smooth curve joining (, 1, 2) to (1, 1, 7) by showing that F has a potential. 11

111 In order that F = grad f, we should have f x = M = 3x 2, f y = N = 2yz, f z = P = y 2. To obtain such a possible f, we use integration and differentiation: f = x 3 + g(y, z), f y = g y = 2yz, g = y 2 z + h(z), f z = y 2 + h (z) = y 2, h (z) =, h(z) =, say. Then f = x 3 + y 2 z. We verify that F = grad f. Therefore, I = F (1, 1, 7) f(, 1, 2) = 6. Problem 3.8: etermine whether I = (2xyz2 dx+(x 2 z 2 +z cos(yz)) dy+(2x 2 yz+y cos(yz) dz) is independent of path. Evaluate I, where is the line segment joining (,, 1) to (1, π/4, 2). Here, M = 2xyz 2, N = x 2 z 2 + z cos(yz), P = 2x 2 yz + y cos(yz). Then M y = 2xz 2 = N x, N z = 2x 2 z + cos(yz) yz sin(yz) = P y, P x = 4xyz = M z. Hence the line integral is independent of path. We find f such that F = grad f. Now, f = Ndy = x 2 z 2 y + sin(yz) + g(x, z), f x = 2xz 2 y + g x = M = 2xyz 2. g x =, g = h(z), f z = 2x 2 yz + y cos(yz) + h (z) = P = 2x 2 yz + y cos(yz), h (z) =. Taking h(z) =, we get f(x, y, z) = x 2 yz 2 + sin(yz) as a possible potential. Then I = f(1, π/4, 2) f(,, 1) = π + 1. Problem 3.9: Use Green s theorem to compute the area of the region (a) bounded by the ellipse x 2 /a 2 + y 2 /b 2 = 1. (b) bounded by the cardioid r = a(1 cos θ) for θ 2π. (a) Recall: Green s theorem gave Area of = 1 (x dy y dx). The ellipse 2 x2 /a 2 + y 2 /b 2 = 1 has the parameterization x(t) = a cos t, y = b sin t for t 2π. Then its area is 1 2 2π (xy yx ) dt = 1 2 2π (ab cos 2 t ( ab sin 2 t)) dt = πab. (b) In polar form, x = r cos θ, y = r sin θ. Then dx = cos θ dr sin θ dθ and dy = sin θ dr + r cos θ dθ. onsequently the area is equal to 1 dy y dx) = 2 (x 1 2π r 2 dθ = a2 (1 cos θ) 2 dθ = 3π a2. Problem 3.1: ompute the flux of the water through the parabolic cylinder S : y = x 2, x 2, z 3 if the velocity vector F = 3z 2 î + 6 ĵ + 6zx ˆk, speed being measured in m/sec. Write x = u, z = v. We have y = x 2 = u 2. The surface is S : r = u î u 2 ĵ + v ˆk, for u 2, v

112 Then n = r u r v = ( î + 2 ĵ) ˆk = 2u î ĵ. On S, F ( r (u, v)) = 3v 2 î + 6 ĵ + 6uv ˆk. Hence F ( r (u, v)) n = 6uv 2 6. onsequently the flux is F n dσ = (6uv 2 6) du dv = (12v 2 12) dv = 72 m 3 /sec. S Problem 3.11: Find the area of the portion of the surface of the cylinder x 2 + y 2 = a 2 which is cut out by the cylinder x 2 + z 2 = a 2. One-eighth of the required surface area is in the first octant. This portion of the surface has the equation y = a 2 x 2. This gives y x = x a2 x, y 2 z = 1 + yx 2 + yz 2 = 1 + x2 a 2 x = a 2 a2 x. 2 The domain of integration is a quarter of a disk given by Therefore, the required area is 8 a x 2 + x 2 a 2 a 2, x, z. [ a 2 x 2 a a2 x 2 dz ] dx = 8a a dx = 8a 2. Problem 3.12: A torus is generated by rotating a circle about a straight line L in space so that does not intersect or touch L. If L is the z-axis and has radius b and its centre has distance a (> b) from L, then compute the surface area of the torus. The surface S of the torus is represented by r (u, v) = (a + b cos v) cos u î + (a + b cos v) sin u ĵ + b sin v ˆk. Here, v is the angle in describing the circle and u is the angle of rotation. Thus u, v 2π. Projection onto the uv-plane shows that r (u) = (a + b cos v) sin u î + (a + b cos v) cos u ĵ r (v) = b sin v cos u î b sin v sin u ĵ + b cos v ˆk r (u) r (v) = b(a + b cos v)(cos u cos v î + sin u cos v ĵ + sin v ˆk) Hence r (u) r (v) = b(a + b cos v) and the area is r (u) 2π 2π r (v) du dv = b(a + b cos v) du dv = 4π 2 ab. Problem 3.13: Let S be the closed surface consisting of the cylinder x 2 + y 2 = a 2, z b and the circular disks x 2 + y 2 a 2 one with z = and the other with z = b. By transforming to a 112

113 triple integral evaluate I = S (x3 dy dz + x 2 y dz dx + x 2 z dx dy). F = M î + N ĵ + P ˆk, where M = x 3, N = x 2 y, P = x 2 z. Then div F = 5x 2. Let be the solid bounded by S. In cylindrical coordinates, using Gauss divergence theorem, I = 5x 2 dv = 5 b a 2π r 2 cos 2 θ r dr dθ dz = 5 4 πa4 b. Problem 3.14: ompute the flux of the vector field F = (z 2 +xy 2 ) î+cos(x+z) ĵ +(e y zy 2 ) ˆk through the boundary of the surface given in the following figure: div (F ) = x (z2 + xy 2 ) + y cos(x + z) + z (e y zy 2 ) =. Let be the region enclosed by S. By the ivergence theorem, Flux through S = div F dv =. Problem 3.15: Let a closed smooth surface S be such that any straight line parallel to the z-axis cuts it in no more than two points. Let n 3 denote the z-component of the unit outward normal ˆn to the surface S. Then what is S zn 3 dσ? In this case, S has an upper part and a lower part. Suppose they are given, respectively, by the equations z = f u (x, y), z = f b (x, y). Let be the projection of S on the xy-plane. Then z n 3 dσ = f u (x, y) da S This is equal to the volume of the solid B bounded by S. f b (x, y) da. Alternatively, take F = zˆk. Then div F = 1. By the ivergence theorem, z n 3 dσ = F ˆn dσ = div F dv = volume of B. S S Problem 3.16: Prove that the integral of the Laplacian over a planar region is the same as the integral, over the boundary curve, of the directional derivative in the direction of the unit normal to the boundary curve. We rephrase: Let f(x, y) be a function defined over a simply connected region in the xy-plane. 113 B

114 Let be the boundary curve of. enote by n f(x, y) the directional derivative of f in the direction of the unit outer normal ˆn to. Show that (f xx + f yy )da = nf ds. Let θ be the angle between ˆn and î, the x-axis. Then ˆn = cos θ î + sin θ ĵ. If α is the angle between the tangent line to and the x-axis, then cos α = sin θ and sin α = cos θ. Then dx = cos α ds = sin θ ds and dy = sin α ds = cos θ ds. onsequently, the directional derivative n f is given by n f(x, y) = (f x î + f y ĵ) ˆn = f x cos θ + f y sin θ. For the vector function F = f x î + f y ĵ, by Green s theorem, we obtain (f xx + f yy )da = f x dy f y dx = (f x cos θ + f y sin θ)ds = n f ds. Problem 3.17: Let f and g be functions with continuous partial derivatives up to second order on a domain in space, which has a smooth boundary. enote by f and g their Laplacians. Prove the Green s formula: (g f f g)dv = ( g f ˆn f g ) dσ. ˆn Let F = M î + N ĵ + P ˆk. Gauss divergence theorem says that div F dv = F ˆn dσ. Suppose the unit normal ˆn has the components a, b, c in the x, y, z-directions, respectively. Then (M x + N y + P z ) dv = (am + bn + cp ) dσ. Substitute M = gf x fg x, N = gf y fg y, P = gf z fg z. Then M x + N y + P z = g(f xx + f yy + f zz ) f(g xx + g yy + g zz ) = g f f g. am + bn + cp = g(af x + bf y + cf z ) f(ag x + bg y + cg z ) = g f ˆn f g ˆn. Now Green s formula follows from Gauss divergence theorem. 114

115 Bibliography [1] Advanced Engineering Mathematics, 1th Ed., E. Kreyszig, John Willey & Sons, 21. [2] Basic Multivariable alculus, J.E. Marsden, A.J. Tromba, A. Weinstein, Springer Verlag, [3] ifferential and Integral alculus, Vol. I and II, N. Piskunov, Mir Publishers, [4] alculus - Multivariable, J. Rogawski, W.H. Freeman & o., 211. [5] Multivariable alculus, J. Stewart, engage Learning, 21. [6] alculus, G. Strang, Wellesley-ambridge Press, 21. [7] Thomas alculus, G.B. Thomas, Jr, M.. Weir, J.R. Hass, Pearson,

116 Appendix A One Variable Summary This appendix is devoted to summarizing some results and formulas from calculus of functions of one real variable that we may use in the class. For details, see Functions of One Variable - A Survival Guide. A.1 Graphs of Functions The absolute value of x R is defined as x = { x if x x if x < Thus x = x 2. And a = a or a ; x y is the distance between real numbers x and y. Moreover, if a, b R, then a = a, ab = a b, a = a if b, a + b a + b, a b a b. b b Let x R and let a >. The following are true: 1. x = a iff x = ±a. 2. x < a iff a < x < a iff x ( a, a). 3. x a iff a x a iff x [ a, a]. 4. x > a iff a < x or x > a iff x (, a) (a, ) iff x R [ a, a]. 5. x a iff a x or x a iff x (, a] [a, ) iff x R ( a, a). Therefore, for a R, δ >, x a < δ iff a δ < x < a + δ. The following statements are useful in proving equalities from inequalities: Let a, b R. 1. If for each ɛ >, a < ɛ, then a =. 2. If for each ɛ >, a < b + ɛ, then a b. 116

117 Graphs of some known functions including, are as follows: 1. y = x = { x if x x if x < x if x < 2. y = x 2 if x 1 1 if x > 1 3. y = f(x) = { x if x 1 2 x if 1 < x 2 4. y = x = n if n x < n + 1 for n N. It is the largest integer less than or equal to x. The largest integer function or the floor function. Sometimes we write as [ ]. 5. y = x = n + 1 if n < x n + 1 for n N. It is the smallest integer greater than or equal to x. The smallest integer function or the ceiling function. 6. The power function y = x n for n = 1, 2, 3, 4, 5 look like 117

118 7. The power function y = x n for n = 1 and n = 2 look like 8. The graphs of the power function y = x a for a = 1 2, 1 3, 3 2 and a = 2 3 are 9. Polynomial functions are y = f(x) = a + a 1 x + a 2 x 2 + a n x n for some n N {}. Here, the coefficients of powers of x are some given real numbers a,..., a n and a n. The highest power n in the polynomial is called the degree of the polynomial. Graphs of some polynomial functions are as follows: 118

119 1. A rational function is a ratio of two polynomials; f(x) = p(x), where p(x) and q(x) are q(x) polynomials, may or may not be of the same degree. Graphs of some rational functions are as follows: 11. Algebraic functions are obtained by adding subtracting, multiplying, dividing or taking roots of polynomial functions. Rational functions are special cases of algebraic functions. Some graphs of alhebraic functions: 12. Trigonometric functions come from the ratios of sides of a right angled triangle. The angles are measured in radian. The trigonometric functions have a period. That is, f(x + p) = f(x) happens for some p >. The period of f(x) is the minimum of such p. The period for sin x is 2π. The functions cos x and sec x are even functions and all others are odd functions. Recall that f(x) is even if f( x) = f(x) and it is odd if f( x) = f(x) for each x in the domain of the function. Some of the useful inequalities are In fact, if x, then sin x < x. x sin x x for all x R. 1 sin x, cos x 1 for all x R. 1 cos x x for all x R. sin x x tan x for all x (, π/2). Graphs of the trigonomaetric functions are as follows: 119

120 13. Exponential functions are in the form y = a x for some a > and a 1. All exponential functions have domain (, ) and co-domain (, ). They never assume the value. Graphs of some exponential functions: 14. Logarithmic functions are inverse of exponential functions. That is, a log a x = log a (a x ) = x. Some examples: 12

Partial Derivatives. w = f(x, y, z).

Partial Derivatives. w = f(x, y, z). Partial Derivatives 1 Functions of Several Variables So far we have focused our attention of functions of one variable. These functions model situations in which a variable depends on another independent

More information

3 Applications of partial differentiation

3 Applications of partial differentiation Advanced Calculus Chapter 3 Applications of partial differentiation 37 3 Applications of partial differentiation 3.1 Stationary points Higher derivatives Let U R 2 and f : U R. The partial derivatives

More information

Exercises for Multivariable Differential Calculus XM521

Exercises for Multivariable Differential Calculus XM521 This document lists all the exercises for XM521. The Type I (True/False) exercises will be given, and should be answered, online immediately following each lecture. The Type III exercises are to be done

More information

Higher order derivative

Higher order derivative 2 Î 3 á Higher order derivative Î 1 Å Iterated partial derivative Iterated partial derivative Suppose f has f/ x, f/ y and ( f ) = 2 f x x x 2 ( f ) = 2 f x y x y ( f ) = 2 f y x y x ( f ) = 2 f y y y

More information

Engg. Math. I. Unit-I. Differential Calculus

Engg. Math. I. Unit-I. Differential Calculus Dr. Satish Shukla 1 of 50 Engg. Math. I Unit-I Differential Calculus Syllabus: Limits of functions, continuous functions, uniform continuity, monotone and inverse functions. Differentiable functions, Rolle

More information

Calculus - II Multivariable Calculus. M.Thamban Nair. Department of Mathematics Indian Institute of Technology Madras

Calculus - II Multivariable Calculus. M.Thamban Nair. Department of Mathematics Indian Institute of Technology Madras Calculus - II Multivariable Calculus M.Thamban Nair epartment of Mathematics Indian Institute of Technology Madras February 27 Revised: January 29 Contents Preface v 1 Functions of everal Variables 1 1.1

More information

Taylor Series and stationary points

Taylor Series and stationary points Chapter 5 Taylor Series and stationary points 5.1 Taylor Series The surface z = f(x, y) and its derivatives can give a series approximation for f(x, y) about some point (x 0, y 0 ) as illustrated in Figure

More information

4 Partial Differentiation

4 Partial Differentiation 4 Partial Differentiation Many equations in engineering, physics and mathematics tie together more than two variables. For example Ohm s Law (V = IR) and the equation for an ideal gas, PV = nrt, which

More information

MA102: Multivariable Calculus

MA102: Multivariable Calculus MA102: Multivariable Calculus Rupam Barman and Shreemayee Bora Department of Mathematics IIT Guwahati Differentiability of f : U R n R m Definition: Let U R n be open. Then f : U R n R m is differentiable

More information

Vector Calculus, Maths II

Vector Calculus, Maths II Section A Vector Calculus, Maths II REVISION (VECTORS) 1. Position vector of a point P(x, y, z) is given as + y and its magnitude by 2. The scalar components of a vector are its direction ratios, and represent

More information

SIMPLE MULTIVARIATE OPTIMIZATION

SIMPLE MULTIVARIATE OPTIMIZATION SIMPLE MULTIVARIATE OPTIMIZATION 1. DEFINITION OF LOCAL MAXIMA AND LOCAL MINIMA 1.1. Functions of variables. Let f(, x ) be defined on a region D in R containing the point (a, b). Then a: f(a, b) is a

More information

Tangent spaces, normals and extrema

Tangent spaces, normals and extrema Chapter 3 Tangent spaces, normals and extrema If S is a surface in 3-space, with a point a S where S looks smooth, i.e., without any fold or cusp or self-crossing, we can intuitively define the tangent

More information

Maxima and Minima. (a, b) of R if

Maxima and Minima. (a, b) of R if Maxima and Minima Definition Let R be any region on the xy-plane, a function f (x, y) attains its absolute or global, maximum value M on R at the point (a, b) of R if (i) f (x, y) M for all points (x,

More information

Prague, II.2. Integrability (existence of the Riemann integral) sufficient conditions... 37

Prague, II.2. Integrability (existence of the Riemann integral) sufficient conditions... 37 Mathematics II Prague, 1998 ontents Introduction.................................................................... 3 I. Functions of Several Real Variables (Stanislav Kračmar) II. I.1. Euclidean space

More information

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v 260) Contents 2 Partial Derivatives 1 21 Limits and Continuity 1 22 Partial Derivatives 5 23 Directional Derivatives and the Gradient

More information

Derivatives and Integrals

Derivatives and Integrals Derivatives and Integrals Definition 1: Derivative Formulas d dx (c) = 0 d dx (f ± g) = f ± g d dx (kx) = k d dx (xn ) = nx n 1 (f g) = f g + fg ( ) f = f g fg g g 2 (f(g(x))) = f (g(x)) g (x) d dx (ax

More information

ENGI Partial Differentiation Page y f x

ENGI Partial Differentiation Page y f x ENGI 3424 4 Partial Differentiation Page 4-01 4. Partial Differentiation For functions of one variable, be found unambiguously by differentiation: y f x, the rate of change of the dependent variable can

More information

Solutions to old Exam 3 problems

Solutions to old Exam 3 problems Solutions to old Exam 3 problems Hi students! I am putting this version of my review for the Final exam review here on the web site, place and time to be announced. Enjoy!! Best, Bill Meeks PS. There are

More information

REVIEW OF DIFFERENTIAL CALCULUS

REVIEW OF DIFFERENTIAL CALCULUS REVIEW OF DIFFERENTIAL CALCULUS DONU ARAPURA 1. Limits and continuity To simplify the statements, we will often stick to two variables, but everything holds with any number of variables. Let f(x, y) be

More information

Exam 2 Review Solutions

Exam 2 Review Solutions Exam Review Solutions 1. True or False, an explain: (a) There exists a function f with continuous secon partial erivatives such that f x (x, y) = x + y f y = x y False. If the function has continuous secon

More information

Directional Derivatives in the Plane

Directional Derivatives in the Plane Directional Derivatives in the Plane P. Sam Johnson April 10, 2017 P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 1 / 30 Directional Derivatives in the Plane Let z =

More information

This exam will be over material covered in class from Monday 14 February through Tuesday 8 March, corresponding to sections in the text.

This exam will be over material covered in class from Monday 14 February through Tuesday 8 March, corresponding to sections in the text. Math 275, section 002 (Ultman) Spring 2011 MIDTERM 2 REVIEW The second midterm will be held in class (1:40 2:30pm) on Friday 11 March. You will be allowed one half of one side of an 8.5 11 sheet of paper

More information

Math 207 Honors Calculus III Final Exam Solutions

Math 207 Honors Calculus III Final Exam Solutions Math 207 Honors Calculus III Final Exam Solutions PART I. Problem 1. A particle moves in the 3-dimensional space so that its velocity v(t) and acceleration a(t) satisfy v(0) = 3j and v(t) a(t) = t 3 for

More information

1 Functions of Several Variables Some Examples Level Curves / Contours Functions of More Variables... 6

1 Functions of Several Variables Some Examples Level Curves / Contours Functions of More Variables... 6 Contents 1 Functions of Several Variables 1 1.1 Some Examples.................................. 2 1.2 Level Curves / Contours............................. 4 1.3 Functions of More Variables...........................

More information

Math 265H: Calculus III Practice Midterm II: Fall 2014

Math 265H: Calculus III Practice Midterm II: Fall 2014 Name: Section #: Math 65H: alculus III Practice Midterm II: Fall 14 Instructions: This exam has 7 problems. The number of points awarded for each question is indicated in the problem. Answer each question

More information

Multivariable Calculus

Multivariable Calculus Multivariable alculus Jaron Kent-Dobias May 17, 2011 1 Lines in Space By space, we mean R 3. First, conventions. Always draw right-handed axes. You can define a L line precisely in 3-space with 2 points,

More information

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima Calculus 50A - Advanced Calculus I Fall 014 14.7: Local minima and maxima Martin Frankland November 17, 014 In these notes, we discuss the problem of finding the local minima and maxima of a function.

More information

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema

Chapter 7. Extremal Problems. 7.1 Extrema and Local Extrema Chapter 7 Extremal Problems No matter in theoretical context or in applications many problems can be formulated as problems of finding the maximum or minimum of a function. Whenever this is the case, advanced

More information

(b) Find the range of h(x, y) (5) Use the definition of continuity to explain whether or not the function f(x, y) is continuous at (0, 0)

(b) Find the range of h(x, y) (5) Use the definition of continuity to explain whether or not the function f(x, y) is continuous at (0, 0) eview Exam Math 43 Name Id ead each question carefully. Avoid simple mistakes. Put a box around the final answer to a question (use the back of the page if necessary). For full credit you must show your

More information

M311 Functions of Several Variables. CHAPTER 1. Continuity CHAPTER 2. The Bolzano Weierstrass Theorem and Compact Sets CHAPTER 3.

M311 Functions of Several Variables. CHAPTER 1. Continuity CHAPTER 2. The Bolzano Weierstrass Theorem and Compact Sets CHAPTER 3. M311 Functions of Several Variables 2006 CHAPTER 1. Continuity CHAPTER 2. The Bolzano Weierstrass Theorem and Compact Sets CHAPTER 3. Differentiability 1 2 CHAPTER 1. Continuity If (a, b) R 2 then we write

More information

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the 1.(8pts) Find F ds where F = x + ye z + ze y, y + xe z + ze x, z and where T is the T surface in the pictures. (The two pictures are two views of the same surface.) The boundary of T is the unit circle

More information

MULTIVARIABLE CALCULUS

MULTIVARIABLE CALCULUS MULTIVARIABLE CALCULUS JOHN QUIGG Contents 13.1 Three-Dimensional Coordinate Systems 2 13.2 Vectors 3 13.3 The Dot Product 5 13.4 The Cross Product 6 13.5 Equations of Lines and Planes 7 13.6 Cylinders

More information

MATH Max-min Theory Fall 2016

MATH Max-min Theory Fall 2016 MATH 20550 Max-min Theory Fall 2016 1. Definitions and main theorems Max-min theory starts with a function f of a vector variable x and a subset D of the domain of f. So far when we have worked with functions

More information

MATH H53 : Final exam

MATH H53 : Final exam MATH H53 : Final exam 11 May, 18 Name: You have 18 minutes to answer the questions. Use of calculators or any electronic items is not permitted. Answer the questions in the space provided. If you run out

More information

Math 212-Lecture Interior critical points of functions of two variables

Math 212-Lecture Interior critical points of functions of two variables Math 212-Lecture 24 13.10. Interior critical points of functions of two variables Previously, we have concluded that if f has derivatives, all interior local min or local max should be critical points.

More information

Math 210, Final Exam, Practice Fall 2009 Problem 1 Solution AB AC AB. cosθ = AB BC AB (0)(1)+( 4)( 2)+(3)(2)

Math 210, Final Exam, Practice Fall 2009 Problem 1 Solution AB AC AB. cosθ = AB BC AB (0)(1)+( 4)( 2)+(3)(2) Math 2, Final Exam, Practice Fall 29 Problem Solution. A triangle has vertices at the points A (,,), B (, 3,4), and C (2,,3) (a) Find the cosine of the angle between the vectors AB and AC. (b) Find an

More information

CALCULUS III THE CHAIN RULE, DIRECTIONAL DERIVATIVES, AND GRADIENT

CALCULUS III THE CHAIN RULE, DIRECTIONAL DERIVATIVES, AND GRADIENT CALCULUS III THE CHAIN RULE, DIRECTIONAL DERIVATIVES, AND GRADIENT MATH 20300 DD & ST2 prepared by Antony Foster Department of Mathematics (office: NAC 6-273) The City College of The City University of

More information

Math 210, Final Exam, Fall 2010 Problem 1 Solution. v cosθ = u. v Since the magnitudes of the vectors are positive, the sign of the dot product will

Math 210, Final Exam, Fall 2010 Problem 1 Solution. v cosθ = u. v Since the magnitudes of the vectors are positive, the sign of the dot product will Math, Final Exam, Fall Problem Solution. Let u,, and v,,3. (a) Is the angle between u and v acute, obtuse, or right? (b) Find an equation for the plane through (,,) containing u and v. Solution: (a) The

More information

HOMEWORK 7 SOLUTIONS

HOMEWORK 7 SOLUTIONS HOMEWORK 7 SOLUTIONS MA11: ADVANCED CALCULUS, HILARY 17 (1) Using the method of Lagrange multipliers, find the largest and smallest values of the function f(x, y) xy on the ellipse x + y 1. Solution: The

More information

Let f(x) = x, but the domain of f is the interval 0 x 1. Note

Let f(x) = x, but the domain of f is the interval 0 x 1. Note I.g Maximum and Minimum. Lagrange Multipliers Recall: Suppose we are given y = f(x). We recall that the maximum/minimum points occur at the following points: (1) where f = 0; (2) where f does not exist;

More information

7a3 2. (c) πa 3 (d) πa 3 (e) πa3

7a3 2. (c) πa 3 (d) πa 3 (e) πa3 1.(6pts) Find the integral x, y, z d S where H is the part of the upper hemisphere of H x 2 + y 2 + z 2 = a 2 above the plane z = a and the normal points up. ( 2 π ) Useful Facts: cos = 1 and ds = ±a sin

More information

1. If the line l has symmetric equations. = y 3 = z+2 find a vector equation for the line l that contains the point (2, 1, 3) and is parallel to l.

1. If the line l has symmetric equations. = y 3 = z+2 find a vector equation for the line l that contains the point (2, 1, 3) and is parallel to l. . If the line l has symmetric equations MA 6 PRACTICE PROBLEMS x = y = z+ 7, find a vector equation for the line l that contains the point (,, ) and is parallel to l. r = ( + t) i t j + ( + 7t) k B. r

More information

DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS. MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 2018

DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS. MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 2018 DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 208 Version A refers to the regular exam and Version B to the make-up. Version A. A particle

More information

M273Q Multivariable Calculus Spring 2017 Review Problems for Exam 3

M273Q Multivariable Calculus Spring 2017 Review Problems for Exam 3 M7Q Multivariable alculus Spring 7 Review Problems for Exam Exam covers material from Sections 5.-5.4 and 6.-6. and 7.. As you prepare, note well that the Fall 6 Exam posted online did not cover exactly

More information

MTH4101 Calculus II. Carl Murray School of Mathematical Sciences Queen Mary University of London Spring Lecture Notes

MTH4101 Calculus II. Carl Murray School of Mathematical Sciences Queen Mary University of London Spring Lecture Notes MTH40 Calculus II Carl Murray School of Mathematical Sciences Queen Mary University of London Spring 20 Lecture Notes Complex Numbers. Introduction We have already met several types of numbers. Natural

More information

Review problems for the final exam Calculus III Fall 2003

Review problems for the final exam Calculus III Fall 2003 Review problems for the final exam alculus III Fall 2003 1. Perform the operations indicated with F (t) = 2t ı 5 j + t 2 k, G(t) = (1 t) ı + 1 t k, H(t) = sin(t) ı + e t j a) F (t) G(t) b) F (t) [ H(t)

More information

Sec. 1.1: Basics of Vectors

Sec. 1.1: Basics of Vectors Sec. 1.1: Basics of Vectors Notation for Euclidean space R n : all points (x 1, x 2,..., x n ) in n-dimensional space. Examples: 1. R 1 : all points on the real number line. 2. R 2 : all points (x 1, x

More information

Differentiation. f(x + h) f(x) Lh = L.

Differentiation. f(x + h) f(x) Lh = L. Analysis in R n Math 204, Section 30 Winter Quarter 2008 Paul Sally, e-mail: sally@math.uchicago.edu John Boller, e-mail: boller@math.uchicago.edu website: http://www.math.uchicago.edu/ boller/m203 Differentiation

More information

Week 4: Differentiation for Functions of Several Variables

Week 4: Differentiation for Functions of Several Variables Week 4: Differentiation for Functions of Several Variables Introduction A functions of several variables f : U R n R is a rule that assigns a real number to each point in U, a subset of R n, For the next

More information

Practice problems for Exam 1. a b = (2) 2 + (4) 2 + ( 3) 2 = 29

Practice problems for Exam 1. a b = (2) 2 + (4) 2 + ( 3) 2 = 29 Practice problems for Exam.. Given a = and b =. Find the area of the parallelogram with adjacent sides a and b. A = a b a ı j k b = = ı j + k = ı + 4 j 3 k Thus, A = 9. a b = () + (4) + ( 3)

More information

The Derivative. Appendix B. B.1 The Derivative of f. Mappings from IR to IR

The Derivative. Appendix B. B.1 The Derivative of f. Mappings from IR to IR Appendix B The Derivative B.1 The Derivative of f In this chapter, we give a short summary of the derivative. Specifically, we want to compare/contrast how the derivative appears for functions whose domain

More information

ENGI 4430 Line Integrals; Green s Theorem Page 8.01

ENGI 4430 Line Integrals; Green s Theorem Page 8.01 ENGI 443 Line Integrals; Green s Theorem Page 8. 8. Line Integrals Two applications of line integrals are treated here: the evaluation of work done on a particle as it travels along a curve in the presence

More information

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

SOME PROBLEMS YOU SHOULD BE ABLE TO DO OME PROBLEM YOU HOULD BE ABLE TO DO I ve attempted to make a list of the main calculations you should be ready for on the exam, and included a handful of the more important formulas. There are no examples

More information

Multivariable Calculus and Matrix Algebra-Summer 2017

Multivariable Calculus and Matrix Algebra-Summer 2017 Multivariable Calculus and Matrix Algebra-Summer 017 Homework 4 Solutions Note that the solutions below are for the latest version of the problems posted. For those of you who worked on an earlier version

More information

Multivariable Calculus Notes. Faraad Armwood. Fall: Chapter 1: Vectors, Dot Product, Cross Product, Planes, Cylindrical & Spherical Coordinates

Multivariable Calculus Notes. Faraad Armwood. Fall: Chapter 1: Vectors, Dot Product, Cross Product, Planes, Cylindrical & Spherical Coordinates Multivariable Calculus Notes Faraad Armwood Fall: 2017 Chapter 1: Vectors, Dot Product, Cross Product, Planes, Cylindrical & Spherical Coordinates Chapter 2: Vector-Valued Functions, Tangent Vectors, Arc

More information

Implicit Functions, Curves and Surfaces

Implicit Functions, Curves and Surfaces Chapter 11 Implicit Functions, Curves and Surfaces 11.1 Implicit Function Theorem Motivation. In many problems, objects or quantities of interest can only be described indirectly or implicitly. It is then

More information

Review for the Final Exam

Review for the Final Exam Calculus 3 Lia Vas Review for the Final Exam. Sequences. Determine whether the following sequences are convergent or divergent. If they are convergent, find their limits. (a) a n = ( 2 ) n (b) a n = n+

More information

ENGI 4430 Line Integrals; Green s Theorem Page 8.01

ENGI 4430 Line Integrals; Green s Theorem Page 8.01 ENGI 4430 Line Integrals; Green s Theorem Page 8.01 8. Line Integrals Two applications of line integrals are treated here: the evaluation of work done on a particle as it travels along a curve in the presence

More information

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy)

Module Two: Differential Calculus(continued) synopsis of results and problems (student copy) Module Two: Differential Calculus(continued) synopsis of results and problems (student copy) Srikanth K S 1 Syllabus Taylor s and Maclaurin s theorems for function of one variable(statement only)- problems.

More information

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

DRAFT - Math 101 Lecture Note - Dr. Said Algarni 2 Limits 2.1 The Tangent Problems The word tangent is derived from the Latin word tangens, which means touching. A tangent line to a curve is a line that touches the curve and a secant line is a line that

More information

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics 3.33pt Chain Rule MATH 311, Calculus III J. Robert Buchanan Department of Mathematics Spring 2019 Single Variable Chain Rule Suppose y = g(x) and z = f (y) then dz dx = d (f (g(x))) dx = f (g(x))g (x)

More information

Calculus III. Math 233 Spring Final exam May 3rd. Suggested solutions

Calculus III. Math 233 Spring Final exam May 3rd. Suggested solutions alculus III Math 33 pring 7 Final exam May 3rd. uggested solutions This exam contains twenty problems numbered 1 through. All problems are multiple choice problems, and each counts 5% of your total score.

More information

Convex Optimization. Chapter Introduction Mathematical Optimization

Convex Optimization. Chapter Introduction Mathematical Optimization Chapter 4 Convex Optimization 4.1 Introduction 4.1.1 Mathematical Optimization The problem of mathematical optimization is to minimize a non-linear cost function f 0 (x) subject to inequality constraints

More information

1 Vectors and the Scalar Product

1 Vectors and the Scalar Product 1 Vectors and the Scalar Product 1.1 Vector Algebra vector in R n : an n-tuple of real numbers v = a 1, a 2,..., a n. For example, if n = 2 and a 1 = 1 and a 2 = 1, then w = 1, 1 is vector in R 2. Vectors

More information

Chapter 2: Unconstrained Extrema

Chapter 2: Unconstrained Extrema Chapter 2: Unconstrained Extrema Math 368 c Copyright 2012, 2013 R Clark Robinson May 22, 2013 Chapter 2: Unconstrained Extrema 1 Types of Sets Definition For p R n and r > 0, the open ball about p of

More information

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below.

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below. 54 Chapter 9 Hints, Answers, and Solutions 9. The Phase Plane 9.. 4. The particular trajectories are highlighted in the phase portraits below... 3. 4. 9..5. Shown below is one possibility with x(t) and

More information

(a) The points (3, 1, 2) and ( 1, 3, 4) are the endpoints of a diameter of a sphere.

(a) The points (3, 1, 2) and ( 1, 3, 4) are the endpoints of a diameter of a sphere. MATH 4 FINAL EXAM REVIEW QUESTIONS Problem. a) The points,, ) and,, 4) are the endpoints of a diameter of a sphere. i) Determine the center and radius of the sphere. ii) Find an equation for the sphere.

More information

4.1 Analysis of functions I: Increase, decrease and concavity

4.1 Analysis of functions I: Increase, decrease and concavity 4.1 Analysis of functions I: Increase, decrease and concavity Definition Let f be defined on an interval and let x 1 and x 2 denote points in that interval. a) f is said to be increasing on the interval

More information

Math 234 Final Exam (with answers) Spring 2017

Math 234 Final Exam (with answers) Spring 2017 Math 234 Final Exam (with answers) pring 217 1. onsider the points A = (1, 2, 3), B = (1, 2, 2), and = (2, 1, 4). (a) [6 points] Find the area of the triangle formed by A, B, and. olution: One way to solve

More information

Faculty of Engineering, Mathematics and Science School of Mathematics

Faculty of Engineering, Mathematics and Science School of Mathematics Faculty of Engineering, Mathematics and Science School of Mathematics GROUPS Trinity Term 06 MA3: Advanced Calculus SAMPLE EXAM, Solutions DAY PLACE TIME Prof. Larry Rolen Instructions to Candidates: Attempt

More information

Lecture notes for Math Multivariable Calculus

Lecture notes for Math Multivariable Calculus Lecture notes for Math 417-517 Multivariable alculus J. Dimock Dept. of Mathematics SUNY at Buffalo Buffalo, NY 14260 December 4, 2012 ontents 1 multivariable calculus 3 1.1 vectors....................................

More information

SOLUTIONS TO THE FINAL EXAM. December 14, 2010, 9:00am-12:00 (3 hours)

SOLUTIONS TO THE FINAL EXAM. December 14, 2010, 9:00am-12:00 (3 hours) SOLUTIONS TO THE 18.02 FINAL EXAM BJORN POONEN December 14, 2010, 9:00am-12:00 (3 hours) 1) For each of (a)-(e) below: If the statement is true, write TRUE. If the statement is false, write FALSE. (Please

More information

Calculus 2 A collection of solved exercises

Calculus 2 A collection of solved exercises Czech Technical University in Prague Calculus A collection of solved exercises Miroslav Korbelář Paola Vivi Department of Mathematics Faculty of Electrical Engineering Prague 16 Contents 1 Sets in R n

More information

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, MATH 20550 The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input, F(x 1,, x n ) F 1 (x 1,, x n ),, F m (x 1,, x n ) where each

More information

Math 10C - Fall Final Exam

Math 10C - Fall Final Exam Math 1C - Fall 217 - Final Exam Problem 1. Consider the function f(x, y) = 1 x 2 (y 1) 2. (i) Draw the level curve through the point P (1, 2). Find the gradient of f at the point P and draw the gradient

More information

Review Sheet for the Final

Review Sheet for the Final Review Sheet for the Final Math 6-4 4 These problems are provided to help you study. The presence of a problem on this handout does not imply that there will be a similar problem on the test. And the absence

More information

Directional Derivative and the Gradient Operator

Directional Derivative and the Gradient Operator Chapter 4 Directional Derivative and the Gradient Operator The equation z = f(x, y) defines a surface in 3 dimensions. We can write this as z f(x, y) = 0, or g(x, y, z) = 0, where g(x, y, z) = z f(x, y).

More information

e x3 dx dy. 0 y x 2, 0 x 1.

e x3 dx dy. 0 y x 2, 0 x 1. Problem 1. Evaluate by changing the order of integration y e x3 dx dy. Solution:We change the order of integration over the region y x 1. We find and x e x3 dy dx = y x, x 1. x e x3 dx = 1 x=1 3 ex3 x=

More information

1. Find and classify the extrema of h(x, y) = sin(x) sin(y) sin(x + y) on the square[0, π] [0, π]. (Keep in mind there is a boundary to check out).

1. Find and classify the extrema of h(x, y) = sin(x) sin(y) sin(x + y) on the square[0, π] [0, π]. (Keep in mind there is a boundary to check out). . Find and classify the extrema of hx, y sinx siny sinx + y on the square[, π] [, π]. Keep in mind there is a boundary to check out. Solution: h x cos x sin y sinx + y + sin x sin y cosx + y h y sin x

More information

MIDTERM EXAMINATION. Spring MTH301- Calculus II (Session - 3)

MIDTERM EXAMINATION. Spring MTH301- Calculus II (Session - 3) ASSALAM O ALAIKUM All Dear fellows ALL IN ONE MTH3 Calculus II Midterm solved papers Created BY Ali Shah From Sahiwal BSCS th semester alaoudin.bukhari@gmail.com Remember me in your prayers MIDTERM EXAMINATION

More information

LB 220 Homework 4 Solutions

LB 220 Homework 4 Solutions LB 220 Homework 4 Solutions Section 11.4, # 40: This problem was solved in class on Feb. 03. Section 11.4, # 42: This problem was also solved in class on Feb. 03. Section 11.4, # 43: Also solved in class

More information

PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS. First Order Equations. p(x)dx)) = q(x) exp(

PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS. First Order Equations. p(x)dx)) = q(x) exp( PUTNAM PROBLEMS DIFFERENTIAL EQUATIONS First Order Equations 1. Linear y + p(x)y = q(x) Muliply through by the integrating factor exp( p(x)) to obtain (y exp( p(x))) = q(x) exp( p(x)). 2. Separation of

More information

Differentiation ( , 9.5)

Differentiation ( , 9.5) Chapter 2 Differentiation (8.1 8.3, 9.5) 2.1 Rate of Change (8.2.1 5) Recall that the equation of a straight line can be written as y = mx + c, where m is the slope or graient of the line, an c is the

More information

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1. MTH4101 CALCULUS II REVISION NOTES 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) 1.1 Introduction Types of numbers (natural, integers, rationals, reals) The need to solve quadratic equations:

More information

Calculus I Review Solutions

Calculus I Review Solutions Calculus I Review Solutions. Compare and contrast the three Value Theorems of the course. When you would typically use each. The three value theorems are the Intermediate, Mean and Extreme value theorems.

More information

Exercise 8.1 We have. the function is differentiable, with. f (x 0, y 0 )(u, v) = (2ax 0 + 2by 0 )u + (2bx 0 + 2cy 0 )v.

Exercise 8.1 We have. the function is differentiable, with. f (x 0, y 0 )(u, v) = (2ax 0 + 2by 0 )u + (2bx 0 + 2cy 0 )v. Exercise 8.1 We have f(x, y) f(x 0, y 0 ) = a(x 0 + x) 2 + 2b(x 0 + x)(y 0 + y) + c(y 0 + y) 2 ax 2 0 2bx 0 y 0 cy 2 0 = (2ax 0 + 2by 0 ) x + (2bx 0 + 2cy 0 ) y + (a x 2 + 2b x y + c y 2 ). By a x 2 +2b

More information

Summer 2017 MATH Solution to Exercise 5

Summer 2017 MATH Solution to Exercise 5 Summer 07 MATH00 Solution to Exercise 5. Find the partial derivatives of the following functions: (a (xy 5z/( + x, (b x/ x + y, (c arctan y/x, (d log((t + 3 + ts, (e sin(xy z 3, (f x α, x = (x,, x n. (a

More information

II. An Application of Derivatives: Optimization

II. An Application of Derivatives: Optimization Anne Sibert Autumn 2013 II. An Application of Derivatives: Optimization In this section we consider an important application of derivatives: finding the minimum and maximum points. This has important applications

More information

Math 350 Solutions for Final Exam Page 1. Problem 1. (10 points) (a) Compute the line integral. F ds C. z dx + y dy + x dz C

Math 350 Solutions for Final Exam Page 1. Problem 1. (10 points) (a) Compute the line integral. F ds C. z dx + y dy + x dz C Math 35 Solutions for Final Exam Page Problem. ( points) (a) ompute the line integral F ds for the path c(t) = (t 2, t 3, t) with t and the vector field F (x, y, z) = xi + zj + xk. (b) ompute the line

More information

4B. Line Integrals in the Plane

4B. Line Integrals in the Plane 4. Line Integrals in the Plane 4A. Plane Vector Fields 4A-1 Describe geometrically how the vector fields determined by each of the following vector functions looks. Tell for each what the largest region

More information

Lecture 13 - Wednesday April 29th

Lecture 13 - Wednesday April 29th Lecture 13 - Wednesday April 29th jacques@ucsdedu Key words: Systems of equations, Implicit differentiation Know how to do implicit differentiation, how to use implicit and inverse function theorems 131

More information

1 Lagrange Multiplier Method

1 Lagrange Multiplier Method 1 Lagrange Multiplier Method Near a maximum the decrements on both sides are in the beginning only imperceptible. J. Kepler When a quantity is greatest or least, at that moment its flow neither increases

More information

Functions. A function is a rule that gives exactly one output number to each input number.

Functions. A function is a rule that gives exactly one output number to each input number. Functions A function is a rule that gives exactly one output number to each input number. Why it is important to us? The set of all input numbers to which the rule applies is called the domain of the function.

More information

Vector Calculus handout

Vector Calculus handout Vector Calculus handout The Fundamental Theorem of Line Integrals Theorem 1 (The Fundamental Theorem of Line Integrals). Let C be a smooth curve given by a vector function r(t), where a t b, and let f

More information

Chapter 4. Several-variable calculus. 4.1 Derivatives of Functions of Several Variables Functions of Several Variables

Chapter 4. Several-variable calculus. 4.1 Derivatives of Functions of Several Variables Functions of Several Variables Chapter 4 Several-variable calculus 4.1 Derivatives of Functions of Several Variables 4.1.1 Functions of Several Variables ² A function f of n variables (x 1,x 2,...,x n ) in R n is an entity that operates

More information

MATH 317 Fall 2016 Assignment 5

MATH 317 Fall 2016 Assignment 5 MATH 37 Fall 26 Assignment 5 6.3, 6.4. ( 6.3) etermine whether F(x, y) e x sin y îı + e x cos y ĵj is a conservative vector field. If it is, find a function f such that F f. enote F (P, Q). We have Q x

More information

Dr. Allen Back. Oct. 6, 2014

Dr. Allen Back. Oct. 6, 2014 Dr. Allen Back Oct. 6, 2014 Distribution Min=48 Max=100 Q1=74 Median=83 Q3=91.5 mean = 81.48 std. dev. = 12.5 Distribution Distribution: (The letters will not be directly used.) Scores Freq. 100 2 98-99

More information

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2. Midterm 1 Review Comments about the midterm The midterm will consist of five questions and will test on material from the first seven lectures the material given below. No calculus either single variable

More information

Integral Vector Calculus

Integral Vector Calculus ontents 29 Integral Vector alculus 29.1 Line Integrals Involving Vectors 2 29.2 Surface and Volume Integrals 34 29.3 Integral Vector Theorems 54 Learning outcomes In this Workbook you will learn how to

More information

3.7 Constrained Optimization and Lagrange Multipliers

3.7 Constrained Optimization and Lagrange Multipliers 3.7 Constrained Optimization and Lagrange Multipliers 71 3.7 Constrained Optimization and Lagrange Multipliers Overview: Constrained optimization problems can sometimes be solved using the methods of the

More information