MHB Directional derivative

Click For Summary
To find the maximum and minimum values of the directional derivative D_u f at the point (-1/2, 3/2) for the function f(x,y) = (x-y)/(x+y), one must first compute the gradient ∇f. The maximum directional derivative occurs in the direction of the gradient, while the minimum occurs in the opposite direction. The relationship between the angles and the gradient components is established through the equation tan(θ) = f_y/f_x. By setting the derivative of the directional derivative with respect to θ to zero, one can determine the angles corresponding to the maximum and minimum values. Understanding these concepts allows for the effective calculation of D_u f in various directions.
shorty1
Messages
16
Reaction score
0
Let f(x,y) = (x-y)/(x+y). find the directions u and the values of $D_{u}f $ (-1/2 , 3/2) for which $D_{u}f $ (-1/2 , 3/2) is largest, and is smallest.

How do i go about that? I did it for when $D_{u}f $ (-1/2 , 3/2) = 1 and got $D_{u}f $ (-1/2 , 3/2) = 1 and got u=j and -i. This was after i equated partials for x and y at the point (-1/2, 3/2) and then substituted that into the formula for directional derivative, letting u = $u_{1}i + u_{2}j$i assume i can do the same to calculate when $D_{u}f $ (-1/2 , 3/2) = 0 and -2, can i? but i am not sure how to work it for when it is largest and smallest.

Any help will be appreciated.
 
Physics news on Phys.org
For a function of two variables, f(x,y), its gradient is \nabla f= f_x\vec{i}+ f_y\vec{j}. It is also true that a unit vector in a direction that makes angle \theta with the x-axis is cos(\theta)\vec{i}+ sin(\theta)\vec{j}. The directional derivative of f, in the direction of the unit vector \vec{u} is D_{\vec{u}}f= \nabla f\cdot\vec{u}= f_xcos(\theta)+ f_ysin(\theta).

Now, find the direction in which that is maximum or minimum by taking the derivative with respect to $\theta$ and setting it equal to 0:
-f_xsin(\theta)+ f_ycos(\theta)= 0.
That is the same as \frac{f_y}{f_x}= \frac{sin(\theta)}{cos(\theta)}= tan(\theta). That is, the max and min lie in the direction \theta such that tan(\theta)= \frac{f_y}{f_x}. But, looking at the right triangle having legs f_x and f_y and so hypotenuse \sqrt{f_x^2+ f_y^2}. That is, the direction in which the derivative is largest is precisely the direction in which the gradient is pointing. And the direction in which the derivative is least is just the opposite direction. (Of course, D_u f= \nabla f\cdot \vec{u}= 0 just says the vector \vec{v} is perpendicular to the gradient.
 
Last edited by a moderator:
Thread 'Problem with calculating projections of curl using rotation of contour'
Hello! I tried to calculate projections of curl using rotation of coordinate system but I encountered with following problem. Given: ##rot_xA=\frac{\partial A_z}{\partial y}-\frac{\partial A_y}{\partial z}=0## ##rot_yA=\frac{\partial A_x}{\partial z}-\frac{\partial A_z}{\partial x}=1## ##rot_zA=\frac{\partial A_y}{\partial x}-\frac{\partial A_x}{\partial y}=0## I rotated ##yz##-plane of this coordinate system by an angle ##45## degrees about ##x##-axis and used rotation matrix to...

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 8 ·
Replies
8
Views
604
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
4K