Lecture 4 : Monday April 6th

Similar documents
CHAPTER 11 PARTIAL DERIVATIVES

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

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

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

2.1 Partial Derivatives

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:

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

Calculus II Fall 2014

Definitions and claims functions of several variables

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

LECTURE 19 - LAGRANGE MULTIPLIERS

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

Chapter 9 Linear equations/graphing. 1) Be able to graph points on coordinate plane 2) Determine the quadrant for a point on coordinate plane

Section 15.3 Partial Derivatives

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

Independence of Path and Conservative Vector Fields

Mock final exam Math fall 2007

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

Math 2411 Calc III Practice Exam 2

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

Practice problems from old exams for math 233

Level Curves, Partial Derivatives

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

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.

FUNCTIONS OF SEVERAL VARIABLES AND PARTIAL DIFFERENTIATION

Exam 1 Study Guide. Math 223 Section 12 Fall Student s Name

MATH 105: Midterm #1 Practice Problems

Lecture 26: Conservative Vector Fields

MATH Review Exam II 03/06/11

Practice problems from old exams for math 233

47. Conservative Vector Fields

Partial Differentiation 1 Introduction

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:

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

Section 3: Functions of several variables.

Goals: To study constrained optimization; that is, the maximizing or minimizing of a function subject to a constraint (or side condition).

[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

We like to depict a vector field by drawing the outputs as vectors with their tails at the input (see below).

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

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

(d) If a particle moves at a constant speed, then its velocity and acceleration are perpendicular.

On Surfaces of Revolution whose Mean Curvature is Constant

The Chain Rule, Higher Partial Derivatives & Opti- mization

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

18.3. Stationary Points. Introduction. Prerequisites. Learning Outcomes

Review Problems. Calculus IIIA: page 1 of??

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

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

11.7 Maximum and Minimum Values

4 The Cartesian Coordinate System- Pictures of Equations

Directional Derivative, Gradient and Level Set

1. Let f(x, y) = 4x 2 4xy + 4y 2, and suppose x = cos t and y = sin t. Find df dt using the chain rule.

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

Year 11 Graphing Notes

1.6. QUADRIC SURFACES 53. Figure 1.18: Parabola y = 2x 2. Figure 1.19: Parabola x = 2y 2

Calculus 3 Exam 2 31 October 2017

Functions of several variables

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

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.

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

Math 259 Winter Recitation Handout 9: Lagrange Multipliers

Functions of more than one variable

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

Lecture 15. Global extrema and Lagrange multipliers. Dan Nichols MATH 233, Spring 2018 University of Massachusetts

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

Section 14.3 Partial Derivatives

MATH Exam 2 Solutions November 16, 2015

Now we are going to introduce a new horizontal axis that we will call y, so that we have a 3-dimensional coordinate system (x, y, z).

VECTOR CALCULUS Julian.O 2016

MATH 234 THIRD SEMESTER CALCULUS

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

266&deployment= &UserPass=b3733cde68af274d036da170749a68f6

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

Partial derivatives and their application.

Chapter 16. Partial Derivatives

Unit 7 Partial Derivatives and Optimization

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.

11.2 LIMITS AND CONTINUITY

REVIEW SHEET FOR MIDTERM 2: ADVANCED

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

Determine the intercepts of the line and ellipse below: Definition: An intercept is a point of a graph on an axis. Line: x intercept(s)

A General Procedure (Solids of Revolution) Some Useful Area Formulas

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

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

The Ellipse. PF 1 + PF 2 = constant. Minor Axis. Major Axis. Focus 1 Focus 2. Point 3.4.2

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

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

Appendix III Graphs in the Introductory Physics Laboratory

Unit 8 Trigonometry. Math III Mrs. Valentine

14.2 Limits and Continuity

Math 2321 Review for Test 2 Fall 11

E. Slope-Intercept Form and Direct Variation (pp )

Use smooth curves to complete the graph between and beyond the vertical asymptotes.

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

Math 148 Exam III Practice Problems

Differentiable functions (Sec. 14.4)

Examples: Find the domain and range of the function f(x, y) = 1 x y 2.

MULTI-VARIABLE OPTIMIZATION NOTES. 1. Identifying Critical Points

14.6 Directional Derivatives

ENGINEERING GRAPHICS 1E9

Transcription:

Lecture 4 : Monday April 6th jacques@ucsd.edu Key concepts : Tangent hyperplane, Gradient, Directional derivative, Level curve Know how to find equation of tangent hyperplane, gradient, directional derivatives, direction of fastest increase. 4.1 Differentiability Recall that f : R n R is differentiable at a point a R n if all partial derivatives f j (a) exist and f(x) f(a) n f j(a)(x j a j ) = 0. x a d(x, a) It is not enough that all the partial derivatives f j (a) exist for f to be differentiable at a. Remember here that x a means (x 1, x,..., x n ) (a 1, a,..., a n ). Let s do some examples. In all the examples p = (x, y). Example 1. The function f(x, y) = xy is differentiable at a = (0, 0), since f x (a) = 0 = f y (a) as we checked in a previous example, and p a xy x + y = 0. Let s use the ɛ-δ definition of its to see that this it is zero. Let g(x, y) be the function in the it. For every ɛ > 0 we must find a δ > 0 such that d(p, a) < δ ensures g(x, y) < ɛ. We claim that xy x + y. To see this, note that it is equivalent to x + y xy 0. But this is true since 0 ( x y ) = x + y xy x + y xy. Now we use this to show that f is differentiable: xy g(x, y) < ɛ < ɛ x + y x + y x + y < ɛ x + y < ɛ d(p, a) < ɛ. 1

So putting ɛ = δ in the definition of the it we get g(x, y) = 0 as required for f to be differentiable at (0, 0). There s an easier way to check the it is zero, using squeezing: note that xy 0 x + y xy = x y so the function in the it is between 0 and x. Since both of these have a it of zero as (x, y) (0, 0), so must xy/ x + y. Example. This example is almost a follow up to the last one, where we now put f(x, y) = xy. This function is not differentiable at a = (0, 0), since f x (0, 0) = f y (0, 0) = 0 as we saw last lecture, but xy x + y (x,y) a does not exist. To see that the it fails, along the line y = mx for m 0 the it is m x x 0 x + m x = 1 m and this depends on m. So f is not differentiable at (0, 0). 1.4 1. 1 0.8 0.6 0.4 0. - -1 0 1 f(x, y) = xy f(x, y) = x x Not differentiable at (0, 0). Not differentiable at 0.

4. Tangent plane In the case of a function of two variables, we represent a function f(x, y) graphically as a surface z = f(x, y). Provided the surface is smooth enough, we can speak of the plane tangent to z = f(x, y) at a point a R. For example, the surface z = x + y represents a paraboloid. At the point (0, 0), the tangent plane is horizontal and clearly given by the equation z = 0 i.e. the xy-plane. For our purposes, differentiability of an n-variable function f : R n R at a point is enough to guarantee the existence of a tangent hyperplane at that point. We generally imagine that f : R n R is a surface in n + 1 dimensions defined by the equation z = f(x 1, x,..., x n ). For n = 1, the tangent hyperplane is just a tangent line whose slope is given by derivatives. Here is the definition of the tangent hyperplane: Definition of tangent hyperplane. Let f : R n R be a function which is differentiable at a R n. Then the equation of the tangent hyperplane to f at a is given by z = f(a) + n f j (a)(x j a j ). Example 1. Let s check this makes sense for the paraboloid z = x + y at (x, y) = (0, 0). First note that if f(x, y) = x + y then f x (0, 0) = 0 = f y (0, 0). Next, to check differentiability, we see d((x, y), (0, 0)) = x + y and f(x, y) f(0, 0) xf x (0, 0) yf y (0, 0) x + y = (x,y) (0,0) x + y (x,y) (0,0) x + y = 0. Therefore f is differentiable at (0, 0). The equation of the tangent plane is as we expected. z = f(0, 0) + xf x (0, 0) + yf y (0, 0) = 0 Example. As another example, consider f(x, y) = x + y + xy. Then z = x + y + xy has a tangent plane at (x, y) = (0, 0) since f is differentiable at (0, 0): f(x, y) f(0, 0) xf x (0, 0) yf y (0, 0) x + y + xy x y = = 0 (x,y) (0,0) x + y (x,y) (0,0) x + y where the last step is left as an exercise. So the tangent plane is z = f(0, 0) + xf x (0, 0) + yf y (0, 0) = x + y. 3

4. Gradient and directional derivatives The derivatives f j (a) of a function f : R n R denote the slope of the surface z = f(x 1, x,..., x n ) in the direction of the x j -axis at the point a. The following definition holds all this information in the form of a single vector. Definition of gradient. The gradient of a function f : R n R is the vector of partial derivatives f = (f 1, f,..., f n ). Note that f is sometimes written grad(f). So the vector f(a) gives the slope or rate of change of f at a in the direction of the co-ordinate axes in the direction of the jth coordinate for each j. This also gives us a convenient way to write the sum in the definition of differentiability, and in the definition of the tangent plane: n f j (a)(x j a j ) = f(a) (x a) where the is the dot or scalar product of the vectors f(a) and x a. More generally, we can talk about the rate of change of f in the direction of any vector u. Definition of directional derivative. Given a unit vector (we sometimes call this a direction) u, the rate of change of f at a in the direction of u is defined by f(a) u = f x 1 (a)u 1 + f x (a)u + + f x n (a)u n = n f x j (a)u j. Here f(a) u is the dot product of f(a) and u. This is otherwise known as the directional derivative of f at a in the direction of u and gives the slope of f in all directions. The gradient of a function is extremely important when considering optimization problems for functions of several variables. The basic geometric significance of the gradient is as follows: Proposition. Let f : R n R and suppose f exists. Then f is the direction along which f is increasing the fastest. 4

This is true because the rate of change of f at a point a in the direction of a vector u is given by the directional derivative f(a) u = f(a) u cos φ where φ is the angle between f(a) and u. If u is a unit vector, then this is a maximum when φ = 0. This means u and f(a) are parallel vectors, as required. Example. The surface z = x + y + xy = f(x, y) increases fastest in the direction f(0, 0) = (1, 1) at (x, y) = (0, 0). In general, f = (1 + y, 1 + x). Now to work out the directional derivative of f at (0, 0) in the direction of the unit vector (1/, 1/ ), we compute f(0, 0) (1/, 1/ ) =. This is the slope of f from (0, 0) in the direction of (1/, 1/ ). 4.3 Level curves The gradient f for f : R n R can be considered as a function f : R n R n since to each a R n it assigns the vector f(a) R n. We may represent f as a vector field, where from each point a we draw the vector f(a). This vector field in one picture represents the rate of change of f at all points in all directions. If f represents a surface and we pour water on a point on that surface under the influence of gravity, then the water will flow along the lines of steepest descent from that point. This path is represented by the direction of steepest gradient at each point. If we were to draw contours on the surface it is intuitively clear that the gradient should be perpendicular to these contours. This leads us to the definition of level curves. For a function f : R R, the intersection of f with a given plane is a set of curves. For planes parallel to the xy-plane, defined by z = c, the level curves of z = f(x, y) are exactly the curves f(x, y) = c for various values of c. These are exactly the same as contour lines on a topographic map. What we said above is that the gradient is perpendicular to the level curves. Proposition. Let f : R R and suppose f exists. Then f(a) is perpendicular to the level curve passing through a. Example. Let f(x, y) = 1 x y for x + y 1. Then z = f(x, y) denotes a hemisphere and is differentiable at all points in the disc x + y < 1. The level curves of this surface are circles f(x, y) = c for c < 1: in other words they are 1 x y = c x + y = 1 c. The radius of this circle is 1 c. For example at height c = 1/ the level curve is x + y = 1/. Now the gradient is given by f = ( x/ 1 x y, y/ 1 x y ). 5

At the point (x, y) = (1/, 0) on the level curve of height 1/, the tangent vector is clearly parallel to the y-axis the direction of the contour at that point is (0, 1). Since (1/, 0) = ( 1, 0), we see that f(1/, 0) (0, 1) = 0 and so the gradient is indeed perpendicular to the level curve at the point (1/, 0). 6