Reconstructing a function from its gradient

In summary, the homework statement is that given grad f = xy i + 2xy j+0 k, find f(x,y,z). However, there is no solution provided. To solve this type of equation, one must solve for the partial differential equations.
  • #1
kini.Amith
83
0

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
  • #2
I would start with the definition of the gradient operator and look at the three terms individually in the expression for grad f.
 
  • #3
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?
 
  • #4
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?
 
  • #5
the question is not exactly the same as that which i have given
 
Last edited:
  • #6
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'
 
  • #7
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.
 
  • #8
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?
 
  • #9
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
 

1. What does it mean to reconstruct a function from its gradient?

Reconstructing a function from its gradient means finding the original function given only its gradient or derivative. This is essentially the process of finding the anti-derivative or indefinite integral of a function.

2. Why is it important to reconstruct a function from its gradient?

Reconstructing a function from its gradient is important because it allows us to determine the original function and understand its behavior. This is especially useful in fields such as physics and engineering, where knowing the original function can help in making predictions and solving problems.

3. What information do we need to reconstruct a function from its gradient?

To reconstruct a function from its gradient, we need to know the derivative of the original function, as well as the initial conditions or boundary values. These can be given as specific points or values at certain points.

4. How do we reconstruct a function from its gradient?

To reconstruct a function from its gradient, we use integration techniques such as the power rule, product rule, quotient rule, or chain rule, depending on the form of the gradient. We also use the initial conditions or boundary values to solve for any arbitrary constants that may arise.

5. What are some practical applications of reconstructing a function from its gradient?

Reconstructing a function from its gradient has many practical applications in various fields such as physics, engineering, economics, and statistics. It is used to model and predict the behavior of systems and processes, such as in calculus-based physics problems or in predicting stock market trends.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
470
  • Calculus and Beyond Homework Help
Replies
1
Views
463
  • Calculus and Beyond Homework Help
Replies
2
Views
596
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
920
  • Calculus and Beyond Homework Help
Replies
9
Views
769
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
549
  • Calculus and Beyond Homework Help
Replies
7
Views
700
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
Back
Top