1

I was given a problem to evaluate the following integral, $$\int\limits_{-4}^{-1}\dfrac{1}{x}dx$$

I know the fact that integration of $1/x$ is $\log(x)$ but how can we compute negative logarithm? I mean to say that since definite integral refers to the area under the curve so how can it be even defined?

I tried the following method: $$\int\limits_{-4}^{-1}\dfrac{1}{x}dx = \log(-1) - \log(-4)$$ $$\implies \log\left(\dfrac{-1}{-4}\right) = -\log(4)$$

Is it correct? I don't think that the answer should be $-\log(4)$ because there is no graph for the negative logarithm. Is there any need of complex logarithm?

1 Answers1

1

Negative logarithms do exist, just not in the real numbers. The complex log function yields the same value as the log function, but on negative numbers it adds a complex component, but which is constant!

As a commenter noted, most books put the integral of $\frac{1}{x}$ as $\ln(|x|)$ to prevent going outside the domain. However, if you allow for complex functions, $\ln(x)$ actually still works. In fact, they are equivalent, if you allow $C$ to be complex, and allow for the fact that you probably shouldn't integrate across the non-smooth point at $x = 0$ (thus you may have different constants of integration).

For instance, for the natural logarithm, logarithms of negative numbers get $i\,\pi$ added to their positive equivalent. Therefore, if, between 0 (the non-smooth point) and $-\infty$, the constant of integration included $-i\,\pi$, then the two definitions would give you the same result.

johnnyb
  • 3,509