December 3, 2025
log|x| + C revisited
Posted by Mike Shulman
A while ago on this blog, Tom posted a question about teaching calculus: what do you tell students the value of is? The standard answer is , with an “arbitrary constant”. But that’s wrong if means (as we also usually tell students it does) the “most general antiderivative”, since
is a more general antiderivative, for two arbitrary constants and . (I’m writing for the natural logarithm function that Tom wrote as , for reasons that will become clear later.)
In the ensuing discussion it was mentioned that other standard indefinite integrals like are just as wrong. This happens whenever the domain of the integrand is disconnected: the “arbitrary constant” is really only locally constant. Moreover, Mark Meckes pointed out that believing in such formulas can lead to mistaken calculations such as
which is “clearly nonsense” since the integrand is everywhere positive.
In this post I want to argue that there’s actually a very natural perspective from which is correct, while is wrong for a different reason.
Posts with this logo use





