Why this maximization approach fails?

friendbobbiny
Messages
49
Reaction score
2

Homework Statement


Find all points at which the direction of fastest change of the function f(x,y) = x^2 + y^2 -2x - 2yis in the direction of <1,1>.

Homework Equations


&lt;\nabla f = \frac{\delta f}{\delta x} , \frac{\delta f}{\delta y} , \frac{\delta f}{\delta z}&gt;

The Attempt at a Solution


\frac{\nabla f}{|\nabla f|} = <1,1>

This doesn't work but

\frac{\delta f}{\delta x} = \frac{\delta f}{\delta y}

does. This latter approach makes sense. The partial derivatives at x and y have the same value. The former approach should work, however. In general, \nabla f gives the direction of maximum change.
 
Physics news on Phys.org
NVM

set \frac{\nabla f}{|\nabla f|} to <root(2)/2, root(2)/2>

Resolved!
 
  • Like
Likes davidmoore63@y and berkeman
friendbobbiny said:

Homework Statement


Find all points at which the direction of fastest change of the function f(x,y) = x^2 + y^2 -2x - 2yis in the direction of <1,1>.

Homework Equations


&lt;\nabla f = \frac{\delta f}{\delta x} , \frac{\delta f}{\delta y} , \frac{\delta f}{\delta z}&gt;
Your function is one with two variables, so the gradient should be a vector with two components, not three.
$$\nabla f = <\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}>$$
friendbobbiny said:

The Attempt at a Solution


\frac{\nabla f}{|\nabla f|} = <1,1>

This doesn't work but

\frac{\delta f}{\delta x} = \frac{\delta f}{\delta y}

does. This latter approach makes sense. The partial derivatives at x and y have the same value. The former approach should work, however. In general, \nabla f gives the direction of maximum change.
Do you have a feel for what the surface for this function looks like? The graph of the surface is a paraboloid that opens upward.
 
friendbobbiny said:

Homework Statement


Find all points at which the direction of fastest change of the function f(x,y) = x^2 + y^2 -2x - 2<b>y </b>is in the direction of <1,1>.

Homework Equations


&lt;\nabla f = \frac{\delta f}{\delta x} , \frac{\delta f}{\delta y} , \frac{\delta f}{\delta z}&gt;

Just a note on Latex. First, your \nabla F belongs outside the < > denoting the vector. Second you can use "\partial" to indicate partial derivatives rather than "\delta":
\nabla f = &lt;\frac{\partial f}{\partial x} , \frac{\partial f}{\partial y} , \frac{\partial f}{\partial z}&gt;

3. The Attempt at a Solution
\frac{\nabla f}{|\nabla f|} = <1,1>

This doesn't work but

\frac{\delta f}{\delta x} = \frac{\delta f}{\delta y}

does. This latter approach makes sense. The partial derivatives at x and y have the same value. The former approach should work, however. In general, \nabla f gives the direction of maximum change.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top