Live data from Hacker News

The antiderivative of 1/x is ln(x), not ln |x

blog.danielh.cc

1–3 of 3 posts

Re: The antiderivative of 1/x is ln(x), not ln |x

#3

Sir what you wrote down is equivalent to integral 1/x = ln|x| if x > 0 else ln|x| + pi*i

1/x = ln|x| + C if x > 0

ln|x| + pi*i + C or ln|x| - pi*i + C or is x In reals ln|x| is fine.

In complex, it's a mess https://en.wikipedia.org/wiki/Complex_logarithm