Finding lines when gradient function = 0

In summary, the conversation discusses finding the lines in the x-y plane where the gradient of the function f(x,y) = cos(x^2+3y) is equal to zero. The gradient is given by ∇f = (∂f/∂x,∂f/∂y). The conversation also mentions finding the line where ∇f is a non-zero vector pointing in the y-direction. The correct answer for this condition is y = -(1/3)x^2. The conversation also touches on the possibility of other answers and the conditions for both x and y components to be equal to zero.
  • #1
J_M_R
20
0

Homework Statement



Consider the function f(x,y) = cos(x^2+3y).

Write down the gradient of f. Then find the lines in the x-y plabe where ∇f = 0

Homework Equations



∇f = (∂f/∂x,∂f/∂y)

The Attempt at a Solution



-2xsin(x^2+3y) = 0

sin(x^2+3y) = 0
y = -(1/3)x^2

and

-3sin(x^2+3y) = 0

sin(x^2+3y) = 0
y = -(1/3)x^2

Should I be getting the same answer? I also think I have not understood what the question is asking as the next question goes on to say find the line where ∇f is a non zero vector pointing in the y-direction. For this I have the same answer again!
 
Physics news on Phys.org
  • #2
J_M_R said:
-2xsin(x^2+3y) = 0

sin(x^2+3y) = 0
y = -(1/3)x^2
This is only one possible answer. There are others.

J_M_R said:
Should I be getting the same answer?
Since the question is asking for lines where ∇f = 0, it's good that you get the same answer for the x and y components of ∇f.

J_M_R said:
I also think I have not understood what the question is asking as the next question goes on to say find the line where ∇f is a non zero vector pointing in the y-direction. For this I have the same answer again!
What is the condition for ∇f to be pointing in the y direction?
 
  • #3
DrClaude said:
This is only one possible answer. There are others.

The only other possible result I can think that you can get is when -2x=0 and this would give x=0. I'm not sure if I am looking for another answer in the form y=?


What is the condition for ∇f to be pointing in the y direction?

I put the x component to be equal to zero, leaving me with -2xsin(x^2+3y) = 0 and then solved as before?
 
  • #4
Apologies part of my previous reply was stuck in your quote! :

The only other possible result I can think that you can get is when -2x=0 and this would give x=0. I'm not sure if I am looking for another answer in the form y=?
 
  • #5
J_M_R said:
The only other possible result I can think that you can get is when -2x=0 and this would give x=0. I'm not sure if I am looking for another answer in the form y=?
What about ##\sin(x^2+3y)##? Is it really zero only for ##x^2+3y = 0##?

J_M_R said:
I put the x component to be equal to zero, leaving me with -2xsin(x^2+3y) = 0 and then solved as before?
That's the condition on ##x##. What is the condition on ##y##?

Remember that you have to look at both components of ∇f at the same time.
 

FAQ: Finding lines when gradient function = 0

What is the significance of finding lines when the gradient function equals 0?

When the gradient function equals 0, it means that the slope of the line is 0 at that particular point. This can be useful in finding maximum or minimum points on a graph, as these points will have a gradient of 0.

How do you find lines when the gradient function equals 0?

To find lines when the gradient function equals 0, you can set the gradient function equal to 0 and solve for the x-coordinate. This will give you the x-coordinate of the point where the line has a gradient of 0. You can then use this point to find the equation of the line.

Can lines have a gradient of 0 at multiple points?

Yes, lines can have a gradient of 0 at multiple points. This means that the line is either horizontal or has a flat portion at those points. To find all the points where the line has a gradient of 0, you can set the gradient function equal to 0 and solve for all possible x-coordinates.

How can finding lines with a gradient of 0 be applied in real life?

Finding lines with a gradient of 0 can be applied in various fields such as physics, engineering, and economics. For example, in physics, finding the maximum or minimum points on a graph can help in determining the maximum or minimum values of a physical quantity. In economics, finding the points where the gradient is 0 can help in finding the equilibrium point in a supply and demand graph.

What is the relationship between lines with a gradient of 0 and the derivative?

The gradient function is equivalent to the derivative of the original function. Therefore, when the gradient function equals 0, it means that the derivative of the original function is also equal to 0. This is a critical point on the graph, and it can help in determining the behavior of the function at that point.

Similar threads

Back
Top