Functions of Several Variables

Similar documents
3.6 Directional Derivatives and the Gradient Vector

d f(g(t), h(t)) = x dt + f ( y dt = 0. Notice that we can rewrite the relationship on the left hand side of the equality using the dot product: ( f

Kevin James. MTHSC 206 Section 15.6 Directional Derivatives and the Gra

Gradient and Directional Derivatives

Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives. Directional Derivatives

14.6 Directional Derivatives and the Gradient Vector

What you will learn today

12.7 Tangent Planes and Normal Lines

302 CHAPTER 3. FUNCTIONS OF SEVERAL VARIABLES. 4. Function of several variables, their domain. 6. Limit of a function of several variables

MATH 19520/51 Class 8

REVIEW I MATH 254 Calculus IV. Exam I (Friday, April 29) will cover sections

14.5 Directional Derivatives and the Gradient Vector

Math 21a Tangent Lines and Planes Fall, What do we know about the gradient f? Tangent Lines to Curves in the Plane.

Rectangular Coordinates in Space

Let and be a differentiable function. Let Then be the level surface given by

Lines and Planes in 3D

Directional Derivatives and the Gradient Vector Part 2

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Practice problems. 1. Given a = 3i 2j and b = 2i + j. Write c = i + j in terms of a and b.

Directional Derivatives and the Gradient Vector Part 2

Quadric Surfaces. Philippe B. Laval. Today KSU. Philippe B. Laval (KSU) Quadric Surfaces Today 1 / 24

Quadric Surfaces. Philippe B. Laval. Spring 2012 KSU. Philippe B. Laval (KSU) Quadric Surfaces Spring /

The directional derivative of f x, y in the direction of at x, y u. f x sa y sb f x y (, ) (, ) 0 0 y 0 0

f for Directional Derivatives and Gradient The gradient vector is calculated using partial derivatives of the function f(x,y).

3. The three points (2, 4, 1), (1, 2, 2) and (5, 2, 2) determine a plane. Which of the following points is in that plane?

UNIVERSIDAD CARLOS III DE MADRID MATHEMATICS II EXERCISES (SOLUTIONS ) CHAPTER 3: Partial derivatives and differentiation

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below:

Math 253, Section 102, Fall 2006 Practice Final Solutions

Differentiability and Tangent Planes October 2013

Curves, Tangent Planes, and Differentials ( ) Feb. 26, 2012 (Sun) Lecture 9. Partial Derivatives: Signs on Level Curves, Tangent

while its direction is given by the right hand rule: point fingers of the right hand in a 1 a 2 a 3 b 1 b 2 b 3 A B = det i j k

18.02 Final Exam. y = 0

Hw 4 Due Feb 22. D(fg) x y z (

MATH 230 FALL 2004 FINAL EXAM DECEMBER 13, :20-2:10 PM

Tangent Planes and Linear Approximations

Mat 241 Homework Set 7 Due Professor David Schultz

Introduction to PDEs: Notation, Terminology and Key Concepts

13.5 DIRECTIONAL DERIVATIVES and the GRADIENT VECTOR

Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives

Parametric Surfaces and Surface Area

A1:Orthogonal Coordinate Systems

Equation of tangent plane: for explicitly defined surfaces

MAT203 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS

Practice problems from old exams for math 233 William H. Meeks III December 21, 2009

Introduction to Functions of Several Variables

Quiz 6 Practice Problems

Multivariate Calculus: Review Problems for Examination Two

Background for Surface Integration

MA 243 Calculus III Fall Assignment 1. Reading assignments are found in James Stewart s Calculus (Early Transcendentals)

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines

Surfaces and Integral Curves

14.4: Tangent Planes and Linear Approximations

Equation of tangent plane: for implicitly defined surfaces section 12.9

Polar Coordinates. Chapter 10: Parametric Equations and Polar coordinates, Section 10.3: Polar coordinates 27 / 45

MATH Harrell. Which way is up? Lecture 9. Copyright 2008 by Evans M. Harrell II.

Lecture 6: Chain rule, Mean Value Theorem, Tangent Plane

TEST 3 REVIEW DAVID BEN MCREYNOLDS

GEOMETRY IN THREE DIMENSIONS

Math 20A lecture 10 The Gradient Vector

Trigonometric Functions of Any Angle

x 6 + λ 2 x 6 = for the curve y = 1 2 x3 gives f(1, 1 2 ) = λ actually has another solution besides λ = 1 2 = However, the equation λ

Math 5BI: Problem Set 2 The Chain Rule

Chapter 5 Partial Differentiation

Directional Derivatives as Vectors

Multivariate Calculus Review Problems for Examination Two

MATH 2400: CALCULUS 3 MAY 9, 2007 FINAL EXAM

Final Exam - Review. Cumulative Final Review covers sections and Chapter 12

Grad operator, triple and line integrals. Notice: this material must not be used as a substitute for attending the lectures

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

Math 213 Calculus III Practice Exam 2 Solutions Fall 2002

Linear Transformations

MATH203 Calculus. Dr. Bandar Al-Mohsin. School of Mathematics, KSU

The Differential df, the Gradient f, & the Directional Derivative Dû f sec 14.4 (cont), Goals. Warm-up: Differentiability. Notes. Notes.

Jim Lambers MAT 169 Fall Semester Lecture 33 Notes

Week 5: Geometry and Applications

Parametric Surfaces. Substitution

t dt ds Then, in the last class, we showed that F(s) = <2s/3, 1 2s/3, s/3> is arclength parametrization. Therefore,

Daily WeBWorK, #1. This means the two planes normal vectors must be multiples of each other.

Mathematically, the path or the trajectory of a particle moving in space in described by a function of time.

. Tutorial Class V 3-10/10/2012 First Order Partial Derivatives;...

Math 126 Final Examination Autumn CHECK that your exam contains 9 problems on 10 pages.

Math 209, Fall 2009 Homework 3

Practice problems from old exams for math 233

MATH 2023 Multivariable Calculus

Chapter 15 Vector Calculus

Coordinate Transformations in Advanced Calculus

Math 113 Calculus III Final Exam Practice Problems Spring 2003

MAC2313 Final A. a. The vector r u r v lies in the tangent plane of S at a given point. b. S f(x, y, z) ds = R f(r(u, v)) r u r v du dv.

MATH. 2153, Spring 16, MWF 12:40 p.m. QUIZ 1 January 25, 2016 PRINT NAME A. Derdzinski Show all work. No calculators. The problem is worth 10 points.

Polar Coordinates. Chapter 10: Parametric Equations and Polar coordinates, Section 10.3: Polar coordinates 28 / 46

Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers. Lagrange Multipliers

Review 1. Richard Koch. April 23, 2005

HOMEWORK ASSIGNMENT #4, MATH 253

1.5 Equations of Lines and Planes in 3-D

ds dt ds 1 dt 1 dt v v v dt ds and the normal vector is given by N

Preliminary Mathematics of Geometric Modeling (3)

6. Find the equation of the plane that passes through the point (-1,2,1) and contains the line x = y = z.

Applications of Triple Integrals

Suggested problems - solutions

5. y 2 + z 2 + 4z = 0 correct. 6. z 2 + x 2 + 2x = a b = 4 π

Transcription:

Functions of Several Variables Directional Derivatives and the Gradient Vector Philippe B Laval KSU April 7, 2012 Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 1 / 19

Introduction Partial derivatives allow us to find the rate of change of a function in the direction of its independent variables In this section we will learn how to find derivatives (rate of change) in any direction We will also learn about the very important gradient vector and study some of its applications Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 2 / 19

Directional Derivatives Definition The directional derivative of f at a point (x 0, y 0 ) in the direction of the unit vector u = a, b is given by: D u f (x 0, y 0 ) = lim h 0 f (x 0 + ah, y 0 + bh) f (x 0, y 0 ) h assuming this limit exists Definition The directional derivative of f at any point (x, y) in the direction of the unit vector u = a, b is given by: assuming this limit exists D u f (x, y) = lim h 0 f (x + ah, y + bh) f (x, y) h Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 3 / 19

Directional Derivatives Example Find the derivative of f (x, y) = x 2 + y 2 in the direction of u = 1, 2 at the point (1, 1, 2) Remark: It is important to use a unit vector for the direction in which we want to compute the derivative Theorem If f is a differentiable function in x and y, then f has a directional derivative in the direction of any unit vector u = a, b and D u f (x, y) = f x (x, y) a + f y (x, y) b If u makes an angle θ with the positive x-axis, then we also have D u f (x, y) = f x (x, y) cos θ + f y (x, y) sin θ Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 4 / 19

Gradient Vector The above formula, f x (x, y) a + f y (x, y) b can be written as f x (x, y), f y (x, y) a, b The vector on the left has a special name: the gradient vector Definition If f is a function of two variables in x and y, then the gradient of f, denoted f (read grad f or del f ) is defined by: f (x, y) = f x (x, y), f y (x, y) Example Compute the gradient of f (x, y) = sin xe y Example Compute f (0, 1) for f (x, y) = x 2 + y 2 + 2xy Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 5 / 19

Gradient Vector We can express the directional derivative in terms of the gradient Theorem If f is a differentiable function in x and y, then f has a directional derivative in the direction of any unit vector u = a, b and D u f (x, y) = f (x, y) u Remark: From the previous formulas, we can recover the formulas for the partials of f with respect to x and y For example, the partial of f with respect to x is the directional derivative of f in the direction of i = 1, 0 So, we have D i f (x, y) = f x (x, y), f y (x, y) 1, 0 = f x (x, y) Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 6 / 19

Higher Dimensions What we have derived above also applies to functions of three variables Given a function f (x, y, z) and a vector u = a, b, c, we have the following: f (x+ah,y+bh,z+ch) f (x,y,z) D u f (x, y, z) = lim h 0 h If we write x = (x, y, z), then we can write D u f ( x ) = lim variables h 0 f ( x +h u ) f ( x ) f (x, y, z) = f x, f y, f z h and this works for functions of 2 or 3 We can write D u f (x, y, z) = f (x, y, z) u Example Find the directional derivative of f (x, y, z) = x cos y sin z at ( 1, π, π ) 4 in the direction of u = 2, 1, 4 Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 7 / 19

Maximizing the Directional Derivative As we saw above, the gradient can be used to find the directional derivative It has many more applications One such application is that we can use the gradient to find the direction in which a function has the largest rate of change If you think of the graph of a function as a 2-D surface in 3-D, or a terrain on which you are walking, then the gradient can be used to find the direction in which the terrain is the steepest Of course, depending on what you are trying to achieve, this may be the direction you want to avoid!! This can be accomplished as follows Theorem Suppose that f is a differentiable function and u is a unit vector The maximum value of D u f at a given point is f and it occurs when u has the same direction as f at the given point The minimum value of D u f at a given point is f and it occurs when u has the direction of f at the given point Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 8 / 19

Maximizing the Directional Derivative Example Suppose that the temperature at each point of a metal plate is given by T (x, y) = e x cos y + e y cos x 1 In what direction does the temperature increase most rapidly at the point (0, 0)? What is the rate on increase? 2 In what direction does the temperature decrease most rapidly at the point (0, 0)? Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 9 / 19

The Gradient Vector and Level Curves Theorem Let z = f (x, y) be a function whose partial derivatives in x and y exist Let k be any constant Let C denote the level curves f (x, y) = k Let P = (x 0, y 0 ) be a point on C Then f (x 0, y 0 ) is orthogonal to C at P Example The graph of z = f (x, y) = x 2 + y 2 is a paraboloid 1 Find the level curves of this function Describe these level curves ( ) 2 In the case k = 4, verify that the points (2, 0) and 2, 2 are points on the corresponding level curve and find a vector perpendicular to the level curve at each of these points Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 10 / 19

The Gradient Vector and Level Curves Figure : Graph of z = x 2 + y 2 and level curves Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 11 / 19

The Gradient Vector and Level Curves 50 40 z 30 20 4 2 4 y 10 0 2 4 0 0 2 2 4 x Figure : Graph of a surface, its level curves and 2 gradient vectors Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 12 / 19

The Gradient Vector and Level Surfaces There is a similar result for level surfaces Given a function of three variables F (x, y, z), the graph of F (x, y, z) = k is a surface It is called the level surface of the function F (x, y, z) Suppose that S is a level surface of a function F (x, y, z) with equation F (x, y, z) = k where k is a constant Let P = (x 0, y 0, z 0 ) be a point on S We have the following theorem: Theorem F (x 0, y 0, z 0 ) is orthogonal to S at P Example Find a vector perpendicular to the surface 4x 2 + 2y 2 + z 2 = 16 at the point (1, 2, 2) Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 13 / 19

Tangent Plane to a Level Surface The technique developed here is not to be confused with work done in previous sections Earlier, we learned how to find the tangent plane to a surface given by z = f (x, y) at the point (x 0, y 0, z 0 ) You will recall that the equation of such a plane is z z 0 = f x (x 0, y 0 ) (x x 0 ) + f y (x 0, y 0 ) (y y 0 ) In this subsection, we learn how to find the equation of the tangent plane to a level surface S of a function F (x, y, z) at a point P = (x 0, y 0, z 0 ), that is a surface given by F (x, y, z) = k where k is a constant This plane is defined by P and a vector perpendicular to S at P Such a vector is F (x 0, y 0, z 0 ) Now that we have a point on the tangent plane: (x 0, y 0, z 0 ) and a normal vector F (x 0, y 0, z 0 ), it follows that the equation of the plane tangent to S at P is: F x (x 0, y 0, z 0 ) (x x 0 ) + F y (x 0, y 0, z 0 ) (y y 0 ) + F z (x 0, y 0, z 0 ) (z z 0 ) = 0 Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 14 / 19

Tangent Plane to a Level Surface Example Find an equation for the tangent plane to the elliptic cone x 2 + 4y 2 = z 2 at the point (3, 2, 5) 4 4 2 4 2 z 0 0 2 02 2 4 4 y x 2 4 Figure Philippe : Graph B Laval of (KSU) x 2 + 4y 2 zfunctions 2 = 0 of and Several itsvariables tangent plane 3x + 8y April 7, 5z 2012= 0 15 at/ 19

Normal Line to a Level Surface Since F (x 0, y 0, z 0 ) is orthogonal to S at P, it is the direction vector of the line normal to S at P The equation of such a line is x x 0 F x (x 0, y 0, z 0 ) = y y 0 F y (x 0, y 0, z 0 ) = z z 0 F z (x 0, y 0, z 0 ) (1) Example Find the parametric equations for the normal line to the elliptic cone x 2 + 4y 2 = z 2 at the point (3, 2, 5) Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 16 / 19

Summary About the Gradient Vector f = f x, f y for functions of two variables and f = f x, f y, f z for functions of 3 variables The derivative of f in the direction of the unit vector u is D u f (x) = f (x) u The maximum value of D u f (x) is f (x), it happens in the direction of f (x) In other words, f (x) gives the direction of fastest increase for f f (x 0, y 0 ) is orthogonal to the level curves f (x, y) = k that passes through P = (x 0, y 0 ) F (x 0, y 0, z 0 ) is orthogonal to the tangent vector of any curve in S through P where S is the level surface F (x, y, z) = k and P = (x 0, y 0, z 0 ) F (x 0, y 0, z 0 ) is orthogonal to S at P The equation of the tangent plane to S at P is F x (x 0, y 0, z 0 ) (x x 0 ) + F y (x 0, y 0, z 0 ) (y y 0 ) + F z (x 0, y 0, z 0 ) (z z 0 ) = 0 Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 17 / 19

Summary About the Gradient Vector F (x 0, y 0, z 0 ) is the direction vector of the line normal to S at P The equation of the normal line to S at P is x x 0 F x (x 0, y 0, z 0 ) = y y 0 F y (x 0, y 0, z 0 ) = z z 0 F z (x 0, y 0, z 0 ) If f and g are functions of 2 or 3 variables and c is a constant, it can be shown that the gradient satisfies the following properties (what do these properties remind you of?): 1 (f + g) = f + g 2 (f g) = f g 3 (cf ) = c f 4 (fg) ( ) = f g + g f 5 fg g f f g = g 2 6 f n = nf n 1 f Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 18 / 19

Exercises See the problems at the end of section 36 in my notes on directional derivatives and the gradient vector Philippe B Laval (KSU) Functions of Several Variables April 7, 2012 19 / 19