Optimizing Directional Derivatives in the XY Plane

  • Thread starter Thread starter dcl
  • Start date Start date
  • Tags Tags
    Derivatives
AI Thread Summary
To find the direction in the XY plane for the most rapid decrease of the function f(x,y,z) = (x + y - 2)² + (3x - y - 6)² from the point (1,1), the gradient is calculated as ∇f = (-24, 8). The goal is to minimize the dot product of the gradient with a unit vector u, which leads to the conclusion that u should point in the opposite direction of the gradient. This means u must align with the vector (24, -8). The correct unit vector direction for maximum decrease is thus derived from the negative gradient.
dcl
Messages
54
Reaction score
0
Heya's
I need to find the direction in the xy plane in which one should travel, starting from point (1,1), to obtain the most rapid rate of decrease of
f(x,y,z) = (x + y - 2)^2 + (3x - y - 6)^2

now, \nabla f = (2(x+y-2), 2(3x-y-6))

so I'm thinking now I have to find the the unti vector 'u' which would be the direction in question. Unfortunately I do not know how to go on from here.
Somehow maximise \nabla f \cdot u (where 'u' is a unit vector, don't know how to do vectors properly in latex :frown: )
 
Mathematics news on Phys.org
\vec{u} (I looked it up myself just a few hours ago).

First of all, \nabla f = (2(x + y - 2) + 6(3x - y -6), 2(x + y - 2) - 2(3x - y - 6))
Second, you are only concerned with what is going on at (1,1), where \nabla f = (-24, 8).

Now, the question is to minimize (-24, 8)\cdot\vec{u}. Since \vec{v}\cdot\vec{w} = vw\cos \theta, where \theta is the angle between them, we see that the minimum occurs when \theta = \pi. I.e., when the vectors are pointing in opposite directions.

So \vec{u} must be the unital vector in the direction of (24, -8).
 
Silly me, I was straining all that time trying to figure out why my method is wrong and all the time I had been working with the wrong grad f. Thanks.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top