Note: the middle component of the force should be 6xy^2 - 4y in order to be conservative
a) ∇f = 〈∂f/∂x, ∂f/∂y, ∂f/∂z〉= F
∂f/∂x = 2y3 − 6xz
f(x,y,z) = 2xy3 - 3x2z + C(y,z)
∂f/∂y = 6xy2+ ∂C/∂y
Thus, ∂C/∂y = -4y, C(y,z) = -2y2+D(z)
f(x,y,z) = 2xy3 - 3x2z - 2y2+D(z)
∂f/∂z = - 3x2 + ∂D/∂z
Thus, ∂D/∂z = 4, D(z) = 4z
Finally, f(x,y,z) = 2xy3 - 3x2z - 2y2 + 4z
Work is equal to f(B) - f(A) = 49
b) We must write an equation for a line from A to P
A(1, 0, -1) and P(1(1, 2, -1) so r1(t) = 〈1, 2t, -1〉which travels from A to P from t = 0 to t = 1 seconds
We now write F in terms of time since Work = ∫F•dr
F (x, y, z) = 〈2y3 − 6xz, 6xy2 − 4y, 4 − 3x2〉
r1(t) = 〈x(t), y(t), z(t)〉= 〈1, 2t, -1〉
F(t) = 〈2*(2t)3 − 6(1)(-1), 6(1)(2t)2 − 4(2t), 4 − 3(1)2〉= 〈16t3+6, 24t2 − 8t, 1〉
dr = 〈0, 2, 0〉* dt
W = ∫01F(t) • dr = ∫012*(24t2 − 8t) * dt = 8
Follow a similar procedure to find the work from P to B. Work = 41
Then add the work to find the total work from A to B.
Work from A to B = Work from A to P + Work from P to B = 49, same as part a)