Directional Derivatives in the Plane

Similar documents
Substitutions in Multiple Integrals

Double Integrals. P. Sam Johnson. February 4, P. Sam Johnson (NIT Karnataka) (NIT Karnataka) Double Integrals February 4, / 57

Directional Derivative and the Gradient Operator

The Integral Test. P. Sam Johnson. September 29, P. Sam Johnson (NIT Karnataka) The Integral Test September 29, / 39

Created by T. Madas VECTOR OPERATORS. Created by T. Madas

Vector Fields and Line Integrals The Fundamental Theorem for Line Integrals

Exercises for Multivariable Differential Calculus XM521

26. Directional Derivatives & The Gradient

UNIT 3: DERIVATIVES STUDY GUIDE

Arc Length and Surface Area in Parametric Equations

Vectors, dot product, and cross product

Created by T. Madas LINE INTEGRALS. Created by T. Madas

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

3 Applications of partial differentiation

x f(x)

x f(x)

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

4 Partial Differentiation

ENGI Partial Differentiation Page y f x

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

Calculus I Sample Exam #01

LB 220 Homework 4 Solutions

CALCULUS III THE CHAIN RULE, DIRECTIONAL DERIVATIVES, AND GRADIENT

Definition 3 (Continuity). A function f is continuous at c if lim x c f(x) = f(c).

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

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

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

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

Sec. 1.1: Basics of Vectors

Review for the Final Exam

Solution: It could be discontinuous, or have a vertical tangent like y = x 1/3, or have a corner like y = x.

EE2007: Engineering Mathematics II Vector Calculus

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,

VECTORS IN A STRAIGHT LINE

g(t) = f(x 1 (t),..., x n (t)).

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

CHAPTER 4 DIFFERENTIAL VECTOR CALCULUS

Week 4: Differentiation for Functions of Several Variables

= π + sin π = π + 0 = π, so the object is moving at a speed of π feet per second after π seconds. (c) How far does it go in π seconds?

AB CALCULUS SEMESTER A REVIEW Show all work on separate paper. (b) lim. lim. (f) x a. for each of the following functions: (b) y = 3x 4 x + 2

Differential calculus. Background mathematics review

2.2 The derivative as a Function

Dr. Sophie Marques. MAM1020S Tutorial 8 August Divide. 1. 6x 2 + x 15 by 3x + 5. Solution: Do a long division show your work.

UNIVERSITY OF HOUSTON HIGH SCHOOL MATHEMATICS CONTEST Spring 2018 Calculus Test

Math 234. What you should know on day one. August 28, You should be able to use general principles like. x = cos t, y = sin t, 0 t π.

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

The region enclosed by the curve of f and the x-axis is rotated 360 about the x-axis. Find the volume of the solid formed.

EE2007: Engineering Mathematics II Vector Calculus

Derivatives and Integrals

Calculus and Parametric Equations

1 + x 2 d dx (sec 1 x) =

Directional Derivatives and Gradient Vectors. Suppose we want to find the rate of change of a function z = f x, y at the point in the

Math Exam 02 Review

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

1. The accumulated net change function or area-so-far function

Solutions to old Exam 3 problems

Math 222 Spring 2013 Exam 3 Review Problem Answers

Calculus I Review Solutions

MATH1013 Calculus I. Revision 1

Math 113 Final Exam Practice

ENGI Gradient, Divergence, Curl Page 5.01

CHAPTER 7 DIV, GRAD, AND CURL

AP Calculus Chapter 3 Testbank (Mr. Surowski)

Announcements. Topics: Homework:

NO CALCULATOR 1. Find the interval or intervals on which the function whose graph is shown is increasing:

MATH1013 Calculus I. Derivatives II (Chap. 3) 1

MATH 31BH Homework 5 Solutions

Mathematical Economics: Lecture 9

Lecture 13 - Wednesday April 29th

AP Calculus AB Chapter 2 Test Review #1

Formulas that must be memorized:

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

Solutions to Homework 5

Vector Calculus - GATE Study Material in PDF

Tangent Planes, Linear Approximations and Differentiability

Learning Objectives for Math 165

Properties of the Gradient

Multiple Integrals and Vector Calculus: Synopsis

Calculus I: Practice Midterm II

Lagrange Multipliers

Spring 2015 Sample Final Exam

AP Calculus Summer Prep

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

Calculus I Exam 1 Review Fall 2016

Vector Calculus, Maths II

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

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

Comparative Statics. Autumn 2018

MATH 1241 Common Final Exam Fall 2010

Surface Integrals (6A)

APPLICATIONS OF DERIVATIVES UNIT PROBLEM SETS

FINAL EXAM CALCULUS 2. Name PRACTICE EXAM

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

Faculty of Engineering, Mathematics and Science School of Mathematics

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

Sample Questions Exam II, FS2009 Paulette Saab Calculators are neither needed nor allowed.

3.4 The Chain Rule. F (x) = f (g(x))g (x) Alternate way of thinking about it: If y = f(u) and u = g(x) where both are differentiable functions, then

Without fully opening the exam, check that you have pages 1 through 12.

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

MTH 277 Test 4 review sheet Chapter , 14.7, 14.8 Chalmeta

Transcription:

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 = f (x, y) be the surface shown and assume the hiker is at the point (a, b, f (a, b)). P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 2 / 30

Directional Derivatives in the Plane The hiker would like to travel on the surface in the direction of unit vector u = u 1 i + u 2 j. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 3 / 30

Directional Derivatives in the Plane Let s be the horizontal distance traveled. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 4 / 30

Directional Derivatives in the Plane The change in elevation with respect to horizontal distance traveled is By chain rule, we get ( df ) ds u,(a,b) = = = d ds f (a + su 1, b + su 2 ). ( f ) dx ( f ) x (a,b) ds + y ( f ) ( f ) x.u 1 + (a,b) y [( f ) ( f x i + (a,b) y (a,b) dy ds (a,b).u 2 )(a,b) j ]. [ ] u 1 i + u 2 j P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 5 / 30

Directional Derivatives in the Plane ( df ) ds u,(a,b) = [( f ) ( f ] [ ] x i + (a,b) y )(a,b) j. u 1 i + u 2 j gives the rate of change of elevation as the hiker travels in the direction of u at the moment the hiker is at location (a, b, f (a, b)). P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 6 / 30

Directional Derivatives in the Plane We know that if f (x, y) is differentiable, then the rate at which f changes with respect to t along a differentiable curve x = g(t), y = h(t) is At any point df dt = f dx x dt + f dy y dt. P 0 (x 0, y 0 ) = P 0 (g(t 0 ), h(t 0 )), this equation gives the rate of change of f with respect to increasing t and therefore depends, among other things, on the direction of motion along the curve. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 7 / 30

Directional Derivatives in the Plane If the curve is a straight line and t is the arc length parameter along the line measured from P 0 in the direction of a given unit vector u, then df /dt is the rate of change of f with respect to distance in its domain in the direction of u. By varying u, we find the rates at which f changes with respect to distance as we move through P 0 in different directions. Suppose that the function f (x, y) is defined throughout a region R in the xy-plane, that P 0 (x 0, y 0 ) is a point in R, and that is a unit vector. u = u 1 i + u 2 j P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 8 / 30

Directional Derivatives in the Plane Then the equations x = x 0 + su 1, y = y 0 + su 2 parameterize the line through P 0 parallel to u. If the parameter s measures arc length from P 0 in the direction of u, we find the rate of change of f at P 0 in the direction of u by calculating df /ds at P 0. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 9 / 30

Directional Derivatives in the Plane Definition The derivative of f at P 0 (x 0, y 0 ) in the direction of the unit vector u = u 1 i + u 2 j is the number provided the limit exists. ( df ) f (x 0 + su 1, y 0 + su 2 ) f (x 0, y 0 ) = lim ds u,p 0 s 0 s The directional derivative is also denoted by (D u f ) P0. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 10 / 30

Interpretation of the Directional Derivative The equation z = f (x, y) represents a surface S in space. If z 0 = f (x 0, y 0 ), then the point P 0 (x 0, y 0, z 0 ) lies on S. The vertical plane that passes through P and P 0 (x 0, y 0 ) parallel to u intersects S in a curve C. The rate of change of f in the direction of u is the slope of the tangent to C at P. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 11 / 30

Interpretation of the Directional Derivative When u = i, the directional derivative at P 0 is f / x evaluated at (x 0, y 0 ). When u = j, the directional derivative at P 0 is f / y evaluated at (x 0, y 0 ). The directional derivative generalizes the two partial derivatives. We can now ask for the rate of change of f in any direction u, not just the directions i and j. Here s a physical interpretation of the directional derivative. Suppose that T = f (x, y) is the temperature at each point (x, y) over a region in the plane. Then f (x 0, y 0 ) is the temperature at the point P 0 (x 0, y 0 ) and (D u f ) P0 is the instantaneous rate of change of the temperature at P 0 stepping off in the direction u. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 12 / 30

Calculation and Gradients We now develop an efficient formula to calculate the directional derivative for a differentiable function f. We begin with the line x = x 0 + su 1, y = y 0 + su 2 through P 0 (x 0, y 0 ), parameterized with the arc length parameter s increasing in the direction of the unit vector u = u 1 i + u 2 j. Then ( df ) = ds u,p 0 = = ( f ) dx ( f ) x P 0 ds + dy y P 0 ds ( f ) ( f ).u 1 +.u 2 x P 0 y P 0 [( f ) ( f ) ] [ ] i + j. u 1 i + u 2 j x P 0 y P 0 P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 13 / 30

Calculation and Gradients Definition The gradient vector (gradient) of f (x, y) at a point P 0 (x 0, y 0 ) is the vector f = f x i + f y j obtained by evaluating the partial derivatives of f at P 0. The notation f is read grad f as well as gradient of f and del f. The symbol itself is read del. Another notation for the gradient is grad f, read the say it is written. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 14 / 30

The Directional Derivative Is a Dot Product Theorem If f (x, y) is differentiable in an open region containing P 0 (x 0, y 0 ), then the derivative of f in the direction of u at P 0 is the dot product of u with the gradient of f at P 0 : ( df ) = ( f ) P0.u. ds u,p 0 Evaluating the dot product in the formula D uf = ( f ).u = f u cos θ = f cos θ, where θ is the angle between the vectors u and f, reveals the following properties. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 15 / 30

Properties of the Directional Derivative 1. The function f increases most rapidly when cos θ = 1 or when u is the direction of f. That is, at each point P in its domain, f increases most rapidly in the direction of the gradient f at P. The derivative in this direction is D u f = f cos(0) = f. 2. Similarly, f decreases most rapidly in the direction of f. The derivative in this direction is D u f = f cos(π) = f. 3. Any direction u orthogonal to a gradient f 0 is a direction of zero change in f because θ then equals π/2 and D u f = f cos(π/2) = f.0 = 0. The above properties hold in three dimensions as well as two. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 16 / 30

Directional Derivative - An Example Example The direction in which f (x, y) = x 2 2 + y 2 2 increases most rapidly at (1, 1) is the direction of f (1,1) = i + j. It corresponds to the direction of steepest ascent on the surface at (1, 1, 1). P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 17 / 30

Directional Derivative - An Example Example The directional derivative of at (3, 2) in the direction of f (x, y) = x 2 + y 2 4 u = 1 2 i + 1 2 j is about 2.47 (Verify!) Moving in the direction of u = 1 2 i + 1 2 j the rate of change is about 2.5 units UP for every unit along u. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 18 / 30

Directional Derivative - An Example Example The directional derivative of at (3, 2) in the direction of is about 0.98 (Verify!) f (x, y) = x 2 + y 2 4 u = 1 2 i 3 2 j Moving in the direction of u = 1 2 i 3 2 j the rate of change is about 1 unit DOWN for every unit along v. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 19 / 30

Gradients and Tangents to Level Curves If a differentiable function f (x, y) has a constant value c along a smooth curve r = g(t)i + h(t)j (making the curve a level curve of f ), then f (g(t), h(t)) = c. Differentiating both sides of this equation with respect to t leads to the equation d dt f (g(t), h(t)) = d dt (c) f dg x dt + f dh = 0 y dt ( f x i + f ) ( dg y j. dt i + dh ) dt j = 0 f. dr dt = 0. (1) Equation (1) says that f is normal to the tangent vector dr dt, so it is normal to the curve. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 20 / 30

Gradients and Tangents to Level Curves At every point (x 0, y 0 ) in the domain of a differentiable function f (x, y), the gradient of f is normal to the level curve through (x 0, y 0 ). P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 21 / 30

Tangent Lines to Level Curves Tangent lines to level curves are the lines normal to the gradients. The line through a point P 0 (x 0, y 0 ) normal to a vector N = Ai + Bj has the equation If N is the gradient A(x x 0 ) + B(y y 0 ) = 0. ( f ) (x0,y 0 ) = f x (x 0, y 0 )i + f y (x 0, y 0 )j, the equation is the tangent line given by f x (x 0, y 0 )(x x 0 ) + f y (x 0, y 0 )(y y 0 ) = 0. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 22 / 30

Tangent Lines to Level Curves We can find the tangent to the ellipse (x 2 /4) + y 2 = 2 by treating the ellipse as a level curve of teh function f (x, y) = (x 2 /4) + y 2. Example Find an equation for the tangent to the ellipse x2 4 + y 2 = 2 at the point ( 2, 1). P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 23 / 30

Algebra Rules for Gradients If we know the gradients of two functions f and g, we automatically know the gradients of their constant multiples, sum, difference, product and quotient. Notice that these rules have the same form as the corresponding rules for derivatives of single-variable functions. 1. Constant Multiple Rule : (kf ) = k f (any number k) 2. Sum Rule : (f + g) = f + g 3. Difference Rule : (f g) = f g 4. Product Rule : (fg) = f g + g f ) 5. Quotient Rule : f g = g f f g g 2. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 24 / 30

Functions of Three Variables For a differentiable function f (x, y, z) and a unit vector u = u 1 i + u 2 j + u 3 k in space, we have and f = f x i + f y j + f z k D u f = ( f ).u = f x u 1 + f y u 2 + f z u 3. The directional derivative can once again be written in the form D u f = f.u = f cos θ, so the properties listed earlier for functions of two variables continue to hold. At any given point, f increases most rapidly in the direction of f and decreases most rapidly in the direction of f. In any direction orthogonal to f, the derivative is zero. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 25 / 30

Exercises 1. What is the derivative of a function f (x, y) at a point P 0 in the direction of a unit vector u? What rate does it describe? What geometric interpretation does it have? Give examples. 2. What is the gradient vector of a differentiable function f (x, y)? How is it related to the functions directional derivatives? State the analogous results for functions of three independent variables. 3. How do you find the tangent line at a point on a level curve of a differentiable function f (x, y)? Give an example. 4. Find the derivative of the function at P 0 in the direction of A. (a) f (x, y) = 2xy 3y 2, P 0 (5, 5), A = 4i + 3j (b) h(x, y) = tan 1 (y/x) + 3 sin 1 (xy/2), P 0 (1, 1), A = 3i 2j (c) g(x, y, z) = 3e x cos yz, P 0 (0, 0, 0), A = 2i + j 2k (d) f (x, y, z) = xy + yz + zx, P 0 (1, 1, 2), A = 3i + 6j 2k P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 26 / 30

Exercises 5. Find the directions in which the functions increase and decrease most rapidly at P 0. Then find the derivatives of the functions in these directions. (a) f (x, y) = x 2 + xy + y 2, P 0 ( 1, 1) (b) f (x, y, z) = ln xy + ln yz + ln xz, P 0 (1, 1, 1) 6. Find the directions in which the functions increase and decrease most rapidly at P 0. Then find the derivatives of the functions in these directions. Also find the dertivative of f at P 0 in the direction of the vector v. (a) f (x, y) = x 2 e 2y, P 0 (1, 0), v = i + j (b) f (x, y, z) = ln(2x + 3y + 6z), P 0 ( 1, 1, 1), v = 2i + 3j + 6k 7. In what direction is the derivative of f (x, y) = xy + y 2 at P(3, 2) equal to zero? 8. Is there a direction u in which the rate of change of f (x, y) = x 2 3xy + 4y 2 at P(1, 2) equals 14? Give reasons for your answer. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 27 / 30

Exercises 9. Is there a direction u in which the rate of change of the temperature function T (x, y, z) = 2xy yz (temperature in degrees Celsius, distance in feet) at P(1, 1, 1) is 3 deg.cel/ft? Give reasons for your answer. 10. The derivative of f (x, y, z) at a point P is greatest in the direction of v = i + j k. In this direction, the value of the derivative is 2 3. (a) What is f at P? Give reasons for your answer. (b) What is the derivative of f at P in the direction of i + j? 11. What is the largest value that the directional derivative of f (x, y, z) = xyz can have at the point (1, 1, 1)? P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 28 / 30

Exercises 12. The temperature of a point in space is given by T (x, y, z) = x 2 + y 2 z. A mosquito located at (1, 1, 2) desires to fly in such a direction that it will get warm as soon as possible. In what direction should it move? 13. Prove the following (a) r n = nr n 2 r (b) 1 r = r r 3 (c) ln r = r r where r = xi + yj + zk, r = r and n is an integer. 2 14. Find the directional derivative of f (x, y, z) = x 2 y 2 + 2z 2 at the point P(1, 2, 3) in the direction of the line PQ where Q is the point (5, 0, 4). Also, calculate the magnitude of the maximum directional derivative. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 29 / 30

References 1. M.D. Weir, J. Hass and F.R. Giordano, Thomas Calculus, 11th Edition, Pearson Publishers. 2. R. Courant and F.John, Introduction to calculus and analysis, Volume II, Springer-Verlag. 3. N. Piskunov, Differential and Integral Calculus, Vol I & II (Translated by George Yankovsky). 4. E. Kreyszig, Advanced Engineering Mathematics, Wiley Publishers. P. Sam Johnson (NIT Karnataka) Directional Derivatives in the Plane April 10, 2017 30 / 30