If it is known that F=F(x,y)=(6xy+y3)i+(3x2+3xy2)j
is a conservative vector field, find a potential function f for F.
Solution We seek a function f(x,y) for which ∇ f=F=(6xy+y3)i+(3x2+3xy2)j
Let P(x,y)=6xy+y3andQ(x,y)=3x2+3xy2
Since ∇ f=∂f∂xi+∂f∂yj=P(x,y)i+Q(x,y)j
we have ∂f∂x=6xy+y3and∂f∂y=3x2+3xy2
Now integrate the left equation partially with respect to x. f(x,y)=∫(6xy+y3)dx=3x2y+xy3+h(y)
where the “constant of integration,” h(y), is a function of y.
Next differentiate f with respect to y: ∂f∂y=3x2+3xy2+h′(y)
From (1), we have ∂f∂y=3x2+3xy2
So, h′(y)=0 or h(y)=K, where K is a constant. A potential function f for F is f(x,y)=3x2y+xy3+K