Functions of several variables

Similar documents
Definitions and claims functions of several variables

Math 148 Exam III Practice Problems

Lecture 19 - Partial Derivatives and Extrema of Functions of Two Variables

Review guide for midterm 2 in Math 233 March 30, 2009

Maxima and Minima. Terminology note: Do not confuse the maximum f(a, b) (a number) with the point (a, b) where the maximum occurs.

FUNCTIONS OF SEVERAL VARIABLES AND PARTIAL DIFFERENTIATION

Practice problems from old exams for math 233

Exam 2 Summary. 1. The domain of a function is the set of all possible inputes of the function and the range is the set of all outputs.

Review Sheet for Math 230, Midterm exam 2. Fall 2006

MATH 105: Midterm #1 Practice Problems

Section 15.3 Partial Derivatives

Solutions to the problems from Written assignment 2 Math 222 Winter 2015

CHAPTER 11 PARTIAL DERIVATIVES

MATH Exam 2 Solutions November 16, 2015

11.7 Maximum and Minimum Values

Exam 2 Review Sheet. r(t) = x(t), y(t), z(t)

ANSWER KEY. (a) For each of the following partials derivatives, use the contour plot to decide whether they are positive, negative, or zero.

Section 14.3 Partial Derivatives

Math 2411 Calc III Practice Exam 2

Math 233. Extrema of Functions of Two Variables Basics

[f(t)] 2 + [g(t)] 2 + [h(t)] 2 dt. [f(u)] 2 + [g(u)] 2 + [h(u)] 2 du. The Fundamental Theorem of Calculus implies that s(t) is differentiable and

INTEGRATION OVER NON-RECTANGULAR REGIONS. Contents 1. A slightly more general form of Fubini s Theorem

2.1 Partial Derivatives

Math 32, October 22 & 27: Maxima & Minima

Double Integrals over More General Regions

The Chain Rule, Higher Partial Derivatives & Opti- mization

Multiple Integrals. Advanced Calculus. Lecture 1 Dr. Lahcen Laayouni. Department of Mathematics and Statistics McGill University.

Trigonometry. David R. Wilkins

Partial Differentiation 1 Introduction

REVIEW SHEET FOR MIDTERM 2: ADVANCED

MATH 261 EXAM II PRACTICE PROBLEMS

This exam contains 9 problems. CHECK THAT YOU HAVE A COMPLETE EXAM.

33. Riemann Summation over Rectangular Regions

Similarly, the point marked in red below is a local minimum for the function, since there are no points nearby that are lower than it:

Math Final Exam - 6/11/2015

WESI 205 Workbook. 1 Review. 2 Graphing in 3D

MULTI-VARIABLE OPTIMIZATION NOTES. 1. Identifying Critical Points

Test Yourself. 11. The angle in degrees between u and w. 12. A vector parallel to v, but of length 2.

University of California, Berkeley Department of Mathematics 5 th November, 2012, 12:10-12:55 pm MATH 53 - Test #2

Name: ID: Section: Math 233 Exam 2. Page 1. This exam has 17 questions:

Differentiable functions (Sec. 14.4)

Unit 7 Partial Derivatives and Optimization

Final Exam Review Problems. P 1. Find the critical points of f(x, y) = x 2 y + 2y 2 8xy + 11 and classify them.

Estimating Areas. is reminiscent of a Riemann Sum and, amazingly enough, will be called a Riemann Sum. Double Integrals

Math 5BI: Problem Set 1 Linearizing functions of several variables

14.2 Limits and Continuity

MATH 234 THIRD SEMESTER CALCULUS

Chapter 16. Partial Derivatives

Calculus II Fall 2014

i + u 2 j be the unit vector that has its initial point at (a, b) and points in the desired direction. It determines a line in the xy-plane:

MATH 12 CLASS 9 NOTES, OCT Contents 1. Tangent planes 1 2. Definition of differentiability 3 3. Differentials 4

VECTOR CALCULUS Julian.O 2016

MATH Review Exam II 03/06/11

MATH 259 FINAL EXAM. Friday, May 8, Alexandra Oleksii Reshma Stephen William Klimova Mostovyi Ramadurai Russel Boney A C D G H B F E

MATH 8 FALL 2010 CLASS 27, 11/19/ Directional derivatives Recall that the definitions of partial derivatives of f(x, y) involved limits

Instructions: Good luck! Math 21a Second Midterm Exam Spring, 2009

11.2 LIMITS AND CONTINUITY

Practice problems from old exams for math 233

MATH 20C: FUNDAMENTALS OF CALCULUS II FINAL EXAM

F13 Study Guide/Practice Exam 3

Mock final exam Math fall 2007

Independence of Path and Conservative Vector Fields

I II III IV V VI VII VIII IX X Total

LECTURE 19 - LAGRANGE MULTIPLIERS

Maxima and Minima. Chapter Local and Global extrema. 5.2 Continuous functions on closed and bounded sets Definition of global extrema

Lecture 4 : Monday April 6th

Lecture 19. Vector fields. Dan Nichols MATH 233, Spring 2018 University of Massachusetts. April 10, 2018.

Math 2321 Review for Test 2 Fall 11

Section 3: Functions of several variables.

SYDE 112, LECTURE 34 & 35: Optimization on Restricted Domains and Lagrange Multipliers

VectorPlot[{y^2-2x*y,3x*y-6*x^2},{x,-5,5},{y,-5,5}]

Discussion 8 Solution Thursday, February 10th. Consider the function f(x, y) := y 2 x 2.

14.7 Maximum and Minimum Values

11/1/2017 Second Hourly Practice 2 Math 21a, Fall Name:

Calculus of Several Variables

Independent of path Green s Theorem Surface Integrals. MATH203 Calculus. Dr. Bandar Al-Mohsin. School of Mathematics, KSU 20/4/14

4 to find the dimensions of the rectangle that have the maximum area. 2y A =?? f(x, y) = (2x)(2y) = 4xy

Math 122: Final Exam Review Sheet

SOLUTIONS 2. PRACTICE EXAM 2. HOURLY. Problem 1) TF questions (20 points) Circle the correct letter. No justifications are needed.

Review Problems. Calculus IIIA: page 1 of??

Mathematics 205 HWK 19b Solutions Section 16.2 p750. (x 2 y) dy dx. 2x 2 3

Calculus IV Math 2443 Review for Exam 2 on Mon Oct 24, 2016 Exam 2 will cover This is only a sample. Try all the homework problems.

PREREQUISITE/PRE-CALCULUS REVIEW

14.6 Directional Derivatives

EXERCISES CHAPTER 11. z = f(x, y) = A x α 1. x y ; (3) z = x2 + 4x + 2y. Graph the domain of the function and isoquants for z = 1 and z = 2.

DIFFERENTIAL EQUATIONS. A principal model of physical phenomena.

MA 524 Midterm Solutions October 16, 2018

11/18/2008 SECOND HOURLY FIRST PRACTICE Math 21a, Fall Name:

MATH 253 Page 1 of 7 Student-No.: Midterm 2 November 16, 2016 Duration: 50 minutes This test has 4 questions on 7 pages, for a total of 40 points.

18.3. Stationary Points. Introduction. Prerequisites. Learning Outcomes

11/2/2016 Second Hourly Practice I Math 21a, Fall Name:

B) 0 C) 1 D) No limit. x2 + y2 4) A) 2 B) 0 C) 1 D) No limit. A) 1 B) 2 C) 0 D) No limit. 8xy 6) A) 1 B) 0 C) π D) -1

47. Conservative Vector Fields

Math for Economics 1 New York University FINAL EXAM, Fall 2013 VERSION A

1. Vector Fields. f 1 (x, y, z)i + f 2 (x, y, z)j + f 3 (x, y, z)k.

14.4. Tangent Planes. Tangent Planes. Tangent Planes. Tangent Planes. Partial Derivatives. Tangent Planes and Linear Approximations

266&deployment= &UserPass=b3733cde68af274d036da170749a68f6

ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 6 - Tues 17th Oct 2017 Functions of Several Variables and Partial Derivatives

Directional Derivative, Gradient and Level Set

7/26/2018 SECOND HOURLY PRACTICE I Maths 21a, O.Knill, Summer Name:

Transcription:

Chapter 6 Functions of several variables 6.1 Limits and continuity Definition 6.1 (Euclidean distance). Given two points P (x 1, y 1 ) and Q(x, y ) on the plane, we define their distance by the formula P Q = (x 1 x ) + (y 1 y ). Lemma 6. (Properties of distance). Each of the following statements is true. (a) Distance is symmetric: one has P Q = Q P for all P, Q R ; (b) Distance is non-negative: one has P Q with equality if and only if P = Q; (c) Triangle inequality: one has P Q P R + R Q for all P, Q, R R. Definition 6.3 (Limits). Let f(x, y) be a function of two variables and (x, y ) R be fixed. If there exists a number L that the values f(x, y) approach as (x, y) approaches (x, y ), then one expresses this fact by writing lim (x,y) (x,y ) f(x, y) = L. More precisely, this equation means that given any ε >, there exists some δ > such that (x, y) (x, y ) < δ = f(x, y) L < ε. If no number L has this property, then we say that the limit does not exist. Example 6.4. We show that the limit L = lim (x,y) (,) x y x + y does not exist. First of all, let us use polar coordinates to express the given fraction as x y x + y = r cos θ r sin θ r cos θ + r sin θ = cos θ sin θ. 45

46 CHAPTER 6. FUNCTIONS OF SEVERAL VARIABLES If the point (x, y) approaches the origin at an angle of θ =, then the last equation gives x y x + y = cos sin = 1. On the other hand, if (x, y) approaches the origin at an angle of θ = π/, then we get x y x + y = cos (π/) sin (π/) = 1. Thus, the given function does not really approach any particular value as (x, y) approaches the origin, and this means that the given limit does not really exist. Example 6.5. We show that the limit M = lim (x,y) (,) x y x + y is equal to zero. Once again, we use polar coordinates to express the given fraction as f(x, y) = x y x + y = r cos θ r sin θ r cos θ + r sin θ = r cos θ sin θ. Since (x, y) approaches the origin, we have r = x + y and so the given function must approach zero as well. More precisely, we have f(x, y) = r cos θ sin θ r and the fact that r implies that f(x, y) because of the Squeeze Law. Proposition 6.6 (Properties of limits). Each of the following statements is true. (a) The limit of a sum/product is equal to the sum/product of the limits, respectively. (b) When defined, the limit of a quotient is equal to the quotient of the limits. Definition 6.7 (Special functions). A linear function is one that has the form f(x, y) = Ax + By + C for some constants A, B, C R. A polynomial function is one that has the form f(x, y) = n a ij x i y j for some coefficients a ij R. Finally, a rational function is the quotient of two polynomials. i,j=

6.. PARTIAL DERIVATIVES 47 Definition 6.8 (Continuity). Let f(x, y) be a function of two variables and (x, y ) R be fixed. We say that f is continuous at the point (x, y ), if lim f(x, y) = f(x, y ). (x,y) (x,y ) This means that limits of continuous functions can be computed by simple substitution. Proposition 6.9 (Continuous functions). Each of the following statements is true. (a) The sum/product/quotient of two continuous functions is continuous wherever defined. (b) All linear/polynomial/rational functions are continuous wherever defined. (c) Let f : R R be a function of two variables and let g : R R be a function of a single variable. If f, g are both continuous, then so is their composition g f : R R. 6. Partial derivatives Definition 6.1 (Partial derivatives). Given a function f(x, y) of two variables, we define its partial derivative f x as the derivative of f with respect to x when y is treated as a constant. Its partial derivative f y is defined similarly by interchanging the roles of x and y. Lemma 6.11 (Rules of differentiation). The usual rules of differentiation for functions of one variable may still be used to compute partial derivatives for functions of two variables. Example 6.1. The partial derivatives of f(x, y) = sin(x y) are given by f x (x, y) = cos(x y) (x y) x = cos(x y) xy, f y (x, y) = cos(x y) (x y) y = cos(x y) x. Theorem 6.13 (Mixed partials). If the mixed partial derivatives f xy and f yx happen to be continuous, then they must also be equal to one another. Definition 6.14 (Directional derivative). Let f(x, y) be a function of two variables and let (x, y ) R be fixed. Given a unit vector u = a, b, we define the directional derivative of f in the direction of u as the rate at which f changes in that direction, namely D u f(x, y ) = af x (x, y ) + bf y (x, y ). Definition 6.15 (Gradient). Given a function f(x, y) of two variables, we define its gradient as the vector f(x, y) = f x, f y. Using this notation, one can then write D u f(x, y ) = f(x, y ) u.

48 CHAPTER 6. FUNCTIONS OF SEVERAL VARIABLES Example 6.16. Let f(x, y) = 3x 4xy. When it comes to the point (1, 1), we have f(x, y) = f x, f y = 6x 4y, 8xy = f(1, 1) =, 8. Thus, the directional derivative of f in the direction of the unit vector u = 3/5, 4/5 is D u f(1, 1) = f(1, 1) u = 3 5 4 5 8 = 6 5. Remark. For a function f(x, y, z) of three variables, our last two definitions take the form f = f x, f y, f z, D u f = f u and the vector u is supposed to be a unit vector as before. To deal with an arbitrary vector, one may simply divide it by its length to turn it into a unit vector. Theorem 6.17 (Interpretation of gradient). The gradient vector f gives the direction in which f increases most rapidly. Similarly, f gives the direction of most rapid decrease. Theorem 6.18 (Chain rule, version 1). Suppose f(x, y) depends on two variables, each of which depends on a third variable t. Then the derivative of f with respect to t is given by f t = f x x t + f y y t. Theorem 6.19 (Chain rule, version ). Suppose f(x, y) depends on two variables, each of which depends on the variables s, t. Then the partial derivatives f s and f t are given by f s = f x x s + f y y s, f t = f x x t + f y y t. Remark. Similar versions of the chain rule apply for functions f(x, y, z) of three variables. In that case, the derivative f s with respect to a variable on which f depends indirectly (a variable other than x, y, z) can be expressed in terms of derivatives with respect to variables on which it depends directly. When f = f(x, y, z), for instance, we have f s = f x x s + f y y s + f z z s. Example 6.. Suppose that u = x y, where x = r cos θ and y = r sin θ. Then u r = u x x r + u y y r = xy cos θ + x sin θ, u θ = u x x θ + u y y θ = xyr sin θ + x r cos θ. Example 6.1. Suppose that z = z(r, s, t), where r = u + v, s = 3u and t = 4v. Then z u = z r r u + z s s u + z t t u = 1z r + 3z s + z t = z r + 3z s, z v = z r r v + z s s v + z t t v = z r + z s + 4z t = z r + 4z t.

6.3. APPLICATIONS OF PARTIAL DERIVATIVES 49 6.3 Applications of partial derivatives Definition 6. (Convergence in R ). We say that a sequence {(x n, y n )} of points in R is convergent, if the sequences {x n } and {y n } are both convergent. Theorem 6.3 (Bolzano-Weierstrass in R ). If a sequence of points in R is bounded, then it has a convergent subsequence. Definition 6.4 (Closed in R ). We say that a subset A R is closed, if the limit of every sequence of points in A must itself lie in A. Intuitively speaking, this means that the set A contains its boundary. For example, the unit disk D = {(x, y) R : x + y 1} is closed. Theorem 6.5 (EXTREME VALUE THEOREM). Suppose f(x, y) is continuous on a closed, bounded region. Then f attains both its minimum and its maximum value. Theorem 6.6 (Location of min/max). Suppose f(x, y) is continuous on a closed, bounded region R. Then the only points at which the min/max values of f may occur are points where one of the partial derivatives f x, f y does not exist; points where f x = f y = (also known as critical points); and points on the boundary of R. Example 6.7. We find the minimum value of f(x, y) = x 3 3x + 9y over the disk D = {(x, y) R : x + y 9}. In this case, both f x and f y exist at all points, so we need only check the critical points and the points on the boundary. To find the critical points, we need to solve the equations = f x (x, y) = 6x 6x = 6x(x 1), = f y (x, y) = 18y. The only critical points are then (, ) and (1, ), while the corresponding values are f(, ) =, f(1, ) = 1. To check the points on the boundary, we note that y = 9 x for all such points, hence f(x, y) = x 3 3x + 9(9 x ) = x 3 1x + 81 and we need to find the minimum value of this function on [ 3, 3]. Noting that g(x) = x 3 1x + 81 = g (x) = 6x 4x = 6x(x 4), we see that the minimum value may only occur at x = 3, x = 3 or x =. Since g( 3) = 81, g(3) = 7, g() = 81, the minimum value of f over the whole region is the value g( 3) = 81.

5 CHAPTER 6. FUNCTIONS OF SEVERAL VARIABLES Theorem 6.8 (Local extrema). Suppose that (x, y ) is a critical point of f and that the mixed partials f xy, f yx are continuous at (x, y ). Let H denote the Hessian matrix [ ] fxx f xy consisting of all second-order partial derivatives evaluated at the given point. f yx (a) If H has both positive and negative eigenvalues, then f has a saddle point at (x, y ). (b) If the eigenvalues of H are all positive, then f has a local minimum at (x, y ). (c) If the eigenvalues of H are all negative, then f has a local maximum at (x, y ). Theorem 6.9 (Local extrema in R ). Let (x, y ) and H be as in the previous theorem. (a) If det H < at the given point, then f has a saddle point there. (b) If det H > and f xx > at the given point, then f has a local minimum there. (c) If det H > and f xx < at the given point, then f has a local maximum there. Example 6.3. We classify the critical points of f yy f(x, y) = x xy + y x y. In order to find these points, we have to solve the equations = f x (x, y) = x y, = f y (x, y) = x + y. We multiply the first equation by and then add it to the second equation to get = 3x 6 = 3(x ) = x = = y = x =. This makes (, ) the only critical point, while the Hessian at that point is [ ] [ ] fxx f xy 1 =. 1 f yx Since det 4 1 > and f xx = >, the critical point (, ) is a local minimum. f yy Example 6.31. We classify the critical points of f(x, y) = 3xy x 3 y 3. In order to find these points, we have to solve the equations = f x (x, y) = 3y 3x, = f y (x, y) = 3x 3y.

6.4. DOUBLE INTEGRALS 51 These give y = x and also x = y, so we easily get x = y = x 4 = x 4 x = = x(x 3 1) = = x =, 1. Thus, the only critical points are (, ) and (1, 1), while the Hessian is given by [ ] fxx f xy = f yx f yy When it comes to the critical point (, ), we get [ ] 3 3 [ ] 6x 3. 3 6y = det 9 < so this point is a saddle point. When it comes to the critical point (1, 1), we similarly get [ ] 6 3 3 6 = det 36 9 >. Since f xx (1, 1) = 6 <, however, the critical point (1, 1) is a local maximum. 6.4 Double integrals Definition 6.3 (Darboux sums). Suppose f is bounded on the rectangle R = [a, b] [c, d]. Given partitions P = {x, x 1,..., x n } and Q = {y, y 1,..., y m } of [a, b] and [c, d], respectively, we may then define the lower Darboux sum as n 1 S (f, P, Q) = k= m 1 l= inf f(x, y) (x k+1 x k )(y l+1 y l ), R kl where R kl = [x k, x k+1 ] [y l, y l+1 ]. The upper Darboux sum is defined similarly by setting n 1 S + (f, P, Q) = k= m 1 l= sup R kl f(x, y) (x k+1 x k )(y l+1 y l ). Definition 6.33 (Integrability). Suppose f is bounded on the rectangle R = [a, b] [c, d]. If it happens that sup S = inf S +, then we say that f is integrable over R and we also write R f(x, y) da = sup P,Q S (f, P, Q) = inf P,Q S+ (f, P, Q). Theorem 6.34 (Continuous functions are integrable). If a function is continuous on a rectangle R, then it is also integrable over R.

5 CHAPTER 6. FUNCTIONS OF SEVERAL VARIABLES Definition 6.35 (Integrals over general regions). Suppose f is continuous on a closed, bounded region R and let f be the function defined by { } f(x, y) if (x, y) R f (x, y) =. if (x, y) / R Then the double integral of f over R is defined by the formula f(x, y) da = f (x, y) da, where R is any rectangle which is large enough to contain R. R Theorem 6.36 (Fubini s theorem). Suppose f is continuous on a closed, bounded region R that can be described in two different ways, say R R = {(x, y) R : a x b, R = {(x, y) R : c y d, g 1 (x) y g (x)}, h 1 (y) x h (y)}. Then the double integral of f over R can be computed in two different ways, namely R f(x, y) da = b g (x) a g 1 (x) f(x, y) dy dx = d h (y) c h 1 (y) Example 6.37. Switching the order of integration, one easily finds that 1 1 y e x dx dy = 1 x e x dy dx = 1 xe x dx = [ f(x, y) dx dy. ] 1 e x = e 1 Example 6.38. We switch the order of integration in order to compute the integral. I = 4 e y/x y/ In this case, the inner integral is given by x dx dy = x e y/x x dy dx. x e y/x x dy = 1 x x e y/x dy = 1 x [ xe y/x ] y=x y= = e4 1 and so the double integral I is equal to I = x e y/x x dy dx = e 4 1 dx = e 4 1.