Reconstructing a function from its gradient

  • Thread starter Thread starter kini.Amith
  • Start date Start date
  • Tags Tags
    Function Gradient
Click For Summary

Homework Help Overview

The discussion revolves around reconstructing a function from its gradient, specifically examining the gradient vector field given by grad f = xy i + 2xy j + 0 k. Participants explore how to find the potential function f(x,y,z) and discuss the implications of the gradient's properties.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the definition of the gradient operator and its components. Some question the validity of the initial assumption that f(x,y,z) could be zero, while others point out the need to consider the implications of mixed partial derivatives. There is also a request for a general method to solve similar problems.

Discussion Status

The discussion is active, with participants clarifying the original problem statement and exploring the conditions under which a potential function may not exist. Some guidance has been provided regarding the nature of the gradient and the relationship to potential fields, but no consensus has been reached on a definitive method for all cases.

Contextual Notes

There is confusion regarding the original problem statement and its interpretation, particularly concerning the existence of a potential function. Participants are also considering the implications of divergence and gradient in their discussions.

kini.Amith
Messages
83
Reaction score
1

Homework Statement


given grad f = xy i + 2xy j+0 k
find f(x,y,z)
how to generally solve questions of this type


Homework Equations





The Attempt at a Solution


the ans is 0. don't know how.
 
Physics news on Phys.org
I would start with the definition of the gradient operator and look at the three terms individually in the expression for grad f.
 
Well, first, the answer is NOT '0'. If f(x,y,z)= 0 for all x, a constant, then its gradient is everywhere 0, not what you give.

Hopefully, as SteamKing suggested, you know that
[tex]\nabla f= \frac{\partial f}{\partial x}\vec{i}+ \frac{\partial f}{\partial y}\vec{j}+ \frac{\partial f}{\partial z}\vec{k}[/tex]
so you must have
[tex]\frac{\partial f}{\partial x}= xy[/tex]
[tex]\frac{\partial f}{\partial y}= 2xy[/tex]
[tex]\frac{\partial f}{\partial z}= 0[/tex]
One problem you are going to have to consider is that
[tex]\frac{\partial^2f}{\partial x\partial y}= \frac{\partial xy}{\partial y}= x[/tex]
and
[tex]\frac{\partial^2f}{\partial y\partial x}= \frac{\partial 2xy}{\partial x}= 2y[/tex]

Do you see a difficulty with that?
 
kini.Amith said:

Homework Statement


given grad f = xy i + 2xy j+0 k
find f(x,y,z)
how to generally solve questions of this type

The Attempt at a Solution


the ans is 0. don't know how.

This can't be right.
With f(x,y,z)=0, we would have graf f(x,y,z)=0 i + 0 j + 0 k.
This does not match your problem.

Did you state the problem correctly?
 
the question is not exactly the same as that which i have given
 
Last edited:
The exact qustion is,

Q. we can handle potential fields f more easily than vector fields v= grad f. Find f for given v or state that v has no potential
v = xy i + 2xy j+0 k

And the ans given is 'no potential'
 
kini.Amith said:
The exact qustion is,

Q. we can handle potential fields f more easily than vector fields v= grad f. Find f for given v or state that v has no potential
v = xy i + 2xy j+0 k

And the ans given is 'no potential'

That makes more sense!
That is, there is no solution.
A possible proof has already been given by HallsOfIvy.
 
ok, but can u help me with how to generally solve problems of this kind which do have solutions.
say div f= (yz + 1) i +(xz + 1 )j + (xy + 1) k
the ans is obvious, but how to solve it methodically?
 
kini.Amith said:
ok, but can u help me with how to generally solve problems of this kind which do have solutions.
say div f= (yz + 1) i +(xz + 1 )j + (xy + 1) k
the ans is obvious, but how to solve it methodically?

The method to solve it, is to solve the partial differential equations (assuming you meant grad instead of div).
In your example the first equation is:

fx=yz + 1

The equations solve to respectively:

f(x,y,z) = xyz + x + g1(y,z)
f(x,y,z) = xyz + y + g2(x,z)
f(x,y,z) = xyz + z + g3(x,y)

where g1, g2, and g3 are arbitrary functions of the specified variables.

Combining these gives:

f(x,y,z) = xyz + x + y + z + C
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K