Up to this point, our definition of the definite integral ∫ a b f ( x ) d x \int_a^b f(x) \, dx ∫ a b f ( x ) d x has relied on two basic assumptions:
The interval of integration [ a , b ] [a, b] [ a , b ] has finite length (a a a and b b b are finite real numbers).
The integrand f ( x ) f(x) f ( x ) is bounded on [ a , b ] [a, b] [ a , b ] (it does not shoot off to + ∞ +\infty + ∞ or − ∞ -\infty − ∞ anywhere on the interval).
When either of these two conditions fails—because the interval extends to ± ∞ \pm\infty ± ∞ , or because the curve has a vertical asymptote where f ( x ) → ± ∞ f(x) \to \pm\infty f ( x ) → ± ∞ —the integral is called an improper integral .
How can an unbounded region possibly have a finite area? The secret is simple: we first integrate over a safe, finite interval using the First Fundamental Theorem of Calculus, and then take the limit as the boundary moves toward infinity or toward the vertical asymptote!
If this limit exists as a finite real number , we say the improper integral converges (or exists), and that limit is its value.
If the limit is ± ∞ \pm\infty ± ∞ or does not exist, we say the improper integral diverges (does not exist).
1. Type 1 Improper Integrals: Infinite Intervals of Integration§
In a Type 1 improper integral , the function f ( x ) f(x) f ( x ) is continuous, but one or both limits of integration are infinite (∞ \infty ∞ or − ∞ -\infty − ∞ ).
We evaluate it by placing a movable vertical wall at a finite position (x = b x = b x = b or x = a x = a x = a ), finding the exact area up to the wall, and then sliding the wall to infinity:
Case 1 (Upper Limit at + ∞ +\infty + ∞ ): If f ( x ) f(x) f ( x ) is continuous on [ a , ∞ ) [a, \infty) [ a , ∞ ) , then:
∫ a ∞ f ( x ) d x = lim b → ∞ ∫ a b f ( x ) d x \int_a^\infty f(x) \, dx = \lim_{b \to \infty} \int_a^b f(x) \, dx ∫ a ∞ f ( x ) d x = b → ∞ lim ∫ a b f ( x ) d x
Case 2 (Lower Limit at − ∞ -\infty − ∞ ): If f ( x ) f(x) f ( x ) is continuous on ( − ∞ , b ] (-\infty, b] ( − ∞ , b ] , then:
∫ − ∞ b f ( x ) d x = lim a → − ∞ ∫ a b f ( x ) d x \int_{-\infty}^b f(x) \, dx = \lim_{a \to -\infty} \int_a^b f(x) \, dx ∫ − ∞ b f ( x ) d x = a → − ∞ lim ∫ a b f ( x ) d x
Case 3 (Both Limits Infinite, − ∞ -\infty − ∞ to + ∞ +\infty + ∞ ): If f ( x ) f(x) f ( x ) is continuous on ( − ∞ , ∞ ) (-\infty, \infty) ( − ∞ , ∞ ) , we split the integral at any convenient real number c c c (usually c = 0 c = 0 c = 0 ) into two separate Type 1 integrals:
∫ − ∞ ∞ f ( x ) d x = ∫ − ∞ 0 f ( x ) d x + ∫ 0 ∞ f ( x ) d x = lim a → − ∞ ∫ a 0 f ( x ) d x + lim b → ∞ ∫ 0 b f ( x ) d x \int_{-\infty}^\infty f(x) \, dx = \int_{-\infty}^0 f(x) \, dx + \int_0^\infty f(x) \, dx = \lim_{a \to -\infty} \int_a^0 f(x) \, dx + \lim_{b \to \infty} \int_0^b f(x) \, dx ∫ − ∞ ∞ f ( x ) d x = ∫ − ∞ 0 f ( x ) d x + ∫ 0 ∞ f ( x ) d x = a → − ∞ lim ∫ a 0 f ( x ) d x + b → ∞ lim ∫ 0 b f ( x ) d x
[!CAUTION]
Both Pieces Must Converge Independently:
For ∫ − ∞ ∞ f ( x ) d x \int_{-\infty}^\infty f(x) \, dx ∫ − ∞ ∞ f ( x ) d x to exist, both limits lim a → − ∞ ∫ a 0 f ( x ) d x \lim_{a \to -\infty} \int_a^0 f(x) \, dx lim a → − ∞ ∫ a 0 f ( x ) d x and lim b → ∞ ∫ 0 b f ( x ) d x \lim_{b \to \infty} \int_0^b f(x) \, dx lim b → ∞ ∫ 0 b f ( x ) d x must exist as finite numbers independently! If either piece goes to ± ∞ \pm\infty ± ∞ , the entire integral diverges.
Example 1: Area Under the Exponential Tail§
Evaluate:
∫ 0 ∞ e − x d x \int_0^\infty e^{-x} \, dx ∫ 0 ∞ e − x d x
Solution:
Look at the region under y = e − x y = e^{-x} y = e − x for x ≥ 0 x \ge 0 x ≥ 0 in the figure above. Although the region stretches infinitely far to the right, the curve y = e − x y = e^{-x} y = e − x drops toward the x x x -axis so rapidly that the tail becomes vanishingly thin.
First, we integrate from x = 0 x = 0 x = 0 up to a finite movable wall x = b x = b x = b :
∫ 0 b e − x d x = [ − e − x ] 0 b = − e − b − ( − e 0 ) = 1 − e − b \int_0^b e^{-x} \, dx = \Big[ -e^{-x} \Big]_0^b = -e^{-b} - (-e^0) = 1 - e^{-b} ∫ 0 b e − x d x = [ − e − x ] 0 b = − e − b − ( − e 0 ) = 1 − e − b
Next, we slide the wall to infinity (b → ∞ b \to \infty b → ∞ ). Since lim b → ∞ e − b = lim b → ∞ 1 e b = 0 \lim_{b \to \infty} e^{-b} = \lim_{b \to \infty} \frac{1}{e^b} = 0 lim b → ∞ e − b = lim b → ∞ e b 1 = 0 , we obtain:
∫ 0 ∞ e − x d x = lim b → ∞ ( 1 − e − b ) = 1 − 0 = 1 \int_0^\infty e^{-x} \, dx = \lim_{b \to \infty} \big( 1 - e^{-b} \big) = 1 - 0 = 1 ∫ 0 ∞ e − x d x = b → ∞ lim ( 1 − e − b ) = 1 − 0 = 1
Thus, the infinite region under y = e − x y = e^{-x} y = e − x on [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) has an exact, finite area of 1 1 1 !
Example 2: Comparing Reciprocal Powers on an Infinite Interval§
Evaluate the following two integrals and compare their geometric meaning:
(a) ∫ 1 ∞ 1 x 2 d x and (b) ∫ 1 ∞ 1 x d x \text{(a)} \quad \int_1^\infty \frac{1}{x^2} \, dx \qquad \text{and} \qquad \text{(b)} \quad \int_1^\infty \frac{1}{x} \, dx (a) ∫ 1 ∞ x 2 1 d x and (b) ∫ 1 ∞ x 1 d x
Solution:
(a) For f ( x ) = 1 x 2 f(x) = \frac{1}{x^2} f ( x ) = x 2 1 on [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) , we integrate from 1 1 1 to b b b and take the limit as b → ∞ b \to \infty b → ∞ :
∫ 1 ∞ 1 x 2 d x = lim b → ∞ ∫ 1 b x − 2 d x = lim b → ∞ [ − 1 x ] 1 b \int_1^\infty \frac{1}{x^2} \, dx = \lim_{b \to \infty} \int_1^b x^{-2} \, dx = \lim_{b \to \infty} \left[ -\frac{1}{x} \right]_1^b ∫ 1 ∞ x 2 1 d x = b → ∞ lim ∫ 1 b x − 2 d x = b → ∞ lim [ − x 1 ] 1 b
= lim b → ∞ ( − 1 b − ( − 1 ) ) = lim b → ∞ ( 1 − 1 b ) = 1 − 0 = 1 = \lim_{b \to \infty} \left( -\frac{1}{b} - (-1) \right) = \lim_{b \to \infty} \left( 1 - \frac{1}{b} \right) = 1 - 0 = 1 = b → ∞ lim ( − b 1 − ( − 1 ) ) = b → ∞ lim ( 1 − b 1 ) = 1 − 0 = 1
The integral converges to 1 1 1 (the infinite tail under y = 1 x 2 y = \frac{1}{x^2} y = x 2 1 has finite area 1 1 1 ).
(b) For f ( x ) = 1 x f(x) = \frac{1}{x} f ( x ) = x 1 on [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) , we integrate from 1 1 1 to b b b and take the limit as b → ∞ b \to \infty b → ∞ :
∫ 1 ∞ 1 x d x = lim b → ∞ ∫ 1 b 1 x d x = lim b → ∞ [ ln x ] 1 b = lim b → ∞ ( ln b − ln 1 ) = lim b → ∞ ln b = + ∞ \int_1^\infty \frac{1}{x} \, dx = \lim_{b \to \infty} \int_1^b \frac{1}{x} \, dx = \lim_{b \to \infty} \Big[ \ln x \Big]_1^b = \lim_{b \to \infty} (\ln b - \ln 1) = \lim_{b \to \infty} \ln b = +\infty ∫ 1 ∞ x 1 d x = b → ∞ lim ∫ 1 b x 1 d x = b → ∞ lim [ ln x ] 1 b = b → ∞ lim ( ln b − ln 1 ) = b → ∞ lim ln b = + ∞
Because ln b → ∞ \ln b \to \infty ln b → ∞ as b → ∞ b \to \infty b → ∞ , this limit does not exist as a finite number. The integral diverges (the curve y = 1 x y = \frac{1}{x} y = x 1 approaches the x x x -axis too slowly, enclosing an infinite area!).
Example 3: Integrating Over the Entire Real Line§
Evaluate:
∫ − ∞ ∞ 1 1 + x 2 d x \int_{-\infty}^\infty \frac{1}{1 + x^2} \, dx ∫ − ∞ ∞ 1 + x 2 1 d x
Solution:
The function f ( x ) = 1 1 + x 2 f(x) = \frac{1}{1 + x^2} f ( x ) = 1 + x 2 1 is continuous for all real x x x . Splitting at x = 0 x = 0 x = 0 :
∫ − ∞ ∞ 1 1 + x 2 d x = lim a → − ∞ ∫ a 0 1 1 + x 2 d x + lim b → ∞ ∫ 0 b 1 1 + x 2 d x \int_{-\infty}^\infty \frac{1}{1 + x^2} \, dx = \lim_{a \to -\infty} \int_a^0 \frac{1}{1 + x^2} \, dx + \lim_{b \to \infty} \int_0^b \frac{1}{1 + x^2} \, dx ∫ − ∞ ∞ 1 + x 2 1 d x = a → − ∞ lim ∫ a 0 1 + x 2 1 d x + b → ∞ lim ∫ 0 b 1 + x 2 1 d x
Since an antiderivative of 1 1 + x 2 \frac{1}{1 + x^2} 1 + x 2 1 is tan − 1 x \tan^{-1} x tan − 1 x :
Left Piece:
lim a → − ∞ [ tan − 1 x ] a 0 = lim a → − ∞ ( tan − 1 0 − tan − 1 a ) = 0 − ( − π 2 ) = π 2 \lim_{a \to -\infty} \Big[ \tan^{-1} x \Big]_a^0 = \lim_{a \to -\infty} \big( \tan^{-1} 0 - \tan^{-1} a \big) = 0 - \left(-\frac{\pi}{2}\right) = \frac{\pi}{2} a → − ∞ lim [ tan − 1 x ] a 0 = a → − ∞ lim ( tan − 1 0 − tan − 1 a ) = 0 − ( − 2 π ) = 2 π
Right Piece:
lim b → ∞ [ tan − 1 x ] 0 b = lim b → ∞ ( tan − 1 b − tan − 1 0 ) = π 2 − 0 = π 2 \lim_{b \to \infty} \Big[ \tan^{-1} x \Big]_0^b = \lim_{b \to \infty} \big( \tan^{-1} b - \tan^{-1} 0 \big) = \frac{\pi}{2} - 0 = \frac{\pi}{2} b → ∞ lim [ tan − 1 x ] 0 b = b → ∞ lim ( tan − 1 b − tan − 1 0 ) = 2 π − 0 = 2 π
Since both pieces converge to finite values, we add them together:
∫ − ∞ ∞ 1 1 + x 2 d x = π 2 + π 2 = π \int_{-\infty}^\infty \frac{1}{1 + x^2} \, dx = \frac{\pi}{2} + \frac{\pi}{2} = \pi ∫ − ∞ ∞ 1 + x 2 1 d x = 2 π + 2 π = π
2. Type 2 Improper Integrals: Unbounded Functions (Vertical Asymptotes)§
In a Type 2 improper integral , the interval [ a , b ] [a, b] [ a , b ] is finite, but the integrand f ( x ) f(x) f ( x ) blows up to + ∞ +\infty + ∞ or − ∞ -\infty − ∞ (has a vertical asymptote) at an endpoint or at an interior point x = c x = c x = c .
Just as we did in Section 04, we step back from the trouble spot by a tiny positive distance h > 0 h > 0 h > 0 , evaluate the ordinary definite integral on the safe interval, and take the limit as h → 0 + h \to 0^+ h → 0 + :
Case 1 (Unbounded at the Left Endpoint x = a x = a x = a ): If f ( x ) f(x) f ( x ) is continuous on ( a , b ] (a, b] ( a , b ] and unbounded near a a a :
∫ a b f ( x ) d x = lim h → 0 + ∫ a + h b f ( x ) d x \int_a^b f(x) \, dx = \lim_{h \to 0^+} \int_{a+h}^b f(x) \, dx ∫ a b f ( x ) d x = h → 0 + lim ∫ a + h b f ( x ) d x
Case 2 (Unbounded at the Right Endpoint x = b x = b x = b ): If f ( x ) f(x) f ( x ) is continuous on [ a , b ) [a, b) [ a , b ) and unbounded near b b b :
∫ a b f ( x ) d x = lim h → 0 + ∫ a b − h f ( x ) d x \int_a^b f(x) \, dx = \lim_{h \to 0^+} \int_a^{b-h} f(x) \, dx ∫ a b f ( x ) d x = h → 0 + lim ∫ a b − h f ( x ) d x
Case 3 (Unbounded at an Interior Point x = c ∈ ( a , b ) x = c \in (a, b) x = c ∈ ( a , b ) ): We split the integral at x = c x = c x = c into two separate Type 2 integrals:
∫ a b f ( x ) d x = lim h 1 → 0 + ∫ a c − h 1 f ( x ) d x + lim h 2 → 0 + ∫ c + h 2 b f ( x ) d x \int_a^b f(x) \, dx = \lim_{h_1 \to 0^+} \int_a^{c-h_1} f(x) \, dx + \lim_{h_2 \to 0^+} \int_{c+h_2}^b f(x) \, dx ∫ a b f ( x ) d x = h 1 → 0 + lim ∫ a c − h 1 f ( x ) d x + h 2 → 0 + lim ∫ c + h 2 b f ( x ) d x
(Both the left limit and the right limit must converge to finite numbers independently for the integral to exist!)
Example 4: Vertical Asymptote at the Left Endpoint§
Evaluate:
∫ 0 1 1 x d x \int_0^1 \frac{1}{\sqrt{x}} \, dx ∫ 0 1 x 1 d x
Solution:
As x → 0 + x \to 0^+ x → 0 + , the function f ( x ) = 1 x f(x) = \frac{1}{\sqrt{x}} f ( x ) = x 1 blows up to + ∞ +\infty + ∞ , so the y y y -axis is a vertical asymptote.
Replacing the lower limit 0 0 0 with 0 + h = h 0 + h = h 0 + h = h (where h > 0 h > 0 h > 0 ) and taking the limit as h → 0 + h \to 0^+ h → 0 + :
∫ 0 1 1 x d x = lim h → 0 + ∫ h 1 x − 1 / 2 d x \int_0^1 \frac{1}{\sqrt{x}} \, dx = \lim_{h \to 0^+} \int_h^1 x^{-1/2} \, dx ∫ 0 1 x 1 d x = h → 0 + lim ∫ h 1 x − 1/2 d x
On [ h , 1 ] [h, 1] [ h , 1 ] , x − 1 / 2 x^{-1/2} x − 1/2 is continuous with antiderivative 2 x 2\sqrt{x} 2 x :
∫ 0 1 1 x d x = lim h → 0 + [ 2 x ] h 1 = lim h → 0 + ( 2 1 − 2 h ) = 2 − 0 = 2 \int_0^1 \frac{1}{\sqrt{x}} \, dx = \lim_{h \to 0^+} \Big[ 2\sqrt{x} \Big]_h^1 = \lim_{h \to 0^+} \big( 2\sqrt{1} - 2\sqrt{h} \big) = 2 - 0 = 2 ∫ 0 1 x 1 d x = h → 0 + lim [ 2 x ] h 1 = h → 0 + lim ( 2 1 − 2 h ) = 2 − 0 = 2
Even though the curve climbs infinitely high along the y y y -axis, the chimney-shaped region becomes narrow fast enough that its total area is the finite number 2 2 2 !
Example 5: Area Bounded by the Natural Logarithm Near Zero§
Evaluate:
∫ 0 1 ln x d x \int_0^1 \ln x \, dx ∫ 0 1 ln x d x
Solution:
As x → 0 + x \to 0^+ x → 0 + , ln x → − ∞ \ln x \to -\infty ln x → − ∞ , so the integrand has a vertical asymptote along the negative y y y -axis at the left endpoint x = 0 x = 0 x = 0 (as shown in the right panel of the figure above).
Step 1 (Step Back from x = 0 x = 0 x = 0 ): We integrate from x = h x = h x = h (h > 0 h > 0 h > 0 ) to x = 1 x = 1 x = 1 and take lim h → 0 + \lim_{h \to 0^+} lim h → 0 + :
∫ 0 1 ln x d x = lim h → 0 + ∫ h 1 ln x d x \int_0^1 \ln x \, dx = \lim_{h \to 0^+} \int_h^1 \ln x \, dx ∫ 0 1 ln x d x = h → 0 + lim ∫ h 1 ln x d x
Step 2 (Integrate by Parts on [ h , 1 ] [h, 1] [ h , 1 ] ): Taking ln x \ln x ln x as the first function and 1 1 1 as the second function gives the antiderivative ∫ ln x d x = x ln x − x \int \ln x \, dx = x \ln x - x ∫ ln x d x = x ln x − x :
∫ h 1 ln x d x = [ x ln x − x ] h 1 = ( 1 ln 1 − 1 ) − ( h ln h − h ) = − 1 − h ln h + h \int_h^1 \ln x \, dx = \Big[ x \ln x - x \Big]_h^1 = (1 \ln 1 - 1) - (h \ln h - h) = -1 - h \ln h + h ∫ h 1 ln x d x = [ x ln x − x ] h 1 = ( 1 ln 1 − 1 ) − ( h ln h − h ) = − 1 − h ln h + h
Step 3 (Take the Limit as h → 0 + h \to 0^+ h → 0 + ): As h → 0 + h \to 0^+ h → 0 + , the term h → 0 h \to 0 h → 0 , and h ln h h \ln h h ln h is an indeterminate form of type 0 × ( − ∞ ) 0 \times (-\infty) 0 × ( − ∞ ) . Recall the standard limit (which we can verify by L'Hôpital's Rule):
lim h → 0 + ( h ln h ) = lim h → 0 + ln h 1 / h = L’H lim h → 0 + 1 / h − 1 / h 2 = lim h → 0 + ( − h ) = 0 \lim_{h \to 0^+} (h \ln h) = \lim_{h \to 0^+} \frac{\ln h}{1 / h} \;\overset{\text{L'H}}{=}\; \lim_{h \to 0^+} \frac{1 / h}{-1 / h^2} = \lim_{h \to 0^+} (-h) = 0 h → 0 + lim ( h ln h ) = h → 0 + lim 1/ h ln h = L’H h → 0 + lim − 1/ h 2 1/ h = h → 0 + lim ( − h ) = 0
Substituting this into our limit gives:
∫ 0 1 ln x d x = lim h → 0 + ( − 1 − h ln h + h ) = − 1 − 0 + 0 = − 1 \int_0^1 \ln x \, dx = \lim_{h \to 0^+} \big( -1 - h \ln h + h \big) = -1 - 0 + 0 = -1 ∫ 0 1 ln x d x = h → 0 + lim ( − 1 − h ln h + h ) = − 1 − 0 + 0 = − 1
Thus, ∫ 0 1 ln x d x = − 1 \int_0^1 \ln x \, dx = -1 ∫ 0 1 ln x d x = − 1 (and since ln x ≤ 0 \ln x \le 0 ln x ≤ 0 on ( 0 , 1 ] (0, 1] ( 0 , 1 ] , the geometric area enclosed between y = ln x y = \ln x y = ln x and the x x x -axis is ∣ − 1 ∣ = 1 |-1| = 1 ∣ − 1∣ = 1 ).
Example 6: Why Blind Substitution Across a Vertical Asymptote Fails§
Determine whether the following integral exists:
∫ − 1 1 1 x 2 d x \int_{-1}^1 \frac{1}{x^2} \, dx ∫ − 1 1 x 2 1 d x
Solution:
[!CAUTION]
The Classic Trap:
If someone ignores the vertical asymptote at x = 0 x = 0 x = 0 and blindly plugs the endpoints into the antiderivative F ( x ) = − 1 x F(x) = -\frac{1}{x} F ( x ) = − x 1 , they get:
[ − 1 x ] − 1 1 = ( − 1 1 ) − ( − 1 − 1 ) = − 1 − 1 = − 2 (ABSURD!) \left[ -\frac{1}{x} \right]_{-1}^1 = \left(-\frac{1}{1}\right) - \left(-\frac{1}{-1}\right) = -1 - 1 = -2 \quad \text{(ABSURD!)} [ − x 1 ] − 1 1 = ( − 1 1 ) − ( − − 1 1 ) = − 1 − 1 = − 2 (ABSURD!)
How could the integral of a strictly positive function f ( x ) = 1 x 2 > 0 f(x) = \frac{1}{x^2} > 0 f ( x ) = x 2 1 > 0 ever be negative?! It cannot—because f ( x ) f(x) f ( x ) blows up to + ∞ +\infty + ∞ at the interior point x = 0 x = 0 x = 0 , violating the continuity condition of the Fundamental Theorem!
The Correct Analysis:
Since x = 0 x = 0 x = 0 is a vertical asymptote inside [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] , we must split the integral at x = 0 x = 0 x = 0 :
∫ − 1 1 1 x 2 d x = lim h 1 → 0 + ∫ − 1 − h 1 1 x 2 d x + lim h 2 → 0 + ∫ h 2 1 1 x 2 d x \int_{-1}^1 \frac{1}{x^2} \, dx = \lim_{h_1 \to 0^+} \int_{-1}^{-h_1} \frac{1}{x^2} \, dx + \lim_{h_2 \to 0^+} \int_{h_2}^1 \frac{1}{x^2} \, dx ∫ − 1 1 x 2 1 d x = h 1 → 0 + lim ∫ − 1 − h 1 x 2 1 d x + h 2 → 0 + lim ∫ h 2 1 x 2 1 d x
Let us check the right piece lim h 2 → 0 + ∫ h 2 1 1 x 2 d x \lim_{h_2 \to 0^+} \int_{h_2}^1 \frac{1}{x^2} \, dx lim h 2 → 0 + ∫ h 2 1 x 2 1 d x :
lim h 2 → 0 + [ − 1 x ] h 2 1 = lim h 2 → 0 + ( − 1 − ( − 1 h 2 ) ) = lim h 2 → 0 + ( 1 h 2 − 1 ) = + ∞ \lim_{h_2 \to 0^+} \left[ -\frac{1}{x} \right]_{h_2}^1 = \lim_{h_2 \to 0^+} \left( -1 - \left(-\frac{1}{h_2}\right) \right) = \lim_{h_2 \to 0^+} \left( \frac{1}{h_2} - 1 \right) = +\infty h 2 → 0 + lim [ − x 1 ] h 2 1 = h 2 → 0 + lim ( − 1 − ( − h 2 1 ) ) = h 2 → 0 + lim ( h 2 1 − 1 ) = + ∞
Because the limit blows up to + ∞ +\infty + ∞ (and the left piece also blows up to + ∞ +\infty + ∞ ), the improper integral diverges (does not exist).
Miscellaneous Examples§
Example 1§
Evaluate:
∫ 0 ∞ x e − x d x \int_0^\infty x e^{-x} \, dx ∫ 0 ∞ x e − x d x
Solution:
We first integrate from 0 0 0 to b b b using integration by parts (with first function f ( x ) = x f(x) = x f ( x ) = x and second function g ( x ) = e − x g(x) = e^{-x} g ( x ) = e − x ) and then take the limit as b → ∞ b \to \infty b → ∞ :
∫ 0 b x e − x d x = [ − x e − x ] 0 b − ∫ 0 b ( 1 ) ( − e − x ) d x = − b e − b + ∫ 0 b e − x d x \int_0^b x e^{-x} \, dx = \Big[ -x e^{-x} \Big]_0^b - \int_0^b (1)(-e^{-x}) \, dx = -b e^{-b} + \int_0^b e^{-x} \, dx ∫ 0 b x e − x d x = [ − x e − x ] 0 b − ∫ 0 b ( 1 ) ( − e − x ) d x = − b e − b + ∫ 0 b e − x d x
= − b e − b + [ − e − x ] 0 b = 1 − e − b − b e b = -b e^{-b} + \Big[ -e^{-x} \Big]_0^b = 1 - e^{-b} - \frac{b}{e^b} = − b e − b + [ − e − x ] 0 b = 1 − e − b − e b b
Now take the limit as b → ∞ b \to \infty b → ∞ . Recall that exponential growth e b e^b e b dominates any polynomial power b b b , so by L'Hôpital's Rule:
lim b → ∞ b e b = L’H lim b → ∞ 1 e b = 0 \lim_{b \to \infty} \frac{b}{e^b} \;\overset{\text{L'H}}{=}\; \lim_{b \to \infty} \frac{1}{e^b} = 0 b → ∞ lim e b b = L’H b → ∞ lim e b 1 = 0
Therefore:
∫ 0 ∞ x e − x d x = lim b → ∞ ( 1 − 1 e b − b e b ) = 1 − 0 − 0 = 1 \int_0^\infty x e^{-x} \, dx = \lim_{b \to \infty} \left( 1 - \frac{1}{e^b} - \frac{b}{e^b} \right) = 1 - 0 - 0 = 1 ∫ 0 ∞ x e − x d x = b → ∞ lim ( 1 − e b 1 − e b b ) = 1 − 0 − 0 = 1
Example 2§
Evaluate:
∫ 0 1 1 1 − x 2 d x \int_0^1 \frac{1}{\sqrt{1 - x^2}} \, dx ∫ 0 1 1 − x 2 1 d x
Solution:
The integrand f ( x ) = 1 1 − x 2 f(x) = \frac{1}{\sqrt{1 - x^2}} f ( x ) = 1 − x 2 1 is continuous on [ 0 , 1 ) [0, 1) [ 0 , 1 ) , but as x → 1 − x \to 1^- x → 1 − , the denominator 1 − x 2 → 0 \sqrt{1 - x^2} \to 0 1 − x 2 → 0 , so f ( x ) → + ∞ f(x) \to +\infty f ( x ) → + ∞ at the right endpoint x = 1 x = 1 x = 1 .
Replacing the upper limit 1 1 1 with 1 − h 1 - h 1 − h (h > 0 h > 0 h > 0 ) and taking the limit as h → 0 + h \to 0^+ h → 0 + :
∫ 0 1 1 1 − x 2 d x = lim h → 0 + ∫ 0 1 − h 1 1 − x 2 d x \int_0^1 \frac{1}{\sqrt{1 - x^2}} \, dx = \lim_{h \to 0^+} \int_0^{1-h} \frac{1}{\sqrt{1 - x^2}} \, dx ∫ 0 1 1 − x 2 1 d x = h → 0 + lim ∫ 0 1 − h 1 − x 2 1 d x
Since ∫ 1 1 − x 2 d x = sin − 1 x \int \frac{1}{\sqrt{1 - x^2}} \, dx = \sin^{-1} x ∫ 1 − x 2 1 d x = sin − 1 x :
= lim h → 0 + [ sin − 1 x ] 0 1 − h = lim h → 0 + ( sin − 1 ( 1 − h ) − sin − 1 ( 0 ) ) = sin − 1 ( 1 ) − 0 = π 2 = \lim_{h \to 0^+} \Big[ \sin^{-1} x \Big]_0^{1-h} = \lim_{h \to 0^+} \big( \sin^{-1}(1 - h) - \sin^{-1}(0) \big) = \sin^{-1}(1) - 0 = \frac{\pi}{2} = h → 0 + lim [ sin − 1 x ] 0 1 − h = h → 0 + lim ( sin − 1 ( 1 − h ) − sin − 1 ( 0 ) ) = sin − 1 ( 1 ) − 0 = 2 π
Example 3§
Evaluate:
∫ 0 1 x ln x d x \int_0^1 x \ln x \, dx ∫ 0 1 x ln x d x
Solution:
As x → 0 + x \to 0^+ x → 0 + , ln x → − ∞ \ln x \to -\infty ln x → − ∞ , so x = 0 x = 0 x = 0 is a point where ln x \ln x ln x is undefined. Stepping back from x = 0 x = 0 x = 0 to x = h x = h x = h (h > 0 h > 0 h > 0 ):
∫ 0 1 x ln x d x = lim h → 0 + ∫ h 1 x ln x d x \int_0^1 x \ln x \, dx = \lim_{h \to 0^+} \int_h^1 x \ln x \, dx ∫ 0 1 x ln x d x = h → 0 + lim ∫ h 1 x ln x d x
Applying integration by parts on [ h , 1 ] [h, 1] [ h , 1 ] with first function u = ln x u = \ln x u = ln x (d u = 1 x d x du = \frac{1}{x}\,dx d u = x 1 d x ) and second function d v = x d x dv = x \, dx d v = x d x (v = x 2 2 v = \frac{x^2}{2} v = 2 x 2 ):
∫ h 1 x ln x d x = [ x 2 2 ln x ] h 1 − ∫ h 1 x 2 2 ⋅ 1 x d x = ( 0 − h 2 2 ln h ) − 1 2 [ x 2 2 ] h 1 \int_h^1 x \ln x \, dx = \left[ \frac{x^2}{2} \ln x \right]_h^1 - \int_h^1 \frac{x^2}{2} \cdot \frac{1}{x} \, dx = \left( 0 - \frac{h^2}{2}\ln h \right) - \frac{1}{2} \left[ \frac{x^2}{2} \right]_h^1 ∫ h 1 x ln x d x = [ 2 x 2 ln x ] h 1 − ∫ h 1 2 x 2 ⋅ x 1 d x = ( 0 − 2 h 2 ln h ) − 2 1 [ 2 x 2 ] h 1
= − h 2 2 ln h − 1 4 ( 1 − h 2 ) = -\frac{h^2}{2}\ln h - \frac{1}{4}(1 - h^2) = − 2 h 2 ln h − 4 1 ( 1 − h 2 )
Taking the limit as h → 0 + h \to 0^+ h → 0 + , since lim h → 0 + ( h 2 ln h ) = 0 \lim_{h \to 0^+} (h^2 \ln h) = 0 lim h → 0 + ( h 2 ln h ) = 0 :
∫ 0 1 x ln x d x = lim h → 0 + ( − h 2 2 ln h − 1 4 + h 2 4 ) = 0 − 1 4 + 0 = − 1 4 \int_0^1 x \ln x \, dx = \lim_{h \to 0^+} \left( -\frac{h^2}{2}\ln h - \frac{1}{4} + \frac{h^2}{4} \right) = 0 - \frac{1}{4} + 0 = -\frac{1}{4} ∫ 0 1 x ln x d x = h → 0 + lim ( − 2 h 2 ln h − 4 1 + 4 h 2 ) = 0 − 4 1 + 0 = − 4 1
Example 4§
Evaluate:
∫ 2 ∞ 1 x 2 − 1 d x \int_2^\infty \frac{1}{x^2 - 1} \, dx ∫ 2 ∞ x 2 − 1 1 d x
Solution:
On [ 2 , ∞ ) [2, \infty) [ 2 , ∞ ) , the denominator x 2 − 1 = ( x − 1 ) ( x + 1 ) x^2 - 1 = (x - 1)(x + 1) x 2 − 1 = ( x − 1 ) ( x + 1 ) is strictly positive, so the integrand is continuous. Integrating from 2 2 2 to b b b and taking lim b → ∞ \lim_{b \to \infty} lim b → ∞ :
∫ 2 ∞ 1 x 2 − 1 d x = lim b → ∞ ∫ 2 b 1 x 2 − 1 d x \int_2^\infty \frac{1}{x^2 - 1} \, dx = \lim_{b \to \infty} \int_2^b \frac{1}{x^2 - 1} \, dx ∫ 2 ∞ x 2 − 1 1 d x = b → ∞ lim ∫ 2 b x 2 − 1 1 d x
Using the standard formula ∫ d x x 2 − 1 = 1 2 ln ∣ x − 1 x + 1 ∣ \int \frac{dx}{x^2 - 1} = \frac{1}{2} \ln \left| \frac{x - 1}{x + 1} \right| ∫ x 2 − 1 d x = 2 1 ln x + 1 x − 1 :
= lim b → ∞ [ 1 2 ln ( x − 1 x + 1 ) ] 2 b = 1 2 lim b → ∞ [ ln ( b − 1 b + 1 ) − ln ( 2 − 1 2 + 1 ) ] = \lim_{b \to \infty} \left[ \frac{1}{2} \ln \left( \frac{x - 1}{x + 1} \right) \right]_2^b = \frac{1}{2} \lim_{b \to \infty} \left[ \ln \left( \frac{b - 1}{b + 1} \right) - \ln \left( \frac{2 - 1}{2 + 1} \right) \right] = b → ∞ lim [ 2 1 ln ( x + 1 x − 1 ) ] 2 b = 2 1 b → ∞ lim [ ln ( b + 1 b − 1 ) − ln ( 2 + 1 2 − 1 ) ]
As b → ∞ b \to \infty b → ∞ , b − 1 b + 1 = 1 − 1 / b 1 + 1 / b → 1 \frac{b - 1}{b + 1} = \frac{1 - 1/b}{1 + 1/b} \to 1 b + 1 b − 1 = 1 + 1/ b 1 − 1/ b → 1 , so ln ( b − 1 b + 1 ) → ln 1 = 0 \ln\left(\frac{b - 1}{b + 1}\right) \to \ln 1 = 0 ln ( b + 1 b − 1 ) → ln 1 = 0 . Therefore:
∫ 2 ∞ 1 x 2 − 1 d x = 1 2 ( 0 − ln ( 1 3 ) ) = 1 2 ln 3 \int_2^\infty \frac{1}{x^2 - 1} \, dx = \frac{1}{2} \left( 0 - \ln\left(\frac{1}{3}\right) \right) = \frac{1}{2}\ln 3 ∫ 2 ∞ x 2 − 1 1 d x = 2 1 ( 0 − ln ( 3 1 ) ) = 2 1 ln 3
Example 5§
Evaluate:
∫ e ∞ 1 x ( ln x ) 2 d x \int_e^\infty \frac{1}{x (\ln x)^2} \, dx ∫ e ∞ x ( ln x ) 2 1 d x
Solution:
We integrate from e e e to b b b and take the limit as b → ∞ b \to \infty b → ∞ :
∫ e ∞ 1 x ( ln x ) 2 d x = lim b → ∞ ∫ e b 1 x ( ln x ) 2 d x \int_e^\infty \frac{1}{x (\ln x)^2} \, dx = \lim_{b \to \infty} \int_e^b \frac{1}{x (\ln x)^2} \, dx ∫ e ∞ x ( ln x ) 2 1 d x = b → ∞ lim ∫ e b x ( ln x ) 2 1 d x
In the finite integral ∫ e b 1 x ( ln x ) 2 d x \int_e^b \frac{1}{x (\ln x)^2} \, dx ∫ e b x ( l n x ) 2 1 d x , let t = ln x t = \ln x t = ln x , so d t = 1 x d x dt = \frac{1}{x} \, dx d t = x 1 d x :
When x = e x = e x = e , t = ln e = 1 t = \ln e = 1 t = ln e = 1 .
When x = b x = b x = b , t = ln b t = \ln b t = ln b .
Thus:
∫ e b 1 x ( ln x ) 2 d x = ∫ 1 ln b t − 2 d t = [ − 1 t ] 1 ln b = 1 − 1 ln b \int_e^b \frac{1}{x (\ln x)^2} \, dx = \int_1^{\ln b} t^{-2} \, dt = \left[ -\frac{1}{t} \right]_1^{\ln b} = 1 - \frac{1}{\ln b} ∫ e b x ( ln x ) 2 1 d x = ∫ 1 l n b t − 2 d t = [ − t 1 ] 1 l n b = 1 − ln b 1
Now take the limit as b → ∞ b \to \infty b → ∞ . Since ln b → ∞ \ln b \to \infty ln b → ∞ , we have 1 ln b → 0 \frac{1}{\ln b} \to 0 l n b 1 → 0 :
∫ e ∞ 1 x ( ln x ) 2 d x = lim b → ∞ ( 1 − 1 ln b ) = 1 − 0 = 1 \int_e^\infty \frac{1}{x (\ln x)^2} \, dx = \lim_{b \to \infty} \left( 1 - \frac{1}{\ln b} \right) = 1 - 0 = 1 ∫ e ∞ x ( ln x ) 2 1 d x = b → ∞ lim ( 1 − ln b 1 ) = 1 − 0 = 1
Example 6§
Evaluate:
∫ − 1 1 1 x 1 / 3 d x \int_{-1}^1 \frac{1}{x^{1/3}} \, dx ∫ − 1 1 x 1/3 1 d x
Solution:
The integrand f ( x ) = x − 1 / 3 = 1 x 3 f(x) = x^{-1/3} = \frac{1}{\sqrt[3]{x}} f ( x ) = x − 1/3 = 3 x 1 blows up to − ∞ -\infty − ∞ as x → 0 − x \to 0^- x → 0 − and to + ∞ +\infty + ∞ as x → 0 + x \to 0^+ x → 0 + . Because x = 0 x = 0 x = 0 is an interior vertical asymptote, we split [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] at x = 0 x = 0 x = 0 :
∫ − 1 1 x − 1 / 3 d x = lim h 1 → 0 + ∫ − 1 − h 1 x − 1 / 3 d x + lim h 2 → 0 + ∫ h 2 1 x − 1 / 3 d x \int_{-1}^1 x^{-1/3} \, dx = \lim_{h_1 \to 0^+} \int_{-1}^{-h_1} x^{-1/3} \, dx + \lim_{h_2 \to 0^+} \int_{h_2}^1 x^{-1/3} \, dx ∫ − 1 1 x − 1/3 d x = h 1 → 0 + lim ∫ − 1 − h 1 x − 1/3 d x + h 2 → 0 + lim ∫ h 2 1 x − 1/3 d x
An antiderivative of x − 1 / 3 x^{-1/3} x − 1/3 is 3 2 x 2 / 3 = 3 2 ( x 3 ) 2 \frac{3}{2} x^{2/3} = \frac{3}{2} (\sqrt[3]{x})^2 2 3 x 2/3 = 2 3 ( 3 x ) 2 . Let us evaluate both limits independently:
Left Piece:
lim h 1 → 0 + [ 3 2 x 2 / 3 ] − 1 − h 1 = lim h 1 → 0 + ( 3 2 ( − h 1 ) 2 / 3 − 3 2 ( − 1 ) 2 / 3 ) = 0 − 3 2 ( 1 ) = − 3 2 \lim_{h_1 \to 0^+} \left[ \frac{3}{2} x^{2/3} \right]_{-1}^{-h_1} = \lim_{h_1 \to 0^+} \left( \frac{3}{2}(-h_1)^{2/3} - \frac{3}{2}(-1)^{2/3} \right) = 0 - \frac{3}{2}(1) = -\frac{3}{2} h 1 → 0 + lim [ 2 3 x 2/3 ] − 1 − h 1 = h 1 → 0 + lim ( 2 3 ( − h 1 ) 2/3 − 2 3 ( − 1 ) 2/3 ) = 0 − 2 3 ( 1 ) = − 2 3
Right Piece:
lim h 2 → 0 + [ 3 2 x 2 / 3 ] h 2 1 = lim h 2 → 0 + ( 3 2 ( 1 ) 2 / 3 − 3 2 ( h 2 ) 2 / 3 ) = 3 2 − 0 = 3 2 \lim_{h_2 \to 0^+} \left[ \frac{3}{2} x^{2/3} \right]_{h_2}^1 = \lim_{h_2 \to 0^+} \left( \frac{3}{2}(1)^{2/3} - \frac{3}{2}(h_2)^{2/3} \right) = \frac{3}{2} - 0 = \frac{3}{2} h 2 → 0 + lim [ 2 3 x 2/3 ] h 2 1 = h 2 → 0 + lim ( 2 3 ( 1 ) 2/3 − 2 3 ( h 2 ) 2/3 ) = 2 3 − 0 = 2 3
Because both pieces converge to finite numbers (− 3 2 -\frac{3}{2} − 2 3 and + 3 2 +\frac{3}{2} + 2 3 ), the improper integral converges, and its value is their sum:
∫ − 1 1 1 x 1 / 3 d x = − 3 2 + 3 2 = 0 \int_{-1}^1 \frac{1}{x^{1/3}} \, dx = -\frac{3}{2} + \frac{3}{2} = 0 ∫ − 1 1 x 1/3 1 d x = − 2 3 + 2 3 = 0
Example 7§
Evaluate:
∫ 0 ∞ 1 e x + e − x d x \int_0^\infty \frac{1}{e^x + e^{-x}} \, dx ∫ 0 ∞ e x + e − x 1 d x
Solution:
Multiplying both the numerator and the denominator by e x e^x e x gives:
∫ 0 ∞ e x e 2 x + 1 d x = lim b → ∞ ∫ 0 b e x 1 + ( e x ) 2 d x \int_0^\infty \frac{e^x}{e^{2x} + 1} \, dx = \lim_{b \to \infty} \int_0^b \frac{e^x}{1 + (e^x)^2} \, dx ∫ 0 ∞ e 2 x + 1 e x d x = b → ∞ lim ∫ 0 b 1 + ( e x ) 2 e x d x
Substituting t = e x t = e^x t = e x (d t = e x d x dt = e^x \, dx d t = e x d x , with x = 0 ⟹ t = 1 x = 0 \implies t = 1 x = 0 ⟹ t = 1 and x = b ⟹ t = e b x = b \implies t = e^b x = b ⟹ t = e b ):
= lim b → ∞ ∫ 1 e b d t 1 + t 2 = lim b → ∞ [ tan − 1 t ] 1 e b = lim b → ∞ ( tan − 1 ( e b ) − tan − 1 ( 1 ) ) = \lim_{b \to \infty} \int_1^{e^b} \frac{dt}{1 + t^2} = \lim_{b \to \infty} \Big[ \tan^{-1} t \Big]_1^{e^b} = \lim_{b \to \infty} \big( \tan^{-1}(e^b) - \tan^{-1}(1) \big) = b → ∞ lim ∫ 1 e b 1 + t 2 d t = b → ∞ lim [ tan − 1 t ] 1 e b = b → ∞ lim ( tan − 1 ( e b ) − tan − 1 ( 1 ) )
As b → ∞ b \to \infty b → ∞ , e b → ∞ e^b \to \infty e b → ∞ , so tan − 1 ( e b ) → π 2 \tan^{-1}(e^b) \to \frac{\pi}{2} tan − 1 ( e b ) → 2 π . Therefore:
∫ 0 ∞ 1 e x + e − x d x = π 2 − π 4 = π 4 \int_0^\infty \frac{1}{e^x + e^{-x}} \, dx = \frac{\pi}{2} - \frac{\pi}{4} = \frac{\pi}{4} ∫ 0 ∞ e x + e − x 1 d x = 2 π − 4 π = 4 π
Example 8§
Evaluate:
∫ 0 1 ln x x d x \int_0^1 \frac{\ln x}{\sqrt{x}} \, dx ∫ 0 1 x ln x d x
Solution:
At x = 0 x = 0 x = 0 , both ln x → − ∞ \ln x \to -\infty ln x → − ∞ and 1 x → + ∞ \frac{1}{\sqrt{x}} \to +\infty x 1 → + ∞ , so we step back from x = 0 x = 0 x = 0 to x = h x = h x = h (h > 0 h > 0 h > 0 ) and take lim h → 0 + \lim_{h \to 0^+} lim h → 0 + :
∫ 0 1 ln x x d x = lim h → 0 + ∫ h 1 x − 1 / 2 ln x d x \int_0^1 \frac{\ln x}{\sqrt{x}} \, dx = \lim_{h \to 0^+} \int_h^1 x^{-1/2} \ln x \, dx ∫ 0 1 x ln x d x = h → 0 + lim ∫ h 1 x − 1/2 ln x d x
Applying integration by parts on [ h , 1 ] [h, 1] [ h , 1 ] with first function u = ln x u = \ln x u = ln x (d u = 1 x d x du = \frac{1}{x}\,dx d u = x 1 d x ) and second function d v = x − 1 / 2 d x dv = x^{-1/2} \, dx d v = x − 1/2 d x (v = 2 x v = 2\sqrt{x} v = 2 x ):
∫ h 1 x − 1 / 2 ln x d x = [ 2 x ln x ] h 1 − ∫ h 1 ( 2 x ) ( 1 x d x ) \int_h^1 x^{-1/2} \ln x \, dx = \Big[ 2\sqrt{x} \ln x \Big]_h^1 - \int_h^1 (2\sqrt{x}) \left(\frac{1}{x} \, dx\right) ∫ h 1 x − 1/2 ln x d x = [ 2 x ln x ] h 1 − ∫ h 1 ( 2 x ) ( x 1 d x )
= ( 0 − 2 h ln h ) − 2 ∫ h 1 x − 1 / 2 d x = − 2 h ln h − 2 [ 2 x ] h 1 = − 2 h ln h − 4 ( 1 − h ) = \big( 0 - 2\sqrt{h}\ln h \big) - 2 \int_h^1 x^{-1/2} \, dx = -2\sqrt{h}\ln h - 2 \Big[ 2\sqrt{x} \Big]_h^1 = -2\sqrt{h}\ln h - 4(1 - \sqrt{h}) = ( 0 − 2 h ln h ) − 2 ∫ h 1 x − 1/2 d x = − 2 h ln h − 2 [ 2 x ] h 1 = − 2 h ln h − 4 ( 1 − h )
Now take the limit as h → 0 + h \to 0^+ h → 0 + . By L'Hôpital's Rule:
lim h → 0 + ( h ln h ) = lim h → 0 + ln h h − 1 / 2 = L’H lim h → 0 + 1 / h − 1 2 h − 3 / 2 = lim h → 0 + ( − 2 h ) = 0 \lim_{h \to 0^+} \big( \sqrt{h}\ln h \big) = \lim_{h \to 0^+} \frac{\ln h}{h^{-1/2}} \;\overset{\text{L'H}}{=}\; \lim_{h \to 0^+} \frac{1 / h}{-\frac{1}{2} h^{-3/2}} = \lim_{h \to 0^+} \big( -2\sqrt{h} \big) = 0 h → 0 + lim ( h ln h ) = h → 0 + lim h − 1/2 ln h = L’H h → 0 + lim − 2 1 h − 3/2 1/ h = h → 0 + lim ( − 2 h ) = 0
Therefore:
∫ 0 1 ln x x d x = lim h → 0 + ( − 2 h ln h − 4 + 4 h ) = 0 − 4 + 0 = − 4 \int_0^1 \frac{\ln x}{\sqrt{x}} \, dx = \lim_{h \to 0^+} \big( -2\sqrt{h}\ln h - 4 + 4\sqrt{h} \big) = 0 - 4 + 0 = -4 ∫ 0 1 x ln x d x = h → 0 + lim ( − 2 h ln h − 4 + 4 h ) = 0 − 4 + 0 = − 4
Summary§
Type of Improper Integral
Standard Definition
Convergence Condition
Type 1: Upper Limit ∞ \infty ∞
∫ a ∞ f ( x ) d x = lim b → ∞ ∫ a b f ( x ) d x \int_a^\infty f(x) \, dx = \lim_{b \to \infty} \int_a^b f(x) \, dx ∫ a ∞ f ( x ) d x = lim b → ∞ ∫ a b f ( x ) d x
Converges if the limit as b → ∞ b \to \infty b → ∞ is a finite real number.
Type 1: Both Limits ± ∞ \pm\infty ± ∞
∫ − ∞ ∞ f ( x ) d x = lim a → − ∞ ∫ a 0 f ( x ) d x + lim b → ∞ ∫ 0 b f ( x ) d x \int_{-\infty}^\infty f(x) \, dx = \lim_{a \to -\infty} \int_a^0 f(x) \, dx + \lim_{b \to \infty} \int_0^b f(x) \, dx ∫ − ∞ ∞ f ( x ) d x = lim a → − ∞ ∫ a 0 f ( x ) d x + lim b → ∞ ∫ 0 b f ( x ) d x
Both the ( − ∞ , 0 ] (-\infty, 0] ( − ∞ , 0 ] piece and the [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) piece must converge independently.
Type 2: Unbounded at x = a x = a x = a
∫ a b f ( x ) d x = lim h → 0 + ∫ a + h b f ( x ) d x \int_a^b f(x) \, dx = \lim_{h \to 0^+} \int_{a+h}^b f(x) \, dx ∫ a b f ( x ) d x = lim h → 0 + ∫ a + h b f ( x ) d x
Converges if the one-sided limit as h → 0 + h \to 0^+ h → 0 + is finite.
Type 2: Unbounded at x = b x = b x = b
∫ a b f ( x ) d x = lim h → 0 + ∫ a b − h f ( x ) d x \int_a^b f(x) \, dx = \lim_{h \to 0^+} \int_a^{b-h} f(x) \, dx ∫ a b f ( x ) d x = lim h → 0 + ∫ a b − h f ( x ) d x
Converges if the one-sided limit as h → 0 + h \to 0^+ h → 0 + is finite.
Type 2: Interior Asymptote c ∈ ( a , b ) c \in (a, b) c ∈ ( a , b )
lim h 1 → 0 + ∫ a c − h 1 f ( x ) d x + lim h 2 → 0 + ∫ c + h 2 b f ( x ) d x \lim_{h_1 \to 0^+} \int_a^{c-h_1} f(x) \, dx + \lim_{h_2 \to 0^+} \int_{c+h_2}^b f(x) \, dx lim h 1 → 0 + ∫ a c − h 1 f ( x ) d x + lim h 2 → 0 + ∫ c + h 2 b f ( x ) d x
Both one-sided limits around x = c x = c x = c must converge independently.