I have an expression that consists of functions of x and y, something like ay+yf(x)+g(x)+bh(x)+k(y). Is there a convenient method that removes all x-dependent terms and leaves ay+k(y)? f,g,h,k are symbolic and not known functions.
As far as I know, dependence in maxima [defined with depends()] is only recognized in diff. I tried diff and then integrate/antidiff, but antidiff/integrate does not recognize y and b as constant, and gives an expression with integrals.