Answer
Conservative and $f(x,y)=ye^{x}+e^y+K$
Work Step by Step
Given: $F(x,y)=ye^{x}i+(e^{x}+e^y)j$
if $F(x,y)=Ai+Bj$ is a conservative field, then throughout the domain $D$, we get
$\dfrac{\partial A}{\partial y}=\dfrac{\partial B}{\partial x}$
Here, $A$ and $B$ are first-order partial derivatives on the domain $D$.
Then, we have $A_x=e^{x}+e^{x}; B_y=e^{x}$
Here, $\dfrac{\partial A}{\partial y} = \dfrac{\partial B}{\partial x}$
Thus, the vector field $F(x,y)$ is conservative.
Next, we will find $f$ such that $F=\nabla f$
Here, we have $f_x=ye^{x}..(1) \\ f_y=(e^{x}+e^y) ...(2)$
Now, integrate $f_x$ with respect to $x$, so we get
$f(x,y)=ye^{x}+e^y+g(y)$ ...(3)
Here, $g(y)$ represents a constant of integration with respect to $x$ with a function of $y$.
Now, we will differentiate $f(x,y)=ye^{x}+e^y+g(y)$ with respect to $y$.
$f_y(x,y)=ye^{x}+e^y+g'(y) ...(4)$
On comparing the equations (2) and (4) , we get
$g'(y)=0$
Now, $g(y)=K$ [ Integrate with respect to $y$]
Here, $K$ is a constant.
Hence, the function $f(x,y)$ becomes:
$f(x,y)=ye^{x}+e^y+K$