Suppose we wish to solve the first order pde for the unknown function $f(x,y)$
$\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y}=c(x,y)\Big(a(x,y)+b(x,y)\Big)$
We assume that the functions $a(x,y)$ and $b(x,y)$ are given, while $c(x,y)$ is arbitrary.
This is an inhomogeneous first order linear pde with constant coefficients, for which it is easy to compute a general solution in terms of the functions $a,b,c$ using the method of characteristics.
However, since $c(x,y)$ is arbitrary, I am interested in figuring out what conditions would need to be imposed on $c(x,y)$ so that the solution $f$ of the pde above also satisfies the condition
$\frac{\partial f}{\partial x}=c(x,y)a(x,y)$
I tried taking the derivative of the general solution to the pde with respect to $x$ and then equating that solution to the extra condition, but the expression seems quite messy. Maybe there's another approach?
Thanks!