# Why is the definite integral of 1/x from -1 to 1 undefined?

• B
• Saracen Rue
In summary, the indefinite integral of ##\frac{1}{x}## is ##\ln(|x|)##, but when extending this to definite integrals over limits involving negative values, the answer is undefined. This is because the function is not defined in the interval [-1,1] and therefore the fundamental theorem of calculus cannot be applied. Other methods, such as the Cauchy principal value or Laplace transform, can be used to determine a value of 0 for this integral. However, the Riemann and Lebesgue integrals do not exist for this function.
Saracen Rue
TL;DR Summary
Why is ##\int_{-1}^{1} \frac {1} {x} dx## undefined?
I've always been taught that the indefinite integral of ##\frac{1}{x}## is ##\ln(|x|)##. Extending this to definite integrals, particularly over limits involving negative values, should work just like any other integral:

$$\int_{-1}^{1} \frac {1} {x} dx = \ln(|-1|) - \ln(|1|) = \ln(1) - \ln(1) = 0 - 0 = 0$$

However, this doesn't seem to be the case as every online calculator/program I use states the answer as being undefined. What I'm struggling with is why it's undefined, as all the rules I know for integration and maths in general imply the answer should be ##0##. I should note that I've never been the strongest with understanding the theory behind a lot of calculus. My teachers always dismissed my questions in high school or didn't know the answers themselves and insisted for me to just follow the formulae they give to get the answers they want. Any actual theory I know is self taught, so I apologies in advance if I struggle to follow explanations for this question if cover more complicated theory.

Thank you for your time.

Well, for short, you are using the fundamental theorem of calculus, which assumes the integrand function ##f(x)## to be defined in the closed interval ##[a,b]##. Then
$$\int_a^b f(x)\, dx = F(b)-F(a)$$
But ##f(x)=x^{-1}## is not defined in ##[-1,1]## since it's not defined for ##x=0## and FTC is not applicable. So the integral $$\int_{-1}^{1} x^{-1}\, dx$$ defined as the area under the curve is simply not defined. This integral is usually defined by the limits
$$\int_{-1}^{1} x^{-1}\, dx = \lim_{\varepsilon \to 0^-}\int_{-1}^{\varepsilon} x^{-1}\, dx + \lim_{\varepsilon \to 0^+}\int_{\varepsilon}^{1} x^{-1}\, dx$$
Since neither of the two limits exist, the integral cannot exist. Although if you want, you can use a different definition for the integral, usually known as its Principal Value:
$$\int_{-1}^{1} x^{-1}\, dx = \lim_{\varepsilon \to 0^-}\left(\int_{-1}^{\varepsilon} x^{-1}\, dx + \int_{\varepsilon}^{1} x^{-1}\, dx\right) = 0$$

Santiago24, jedishrfu, Delta2 and 1 other person
The definition of the Riemann Integral allows for countable many discontinuities or points where the function is not defined over the domain of integration. However the function must be bounded over the domain of integration and this function isn't bounded over (-1,1)(it becomes ##\pm\infty## at 0) hence the Riemann Integral doesn't exist.

Last edited:
Santiago24
As other people said, the Riemann integral does nor exist, but this does not mean you cannot integrate it this or that way. For instance, the Cauchy principal value of this integral is 0.
Also, via Laplace transform and comparison to the harmonic series, ##\int_0^1 1/x dx## has regularized value of 0.

It's worth mentioning that the Lebesgue integral also does not exist. The Lebesgue integrals over the intervals ##[-1,0]## and ##[0,1]## exist (as extended real numbers):
$$\int_{-1}^{0}\frac{1}{x}\ dx = -\infty$$
$$\int_{0}^{1}\frac{1}{x}\ dx = +\infty$$
But ##\int_{-1}^{1} \frac{1}{x}\ dx## does not exist, because if it did, it would have to equal ##\int_{-1}^{0}\frac{1}{x}\ dx + \int_{0}^{1}\frac{1}{x}\ dx = -\infty + \infty##, which is undefined.

Geometrically speaking, the graph of the part of the function to the right of the y-axis has positive infinite area, and the graph of the part to the left of the y-axis has negative infinite area. You can't "cancel" ##+\infty## and ##-\infty## in a well-defined way.

Delta2

## 1. What is the value of the integral of 1/x from -1 to 1?

The value of the integral of 1/x from -1 to 1 is undefined or infinite. This is because the function 1/x is not defined at x=0, and the integral is a measure of the area under the curve of a function. As the function approaches x=0, the area under the curve becomes infinitely large.

## 2. Why is the integral of 1/x from -1 to 1 undefined or infinite?

The integral of 1/x from -1 to 1 is undefined or infinite because the function 1/x is not defined at x=0. This means that the area under the curve cannot be properly measured, as it becomes infinitely large as the function approaches x=0.

## 3. Can the integral of 1/x from -1 to 1 be approximated?

Yes, the integral of 1/x from -1 to 1 can be approximated using numerical methods such as the trapezoidal rule or Simpson's rule. These methods divide the interval into smaller subintervals and approximate the area under the curve using smaller, straight line segments. However, the approximation will still be undefined or infinite as the number of subintervals approaches infinity.

## 4. What is the significance of the integral of 1/x from -1 to 1 in mathematics?

The integral of 1/x from -1 to 1 is significant in mathematics because it is an example of an improper integral, which is an integral with one or both of its limits at infinity or a discontinuity in the function. Improper integrals are important in calculus and have many applications in physics and engineering.

## 5. How does the value of the integral of 1/x from -1 to 1 change with different limits?

The value of the integral of 1/x from -1 to 1 will change with different limits, as the area under the curve will vary. For example, if the limits are changed to -2 and 2, the integral will have a larger value since the area under the curve will now include the region between x=1 and x=2. However, the integral will still be undefined or infinite due to the discontinuity at x=0.

• Calculus
Replies
8
Views
585
• Calculus
Replies
14
Views
1K
• Calculus
Replies
14
Views
2K
• Calculus
Replies
8
Views
521
• Calculus
Replies
1
Views
330
• Calculus
Replies
1
Views
2K
• Calculus
Replies
6
Views
2K
• Calculus
Replies
3
Views
622
• Calculus
Replies
5
Views
1K
• Calculus
Replies
16
Views
3K