What's going on here is that from the identity

you may divide through by to obtain the identity

The different between and is which can be absorbed by the constant of integration. Hence, either answer is correct. In a definite integral, either would work.