Properties of the Gradient

Similar documents
Solutions to Test #1 MATH 2421

Later in this chapter, we are going to use vector functions to describe the motion of planets and other objects through space.

Velocity and Acceleration

3.4 Using the First Derivative to Test Critical Numbers (4.3)

The Jacobian. v y u y v (see exercise 46). The total derivative is also known as the Jacobian Matrix of the transformation T (u; v) :

MA261-A Calculus III 2006 Fall Homework 7 Solutions Due 10/20/2006 8:00AM

Vectors, dot product, and cross product

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

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

Math 233. Directional Derivatives and Gradients Basics

The Derivative of a Function Measuring Rates of Change of a function. Secant line. f(x) f(x 0 ) Average rate of change of with respect to over,

LB 220 Homework 4 Solutions

Directional Derivatives in the Plane

Tangent Plane. Linear Approximation. The Gradient

Lecture 4: Partial and Directional derivatives, Differentiability

Slide 1. Slide 2. Slide 3 Remark is a new function derived from called derivative. 2.2 The derivative as a Function

Directional Derivatives and the Gradient

CHAPTER 3: DERIVATIVES

There are additional problems on WeBWorK, under the name Study Guide Still need to know from before last exam: many things.

26. Directional Derivatives & The Gradient

AP Calculus Chapter 3 Testbank (Mr. Surowski)

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

Workbook for Calculus I

2.2 The derivative as a Function

BEE1024 Mathematics for Economists

Exercises for Multivariable Differential Calculus XM521

Exam 2 Review Solutions

Section Vector Functions and Space Curves

Vector Multiplication. Directional Derivatives and the Gradient

2001 Higher Maths Non-Calculator PAPER 1 ( Non-Calc. )

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

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

Name Period. Date: Topic: 9-2 Circles. Standard: G-GPE.1. Objective:

Vector Functions & Space Curves MATH 2110Q

Chapter 3 Differentiation Rules

Section 3.2 Working with Derivatives

Solutions to Homework 5

16.2 Line Integrals. Lukas Geyer. M273, Fall Montana State University. Lukas Geyer (MSU) 16.2 Line Integrals M273, Fall / 21

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

x+1 e 2t dt. h(x) := Find the equation of the tangent line to y = h(x) at x = 0.

, find the value(s) of a and b which make f differentiable at bx 2 + x if x 2 x = 2 or explain why no such values exist.

Math 207 Honors Calculus III Final Exam Solutions

z = f (x; y) = x 3 3x 2 y x 2 3

1.5 The Derivative (2.7, 2.8 & 2.9)

Introduction to Vector Functions

1,3. f x x f x x. Lim. Lim. Lim. Lim Lim. y 13x b b 10 b So the equation of the tangent line is y 13x

MAT 1339-S14 Class 4

Section 15.6 Directional Derivatives and the Gradient Vector

MATH107 Vectors and Matrices

Section 4.3 Vector Fields

Math 20C Homework 2 Partial Solutions

MATH 12 CLASS 5 NOTES, SEP

Lecture 13 - Wednesday April 29th

Solutions to old Exam 3 problems

Exam. There are 6 problems. Your 5 best answers count. Please pay attention to the presentation of your work! Best 5

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

MTH 254, Fall Term 2010 Test 2 No calculator Portion Given: November 3, = xe. (4 points) + = + at the point ( 2, 1, 3) 1.

Recitation 1. Gradients and Directional Derivatives. Brett Bernstein. CDS at NYU. January 21, 2018

1 The Derivative and Differrentiability

Math 131. Rolle s and Mean Value Theorems Larson Section 3.2

MA261-A Calculus III 2006 Fall Midterm 2 Solutions 11/8/2006 8:00AM ~9:15AM

ENGI Partial Differentiation Page y f x

Gradient and Directional Derivatives October 2013

8. Find r a! r b. a) r a = [3, 2, 7], r b = [ 1, 4, 5] b) r a = [ 5, 6, 7], r b = [2, 7, 4]

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

" $ CALCULUS 2 WORKSHEET #21. t, y = t + 1. are A) x = 0, y = 0 B) x = 0 only C) x = 1, y = 0 D) x = 1 only E) x= 0, y = 1

AP Calculus AB Worksheet - Differentiability

PRACTICE PROBLEMS FOR MIDTERM I

DIFFERENTIATION RULES

IMP 13 First Hour Exam Solutions

Supplementary Questions for HP Chapter Sketch graphs of the following functions: (a) z = y x. (b) z = ye x. (c) z = x 2 y 2

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

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

Name: ID: Math 233 Exam 1. Page 1

Chapter 2 THE DERIVATIVE

23. Implicit differentiation

1. Taylor Polynomials of Degree 1: Linear Approximation. Reread Example 1.

Topic 2-2: Derivatives of Vector Functions. Textbook: Section 13.2, 13.4

Section 1.4 Tangents and Velocity

Math 132 Information for Test 2

Vector Fields and Line Integrals The Fundamental Theorem for Line Integrals

Find all points where the function is discontinuous. 1) Find all vertical asymptotes of the given function. x(x - 1) 2) f(x) =

5 Transcendental Functions

Study Guide/Practice Exam 2 Solution. This study guide/practice exam is longer and harder than the actual exam. Problem A: Power Series. x 2i /i!

The Mean Value Theorem. Oct

Announcements. Topics: Homework:

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

Contents. MATH 32B-2 (18W) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables. 1 Multiple Integrals 3. 2 Vector Fields 9

Algebra I - Study Guide for Final

2015 Math Camp Calculus Exam Solution

Christmas Calculated Colouring - C1

Final Review Worksheet

Topics and Concepts. 1. Limits

Multiple Choice. Circle the best answer. No work needed. No partial credit available. is continuous.

2.4 Rates of Change and Tangent Lines Pages 87-93

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7

DIFFERENTIATION RULES

2.3 Product and Quotient Rules

a Write down the coordinates of the point on the curve where t = 2. b Find the value of t at the point on the curve with coordinates ( 5 4, 8).

Transcription:

Properties of the Gradient Gradients and Level Curves In this section, we use the gradient and the chain rule to investigate horizontal and vertical slices of a surface of the form z = g (x; y) : To begin with, if k is constant, then g (x; y) = k is called the level curve of g (x; y) of level k and is the intersection of the horizontal plane z = k and the surface z = g (x; y) : In particular, g (x; y) = k is a curve in the xy-plane. EXAMPLE 1 Construct the level curves of g (x; y) = x 2 + y 2 + 2 for k = 2; 3; 4; 5; and 6: Solution: To begin with, g (x; y) = k is of the form x 2 + y 2 + 2 = k; which simpli es to x 2 + y 2 = k 2 If k = 2; then x 2 + y 2 = 0 which is true only if (x; y) = (0; 0) : For k = 3; 4; 5;and 6; we have k = 3 : x 2 + y 2 = 1 k = 5 : x 2 + y 2 = 3 k = 4 : x 2 + y 2 = 2 k = 6 : x 2 + y 2 = 4 1

These are circles centered at (0; 0) with radii 1; p 2; p 3; and 2, respectively: If g (x; y) is di erentiable, then the level curve g (x; y) = k can be parametrized by a vector-valued function of the form r (t) = hx (t) ; y (t)i : If v denotes the velocity of r; then the chain rule implies that d dt g (x; y) = d k =) rg v = 0 dt Thus, rg is perpendicular to the tangent line to g (x; y) = k at the point (p; q) : We say that rg (p; q) is normal to the curve g (x; y) = k at (p; q) : EXAMPLE 2 Show that the gradient is normal to the curve y = 1 2x 2 at the point (1; 1) : 2

Solution: To do so, we notice that 2x 2 + y = 1: Thus, the curve is of the form g (x; y) = 1 where g (x; y) = 2x 2 + y. The gradient of g is rg = h4x; 1i Thus, at (1; 1) ; we have rg (1; 1) = h4; 1i : However, if y = 1 2x 2 ; then y 0 = 4x, and when x = 1; we have y 0 (1) = 4: That is, a run of 1 leads to a rise of 4; so that the slope corresponds to the vector m = hrun; risei = h1; 4i Clearly, rg m = h4; 1i h1; 4i = 0; thus implying that rg is perpendicular to the tangent line to y = 1 2x 2 at ( 1; 1) : Check Your Reading: Are there any level curves of g (x; y) = x 2 + y 2 + 2 with a level lower than k = 2? The Directional Derivative If f (x; y) is di erentiable at a point p = (p; q) and if u = hm; ni is a unit vector, then the derivative of f at p in the direction of u is de ned to be (D u f) (p) = lim h!0 + f (p + hu) f (p) h (1) 3

We say that D u f is the directional derivative of f in the direction of u: example, in the direction of i we have For f (p + hi) f (p) f (p + h; q) f (p; q) (D i f) (p) = lim = lim = f x (p; q) h!0 + h h!0 + h Indeed, the directional derivatives in the directions of i and j; respectively, are the rst partial derivatives D i f = @f @x and D jf = @f @y The directional derivative can be interpreted geometrically via vertical slices of the surface z = f (x; y) ; where a vertical slice is a curve formed by the intersection of the surface z = f (x; y) with the vertical plane through a line r (t) = p + ut in the xy-plane: Speci cally, the z-coordinate of the vertical slice is z (t) = f (p + tu) ; which in non-vector form is z (t) = f (p + mt; q + nt) : The de nition of the directional derivative is equivalent to (D u f) (p) = z 0 (0) Since u is a unit vector, the point r (h) is a distance h from r (0) : Thus, a 4

"run" of h causes a "rise" of z (h) z (0) Thus, as h approaches 0, the slope of the secant line (in blue) approaches the slope of the tangent line (in red). That is, the slope of the tangent line at r (0) = p = (p; q) is z 0 z (h) z (0) (0) = lim h!0 h where z (t) = f (p + mt; q + nt). Moreover, since r (t) = p + ut implies that r 0 (0) = u and since (D u f) (p) = z 0 (0) ; the chain rule implies that z 0 (0) = dz dt = rf r 0 (0) = rf u t=0 That is, the slope of the tangent line is rf u; where u is a unit vector in the direction of r (t). Theorem 7.1 The directional derivative of f (x; y) in the direction of a unit vector u is given by D u f = rf u Moreover, D u f is the slope of the tangent line to the curve formed by the intersection of z = f (x; y) and the vertical plane through a 5

point p parallel to a unit vector u: Moreover, theorem 7.1 con rms what we alluded to in section 3, which is that f x yields slopes of vertical slices parallel to the xz-plane and f y yields slopes of vertical slices parallel to the yz-plane. EXAMPLE 3 Find the derivative of f (x; y) = 1:1x 2 0:1xy in the direction of v = h3; 4i : Solution: Since v is not a unit vector, we rst nds its direction vector: u = 1 3 v v =1 5 h3; 4i = 5 ; 4 = h0:6; 0:8i 5 The gradient of f is rf = h2:2x 0:1y; 0:1xi ; so that D u f = h2:2x 0:1y; 0:1xi h0:6; 0:8i = 0:6 (2:2x 0:1y) + 0:8 ( 0:1x) = 1:24x 0:06y 6

The applet below shows D u f at the point (1; 1) : : Check your Reading: What is D u f at the point (1; 0)? Properties of the Gradient If we let denote the angle between rf and a given unit vector u; then D u f = krfk kuk cos () = krfk cos () since kuk = 1. Thus, the directional derivative is largest when = 0; which is in the direction of rf; and is smallest when = ; which is in the direction of rf: Theorem 7.2: The slope (D u f) (p) of the tangent line to a vertical slice of a = f (x; y) through (p; q; f (p)) is greatest in the direction of rf (p) and is smallest in the direction of rf (p) TWe say that rf (p; q) is the direction of steepest ascent for the surface z = f (x; y) at (p; q) : Analogously, rf (p; q) must the direction of steepest descent 7

or direction of least resistance at the point (p; q) : Moreover, when u is in the direction of rf; then u = rf= krfk ; so that D u f = rf rf krfk = krfk2 krfk = krfk Similarly, if u is in the direction of rf; then D u f = krfk. Also, the corresponding tangent vectors to the surface are fx fastest increase : v inc = krfk ; f y krfk ; krfk fx fastest decrease : v dec = krfk ; f y krfk ; krfk 8

This is important in many numerical routines. EXAMPLE 4 How fast is f (x; y) = x 2 + y 3 increasing at (2; 1) when it is increasing the fastest? Solution: To begin with, rf = 2x; 3y 2. Moreover, f is increasing the fastest when u is in the direction of rf (2; 3) = h4; 3i ; and in this direction, we have (D u f) (2; 1) = kh4; 3ik = 5 (The notation (D u f) (p; q) means the directional derivative D u f evaluated at the point (p; q) : ) Moreover, given a collection of increasing constants k 1 < k 2 < k 3 < : : :, the set of level curves f (x; y) = k 1 ; f (x; y) = k 2 ; f (x; y) = k 3 ; and so on 9

forms a family of level curves in the xy-plane in which the levels are increasing. It then follows that rf (p; q) points in the direction in which the levels are increasing the fastest, and rf (p; q) points in the direction in which the levels are decreasing the fastest. EXAMPLE 5 In what direction are the levels of f (x; y) = x 3 y increasing the fastest at the point (2; 3)? Solution: The levels of f are increasing the fastest in the direction of rf (2; 3) : Since rf = 3x 2 y; x 3 ; we have rf (2; 3) = h36; 8i : Thus, the levels of f are increasing the fastest in the direction u = rf (2; 3) krf (2; 3)k = h36; 8i kh36; 8ik = 9 p 85 ; 2 p 85 Check Your Reading: How fast are the levels increasing at right angles to rg? Scalar Fields Often functions of 2 variables are interpreted to be scalar elds, where a scalar eld is the assignment of a scalar to each point in the plane. For example, let s 10

suppose that a 10 00 5 00 rectangular plate is at room temperature of 70 F when a heat source at a temperature of 250 F is applied at a point 3 00 from a shorter side and 2 00 from a longer side of the plate (i.e., at the point (3; 2) if (0; 0) is at a corner). Suppose now that 5 seconds after the heat source is applied, each point (x; y) on the plate s surface then has a unique temperature, T = g (x; y) where g (x; y) = 70 + 180e (x 3)2 =10 (y 2) 2 =10 That is, g (x; y) is the scalar eld which maps a point (x; y) to the temperature T of the surface at that point after 5 seconds. It follows that the temperature at the origin is T = 70 + 180e (0 3)2 =10 (0 2) 2 =10 = 119 F and that the temperature at the point (1; 1) is T = 70 + 180e (1 3)2 =10 (1 2) 2 =10 = 179 F Temperatures at all integer pairs (x; y) in [0; 10] [0; 5] are shown below: (2) (3) 11

If we now compute the gradient of g; we obtain rg = 180e (x 3)2 =10 (y 2) 2 =10 1 5 x + 3 5 ; 1 5 y + 2 5 (4) At the point (1; 1) ; we then have rg = 180e (1 3)2 =10 (1 2) 2 =10 = 109:17 h0:2; 0:1i = h43:668; 21:834i 1 5 + 3 5 ; 1 5 + 2 5 This de nes the direction in which the temperature is increasing the fastest. Moreover, D u g = k h43:668; 21:834i k = 48:82 F per inch is the rate of increase in the direction of fastest increase. Level curves of scalar elds are often referred to using pre xes such as iso- or equi-. For example, the level curves of a scalar temperature eld are known as isotherms. Below are shown the isotherms of the temperature eld (2) for temperatures 179 F; 217 F; and 233 F We ll explore more applications of scalar elds in the exercises. (5) Exercises 12

Sketch the level curves of the following functions at the given levels. 1. f (x; y) = x 2 + y 2 2. f (x; y) = y x 2 k = 1; 4; 9; 16 k = 0; 1; 2; 3; 4 3. f (x; y) = xy 4. f (x; y) = x 2 + 4y 2 k = 1; 2; 3; 4 k = 0; 4; 16; 100 5. f (x; y) = (x y) 2 6. f (x; y) = xy k = 1; 4; 9; 16 k = 2; 1; 0; 1; 2 Find the gradient of the function implied by the level curve, and then show that it is perpendicular to the tangent line to the curve at the given point (in 15-17, you will need to use implicit di erentiation to nd the slope of the tangent line). 7. y = x 3 + x; at (1; 2) 8. y = x 2 ; at (2; 4) 9. x 2 + y = 2; at (1; 1) 10. x 2 + xy = 10; at (2; 3) 11. x y = 1 at (2; 1) 12. x + y = 5; at (1; 2) 13. xy = 1; at (1; 1) 14. x 2 y = 2 at (1; 2) 15. x sin (xy) = 0; at (1; ) 16. x cos x 2 y = 2; at (2; ) 17. 2e x + ye x = y 2 ; at (0; 2) 18. sin x 2 y = x + 1; at ( 1; ) Find the directional derivative of f in the direction of the given vector at the given point. 19. f (x; y) = x 3 + y 3 at (1; 1) 18. f (x; y) = x 4 + y 2 at (1; 1) in direction of v = h2; 1i in direction of v = h 3; 4i 21. f (x; y) = cos (xy) at (=2; 0) 20. f (x; y) = cos (xy) at (=2; 0) in direction of v = h1; 0i in direction of v = h2; 1i 23. f (x; y) = xy at (1; 1) 24. f (x; y) = x sin (xy) at (; 0) in direction of v = h1; 1i in direction of v = h1; 1i Find the direction of fastest increase of the function at the given point, and then nd the rate of change of the function when it is changing the fastest at the given point. 25. f (x; y) = x 3 + y 3 at (1; 1) 26. f (x; y) = x 4 + y 2 at (1; 1) 27. f (x; y) = cos (xy) at (=2; 0) 28. f (x; y) = cos (xy) at (=2; 0) 29. f (x; y) = xy at (1; 1) 30. f (x; y) = x sin (xy) at (; 0) 31. Show that (1; 2) is a point on the curve g (x; y) = 2 where g (x; y) = x 2 y: Then nd the slope of the tangent line to g (x; y) = 2 in two ways: 1. (a) By nding using the gradient to nd slope. (b) By showing that y = 2x 2 and applying the ordinary derivative. Then sketch the graph of the curve, the tangent line, and the gradient at that point. 32. Show that (3; 2) is a point on the curve g (x; y) = 15 where g (x; y) = x 2 +xy: Then nd the slope of the tangent line to g (x; y) = 15 in two ways: 13

1. (a) By nding using the gradient to nd slope. (b) By solving for y and applying the ordinary derivative. Then sketch the graph of the curve, the tangent line, and the gradient at that point. Exercises 33-36 continue the exploration of the scalar eld g (x; y) = 70 + 180e (x 3)2 =10 (y 2) 2 =10 (6) which for integer pairs (x; y) in [0; 10] [0; 5] is given by (7) 14

and which has the isotherms 33. Use (6) to determine the level curves with levels k = 179 F; 217 F; 233 F; and 250 F: Locate the point (6; 3) on a level curve and calculate the gradient at that point. What is signi cant about the gradient at that point? Which direction is it pointing in? 34. What is the rate of change of g (x; y) in (2) at (1; 1) in the direction of 1 1 u = p2 ; p 2 Why would we expect it to be less than 48: 82 F per inch? 35. In what direction is the temperature eld g (x; y) = 70 + 180e (x 3)2 =10 (y 2) 2 =10 increasing the fastest at the point (1; 0)? At the point (0; 2)? Compare your result with the temperatures in (7). 36. Show that the gradient of the temperature function g (x; y) = 70 + 180e (x 3)2 =10 (y 2) 2 =10 always points toward (3; 2) : What is the signi cance of this result? (8) 15

37.Consider the mountain shown below, where units are in thousands of feet: If the family of curves below corresponds to sketch the path of least resistance from the highest point on the mountain to its base. 38. Show that if F (x; y) = y f (x) and that if f (x) is di erentiable everywhere, then the curve r (t) = ht; f (t) + k; ki ; t in ( 1; 1) 16

is a level curve of z = F (x; y) with level k: What is r 0 (t) rf when x = t and y = f (t) + k: Explain. 39. Write to Learn: Show that the curve r (t) = h4 cos (t) ; 4 sin (t)i is a parametrization of f (x; y) = x 2 + y 2 with level 16. Then nd T and N at t = =6: How is N at t = =6 related to rf at the point 2; 2 p 3? Write a short essay explaining this relationship. 40. *Write to Learn: Obtain a city map and x a street corner on that map to be the origin. De ne a function f (x; y) to be the driving distance from that street corner to a point (x; y) ; where the driving distance is the shortest possible distance from the origin to (x; y) along the roads on the map. What are the level curves of the driving distance function? Sketch a few of them. What is the path of least resistance at a given point? Write an essay describing the f (x; y) function, its level curves, and its paths of least resistance. In exercises 41-44, we consider the vectors fx (p) v inc = krf (p)k ; f y (p) ; krf (p)k ; v level = krf (p)k v perp = h f x (p) ; f y (p) ; 1i fy (p) krf (p)k ; f x (p) krf (p)k ; 0 at a point p = (p; q) with the assumption that rf (p) exists and is non-zero. 41. Show that v level? v perp and that v level is a unit vector. What is (D u f) (p) when u = v level? What is signi cant about these results about v level? 42. Explain why v level and v perp are tangent to the surface z = f (x; y) at the point (p; q; f (p)) : Then show that v perp = v inc v level What is the signi cance of this result? 43. What is the equation of the plane through (p; q; f (p)) with normal v perp? What is the signi cance of this result? 44. Write to Learn: In a short essay, explain why if r (t) is a curve on the surface z = f (x; y) and if r (0) = (p; q; f (p)) then there are numbers a and b such that r 0 (0) = av inc + bv level 17