There is a concept for partial derivatives that is analogous to antiderivatives for regular derivatives.
Thus the set of functions x^2 + xy + g(y), where g is any one-argument function, represents the entire set of functions in variables x,y that could have produced the x-partial derivative 2x + y.