I am given vector field $F = (ay^2 + 2cxz)i + (ybx+ycz)j + (ay^2+cx^2)k$ and I am supposed to find values $a,b,c$ that would make $f(x,y,z)$ a function.
I first took partial derivatives and I get the following
$f_{x} = ay^2 + 2cxz$ meaning $F_{x} = ay^2x+czx^2$
$f_{y} = ybx+ycz$ meaning $F_{y} = \frac{1}{2} bxy^2 + \frac{1}{2}czy^2$
$f_{z} = ay^2 + cx^2$ meaning $F_{z} = ay^2z+cx^2z$
After this, I guess I can add the three to make $f(x,y,z)$, but I am not sure how to progress from here. Any help as to what I should do next? Thanks.
As suggested by amd, we can make use of the fact that the curl of a gradient identically vanishes, so, being $F$ a gradient, we have, $\nabla\times F=\vec0$. In components.
$\partial_y(ay^2+cx^2)-\partial_z(ybx+ycz)=0$
$\partial_z(ay^2+2cxz)-\partial_x(ay^2+cx^2)=0$
$\partial_x(ybx+ycz)-\partial_y(ay^2+2cxz)=0$
So is,
$2ay-cy=0$
$2cx-2cx=0$
$by-2ay=0$
Or
$c=2a$ and $b=2a$