MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

Similar documents
MATH 280 Multivariate Calculus Fall Integrating a vector field over a curve

LB 220 Homework 4 Solutions

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

SOLUTIONS TO SECOND PRACTICE EXAM Math 21a, Spring 2003

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

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!

D. Correct! This is the correct answer. It is found by dy/dx = (dy/dt)/(dx/dt).

MTHE 227 Problem Set 2 Solutions

Math 11 Fall 2018 Midterm 1

Major Ideas in Calc 3 / Exam Review Topics

Lecture 13 - Wednesday April 29th

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

Parametric Functions and Vector Functions (BC Only)

Exam 1 Review SOLUTIONS

MATH 32A: MIDTERM 1 REVIEW. 1. Vectors. v v = 1 22

Vector Functions & Space Curves MATH 2110Q

Mathematics for Physical Sciences III

Tuesday, Feb 12. These slides will cover the following. [cos(x)] = sin(x) 1 d. 2 higher-order derivatives. 3 tangent line problems

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 π.

Disclaimer: This Final Exam Study Guide is meant to help you start studying. It is not necessarily a complete list of everything you need to know.

Exam 3 Solutions. Multiple Choice Questions

DIFFERENTIATION AND INTEGRATION PART 1. Mr C s IB Standard Notes

x 1. x n i + x 2 j (x 1, x 2, x 3 ) = x 1 j + x 3

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

MATH 151 Engineering Mathematics I

Integration - Past Edexcel Exam Questions

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

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

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions

Math 106 Answers to Exam 3a Fall 2015

Chapter 2. First-Order Partial Differential Equations. Prof. D. C. Sanyal

AP Calculus Worksheet: Chapter 2 Review Part I

Summary of various integrals

MATH 2203 Exam 3 Version 2 Solutions Instructions mathematical correctness clarity of presentation complete sentences

Name: SOLUTIONS Date: 11/9/2017. M20550 Calculus III Tutorial Worksheet 8

Math 20C Homework 2 Partial Solutions

AP Calculus AB 2015 Free-Response Questions

Math 3c Solutions: Exam 2 Fall 2017

MTH4100 Calculus I. Week 6 (Thomas Calculus Sections 3.5 to 4.2) Rainer Klages. School of Mathematical Sciences Queen Mary, University of London

FINAL EXAM STUDY GUIDE

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

Name: ID: Math 233 Exam 1. Page 1

Limits and Continuity. 2 lim. x x x 3. lim x. lim. sinq. 5. Find the horizontal asymptote (s) of. Summer Packet AP Calculus BC Page 4

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period:

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

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

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

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

CHAPTER 6 VECTOR CALCULUS. We ve spent a lot of time so far just looking at all the different ways you can graph

Second Order ODEs. Second Order ODEs. In general second order ODEs contain terms involving y, dy But here only consider equations of the form

MATH 12 CLASS 5 NOTES, SEP

Faculty of Engineering, Mathematics and Science School of Mathematics

SCORE. Exam 3. MA 114 Exam 3 Fall 2016

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

Example 2.1. Draw the points with polar coordinates: (i) (3, π) (ii) (2, π/4) (iii) (6, 2π/4) We illustrate all on the following graph:

AP Calculus BC - Problem Solving Drill 19: Parametric Functions and Polar Functions

MATH 124. Midterm 2 Topics

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).

Derivatives and Integrals

Vectors, dot product, and cross product

10.3 Parametric Equations. 1 Math 1432 Dr. Almus

Calculus and Parametric Equations

Math 212-Lecture 8. The chain rule with one independent variable

mathematical objects can be described via equations, functions, graphs, parameterization in R, R, and R.

Vector Calculus handout

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

Math 53 Homework 5 Solutions

6x 2 8x + 5 ) = 12x 8. f (x) ) = d (12x 8) = 12

There are some trigonometric identities given on the last page.

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

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

Section 4.3 Vector Fields

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

1 The Derivative and Differrentiability

HOMEWORK 2 SOLUTIONS

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,

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

Module 2: Reflecting on One s Problems

Differentiation of Multivariable Functions

DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF MASSACHUSETTS. MATH 233 SOME SOLUTIONS TO EXAM 2 Fall 2018

sec x dx = ln sec x + tan x csc x dx = ln csc x cot x

AP Calculus AB 2nd Semester Homework List

Math 131. The Derivative and the Tangent Line Problem Larson Section 2.1

Parametric Equations and Polar Coordinates

Tangent Plane. Linear Approximation. The Gradient

Volumes of Solids of Revolution Lecture #6 a

Speed and Velocity: Recall from Calc 1: If f (t) gives the position of an object at time t, then. velocity at time t = f (t) speed at time t = f (t)

n=0 ( 1)n /(n + 1) converges, but not

Parametric Equations, Function Composition and the Chain Rule: A Worksheet

Christmas Calculated Colouring - C1

Lecture for Week 6 (Secs ) Derivative Miscellany I

Exercises for Multivariable Differential Calculus XM521

SCORE. Exam 3. MA 114 Exam 3 Fall 2016

MATH 2433 Homework 1

APPM 2350, Summer 2018: Exam 1 June 15, 2018

The Calculus of Vec- tors

Math S1201 Calculus 3 Chapters , 14.1

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

Math 116 Second Midterm March 20, 2013

Transcription:

WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

GOALS Be able to compute a gradient vector, and use it to compute a directional derivative of a given function in a given direction. Be able to use the fact that the gradient of a function f(x,y) is perpendicular (normal) to the level curves f(x,y)=k and that it points in the direction in which f(x,y) is increasing most rapidly.

INTRODUCTION So far, we ve been able to figure out the rate of change of a function of two variables in only two directions: the x- direction or the y-direction. Now, what if we want to find the rate of change of a function in any other direction? How do we point to things in 3-Space? A: Vectors So the question is this: How do we compute the rate of change of a function in the direction of a given vector at a given point?

Consider a surface given by z=f(x,y) Say we want to find the rate at which f is changing at the point (x 0,y 0 ) in the direction of a unit vector <a,b> We can draw a line through (x 0,y 0 ) in the direction of <a,b> And then a plane coming straight up from the line The trace we get on that plane is what we re looking for THIS IS TANGENT LINE WHOSE SLOPE WE WANT

The line on the xy-plane through (x 0,y 0 ) in the direction of <a,b>: { x(t) =x 0 + at l : y(t) =y 0 + bt To get the trace, we want to plug only the points on the line into the function f z=f(x(t),y(t)) The slope we want is the derivative of z with respect to t z t = f x x t + f y = f x a + f y b y t

THE DIRECTIONAL DERIVATIVE The directional derivative of the function f(x,y) at the point (x 0,y 0 ) in the direction of the unit vector <a,b> is written and computed as follows: D u f(x 0,y 0 )= f x (x 0,y 0 )a + f y (x 0,y 0 )b We can write this as a dot product: D u f(x 0,y 0 )= f x (x 0,y 0 ), f y (x 0,y 0 ) a, b We have unit vector u=<a,b> and the vector with the first order partial derivatives. We call this second vector the gradient.

THE GRADIENT We write and define the gradient as follows: f f(x, y) = x, f y = f x,f y f F (x, y, z) = x, f y, f z = f x,f y,f z E.g. Given f(x,y) = 3x 2 y 3, the gradient is f(x, y) = 6xy 3, 9x 2 y 2

PUTTING IT ALL TOGETHER The directional derivative of the function f(x,y) at the 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 )= f(x 0,y 0 ) u E.g. f(x, y) =x 3 2xy 2 (x 0,y 0 )=(1, 1) u = 1/ 2, 1/ 2 For the gradient, we have f = 3x 2 2y 2, 4xy Evaluate the gradient at the given point f(1, 1) = 1, 4 Plugging everything in we get D u f(1, 1) = 1, 4 = = 3 2 1 2 + 4 2 12, 1 2

EXAMPLE Consider the function f(x,y) = e y sin(x) Compute the directional derivative of f at (π/6,0) in the direction of the vector <2,3> Find a set of parametric equations for the tangent line whose slope you found above D u f(x 0,y 0 )= f(x 0,y 0 ) u

We need a unit vector, so we have to normalize <2,3>: 2, 3 = 13 u = 1 13 2, 3 The gradient of f is f = e y cos x, e y sin x f( /6, 0) = 3 2, 1 2 To make the dot product easier to compute, we can factor out the fractions D u f( /6, 0) = 1 2 13 2, 3 3, 1 = 1 2 13 2 3+3

For the tangent line, we need a point (of tangency) and a direction vector. The point is (π/6,0,f(π/6,0)) = (π/6,0,1/2) The direction vector is So we have: l : 2, 13 x = π 6 + 2 t 13 y = 3 t 13 z = 1 2 + 2 3+3 2 13 t 3, 2 3+3 13 2 13 l : x = π 6 +4t The first two components are the unit vector u y =6t z = 1 2 +(2 3 + 3)t

PROPERTIES OF THE GRADIENT Let s take a closer look at the directional derivative: D u f(x 0,y 0 )= f(x 0,y 0 ) u IT S A UNIT VECTOR SO ITS NORM IS 1! = f(x 0,y 0 ) u cos = f(x 0,y 0 ) cos THIS QUANTITY IS LARGEST WHEN THETA IS 0 OR WHEN THE GRADIENT IS IN THE SAME DIRECTION AS U THE GRADIENT POINTS IN THE DIRECTION IN WHICH THE DIRECTIONAL DERIVATIVE IS GREATEST OR AT ANY GIVEN POINT, A FUNCTION S GRADIENT POINTS IN THE DIRECTION IN WHICH THE FUNCTION INCREASES MOST RAPIDLY

EXAMPLE Consider the function f(x,y) = 4 - x 2 - y 2 at the point (1,1). We would expect the directional derivative to be greatest when walking toward the z-axis Compute the gradient at (1,1): f = 2x, 2y f(1, 1) = 2, 2 It works! This vector points directly at the z-axis from (1,1)

ONE MORE GRADIENT PROPERTY Consider a level curve f(x,y) = k which contains the point (x 0,y 0 ). We could represent this curve as a vector-valued function f So we have: d dt [f(x(t),y(t))] = d dx [k] f x dx dt + (x 0,y 0 ) f y dy t =0 f r (t) =0 r (t) r(t) = x(t),y(t) SO THE GRADIENT IS NORMAL TO THE LEVEL CURVE

EXAMPLE Consider the function f(x,y) = x 2 - y 2 f(2, 1) = 3 x 2 y 2 =3 Draw the level curve of f that contains the point (2,1) Compute the gradient of f at the point (2,1) Sketch the level curve and then draw the gradient at the point (2,1) f = 2x, 2y f(2, 1) = 4, 2

ONE MORE EXAMPLE Consider the function f(x,y) = x 2 - y Compute the directional derivative of f at (2,3) in the direction in which it increases most rapidly Draw level curves for f(x,y) = -1, 0, 1, 2, 3 Draw the gradient of f at (2,3)

f increases most rapidly in the direction of its gradient Plugging everything in to get the directional derivative f(x, y) = 2x, 1 D u f(2, 3) = 1 17 4, 1 4, 1 f(2, 3) = 4, 1 Normalizing the gradient to get a unit vector, we get f(2, 3) f(2, 3) = 1 17 4, 1 = 1 17 (17) = 17 NOTICE: THE DIRECTIONAL DERIVATIVE IN THE DIRECTION OF THE GRADIENT IS EQUAL TO THE MAGNITUDE OF THE GRADIENT

Some level curves: f = -1: -1 = x 2 - y y = x 2 + 1 f = 0: 0 = x 2 - y y = x 2 f = 1: 1 = x 2 - y y = x 2-1 f = 2: y = x 2-2 f=3: y = x 2-3 NOTICE: AT THE POINT (2,3), THE GRADIENT IS NORMAL TO THE LEVEL CURVE AND IS POINTING IN THE DIRECTION IN WHICH F IS INCREASING