<< Chapter < Page Chapter >> Page >
  • Determine the directional derivative in a given direction for a function of two variables.
  • Determine the gradient vector of a given real-valued function.
  • Explain the significance of the gradient vector with regard to direction of change along a surface.
  • Use the gradient to find the tangent to a level curve of a given function.
  • Calculate directional derivatives and gradients in three dimensions.

In Partial Derivatives we introduced the partial derivative. A function z = f ( x , y ) has two partial derivatives: z / x and z / y . These derivatives correspond to each of the independent variables and can be interpreted as instantaneous rates of change (that is, as slopes of a tangent line). For example, z / x represents the slope of a tangent line passing through a given point on the surface defined by z = f ( x , y ) , assuming the tangent line is parallel to the x -axis. Similarly, z / y represents the slope of the tangent line parallel to the y -axis. Now we consider the possibility of a tangent line parallel to neither axis.

Directional derivatives

We start with the graph of a surface defined by the equation z = f ( x , y ) . Given a point ( a , b ) in the domain of f , we choose a direction to travel from that point. We measure the direction using an angle θ , which is measured counterclockwise in the x , y -plane, starting at zero from the positive x -axis ( [link] ). The distance we travel is h and the direction we travel is given by the unit vector u = ( cos θ ) i + ( sin θ ) j . Therefore, the z -coordinate of the second point on the graph is given by z = f ( a + h cos θ , b + h sin θ ) .

A shape in xyz space with point (a, b, f(a, b)). From the point, there is an arrow that represents the directional derivative. On the xy plane, the point (a, b) is marked and an angle of size θ is made between the projection of the directional derivative onto the plane and a line parallel to the x axis.
Finding the directional derivative at a point on the graph of z = f ( x , y ) . The slope of the black arrow on the graph indicates the value of the directional derivative at that point.

We can calculate the slope of the secant line by dividing the difference in z -values by the length of the line segment connecting the two points in the domain. The length of the line segment is h . Therefore, the slope of the secant line is

m sec = f ( a + h cos θ , b + h sin θ ) f ( a , b ) h .

To find the slope of the tangent line in the same direction, we take the limit as h approaches zero.

Definition

Suppose z = f ( x , y ) is a function of two variables with a domain of D . Let ( a , b ) D and define u = cos θ i + sin θ j . Then the directional derivative    of f in the direction of u is given by

D u f ( a , b ) = lim h 0 f ( a + h cos θ , b + h sin θ ) f ( a , b ) h ,

provided the limit exists.

[link] provides a formal definition of the directional derivative that can be used in many cases to calculate a directional derivative.

Finding a directional derivative from the definition

Let θ = arccos ( 3 / 5 ) . Find the directional derivative D u f ( x , y ) of f ( x , y ) = x 2 x y + 3 y 2 in the direction of u = ( cos θ ) i + ( sin θ ) j . What is D u f ( −1 , 2 ) ?

First of all, since cos θ = 3 / 5 and θ is acute, this implies

sin θ = 1 ( 3 5 ) 2 = 16 25 = 4 5 .

Using f ( x , y ) = x 2 x y + 3 y 2 , we first calculate f ( x + h cos θ , y + h sin θ ) :

f ( x + h cos θ , y + h sin θ ) = ( x + h cos θ ) 2 ( x + h cos θ ) ( y + h sin θ ) + 3 ( y + h sin θ ) 2 = x 2 + 2 x h cos θ + h 2 cos 2 θ x y x h sin θ y h cos θ −h 2 sin θ cos θ + 3 y 2 + 6 y h sin θ + 3 h 2 sin 2 θ = x 2 + 2 x h ( 3 5 ) + 9 h 2 25 x y 4 x h 5 3 y h 5 12 h 2 25 + 3 y 2 + 6 y h ( 4 5 ) + 3 h 2 ( 16 25 ) = x 2 x y + 3 y 2 + 2 x h 5 + 9 h 2 5 + 21 y h 5 .

We substitute this expression into [link] :

D u f ( a , b ) = lim h 0 f ( a + h cos θ , b + h sin θ ) f ( a , b ) h = lim h 0 ( x 2 x y + 3 y 2 + 2 x h 5 + 9 h 2 5 + 21 y h 5 ) ( x 2 x y + 3 y 2 ) h = lim h 0 2 x h 5 + 9 h 2 5 + 21 y h 5 h = lim h 0 2 x 5 + 9 h 5 + 21 y 5 = 2 x + 21 y 5 .

To calculate D u f ( −1 , 2 ) , we substitute x = −1 and y = 2 into this answer:

D u f ( −1 , 2 ) = 2 ( −1 ) + 21 ( 2 ) 5 = −2 + 42 5 = 8 .

(See the following figure.)

The shape f(x, y) = x2 – xy + 3y2 in xyz space with tangent plane at point (–1, 2, 15). There are two arrows from the point, one seemingly along the surface of the shape and the other in a direction on the plane. The one that corresponds to the plane is marked u = 3/5 i + 4/5 j.
Finding the directional derivative in a given direction u at a given point on a surface. The plane is tangent to the surface at the given point ( −1 , 2 , 15 ) .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Questions & Answers

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 2

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 3. OpenStax CNX. Feb 05, 2016 Download for free at http://legacy.cnx.org/content/col11966/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 3' conversation and receive update notifications?

Ask