1. ## Potential function

Find a potential function

$F(x,y,z) = (yz)i + (xz+z)j + (xy+y-1)k$

My solution:

$rotF = [(x+1)-(x+1)]i - [y-y]j + [z-z]k$
$rotF = (0,0,0)$ is conservative

$\frac{ \partial \phi}{ \partial x} = yz$
$\phi (x,y) = yz + f(y)$
$z + f'(y) = \frac{ \partial \phi}{ \partial y}$
$f'(y) = xz ==> f(y) = xyz$

$\phi (x,y,z) = yz + xyz + f(z)$
$y + xy + f'(z) = \frac{ \partial \phi}{ \partial z}$
$y + xy + f'(z) = xy +y -1$
$f'(z) = -1 ==> f(z) = -1 + k$

Potential function:
$\phi (x,y,z) = yz + xyz -1 + k$

Correct ?

2. No her I'm using f for the potential fn and d/dx etc are partial derivatives

in your first integration f = xyz + h(y,z) not yz

df/dy = xz + dh/dy = xz +z

h = yz + g(z)

f= xyz + yz +g(z)

df/dz = xy+y +g ' (z) = xy + y -1

g(z) = -z

f= xyz + y z - z

You can always check by taking grad(f)

3. Ok. Thank you