What is the Gradient of a Function at a Given Point?

  • Context: MHB 
  • Thread starter Thread starter JProgrammer
  • Start date Start date
  • Tags Tags
    Direction
Click For Summary
SUMMARY

The discussion focuses on calculating the gradient of the function f(x, y) = x^2 - 4y^2 - 9 at the point (1, -2) to determine the direction of steepest ascent. The user attempted to use Wolfram Alpha for this calculation but encountered issues with input interpretation. The correct approach involves recognizing that the gradient is a vector composed of the partial derivatives of the function with respect to x and y. The gradient at the specified point should be calculated as grad(f) = (2x, -8y), yielding the result (2, 16) at (1, -2).

PREREQUISITES
  • Understanding of gradient vectors in multivariable calculus
  • Familiarity with partial derivatives
  • Basic knowledge of the function notation f(x, y)
  • Experience using computational tools like Wolfram Alpha
NEXT STEPS
  • Learn how to compute partial derivatives for multivariable functions
  • Study the concept of gradient vectors and their geometric interpretation
  • Explore the use of Wolfram Alpha for gradient calculations with correct syntax
  • Investigate optimization techniques in calculus, focusing on steepest ascent and descent
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are interested in understanding gradients and optimization in multivariable functions.

JProgrammer
Messages
20
Reaction score
0
I am trying to find the direction of steepest ascent of this function with this given point:

f(x) = x^2 - 4y^2 - 9

(1,-2)

I have the understanding that the steepest ascent or in some cases descent can be measured by the gradient. So in wolfram alpha I type in: gradient f(x) = x^2 - 4y^2 - 9, (1,-2) it says it interprets my input as: grad(-9+x^2-4 y^2, 18+x^2-4 y^2)
and gives me: grad(-9+x^2-4 y^2, 18+x^2-4 y^2) = ({2 x, 2 x}, {-8 y, -8 y}).

It interprets my input wrong and does not give me a direction. If someone could tell me what I am doing wrong and what I need to do instead, I would appreciate.

Thank you.
 
Physics news on Phys.org
Shouldn't that be f(x, y)?
 
JProgrammer said:
I am trying to find the direction of steepest ascent of this function with this given point:

f(x) = x^2 - 4y^2 - 9

(1,-2)

I have the understanding that the steepest ascent or in some cases descent can be measured by the gradient. So in wolfram alpha I type in: gradient f(x) = x^2 - 4y^2 - 9, (1,-2) it says it interprets my input as: grad(-9+x^2-4 y^2, 18+x^2-4 y^2)
and gives me: grad(-9+x^2-4 y^2, 18+x^2-4 y^2) = ({2 x, 2 x}, {-8 y, -8 y}).

It interprets my input wrong and does not give me a direction. If someone could tell me what I am doing wrong and what I need to do instead, I would appreciate.

Thank you.
Really? I got this. But it's so simple a problem, why are you using W|A to do it? Do you know how to take the gradient?

-Dan
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
904
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K