<<

Math 104: Improper (With Solutions)

Ryan Blair

University of Pennsylvania

Tuesday March 12, 2013

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 1 / 15 Outline

1 Improper Integrals

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 2 / 15 Improper Integrals Improper integrals

b Definite integrals f (x)dx were required to have Za finite domain of integration [a, b] finite integrand f (x) < ±∞

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 3 / 15 Improper Integrals Improper integrals

b Definite integrals f (x)dx were required to have Za finite domain of integration [a, b] finite integrand f (x) < ±∞ Improper integrals 1 Infinite limits of integration 2 Integrals with vertical asymptotes i.e. with infinite discontinuity

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 3 / 15 Improper Integrals Infinite limits of integration

Definition Improper integrals are said to be convergent if the is finite and that limit is the value of the improper . divergent if the limit does not exist.

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 4 / 15 Improper Integrals Infinite limits of integration

Definition Improper integrals are said to be convergent if the limit is finite and that limit is the value of the . divergent if the limit does not exist. Each integral on the previous page is defined as a limit.

If the limit is finite we say the integral converges, while if the limit is infinite or does not exist, we say the integral diverges.

Convergence is good (means we can do the integral); is bad (means we can’t do the integral).

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 4 / 15 Improper Integrals Example 1

Find ∞ x e− dx. Z0 (if it even converges)

Solution:

b b ∞ x x x e− dx = lim e− dx = lim e− Z b Z b 0 0 →∞ 0 →∞ h − i b 0 = lim e− + e =0+1=1. b →∞ − So the integral converges and equals 1.

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 5 / 15 Improper Integrals Example 2 Find ∞ 1 dx. Z 1+ x 2 −∞ (if it even converges)

Solution: By definition, c ∞ 1 1 ∞ 1 dx dx dx, 2 = 2 + 2 Z 1+ x Z 1+ x Zc 1+ x −∞ −∞ where we get to pick whatever c we want. Let’s pick c = 0. 0 1 0 dx = lim arctan(x) = lim [arctan(0) arctan(b)] Z 1+ x 2 b h ib b − −∞ →−∞ π→−∞ =0 lim arctan(b) = b − →−∞ 2

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 6 / 15 Improper Integrals Example 2, continued

Similarly, ∞ 1 π dx . 2 = Z0 1+ x 2 Therefore, ∞ 1 π π dx = + = π. Z 1+ x 2 2 2 −∞

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 7 / 15 Improper Integrals Example 3, the p-test The integral ∞ 1 p dx Z1 x

1 Converges if p > 1; 2 Diverges if p 1. For example: ≤

∞ 1 2 b dx = lim =2, Z x 3/2 b x 1/2 1 1 →∞ −h i while ∞ 1 b dx = lim 2√x = lim 2√b 2 = , Z x 1/2 b 1 b 1 →∞ h i →∞ − ∞ and ∞ 1 b dx = lim ln(x) = lim ln(b) 0 = . Z x b 1 b 1 →∞ h i →∞ − ∞ Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 8 / 15 Improper Integrals Convergence vs. Divergence

In each case, if the limit exists (or if both limits exist, in case 3!), we say the improper integral converges.

If the limit fails to exist or is infinite, the integral diverges. In case 3, if either limit fails to exist or is infinite, the integral diverges.

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 9 / 15 Improper Integrals Example 4

Find 2 2x dx. Z x 2 4 0 − (if it converges)

2x Solution: The denominator of x2 4 is 0 when x = 2, so the function is not even defined when x =2. So− 2 2x c 2x c dx = lim dx = lim ln x 2 4 2 c 2 c Z0 x 4 2 Z0 x 4 2 h | − |i0 − → − − → − = lim ln x 2 4 ln(4) = , c 2 → − | − | − −∞ so the integral diverges.

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 10 / 15 Improper Integrals Example 5

3 1 Find dx, if it converges. Z (x 1)2/3 0 − Solution:

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 11 / 15 Improper Integrals Example 5

3 1 Find dx, if it converges. Z (x 1)2/3 0 − Solution: We might think just to do 3 1 3 dx x 1/3 , 2/3 = 3( 1) Z0 (x 1) h − i0 −

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 11 / 15 Improper Integrals Example 5

3 1 Find dx, if it converges. Z (x 1)2/3 0 − Solution: We might think just to do 3 1 3 dx x 1/3 , 2/3 = 3( 1) Z0 (x 1) h − i0 − f x 1 but this is not okay: The function ( )= (x 1)2/3 is undefined when x =1, so we need to split the problem into two− integrals. 3 1 1 1 3 1 dx = dx + dx. Z (x 1)2/3 Z (x 1)2/3 Z (x 1)2/3 0 − 0 − 1 −

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 11 / 15 Improper Integrals Example 5

3 1 Find dx, if it converges. Z (x 1)2/3 0 − Solution: We might think just to do 3 1 3 dx x 1/3 , 2/3 = 3( 1) Z0 (x 1) h − i0 − f x 1 but this is not okay: The function ( )= (x 1)2/3 is undefined when x =1, so we need to split the problem into two− integrals. 3 1 1 1 3 1 dx = dx + dx. Z (x 1)2/3 Z (x 1)2/3 Z (x 1)2/3 0 − 0 − 1 − The two integrals on the right hand side both converge and add up to 1/3 3 1 dx 1/3 . 3[1+2 ], so 0 (x 1)2/3 = 3[1+2 ] − Ryan Blair (U Penn)R Math 104: Improper Integrals Tuesday March 12, 2013 11 / 15 Improper Integrals Tests for convergence and divergence

The gist: 1 If you’re smaller than something that converges, then you converge. 2 If you’re bigger than something that diverges, then you diverge.

Theorem Let f and g be continuous on [a, ) with 0 f (x) g(x) for all x a. Then ∞ ≤ ≤ ≥ 1 ∞ ∞ a f (x) dx converges if a g(x) dx converges. 2 R ∞ R∞ a g(x) dx diverges if a f (x) dx diverges. R R

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 12 / 15 Improper Integrals Example 6

Which of the following integrals converge?

2 ∞ 2 ∞ sin (x) a e x dx, b dx. ( ) − ( ) 2 Z1 Z1 x Solution: Both integrals converge. x2 x (a) Note that 0 < e− e− for all x 1, and from example 1 we ≤ 2 ≥ ∞ x 1 ∞ x see 1 e− dx = e , so 1 e− dx converges. R R (b) 0 sin2(x) 1 for all x, so ≤ ≤ sin2(x) 1 0 ≤ x 2 ≤ x 2

∞ 1 for all x 1. Since 1 x2 dx converges (by p-test), so does sin2(x)≥ ∞ R 1 x2 dx. R Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 13 / 15 Improper Integrals

Theorem If positive functions f and g are continuous on [a, ) and ∞ f (x) lim = L, 0 < L < , x g x →∞ ( ) ∞ then ∞ ∞ f (x) dx and g(x) dx Za Za BOTH converge or BOTH diverge.

1 Example 7: Let f (x)= √x+1 ; consider

∞ 1 dx. Z1 √x +1 Does the integral converge or diverge? Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 14 / 15 Improper Integrals Example 7, continued

1 Solution: We note that f looks a lot like g(x)= √x , and ∞ 1 g(x) dx diverges by the p-test. Furthermore, R f (x) √x lim = =1, x g x x →∞ ( ) √ +1

∞ 1 so the LCT says 1 √x+1 dx diverges. R

Ryan Blair (U Penn) Math 104: Improper Integrals Tuesday March 12, 2013 15 / 15