Remember that if is a conservative vector field then there is some scalar function f such that . This function is called the scalar potential function. Can we reconstruct it simply from knowledge of the vector field?
If we write then the statement that translates to
(6) |
This is really the three equations
(7) |
We can integrate the first of these equations with respect o x to get
(8) |
where the arbitrary function g(y,z) takes the place of the constant of integration since we have three variables and are only integrating with respect to one of them.
We can now differentiate this expression for f(x,y,z) with respect to y and compare this with F2 to get
(9) |
Rearranging and integrating will let us find an expression for g(y,z) which will contain an arbitrary function of z, h(z). Repeating and using the third condition above, we can pin down h(z) except for a constant factor.
An example will serve to illustrate this more clearly. What is the potential function for ?
(10) |
Now we differentiate with respect to y and set this equal to F2.
(11) |
A little calculus reveals that this is the same as
(12) |
Thus, g(y) is a constant and we can write the scalar potential for as
(13) |
Note that sometimes it might be easier to integrate one of the other equations first and then begin taking derivatives. Only experience and pages of work will tell you. Also, it's an excellent idea to check that the gradient of the potential you find is actually the same as the vector field you started with.