On Mon, 13 Jan 2020 at 20:52, Josefsson-Ljungdahl <[email protected]> wrote: > > Yes, a primitive function is unique only up to a constant but it is not > strictly correct to pick out a particular one since the constant is > arbitrary. This may be an academic point but I would have thought that it > would be possible to construct the algorithm in such a way that a constant is > washed out or if included just be named constant or similar and added after > to the unique part.
There is no "unique part" though. There is a family of possibilities each of which may or may not be representable in a variety of forms. Given f = 2x + 2 possible antiderivatives F are x^2 + 2*x or (x + 1)^2. These differ by a constant and you can add an arbitrary constant to either. So how in general would you identify a unique antiderivative? -- Oscar -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxQpJaHWTMT0EvB931d08U9_aDokVLm0cZ%2BZzG9Y64aeZQ%40mail.gmail.com.
