Type II (Discontinuous Integrands)

Suppose that f is a positive continuous function defined on a finite interval [a,b) but has a vertical asymptote at b. Let S be the unbounded region under the graph of f and above the x-axis between a and b. (For Type 1 integrals, the regions extended indefinitely in a horizontal direction. Here the region is infinite in a vertical direction.) The area of the part of S between a and t is A(t)=atf(x)dx{A}{\left({t}\right)}={\int_{{a}}^{{t}}}{f{{\left({x}\right)}}}{d}{x}.

If it happens that A(t) approaches a definite number as tb{t}\to{{b}}^{{-{}}}, then we say that the area of the region S is A and we write A=limtbatf(x)dx{A}=\lim_{{{t}\to{{b}}^{{-}}}}{\int_{{a}}^{{t}}}{f{{\left({x}\right)}}}{d}{x}. We use this equation to define an improper integral of Type 2 even when f is not a positive function, no matter what type of discontinuity f has at b.

Definition of an Improper Integral of Type 2

  1. If is continuous on [a,b) and is discontinuous at b, then abf(x)dx=limtbatf(x)dx{\int_{{a}}^{{b}}}{f{{\left({x}\right)}}}{d}{x}=\lim_{{{t}\to{{b}}^{{-}}}}{\int_{{a}}^{{t}}}{f{{\left({x}\right)}}}{d}{x} if this limit exists (as a finite number).
  2. If is continuous on (a,b] and is discontinuous at a, then abf(x)dx=limta+tbf(x)dx{\int_{{a}}^{{b}}}{f{{\left({x}\right)}}}{d}{x}=\lim_{{{t}\to{{a}}^{+}}}{\int_{{t}}^{{b}}}{f{{\left({x}\right)}}}{d}{x} if this limit exists (as a finite number).
  3. The improper integral abf(x)dx{\int_{{a}}^{{b}}}{f{{\left({x}\right)}}}{d}{x} is called convergent if the corresponding limit exists and divergent if the limit does not exist.
  4. If f has a discontinuity at c, where a<c<b, and both acf(x)dx{\int_{{a}}^{{c}}}{f{{\left({x}\right)}}}{d}{x} and cbf(x)dx{\int_{{c}}^{{b}}}{f{{\left({x}\right)}}}{d}{x} are convergent, then abf(x)dx=acf(x)dx+cbf(x)dx{\int_{{a}}^{{b}}}{f{{\left({x}\right)}}}{d}{x}={\int_{{a}}^{{c}}}{f{{\left({x}\right)}}}{d}{x}+{\int_{{c}}^{{b}}}{f{{\left({x}\right)}}}{d}{x}. Only when BOTH integrals are convergent, convergent is abf(x)dx{\int_{{a}}^{{b}}}{f{{\left({x}\right)}}}{d}{x}. Otherwise it is divergent.

Example 1. Find 371x3dx{\int_{{3}}^{{7}}}\frac{{1}}{\sqrt{{{x}-{3}}}}{d}{x}.

Integral is improper because f(x)=1x3{f{{\left({x}\right)}}}=\frac{{1}}{\sqrt{{{x}-{3}}}} has infinite discontinuity at x=3{x}={3}.

Thus, 371x3dx=limt3+t71x3dx=limt3+(2x3t7)=2limt3+(73t3)={\int_{{3}}^{{7}}}\frac{{1}}{\sqrt{{{x}-{3}}}}{d}{x}=\lim_{{{t}\to{{3}}^{+}}}{\int_{{t}}^{{7}}}\frac{{1}}{\sqrt{{{x}-{3}}}}{d}{x}=\lim_{{{t}\to{{3}}^{+}}}{\left({2}\sqrt{{{x}-{3}}}{{\mid}_{{t}}^{{7}}}\right)}={2}\lim_{{{t}\to{{3}}^{+}}}{\left(\sqrt{{{7}-{3}}}-\sqrt{{{t}-{3}}}\right)}=

=2(73t3)=4={2}{\left(\sqrt{{{7}-{3}}}-\sqrt{{{t}-{3}}}\right)}={4}.

Example 2. Find 0π2tan(x)dx{\int_{{0}}^{{\frac{\pi}{{2}}}}}{\tan{{\left({x}\right)}}}{d}{x} if possible.

Integral is divergent because limt(π2)tan(x)=\lim_{{{t}\to{{\left(\frac{\pi}{{2}}\right)}}^{{-}}}}{\tan{{\left({x}\right)}}}=\infty.

Therefore, 0π2tan(x)dx=limt(π2)0ttan(x)dx=limt(π2)(lncos(x)0t)={\int_{{0}}^{{\frac{\pi}{{2}}}}}{\tan{{\left({x}\right)}}}{d}{x}=\lim_{{{t}\to{{\left(\frac{\pi}{{2}}\right)}}^{{-}}}}{\int_{{0}}^{{t}}}{\tan{{\left({x}\right)}}}{d}{x}=\lim_{{{t}\to{{\left(\frac{\pi}{{2}}\right)}}^{{-}}}}{\left(-{\ln}{\left|{\cos{{\left({x}\right)}}}\right|}{{\mid}_{{0}}^{{t}}}\right)}=

=limt(π2)(lncos(t)+lncos(0))=limt(π2)(lncos(t))==\lim_{{{t}\to{{\left(\frac{\pi}{{2}}\right)}}^{{-}}}}{\left(-{\ln}{\left|{\cos{{\left({t}\right)}}}\right|}+{\ln}{\left|{\cos{{\left({0}\right)}}}\right|}\right)}=\lim_{{{t}\to{{\left(\frac{\pi}{{2}}\right)}}^{{-}}}}{\left(-{\ln}{\left|{\cos{{\left({t}\right)}}}\right|}\right)}=\infty.

Thus, integral is divergent.

Example 3. Evaluate 031x1dx{\int_{{0}}^{{3}}}\frac{{1}}{{{x}-{1}}}{d}{x}.

This integral is improper because x=1 is a vertical asymptote. Thus, 031x1dx=011x1dx+131x1dx{\int_{{0}}^{{3}}}\frac{{1}}{{{x}-{1}}}{d}{x}={\int_{{0}}^{{1}}}\frac{{1}}{{{x}-{1}}}{d}{x}+{\int_{{1}}^{{3}}}\frac{{1}}{{{x}-{1}}}{d}{x}.

011x1dx=limt10t1x1dx=limt1(lnx10t)=limt1(lnt1ln01)={\int_{{0}}^{{1}}}\frac{{1}}{{{x}-{1}}}{d}{x}=\lim_{{{t}\to{{1}}^{{-}}}}{\int_{{0}}^{{t}}}\frac{{1}}{{{x}-{1}}}{d}{x}=\lim_{{{t}\to{{1}}^{{-}}}}{\left({\ln}{\left|{x}-{1}\right|}{{\mid}_{{0}}^{{t}}}\right)}=\lim_{{{t}\to{{1}}^{{-}}}}{\left({\ln}{\left|{t}-{1}\right|}-{\ln}{\left|{0}-{1}\right|}\right)}=

=limt1lnt1==\lim_{{{t}\to{{1}}^{{-}}}}{\ln}{\left|{t}-{1}\right|}=-\infty.

Therefore, 011x1dx{\int_{{0}}^{{1}}}\frac{{1}}{{{x}-{1}}}{d}{x} is divergent. This implies that 031x1dx{\int_{{0}}^{{3}}}\frac{{1}}{{{x}-{1}}}{d}{x} is divergent.

WARNING. If we had not noticed the asymptote in above example and had instead confused the integral with an ordinary integral, then we might have made the following erroneous calculation: 031x1dx=lnx103=ln31ln01=ln(2){\int_{{0}}^{{3}}}\frac{{1}}{{{x}-{1}}}{d}{x}={\ln}{\left|{x}-{1}\right|}{\left|_{{0}}^{{3}}={\ln}\right|}{3}-{1}{\left|-{\ln}\right|}{0}-{1}{\mid}={\ln{{\left({2}\right)}}}.

This is wrong because the integral is improper and must be calculated in terms of limits.

Now, let's see how to work with integrals that belong to both types.

Example 4. Find if possible 01x3dx{\int_{{0}}^{{\infty}}}\frac{{1}}{{{x}}^{{3}}}{d}{x}.

Note that f(x)=1x3{f{{\left({x}\right)}}}=\frac{{1}}{{{x}}^{{3}}} has discontinuity at x=0 and also interval is infinite. So, this integral belongs to both types. To handle it, we split it into 2 integrals. We can split it up anywhere, but pick a value that will be convenient for evaluation purposes.

01x3dx=011x3dx+11x3dx{\int_{{0}}^{{\infty}}}\frac{{1}}{{{x}}^{{3}}}{d}{x}={\int_{{0}}^{{1}}}\frac{{1}}{{{x}}^{{3}}}{d}{x}+{\int_{{1}}^{{\infty}}}\frac{{1}}{{{x}}^{{3}}}{d}{x}.

Handle first integral: 011x3dx=limt0+t11x3dx=limt0+(121x2t1)=12limt0+(1121t2)={\int_{{0}}^{{1}}}\frac{{1}}{{{x}}^{{3}}}{d}{x}=\lim_{{{t}\to{{0}}^{+}}}{\int_{{t}}^{{1}}}\frac{{1}}{{{x}}^{{3}}}{d}{x}=\lim_{{{t}\to{{0}}^{+}}}{\left(-\frac{{1}}{{2}}\frac{{1}}{{{x}}^{{2}}}{{\mid}_{{t}}^{{1}}}\right)}=-\frac{{1}}{{2}}\lim_{{{t}\to{{0}}^{+}}}{\left(\frac{{1}}{{{1}}^{{2}}}-\frac{{1}}{{{t}}^{{2}}}\right)}=

=12limt0+(1t21)==\frac{{1}}{{2}}\lim_{{{t}\to{{0}}^{+}}}{\left(\frac{{1}}{{{t}}^{{2}}}-{1}\right)}=\infty.

So, integral is divergent and so the whole integral is also divergent.