<< Chapter < Page Chapter >> Page >

[link] shows a portion of the graph of the function f ( x , y ) = 3 + sin x sin y . Given a point ( a , b ) in the domain of f , the maximum value of the gradient at that point is given by f ( a , b ) . This would equal the rate of greatest ascent if the surface represented a topographical map. If we went in the opposite direction, it would be the rate of greatest descent.

An surface in xyz space with point at f(a, b). There is an arrow in the direction of greatest descent.
A typical surface in 3 . Given a point on the surface, the directional derivative can be calculated using the gradient.

When using a topographical map, the steepest slope is always in the direction where the contour lines are closest together (see [link] ). This is analogous to the contour map of a function, assuming the level curves are obtained for equally spaced values throughout the range of that function.

Two crossing dashed lines that pass through the origin and a series of curved lines approaching the crosses dashed lines as if they are asymptotes.
Contour map for the function f ( x , y ) = x 2 y 2 using level values between −5 and 5 .

Gradients and level curves

Recall that if a curve is defined parametrically by the function pair ( x ( t ) , y ( t ) ) , then the vector x ( t ) i + y ( t ) j is tangent to the curve for every value of t in the domain. Now let’s assume z = f ( x , y ) is a differentiable function of x and y , and ( x 0 , y 0 ) is in its domain. Let’s suppose further that x 0 = x ( t 0 ) and y 0 = y ( t 0 ) for some value of t , and consider the level curve f ( x , y ) = k . Define g ( t ) = f ( x ( t ) , y ( t ) ) and calculate g ( t ) on the level curve. By the chain Rule,

g ( t ) = f x ( x ( t ) , y ( t ) ) x ( t ) + f y ( x ( t ) , y ( t ) ) y ( t ) .

But g ( t ) = 0 because g ( t ) = k for all t . Therefore, on the one hand,

f x ( x ( t ) , y ( t ) ) x ( t ) + f y ( x ( t ) , y ( t ) ) y ( t ) = 0 ;

on the other hand,

f x ( x ( t ) , y ( t ) ) x ( t ) + f y ( x ( t ) , y ( t ) ) y ( t ) = f ( x , y ) · x ( t ) , y ( t ) .

Therefore,

f ( x , y ) · x ( t ) , y ( t ) = 0 .

Thus, the dot product of these vectors is equal to zero, which implies they are orthogonal. However, the second vector is tangent to the level curve, which implies the gradient must be normal to the level curve, which gives rise to the following theorem.

Gradient is normal to the level curve

Suppose the function z = f ( x , y ) has continuous first-order partial derivatives in an open disk centered at a point ( x 0 , y 0 ) . If f ( x 0 , y 0 ) 0 , then f ( x 0 , y 0 ) is normal to the level curve of f at ( x 0 , y 0 ) .

We can use this theorem to find tangent and normal vectors to level curves of a function.

Finding tangents to level curves

For the function f ( x , y ) = 2 x 2 3 x y + 8 y 2 + 2 x 4 y + 4 , find a tangent vector to the level curve at point ( −2 , 1 ) . Graph the level curve corresponding to f ( x , y ) = 18 and draw in f ( −2 , 1 ) and a tangent vector.

First, we must calculate f ( x , y ) :

f x ( x , y ) = 4 x 3 y + 2 and f y = −3 x + 16 y 4 so f ( x , y ) = ( 4 x 3 y + 2 ) i + ( −3 x + 16 y 4 ) j .

Next, we evaluate f ( x , y ) at ( −2 , 1 ) :

f ( −2 , 1 ) = ( 4 ( −2 ) 3 ( 1 ) + 2 ) i + ( −3 ( −2 ) + 16 ( 1 ) 4 ) j = −9 i + 18 j .

This vector is orthogonal to the curve at point ( −2 , 1 ) . We can obtain a tangent vector by reversing the components and multiplying either one by −1 . Thus, for example, −18 i 9 j is a tangent vector (see the following graph).

A rotated ellipse with equation f(x, y) = 10. At the point (–2, 1) on the ellipse, there are drawn two arrows, one tangent vector and one normal vector. The normal vector is marked ∇f(–2, 1) and is perpendicular to the tangent vector.
Tangent and normal vectors to 2 x 2 3 x y + 8 y 2 + 2 x 4 y + 4 = 18 at point ( −2 , 1 ) .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

For the function f ( x , y ) = x 2 2 x y + 5 y 2 + 3 x 2 y + 4 , find the tangent to the level curve at point ( 1 , 1 ) . Draw the graph of the level curve corresponding to f ( x , y ) = 8 and draw f ( 1 , 1 ) and a tangent vector.

f ( x , y ) = ( 2 x 2 y + 3 ) i + ( −2 x + 10 y 2 ) j
f ( 1 , 1 ) = 3 i + 6 j
Tangent vector: 6 i 3 j or −6 i + 3 j
A rotated ellipse with equation f(x, y) = 8. At the point (1, 1) on the ellipse, there are drawn two arrows, one tangent vector and one normal vector. The normal vector is marked ∇f(1, 1) and is perpendicular to the tangent vector.

Got questions? Get instant answers now!

Questions & Answers

what are components of cells
ofosola Reply
twugzfisfjxxkvdsifgfuy7 it
Sami
58214993
Sami
what is a salt
John
the difference between male and female reproduction
John
what is computed
IBRAHIM Reply
what is biology
IBRAHIM
what is the full meaning of biology
IBRAHIM
what is biology
Jeneba
what is cell
Kuot
425844168
Sami
what is biology
Inenevwo
what is cytoplasm
Emmanuel Reply
structure of an animal cell
Arrey Reply
what happens when the eustachian tube is blocked
Puseletso Reply
what's atoms
Achol Reply
discuss how the following factors such as predation risk, competition and habitat structure influence animal's foraging behavior in essay form
Burnet Reply
cell?
Kuot
location of cervical vertebra
KENNEDY Reply
What are acid
Sheriff Reply
define biology infour way
Happiness Reply
What are types of cell
Nansoh Reply
how can I get this book
Gatyin Reply
what is lump
Chineye Reply
what is cell
Maluak Reply
what is biology
Maluak
what is vertibrate
Jeneba
what's cornea?
Majak Reply
what are cell
Achol
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