The Gradient and Level Sets

Similar documents
L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

DERIVATIVES AS MATRICES; CHAIN RULE

(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,

( 1) = 9 = 3 We would like to make the length 6. The only vectors in the same direction as v are those

SOLUTIONS. f x = 6x 2 6xy 24x, f y = 3x 2 6y. To find the critical points, we solve

Section 13.5 Equations of Lines and Planes

Exam 1 Sample Question SOLUTIONS. y = 2x

Vieta s Formulas and the Identity Theorem

Section 12.6: Directional Derivatives and the Gradient Vector

Differentiation of vectors

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

Solutions to old Exam 1 problems

Figure 1.1 Vector A and Vector F

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

13.4 THE CROSS PRODUCT

Math 241, Exam 1 Information.

Average rate of change of y = f(x) with respect to x as x changes from a to a + h:

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Lecture L6 - Intrinsic Coordinates

Solutions for Review Problems

Solutions to Practice Problems for Test 4

1 3 4 = 8i + 20j 13k. x + w. y + w

Equations Involving Lines and Planes Standard equations for lines in space

1.5 Equations of Lines and Planes in 3-D

12.5 Equations of Lines and Planes

Vector Fields and Line Integrals

Elements of a graph. Click on the links below to jump directly to the relevant section

Section 9.5: Equations of Lines and Planes

The Dot and Cross Products

Readings this week. 1 Parametric Equations Supplement. 2 Section Sections Professor Christopher Hoffman Math 124

Vector Math Computer Graphics Scott D. Anderson

Section 2.4: Equations of Lines and Planes

Geometric description of the cross product of the vectors u and v. The cross product of two vectors is a vector! u x v is perpendicular to u and v

Section V.3: Dot Product

Lesson 26: Reflection & Mirror Diagrams

Parallel and Perpendicular. We show a small box in one of the angles to show that the lines are perpendicular.

Math 265 (Butler) Practice Midterm II B (Solutions)

FURTHER VECTORS (MEI)

LINES AND PLANES CHRIS JOHNSON

Practice Final Math 122 Spring 12 Instructor: Jeff Lang

Microeconomic Theory: Basic Math Concepts

Math 21a Curl and Divergence Spring, Define the operator (pronounced del ) by. = i

Determine If An Equation Represents a Function

Evaluating trigonometric functions

*X100/12/02* X100/12/02. MATHEMATICS HIGHER Paper 1 (Non-calculator) MONDAY, 21 MAY 1.00 PM 2.30 PM NATIONAL QUALIFICATIONS 2012

Surface Normals and Tangent Planes

Solutions to Homework 5

Fundamental Theorems of Vector Calculus

299ReviewProblemSolutions.nb 1. Review Problems. Final Exam: Wednesday, 12/16/2009 1:30PM. Mathematica 6.0 Initializations

FINAL EXAM SOLUTIONS Math 21a, Spring 03

The Point-Slope Form

The Force Table Introduction: Theory:

3. KINEMATICS IN TWO DIMENSIONS; VECTORS.

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Review Sheet for Test 1

5.3 The Cross Product in R 3

-2- Reason: This is harder. I'll give an argument in an Addendum to this handout.

Average rate of change

Definition: A vector is a directed line segment that has and. Each vector has an initial point and a terminal point.

Geometry Notes PERIMETER AND AREA

Two vectors are equal if they have the same length and direction. They do not

Mathematics (Project Maths Phase 3)

Numerical Solution of Differential Equations

Linear Equations. Find the domain and the range of the following set. {(4,5), (7,8), (-1,3), (3,3), (2,-3)}

Section 10.4 Vectors

Objectives. Materials

Vector has a magnitude and a direction. Scalar has a magnitude

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

Section 11.4: Equations of Lines and Planes

Vectors. Objectives. Assessment. Assessment. Equations. Physics terms 5/15/14. State the definition and give examples of vector and scalar variables.

Vector surface area Differentials in an OCS

Unified Lecture # 4 Vectors

x(x + 5) x 2 25 (x + 5)(x 5) = x 6(x 4) x ( x 4) + 3

Logo Symmetry Learning Task. Unit 5

5 Systems of Equations

Overview. Observations. Activities. Chapter 3: Linear Functions Linear Functions: Slope-Intercept Form

Difference between a vector and a scalar quantity. N or 90 o. S or 270 o

Lecture 14: Section 3.3

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

A vector is a directed line segment used to represent a vector quantity.

Map Patterns and Finding the Strike and Dip from a Mapped Outcrop of a Planar Surface

EdExcel Decision Mathematics 1

Section 1.4. Lines, Planes, and Hyperplanes. The Calculus of Functions of Several Variables

Determine whether the following lines intersect, are parallel, or skew. L 1 : x = 6t y = 1 + 9t z = 3t. x = 1 + 2s y = 4 3s z = s

Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

LINES AND PLANES IN R 3

9 Multiplication of Vectors: The Scalar or Dot Product

Review of Fundamental Mathematics

3 Contour integrals and Cauchy s Theorem

Stage 1 Higher Revision Sheet

VELOCITY, ACCELERATION, FORCE

SAT Subject Math Level 2 Facts & Formulas

SolidWorks Implementation Guides. Sketching Concepts

PLOTTING DATA AND INTERPRETING GRAPHS

3 e) x f) 2. Precalculus Worksheet P Complete the following questions from your textbook: p11: # Why would you never write 5 < x > 7?

11. Describing Angular or Circular Motion

= y y 0. = z z 0. (a) Find a parametric vector equation for L. (b) Find parametric (scalar) equations for L.

Math Placement Test Practice Problems

2.2 Derivative as a Function

Transcription:

The Gradient and Level Sets. Let f(x, y) = x + y. (a) Find the gradient f. Solution. f(x, y) = x, y. (b) Pick your favorite positive number k, and let C be the curve f(x, y) = k. Draw the curve on the axes below. Now pick a point (a, b) on the curve C. What is the vector f(a, b)? Draw the vector f(a, b) with its tail at the point (a, b). What relationship does the vector have to the curve? Solution. The curve f(x, y) = k is a circle in the xy-plane centered at the origin. The vector f(a, b) is equal to a, b, and this vector is perpendicular to the circle (no matter what value of k you picked and what point (a, b) you picked). (c) Let r(t) be any parameterization of your curve C. What is f( r(t))? What happens if you use the Chain Rule to find d dtf( r(t))? (b). Solution. f( r(t)) is always equal to k, since r(t) parameterizes the curve C, and the curve C is exactly the set of points where f(x, y) = k. d Since f( r(t)) = k for all t, dt f( r(t)) = d dt k = 0. By the Chain Rule, we know that d dtf( r(t)) is also equal to f( r(t)) r (t), so the gradient f( r(t)) is always perpendicular to r (t). Recall that r (t) gives the direction of the tangent vector, so f is always perpendicular to the tangent vector.. Here is the level set diagram of a function f(x, y); the value of f on each level set is labeled. Imagine that f(x, y) represents temperature on the blackboard, and an ant is standing at the point (a, b), which is marked on the diagram.

4 0 What direction should the ant go to warm up most quickly? That is, in what direction should he go to experience the highest instantaneous rate of change of temperature (with respect to distance)? What direction should the ant go to cool down most quickly? That is, in what direction should he go to experience the lowest (most negative) instantaneous rate of change of temperature? Solution. Using the same reasoning as in #, the fly should fly in the direction of f(a, b) to warm up most quickly (marked in red below) and the direction of f(a, b) to cool down most quickly (marked in blue below). Remember that we always want our direction vectors to be unit vectors, so the direction of f(a, b) really means the vector f(a,b) f(a,b) the vector f(a,b) f(a,b)., and the direction of f(a, b) really means 4 0. A fly is flying around a room in which the temperature is given by T (x, y, z) = x + y 4 + z. The fly is at the point (,, ) and realizes that he s cold. In what direction should he fly to warm up most quickly? If he flies in this direction, what will be the instantaneous rate of change of his temperature? Solution. To answer the first question, we want to find the unit vector u which maximizes the directional derivative D u T (,, ). We know that this directional derivative is equal to T (,, ) u, which is in turn equal to T (,, ) u cos θ, where θ is the angle between T (,, ) and u. Since we are looking for a unit vector u, u =, so the directional derivative will just be T (,, ) cos θ. To maximize this, we need to make cos θ as large as possible. The largest that cos θ can be is, and this happens when θ = 0. So, we want the angle θ between T (,, ) and u to be 0, which means that we want u to go in the

same direction as T (,, ). We can calculate T (,, ) easily: T = x, 4y, 4z T (,, ) =, 4, 4 We want u to be a unit vector going in the same direction, which means we simply divide this vector by its length (which is + 4 + 4 = 6), so u =,,. The instantaneous rate of change of the fly s temperature when he flies in this direction is simply D u T (,, ) = T (,, ) u =, 4, 4,, = 6. 4. You re hiking a mountain which is the graph of f(x, y) = x xy y. You re standing at (,, 9). You wish to head in a direction which will maintain your elevation (so you want the instantaneous change in your elevation to be 0). How many possible directions are there for you to head? What are they? Solution. If you head in a direction given by a unit vector u, then the directional derivative will be f(, ) u. You want this to be 0, so you want u to be perpendicular to f(, ). There are two unit vectors in the plane which are perpendicular to f(, ). We calculate f = x y, x 6y, so f(, ) = 4, 8. The two unit vectors perpendicular to this are, and,. () () To find these, start with any vector that is perpendicular to 4, 8 ; one example is 8, 4 (we can tell it is perpendicular to 4, 8 because if we dot it with 4, 8, we get 0). To get a unit vector, divide this vector by its length (4 ) to get,. The other unit vector which is perpendicular to 4, 8 must be the negative of the one we have already found.

. Let f(x, y) = (x y) = x xy + y. (The graph and level set diagram of f are shown.) z y 4 9 x x y 0 4 9 Calculate the following directional derivatives of f. (a) D u f(, 0) where u =,. Solution. We ll use the formula D u f(, 0) = f(, 0) u. In this case, f = (x y), (x y), so f(, 0) =, and D u f(, 0) =,, = 0. (b) D u f(, 0) where u =,. Solution. D u f(, 0) = f(, 0) u =,, =. (c) D u f(0, ) where u =,. Solution. D u f(0, ) = f(0, ) u =,, =. (d) D u f(0, ) where u =,. Solution. D u f(0, ) = f(0, ) u =,, =. 6. Let S be the cylinder x + y = 4. Find the plane tangent to S at the point (,, ). Solution. If we let f(x, y, z) = x + y, then S is the level set f(x, y, z) = 4. Therefore, f(,, ) will be a normal vector for the tangent plane we want. f = x, y, 0, so f(,, ) =,, 0. Since (,, ) is a point on the tangent plane, the tangent plane has equation,, 0 x, y, z = 0, or (x ) + (y ) = 0. Note that this is exactly the same problem as # from the worksheet Tangent Planes and Linear Approximation ; this solution, however, is simpler than the one we came up with before. 7. Let S be the surface z = y sin x. Find the plane tangent to S at the point ( π 6,, ). Solution. If we let f(x, y, z) = y sin x z, then S is the level set f(x, y, z) = 0. Therefore, f ( π 6,, ) will be a normal vector for the tangent plane we want. f = y cos x, sin x,, so f ( π 6,, ) =,,. Since ( π 6,, ) is a point on the tangent plane, the tangent plane has equation,, x π 6, y, z = 0, or ( ) x π 6 + (y ) (z ) = 0. 4

Note that this is exactly the same problem as # from the worksheet Tangent Planes and Linear Approximation ; this solution, however, is simpler than the one we came up with before. 8. Suppose that x + 4y z = 4 is the plane tangent to the graph of f(x, y) at the point (,, ). (a) Find f(, ). Solution. We are told that x + 4y z = 4 is the plane tangent to the surface z = f(x, y) at the point (,, ). Let s think about how we normally find the tangent plane to a graph. We could use the result of # from the worksheet Tangent Planes and Linear Approximation, or we could simply express the graph as a level surface. Let s take the second approach. To find the plane tangent to z = f(x, y) at the point (,, ), let s write g(x, y, z) = f(x, y) z. Then, the surface z = f(x, y) can also be described as the level set g(x, y, z) = 0. Therefore, g(,, ) must be a normal vector for the tangent plane. From the equation we are given from the tangent plane, we can see that, 4, is also a normal vector for the tangent plane. Therefore, we know that g(,, ) must be parallel to, 4, ; in other words, g(,, ) must be a scalar multiple of, 4,. Of course, we re interested in f = f x, f y, and we had defined g in terms of f, so let s try to write g in terms of f. Since g(x, y, z) = f(x, y) z, g = f x, f y,, and g(,, ) = f x (, ), f y (, ),. So, we can conclude that f x (, ), f y (, ), is a scalar multiple of, 4,. What scalar? Well, looking at the last component of each vector, we can see that the scalar must be ; that is, f x (, ), f y (, ), =, 4,. So, f x(, ) = and f y(, ) = 4, which means that f(, ) =, 4. (b) Use linear approximation to approximate f(.,.9). Solution. Now that we know f x (, ) and f y (, ), we can write down the linearization L(x, y) of f(x, y) at (, ). () However, there is an even simpler way to do this problem. Remember that the graph of L(x, y) was exactly the tangent plane to f at (, ). So, z = L(x, y) is the same as x + 4y z = 4, or z = x + 4 y + 4. That is, L(x, y) = x + 4 y + 4. So, f(.,.9) L(.,.9) = (.) + 4 (.9) + 4 =.98. Challenging problem : If r(t) is a curve on a surface, what are the relations between the unit tangent vector, the unit normal vector, the binormal vector of the curve, and the tangent plane of the surface? () It is L(x, y) = f(, ) + f x(, )(x ) + f y(, )(y ) = + (x ) + 4 (y ).

Not so challenging problem: In Problem 8, suppose the plane given is the tangent plane of g(x, y, z) = k at the point (,, ). Can you find g(,, )? 6