Inconsistency between derivative and indefinite integral of a function
.
f(x)=a*x^2 b
fp=derivative(f)
works and produces
x|->2ax
as it shlould. But
af=integral(f)
does not work. It requires
af(x)=integral(f,x)
This feels inconsistent. Why does it work this way?
Looks like a deficiency in the
integralfunctionality, which could have used the main variable offfor integration. Please report at https://github.com/sagemath/sage/issues