Why this maximization approach fails?

Click For Summary

Homework Help Overview

The discussion revolves around finding points where the direction of fastest change of the function f(x,y) = x^2 + y^2 - 2x - 2y aligns with the vector <1,1>. Participants are exploring the implications of the gradient and its relationship to the direction of change.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the use of the gradient vector and its normalization to find the direction of fastest change. There is an attempt to equate the normalized gradient to <1,1>, which some participants find problematic. Others suggest that setting the partial derivatives equal may yield insights.

Discussion Status

Some participants have noted that the approach of normalizing the gradient does not yield the expected results, while others are exploring the implications of the function's surface shape. There is a mix of attempts and clarifications regarding the correct formulation of the gradient.

Contextual Notes

Participants are addressing potential misunderstandings regarding the dimensionality of the gradient and the notation used for partial derivatives. There is also mention of the function being a paraboloid, which may influence the interpretation of the problem.

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   Reactions: 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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K