79.7k views
0 votes
Determine whether or not F is a conservative vector field. If it is, find a function f such that F = ∇f. (If the vector field is not conservative, enter DNE.) F(x, y) = (yex + sin(y))i + (ex + x cos(y))j

User Raj
by
5.3k points

1 Answer

4 votes

If


\\abla f=(ye^x+\sin y)\,\vec\imath+(e^x+x\cos y)\,\vec\jmath

then


(\partial f)/(\partial x)=ye^x+\sin y\implies f(x,y)=ye^x+x\sin y+g(y)

Differentiating with respec to
y gives


(\partial f)/(\partial y)=e^x+x\cos y=e^x+x\cos y+g'(y)


\implies g'(y)=0\implies g(y)=C

So
F is indeed conservative, and


f(x,y)=ye^x+x\sin y+C

User Humayun Rahi
by
5.6k points