Navigation

Integration

1.12 Improper Integrals

27 problems · hints, answers and solutions shown beside each one

1Stage 1Conceptual

Do you understand the idea? Usually little or no calculation.

Q1Stage 1

For which values of bb is the integral 0b1x21 dx\displaystyle\int_0^b \frac{1}{x^2-1}~\dee{x} improper?

Hint

There are two kinds of impropreity in an integral: an infinite discontinuity in the integrand, and an infinite limit of integration.

Answer

Any real number in [1,)[1,\infty) or (,1](-\infty,-1], and b=±b = \pm \infty.

Full solution

If b=±b= \pm \infty, then our integral is improper because one limit is not a real number.

Furthermore, our integral will be improper if its domain of integration contains either of its infinite discontinuities, x=1x=1 and x=1x=-1. Since one limit of integration is 0, the integral is improper if b1b \geq 1 or if b1b \leq -1.

Below, we've graphed 1x21\frac{1}{x^2-1} to make it clearer why values of bb in (1,1)(-1,1) are the only values that don't result in an improper integral when the other limit of integration is a=0a=0.

Figure from prob_s1.12, line 2

Figure from prob_s1.12, line 2

Q2Stage 1

For which values of bb is the integral 0b1x2+1 dx\displaystyle\int_0^b \frac{1}{x^2+1}~\dee{x} improper?

Hint

The integrand is continuous for all xx.

Answer

b=±b = \pm\infty

Full solution

Since the integrand is continuous for all real xx, the only kind of impropriety available to us is to set b=±b = \pm\infty.

Q3Stage 1

Below are the graphs y=f(x)y=f(x) and y=g(x)y=g(x). Suppose 0f(x) dx\displaystyle\int_0^\infty f(x)~\dee{x} converges, and 0g(x) dx\displaystyle\int_0^\infty g(x)~\dee{x} diverges. Assuming the graphs continue on as shown as xx \to \infty, which graph is f(x)f(x), and which is g(x)g(x)?

Figure from prob_s1.12, line 2

Figure from prob_s1.12, line 2

Hint

What matters is which function is bigger for large values of xx, not near the origin.

Answer

The red function is f(x)f(x), and the blue function is g(x)g(x).

Full solution

For large values of xx, red function(blue function)|\text{red function}|\leq \text{(blue function)} and 0(blue function)0 \leq \text{(blue function)}. If the blue function's integral converged, then the red function's integral would as well (by the comparison test, Theorem 1.12.17 in the CLP-2 text). Since one integral converges and the other diverges, the blue function is g(x)g(x) and the red function is f(x)f(x).

Q4Stage 1Past exam · 2015A

Decide whether the following statement is true or false. If false, provide a counterexample. If true, provide a brief justification. (Assume that f(x)f(x) and g(x)g(x) are continuous functions.)

  1. If 1f(x)dx\displaystyle\int_{1}^{\infty} f(x) \,\dee{x} converges and g(x)f(x)0g(x)\ge f(x)\ge 0 for all xx, then 1g(x)dx\displaystyle\int_{1}^{\infty} g(x) \,\dee{x} converges.

Hint

Read both the question and Theorem 1.12.17 in the

CLP-2 text very carefully.

Answer

False. For example, the functions f(x)=exf(x)=e^{-x} and g(x)=1g(x)=1 provide a counterexample.

Full solution

False. The inequality goes the “wrong way" for Theorem 1.12.17 in the CLP-2 text: the area under the curve f(x)f(x) is finite, but the area under g(x)g(x) could be much larger, even infinitely larger.

For example, if f(x)=exf(x)=e^{-x} and g(x)=1g(x)=1, then 0f(x)g(x)0 \leq f(x) \leq g(x) and 1f(x)dx\displaystyle\int_{1}^{\infty} f(x) \,\dee{x} converges, but 1g(x)dx\displaystyle\int_{1}^{\infty} g(x) \,\dee{x} diverges.

Q5Stage 1

Let f(x)=exf(x) = e^{-x} and g(x)=1x+1g(x)=\dfrac{1}{x+1}. Note 0f(x) dx\int_{0}^\infty f(x)~\dee{x} converges while 0g(x) dx\int_{0}^\infty g(x)~\dee{x} diverges.

For each of the functions h(x)h(x) described below, decide whether 012h(x) dx\int_{0\vphantom{\frac12}}^\infty h(x)~\dee{x} converges or diverges, or whether there isn't enough information to decide. Justify your decision.

  1. h(x)h(x), continuous and defined for all x0x \ge0, h(x)f(x)h(x) \leq f(x).

  2. h(x)h(x), continuous and defined for all x0x\ge 0, f(x)h(x)g(x)f(x) \leq h(x) \leq g(x).

  3. h(x)h(x), continuous and defined for all x0x\ge 0, 2f(x)h(x)f(x)-2f(x) \leq h(x) \leq f(x).

Hint

(a) What if h(x)h(x) is negative? What if it's not?
(b) What if h(x)h(x) is very close to f(x)f(x) or g(x)g(x), rather than right in the middle?
(c) Note h(x)2f(x)|h(x)| \leq 2f(x).

Answer
  1. Not enough information to decide. For example, consider h(x)=0h(x) = 0 versus h(x)=1h(x) = -1.

  2. Not enough information to decide. For example, consider h(x)=f(x)h(x)= f(x) versus h(x)=g(x)h(x) = g(x).

  3. 012h(x) dx\displaystyle\int_{0\vphantom{\frac12}}^{\infty}h(x)~\dee{x} converges by the comparison test, since h(x)2f(x)|h(x)| \leq 2f(x) and 02f(x) dx\displaystyle\int_0^\infty 2f(x)~\dee{x} converges.

Full solution
  1. Not enough information to decide. For example, consider h(x)=0h(x) = 0 versus h(x)=1h(x) = -1. In both cases, h(x)f(x)h(x) \leq f(x). However, 00 dx\displaystyle\int_0^\infty 0~\dee{x} converges to 0, while 01 dx\displaystyle\int_0^\infty -1~\dee{x} diverges.

    Note: if we had also specified 0h(x)0 \leq h(x), then we would be able to conclude that 0h(x) dx\int_0^\infty h(x)~\dee{x} converges by the comparison test.

  2. Not enough information to decide. For example, consider h(x)=f(x)h(x)= f(x) versus h(x)=g(x)h(x) = g(x). In both cases, f(x)h(x)g(x)f(x) \leq h(x) \leq g(x).

  3. 012h(x) dx\displaystyle\int_{0\vphantom{\frac12}}^{\infty}h(x)~\dee{x} converges.

    • From the given information, h(x)2f(x)|h(x)| \leq 2f(x).

    • We claim 0122f(x) dx\displaystyle\int_{0\vphantom{\frac12}}^{\infty} 2f(x)~\dee{x} converges.

      • We can see this by writing 0122f(x) dx=20f(x) dx\displaystyle\int_{0\vphantom{\frac12}}^{\infty} 2f(x)~\dee{x}= 2\int_0^{\infty} f(x)~\dee{x} and noting that the second integral converges.

      • Alternately, we can use the limiting comparison test, Theorem 1.12.22 in the CLP-2 text. Since f(x)0f(x) \geq 0, 0f(x) dx\displaystyle\int_0^\infty f(x)~\dee{x} converges, and limx2f(x)f(x)=2\lim\limits_{x \to \infty}\dfrac{2f(x)}{f(x)}=2 (the limit exists), we conclude 02f(x) dx\displaystyle\int_0^\infty 2f(x)~\dee{x} converges.

    • So, comparing h(x)h(x) to 2f(x)2f(x), by the comparison test (Theorem 1.12.17 in the CLP-2 text) 012h(x) dx\displaystyle\int_0^{\vphantom{\frac12}\infty}h(x)~\dee{x} converges.

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q6Stage 2Past exam · M105 2015A

Evaluate the integral 01x4x51dx\displaystyle\int_0^1\frac{x^4}{x^5-1}\,\dee{x} or state that it diverges.

Hint

First: is the integrand unbounded, and if so, where?

Second: when evaluating integrals, always check to see if you can use a simple substitution before trying a complicated procedure like partial fractions.

Answer

The integral diverges.

Full solution

The denominator is zero when x=1x=1, but the numerator is not, so the integrand has a singularity (infinite discontinuity) at x=1x=1. Let's replace the limit x=1x=1 with a variable that creeps toward 1.

01x4x51dx=limt10tx4x51dx\begin{equation*} \int_0^1\frac{x^4}{x^5-1}\,\dee{x} =\lim_{t\rightarrow 1^-}\int_0^t\frac{x^4}{x^5-1}\,\dee{x} \end{equation*}

To evaluate this integral we use the substitution u=x5u=x^5, du=5x4dx\dee{u}=5x^4\dee{x}. When x=0x=0 we have u=0u=0, and when x=tx=t we have u=t5u=t^5, so

01x4x51dx=limt10tx4x51dx=limt1u=0u=t515(u1)du=limt1([15logu1]0t5)=limt115logt51=\begin{align*} \int_0^1\frac{x^4}{x^5-1}\,\dee{x}&=\lim_{t \to 1^-}\int_{0}^{t}\frac{x^4}{x^5-1}\,\dee{x} =\lim_{t \to 1^-}\int_{u=0}^{u=t^5}\frac{1}{5(u-1)}\,\dee{u}\\ &=\lim_{t \to 1^-}\left( \left[\frac{1}{5}\log|u-1|\right]_0^{t^5}\right) =\lim_{t \to 1^-}\frac{1}{5}\log|t^5-1|=-\infty \end{align*}

The limit does not exist, so the integral diverges.

Q7Stage 2Past exam · 2016Q4

Determine whether the integral 221(x+1)4/3dx\displaystyle\int_{-2}^2\frac{1}{(x+1)^{4/3}}\,\dee{x} is convergent or divergent. If it is convergent, find its value.

Hint

Is the integrand bounded?

Answer

The integral diverges.

Full solution

The denominator of the integrand is zero when x=1x=-1, but the numerator is not. So, the integrand has a singularity (infinite discontinuity) at x=1x=-1. This is the only “source of impropriety" in this integral, so we only need to make one break in the domain of integration.

221(x+1)4/3dx=limt12t1(x+1)4/3dx+limt1+t21(x+1)4/3dx\begin{equation*} \int_{-2}^2\frac{1}{(x+1)^{4/3}}\,\dee{x} =\lim_{t\rightarrow -1^-}\int_{-2}^t \frac{1}{(x+1)^{4/3}}\,\dee{x} +\lim_{t\rightarrow -1^+}\int_t^2 \frac{1}{(x+1)^{4/3}}\,\dee{x} \end{equation*}

Let's start by considering the left limit.

limt12t1(x+1)4/3dx=limt1([3(x+1)1/32t)=limt1(3(t+1)1/3+3(1)1/3)=\begin{align*} \lim_{t \to -1^-}\int_{-2}^t \frac{1}{(x+1)^{4/3}}\,\dee{x} &=\lim_{t \to -1^-}\left(\left[-\frac{3}{(x+1)^{1/3}}\right|_{-2}^t\right)\\ &=\lim_{t \to -1^-}\left(-\frac{3}{(t+1)^{1/3}}+\frac{3}{(-1)^{1/3}}\right)=\infty \end{align*}

Since this limit diverges, the integral diverges. (A similar argument shows that the second integral diverges. Either one of them diverging is enough to conclude that the original integral diverges.)

Q8Stage 2Past exam · 1997D

Does the improper integral 114x2xdx\displaystyle\int_1^\infty\frac{1}{\sqrt{4x^2-x}}\,\dee{x} converge? Justify your answer.

Hint

See Example 1.12.21 in the

CLP-2 text. Rather than antidifferentiating, you can find a nice comparison.

Answer

The integral does not converge.

Full solution

First, let's identify all “sources of impropriety." The integrand has a singularity when 4x2x=04x^2-x=0, that is, when x(4x1)=0x(4x-1)=0, so at x=0x=0 and x=14x=\frac{1}{4}. Neither of these are in our domain of integration, so the only “source of impropriety" is the unbounded domain of integration.

We could antidifferentiate this function (it looks like a nice candidate for a trig substitution), but is seems easier to use a comparison. For large values of xx, the term x2x^2 will be much larger than xx, so we might guess that our integral behaves similarly to 114x2 dx=112x dx\int_1^\infty \frac{1}{\sqrt{4x^2}}~\dee{x}=\int_1^\infty \frac{1}{2x}~\dee{x}.

For all x1x\ge 1, 4x2x4x2=2x\sqrt{4x^2-x}\le\sqrt{4x^2}=2x. So, 14x2x12x\frac{1}{\sqrt{4x^2-x}} \geq \frac{1}{2x}. Note 112x dx\int_1^\infty \frac{1}{2x}~\dee{x} diverges:

limt1t12xdx=limt(12[logx]1t)=limt12logt=\begin{align*}\lim_{t\rightarrow\infty}\int_1^t\frac{1}{2x}\,\dee{x} =\lim_{t\rightarrow\infty}\left(\frac{1}{2} \big[\log x\big]_1^t\right) =\lim_{t\rightarrow\infty}\frac{1}{2} \log t =\infty \end{align*}

So:

  • 12x\frac{1}{2x} and 14x2x\frac{1}{\sqrt{4x^2-x}} are defined and continuous for all x1x \geq 1,

  • 12x0\frac{1}{2x} \geq 0 for all x1x \geq 1,

  • 14x2x14x2=12x\frac{1}{\sqrt{4x^2-x}} \ge\frac{1}{\sqrt{4x^2}} = \frac{1}{2x} for all x1x \ge 1, and

  • 112x dx\int_1^\infty \frac{1}{2x}~\dee{x} diverges.

By the comparison test, Theorem 1.12.17 in the CLP-2 text, the integral does not converge.

Q9Stage 2Past exam · 2001A

Does the integral 0dxx2+x\displaystyle\int_0^\infty\frac{\dee{x}}{x^2+\sqrt{x}} converge or diverge? Justify your claim.

Hint

Which of the two terms in the denominator is more important when x0x\approx 0? Which one is more important when xx is very large?

Answer

The integral converges.

Full solution

The integrand is positive everywhere. So, either the integral converges to some finite number, or it is infinite. We want to generate a guess as to which it is.

When xx is small, x>x2\sqrt{x}>x^2, so we might guess that our integral behaves like the integral of 1x\frac{1}{\sqrt{x}} when xx is near to 0. On the other hand, when xx is large, x<x2\sqrt{x}<x^2, so we might guess that our integral behaves like the integral of 1x2\frac{1}{x^2} as xx goes to infinity. This is the hunch that drives the following work:

01x2+x1xand the integral 01dxx converges by Example 1.12.9 in the CLP-2 text01x2+x1x2and the integral 1dxx2 converges by Example 1.12.8 in the CLP-2 text\begin{alignat*}{3} 0\le\frac{1}{x^2+\sqrt{x}} &\le \frac{1}{\sqrt{x}}\quad &&\text{and the integral }\int_0^1\frac{\dee{x}}{\sqrt{x}}\text{ converges by Example \text{1.12.9} in the CLP-2 text} \\ 0\le\frac{1}{x^2+\sqrt{x}} &\le \frac{1}{x^2} &&\text{and the integral }\int_1^\infty\frac{\dee{x}}{x^2}\text{ converges by Example \text{1.12.8} in the CLP-2 text} \end{alignat*}

Note that 1x2+x\frac{1}{x^2+\sqrt{x}} is defined and continuous for all x>0x>0, 1x\frac{1}{\sqrt{x}} is defined and continuous for x>0x>0, and 1x2\frac{1}{x^2} is defined and continuous for x1x \ge 1. So, the integral converges by the comparison test, Theorems 1.12.17 and ? in the CLP-2 text.

Q10Stage 2

Does the integral cosx dx\displaystyle\int_{-\infty}^\infty \cos x~\dee{x} converge or diverge? If it converges, evaluate it.

Hint

Remember to break the integral into two pieces.

Answer

The integral diverges.

Full solution

There are two “sources of impropriety": the two (infinite) limits of integration. So, we break our integral into two pieces.

cosx dx=0cosx dx+0cosx dx=lima[a0cosx dx]+limb[0bcosx dx]\begin{align*}\int_{-\infty}^\infty \cos x~\dee{x}&=\int_{-\infty}^0 \cos x~\dee{x}+\int_{0}^\infty \cos x~\dee{x}\\ &=\lim_{a \to \infty }\left[\int_{-a}^0 \cos x~\dee{x}\right]+ \lim_{b \to \infty }\left[\int_{0}^b \cos x~\dee{x}\right]\end{align*}

These are easy enough to antdifferentiate.

=lima[sin0sin(a)]+limb[sinbsin0]=DNE\begin{align*}&=\lim_{a \to \infty }\left[\sin 0 - \sin(- a) \right]+ \lim_{b \to \infty }\left[\sin b - \sin 0 \right]\\ &=\text{DNE}\end{align*}

Since the limits don't exist, the integral diverges. (It happens that both limits don't exist; even if only one failed to exist, the integral would still diverge.)

Q11Stage 2

Does the integral sinx dx\displaystyle\int_{-\infty}^\infty \sin x~\dee{x} converge or diverge? If it converges, evaluate it.

Hint

Remember to break the integral into two pieces.

Answer

The integral diverges.

Full solution

There are two “sources of impropriety": the -\infty and the ++\infty. So, we break our integral into two pieces.

sinx dx=0sinx dx+0sinx dx=lima[a0sinx dx]+limb[0bsinx dx]=lima[cos0+cos(a)]+limb[cosb+cos0]=DNE\begin{align*} \int_{-\infty}^\infty \sin x~\dee{x}&=\int_{-\infty}^0 \sin x~\dee{x}+\int_{0}^\infty \sin x~\dee{x}\\ &=\lim_{a \to \infty }\left[\int_{-a}^0 \sin x~\dee{x}\right]+ \lim_{b \to \infty }\left[\int_{0}^b \sin x~\dee{x}\right]\\ &=\lim_{a \to \infty }\left[-\cos 0 + \cos(- a) \right]+ \lim_{b \to \infty }\left[-\cos b + \cos 0 \right]\\ &=\text{DNE} \end{align*}

Since the limits don't exist, the integral diverges. (It happens that both limits don't exist; even if only one failed to exist, the integral would diverge.)

Remark: it's very tempting to think that this integral should converge, because as an odd function the area to the right of the xx-axis “cancels out" the area to the left when the limits of integration are symmetric. One justification for not using this intuition is given in Example 1.12.11 in the CLP-2 text. Here's another: In Question 10 we saw that cosx dx\int_{-\infty}^\infty \cos x~\dee{x} diverges. Since sinx=cos(xπ/2)\sin x = \cos (x-\pi/2), the area bounded by sine and the area bounded by cosine over an infinite region seem to be the same–only shifted by π/2\pi/2. So if sinx dx=0\int_{-\infty}^\infty \sin x~\dee{x}=0, then we ought to also have cosx dx=0\int_{-\infty}^\infty \cos x~\dee{x}=0, but we saw in Question 10 this is not the case.

Figure from prob_s1.12, line 2

Figure from prob_s1.12, line 2

Q12Stage 2

Evaluate 10x45x3+2x7x5+3x+8 dx\displaystyle\int_{10}^\infty \frac{x^4-5x^3+2x-7}{x^5+3x+8} ~\dee{x}, or state that it diverges.

Hint

The easiest test in this case is limiting comparison, Theorem 1.12.22 in the CLP-2 text.

Answer

The integral diverges.

Full solution

First, we check that the integrand has no singularities. The denominator is always positive when x10x \ge 10, so our only “source of impropriety" is the infinite limit of integration.

We further note that, for large values of xx, the integrand resembles x4x5=1x12\dfrac{x^4}{x^5} = \dfrac{1}{x\vphantom{\frac12}}. So, we have a two-part hunch: that the integral diverges, and that we can show it diverges by comparing it to 101x dx\displaystyle\int_{10}^\infty \frac{1}{x}~\dee{x}.

In order to use the comparison test, we'd need to show that x45x3+2x7x5+3x+8112x\displaystyle\frac{x^4-5x^3+2x-7}{x^5+3x+8} \geq \frac{1}{\vphantom{\frac12}x}. If this is true, it will be difficult to prove–and it's not at all clear that it's true. So, we will use the limiting comparison test instead, Theorem 1.12.22 in the CLP-2 text, with g(x)=1xg(x)= \dfrac{1}{x}, f(x)=x45x3+2x7x5+3x+8f(x)=\dfrac{x^4-5x^3+2x-7}{x^5+3x+8}, and a=10a=10.

  • Both f(x)f(x) and g(x)g(x) are defined and continuous for all x>0x >0, so in particular they are defined and continuous for x10x \geq 10.

  • g(x)0g(x) \geq 0 for all x10x \geq 10

  • 10g(x) dx\displaystyle\int_{10}^\infty g(x)~\dee{x} diverges.

  • Using l'H^opital's rule (5 times!), or simply dividing both the numerator and denominator by x5x^5 (the common leading term), tells us:

    limxf(x)g(x)=limxx45x3+2x7x5+3x+81x=limxxx45x3+2x7x5+3x+8=limxx55x4+2x27xx5+3x+8=1\begin{align*} \lim_{x \to \infty} \frac{f(x)}{g(x)}&= \lim_{x \to \infty} \frac{\frac{x^4-5x^3+2x-7}{x^5+3x+8} }{ \frac{1}{x}}= \lim_{x \to \infty} x\cdot\frac{x^4-5x^3+2x-7}{x^5+3x+8} \\ &=\lim_{x \to \infty} \frac{x^5-5x^4+2x^2-7x}{x^5+3x+8} =1 \end{align*}

    That is, the limit exists and is nonzero.

By the limiting comparison test, we conclude 10f(x) dx\displaystyle\int_{10}^\infty f(x)~\dee{x} diverges.

Q13Stage 2

Evaluate 010x1x211x+10 dx\displaystyle\int_0^{10} \frac{x-1}{x^2-11x+10} ~\dee{x}, or state that it diverges.

Hint

Not all discontinuities cause an integral to be improper–only infinite discontinuities.

Answer

The integral diverges.

Full solution

Our domain of integration is finite, so the only potential “sources of impropriety" are infinite discontinuities in the integrand. To find these, we factor.

010x1x211x+10 dx=010x1(x1)(x10) dx\begin{align*}\int_0^{10} \frac{x-1}{x^2-11x+10} ~\dee{x}&= \int_0^{10} \frac{x-1}{(x-1)(x-10)} ~\dee{x}\end{align*}

A removable discontinuity doesn't affect the integral.

=0101x10 dx\begin{align*}&=\int_0^{10} \frac{1}{x-10} ~\dee{x}\end{align*}

Use the substitution u=x10u=x-10, du=dx\dee{u}=\dee{x}. When x=0x=0, u=10u=-10, and when x=10x=10, u=0u=0.

=1001u du\begin{align*}&=\int_{-10}^0 \frac{1}{u}~\dee{u}\end{align*}

This is a pp-integral with p=1p=1. From Example 1.12.9 and Theorem 1.12.20 in the CLP-2 text, we know it diverges.

Q14Stage 2Past exam · M121 2012A

Determine (with justification!) which of the following applies to the integral +xx2+1dx\displaystyle\int_{-\infty}^{+\infty}\frac{x}{x^2+1}\dee{x}:

  1. +xx2+1dx\displaystyle\int_{-\infty}^{+\infty}\frac{x}{x^2+1}\dee{x} diverges

  2. +xx2+1dx\displaystyle\int_{-\infty}^{+\infty}\frac{x}{x^2+1}\dee{x} converges but +xx2+1dx\displaystyle\int_{-\infty}^{+\infty}\left|\frac{x}{x^2+1}\right|\dee{x} diverges

  3. +xx2+1dx\displaystyle\int_{-\infty}^{+\infty}\frac{x}{x^2+1}\dee{x} converges, as does +xx2+1dx\displaystyle\int_{-\infty}^{+\infty}\left|\frac{x}{x^2+1}\right|\dee{x}

Remark: these options, respectively, are that the integral diverges, converges conditionally, and converges absolutely. You'll see this terminology used for series in Section 3.4.1 of the CLP-2 text.

Hint

Which of the two terms in the denominator is more important when xx is very large?

Answer

The integral diverges.

Full solution

You might think that, because the integrand is odd, the integral converges to 00. This is a common mistake– see Example 1.12.11 in the CLP-2 text, or Question 11 in this section. In the absence of such a shortcut, we use our standard procedure: identifying problem spots over the domain of integration, and replacing them with limits.

There are two “sources of impropriety,” namely x+x\to +\infty and xx\to -\infty. So, we split the integral in two, and treat the two halves separately. The integrals below can be evaluated with the substitution u=x2+1u=x^2+1, 12du=xdx\frac{1}{2}\dee{u} = x\dee{x}.

+xx2+1dx=0xx2+1dx+0+xx2+1dx0xx2+1dx=limRR0xx2+1dx=limR12log(x2+1)R0=limR12[log1log(R2+1)]=limR12log(R2+1)=0+xx2+1dx=limR0Rxx2+1dx=limR12log(x2+1)0R=limR12[log(R2+1)log1]=limR12log(R2+1)=+\begin{align*} \int_{-\infty}^{+\infty}\frac{x}{x^2+1}\dee{x} &=\textcolor{blue}{ \int_{-\infty}^0\frac{x}{x^2+1}\dee{x}} + \textcolor{red}{\int_0^{+\infty}\frac{x}{x^2+1}\dee{x}}\\ \color{blue}\int_{-\infty}^0\frac{x}{x^2+1}\dee{x} &=\lim_{R\rightarrow\infty}\int_{-R}^0\frac{x}{x^2+1}\dee{x} =\lim_{R\rightarrow\infty}\frac{1}{2}\log(x^2+1)\Big|_{-R}^0\\ &=\lim_{R \to \infty}\frac{1}{2}\left[\log 1-\log(R^2+1)\right]=\lim_{R\rightarrow\infty}-\frac{1}{2}\log(R^2+1) =-\infty \\ \color{red}\int_0^{+\infty}\frac{x}{x^2+1}\dee{x} &=\lim_{R\rightarrow\infty}\int_0^R\frac{x}{x^2+1}\dee{x} =\lim_{R\rightarrow\infty}\frac{1}{2}\log(x^2+1)\Big|_0^R\\ &=\lim_{R \to \infty}\frac{1}{2}\left[ \log(R^2+1)-\log 1\right] =\lim_{R\rightarrow\infty}\frac{1}{2}\log(R^2+1) =+\infty \end{align*}

Both halves diverge, so the whole integral diverges.

Once again: after we found that one of the limits diverged, we could have stopped and concluded that the original integrand diverges. Don't make the mistake of thinking that =0\infty-\infty=0. That can get you into big trouble. \infty is not a normal number. For example 2=2\infty=\infty. So if \infty were a normal number we would have both =0\infty-\infty=0 and =2=\infty-\infty=2\infty-\infty =\infty.

Q15Stage 2Past exam · M121 1999A

Decide whether I=0sinxx3/2+x1/2 dxI=\displaystyle\int_0^\infty\frac{|\sin x|}{x^{3/2}+x^{1/2}}\ \dee{x} converges or diverges. Justify.

Hint

Which of the two terms in the denominator is more important when x0x\approx 0? Which one is more important when xx is very large?

Answer

The integral converges.

Full solution

We don't want to antidifferentiate this integrand, so let's use a comparison. Note the integrand is positive when x>0x>0.

For any xx, sinx1|\sin x| \leq 1, so sinxx3/2+x1/21x3/2+x1/2\dfrac{|\sin x|}{x^{3/2}+x^{1/2}} \leq \dfrac{1}{x^{3/2}+x^{1/2}}.

Since x=0x=0 and xx \to \infty both cause the integral to be improper, we need to break it into two pieces. Since both terms in the denominator give positive numbers when xx is positive, 1x3/2+x1/21x3/2\dfrac{1}{x^{3/2}+x^{1/2}} \leq \dfrac{1}{x^{3/2}} and 1x3/2+x1/21x1/2\dfrac{1}{x^{3/2}+x^{1/2}} \leq \dfrac{1}{x^{1/2}}. That gives us two options for comparison.

When xx is positive and close to zero, x1/2x3/2x^{1/2} \ge x^{3/2}, so we guess that we should compare our integrand to 1x1/2\frac{1}{x^{1/2}} near the limit x=0x=0. In contrast, when xx is very large, x1/2x3/2x^{1/2} \le x^{3/2}, so we guess that we should compare our integrand to 1x3/2\frac{1}{x^{3/2}} as xx goes to infinity.

sinxx3/2+x1/21x1/2and the integral 01dxx1/2 converges by the p-test, Example 1.12.9in the CLP-2 textsinxx3/2+x1/21x3/2and the integral 1dxx3/2 converges by the p-test, Example 1.12.8in the CLP-2 text\begin{alignat*}{3} \frac{|\sin x|}{x^{3/2}+x^{1/2}} &\le \frac{1}{x^{1/2}} \quad&&\text{and the integral }\int_0^1\frac{\dee{x}}{x^{1/2}}\text{ converges by the }p\text{-test, Example \text{1.12.9}} \\ & && \text{in the CLP-2 text} \\ \frac{|\sin x|}{x^{3/2}+x^{1/2}} &\le \frac{1}{x^{3/2}} \quad&&\text{and the integral }\int_1^\infty\frac{\dee{x}}{x^{3/2}}\text{ converges by the }p\text{-test, Example \text{1.12.8}} \\ & && \text{in the CLP-2 text} \end{alignat*}

Now we have all the data we need to apply the comparison test, Theorems 1.12.17 and ? in the CLP-2 text.

  • sinxx3/2+x1/2\dfrac{|\sin x|}{x^{3/2}+x^{1/2}} , 1x1/2\dfrac{1}{x^{1/2}} , and 1x3/2\dfrac{1}{x^{3/2}} are defined and continuous for x>0x>0

  • 1x1/2\dfrac{1}{x^{1/2}} and 1x3/2\dfrac{1}{x^{3/2}} are nonnegative for x0x \ge 0

  • sinxx3/2+x1/21x1/2\dfrac{|\sin x|}{x^{3/2}+x^{1/2}}\le \dfrac{1}{x^{1/2}} for all x>0x > 0 and 011x1/2 dx\displaystyle\int_0^1\dfrac{1}{x^{1/2}}~\dee{x} converges, so 0112sinxx3/2+x1/2 dx\displaystyle\int_0^{1\vphantom{\frac12}}\dfrac{|\sin x|}{x^{3/2}+x^{1/2}}~\dee{x} converges.

  • sinxx3/2+x1/21x3/2\dfrac{|\sin x|}{x^{3/2}+x^{1/2}}\le \dfrac{1}{x^{3/2}} for all x1x \ge 1 and 11x3/2 dx\displaystyle\int_1^\infty\dfrac{1}{x^{3/2}}~\dee{x} converges, so 112sinxx3/2+x1/2 dx\displaystyle\int_1^{\infty\vphantom{\frac12}}\dfrac{|\sin x|}{x^{3/2}+x^{1/2}}~\dee{x} converges.

Therefore, our integral 0sinxx3/2+x1/2 dx\displaystyle\int_0^\infty \frac{|\sin x|}{x^{3/2}+x^{1/2}}~\dee{x} converges.

Q16Stage 2Past exam · M121 2000A

Does the integral 0x+1x1/3(x2+x+1)dx\displaystyle\int_0^\infty\frac{x+1}{x^{1/3}(x^2+x+1)}\,\dee{x} converge or diverge?

Hint

What are the “problem xx's” for this integral? Get a simple approximation to the integrand near each.

Answer

The integral converges.

Full solution

The integrand is positive everywhere, so either the integral converges to some finite number or it is infinite. There are two potential “sources of impropriety” — a possible singularity at x=0x=0 and the fact that the domain of integration extends to \infty. So we split up the integral.

0x+1x1/3(x2+x+1)dx=01x+1x1/3(x2+x+1)dx+1x+1x1/3(x2+x+1)dx\begin{align*} \int_0^\infty\frac{x+1}{x^{1/3}(x^2+x+1)}\,\dee{x} = \int_0^1\frac{x+1}{x^{1/3}(x^2+x+1)}\,\dee{x} +\int_1^\infty\frac{x+1}{x^{1/3}(x^2+x+1)}\,\dee{x} \end{align*}

Let's develop a hunch about whether the integral converges or diverges. When x0x\approx 0, x2x^2 and xx are both a lot smaller than 1, so we guess we should compare the integrand to 1x1/3\frac{1}{x^{1/3}}.

x+1x1/3(x2+x+1)1x1/3(1)=1x1/3\begin{equation*} \frac{x+1}{x^{1/3}(x^2+x+1)} \approx \frac{1}{x^{1/3}(1)} = \frac{1}{x^{1/3}} \end{equation*}

Note 011x1/3 dx\int_0^1 \frac{1}{x^{1/3}}~\dee{x} converges by Example 1.12.9 in the CLP-2 text (it's a pp-type integral), so we guess 01x+1x1/3(x2+x+1) dx\int_0^1 \frac{x+1}{x^{1/3}(x^2+x+1)}~\dee{x} converges as well.

When xx is very large, x2x^2 is much bigger than xx, which is much bigger than 1, so we guess we should compare the integrand to 1x4/3\frac{1}{x^{4/3}}.

x+1x1/3(x2+x+1)xx1/3(x2)=1x4/3\begin{equation*} \frac{x+1}{x^{1/3}(x^2+x+1)} \approx \frac{x}{x^{1/3}(x^2)} = \frac{1}{x^{4/3}} \end{equation*}

Note 11x4/3 dx\int_1^\infty \frac{1}{x^{4/3}}~\dee{x} converges by Example 1.12.8 in the CLP-2 text (it's a pp-type integral), so we guess 1x+1x1/3(x2+x+1) dx\int_1^\infty \frac{x+1}{x^{1/3}(x^2+x+1)}~\dee{x} converges as well.

Now it's time to verify our guesses with the limiting comparison test, Theorems 1.12.22 and ? in the CLP-2 text. Be careful: our “\approx" signs are not strong enough to use either the limiting comparison test or the comparison test, they are only enough to suggest a reasonable function to compare to.

  • x+1x1/3(x2+x+1)\frac{x+1}{x^{1/3}(x^2+x+1)} , 1x1/3\frac{1}{x^{1/3}} , and 1x4/3\frac{1}{x^{4/3}} are defined and continuous for all x>0x > 0

  • 1x1/3\frac{1}{x^{1/3}} and 1x4/3\frac{1}{x^{4/3}} are positive for all x>0x>0

  • 011x1/3 dx\int_0^1 \frac{1}{x^{1/3}}~\dee{x} and 11x4/3 dx\int_1^\infty \frac{1}{x^{4/3}}~\dee{x} both converge

  • limx0x+1x1/3(x2+x+1)1x1/3=limx0x+1x2+x+1=0+10+0+1=1\lim\limits_{x \to 0}\dfrac{\frac{x+1}{x^{1/3}(x^2+x+1)}}{\frac{1}{x^{1/3}}} =\lim\limits_{x \to 0}\dfrac{x+1}{x^2+x+1}=\dfrac{0+1}{0+0+1}=1; in particular, this limit exists.

  • Using the limiting comparison test (Theorem ? in the CLP-2 text), 01x+1x1/3(x2+x+1) dx\int_0^1 \frac{x+1}{x^{1/3}(x^2+x+1)}~\dee{x} converges.

  • limxx+1x1/3(x2+x+1)1x4/3=limx0x(x+1)x2+x+1=1\lim\limits_{x \to \infty}\dfrac{\frac{x+1}{x^{1/3}(x^2+x+1)}}{\frac{1}{x^{4/3}}} =\lim\limits_{x \to 0}\dfrac{x(x+1)}{x^2+x+1}=1; in particular, this limit exists.

  • Using the limiting comparison test (Theorem 1.12.22 in the CLP-2 text), 1x+1x1/3(x2+x+1) dx\int_1^\infty \frac{x+1}{x^{1/3}(x^2+x+1)}~\dee{x} converges.

We conclude 0x+1x1/3(x2+x+1) dx\displaystyle\int_0^\infty \frac{x+1}{x^{1/3}(x^2+x+1)}~\dee{x} converges.

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q17Stage 3

We craft a tall, vuvuzela-shaped solid by rotating the line y=1x12y = \dfrac{1}{x\vphantom{\frac{1}{2}}} from x=ax=a to x=1x=1 about the yy-axis, where aa is some constant between 0 and 1.

Figure from prob_s1.12, line 2

Figure from prob_s1.12, line 2

True or false: No matter how large a constant MM is, there is some value of aa that makes a solid with volume larger than MM.

Hint

To find the volume of the solid, cut it into horizontal slices, which are thin circular disks.

The true/false statement is equivalent to saying that the improper integral giving the volume of the solid when a=0a=0 diverges to infinity.

Answer

false

Full solution

To find the volume of the solid, we cut it into horizontal slices, which are thin circular disks. At height yy, the disk has radius x=1yx=\frac{1}{y} and thickness dy\dee{y}, so its volume is πy2dy\frac{\pi}{y^2}\dee{y}. The base of the solid is at height y=1y=1, and its top is at height y=1ay=\frac{1}{a}. So, the volume of the entire solid is:

11/aπy2dy=[πy]11/a=π(1a)\begin{align*} \int_1^{1/a} \frac{\pi}{y^2}\dee{y} = \left[-\frac{\pi}{y}\right]_1^{1/a} = \pi (1-a) \end{align*}

If we imagine sliding aa closer and closer to 0, the volume increases, getting closer and closer to π\pi units, but never quite reaching it.

So, the statement is false. For example, if we set M=4M=4, no matter which aa we choose our solid has volume strictly less than MM.

Remark: we've seen before that 011xdx\int_0^1 \frac{1}{x}\,\dee{x} diverges. If we imagine the solid that would result from choosing a=0a=0, it would have a scant volume of π\pi cubic units, but a silhouette (side view) of infinite area.

Q18Stage 3Past exam · 2016Q4

What is the largest value of qq for which the integral 11x5qdx\displaystyle \int_1^\infty \frac1{x^{5q}}\,\dee{x} diverges?

Hint

Review Example 1.12.8 in the

CLP-2 text. Remember the antiderivative of 1x\frac{1}{x} looks very different from the antiderivative of other powers of xx.

Answer

q=15q=\frac{1}{5}

Full solution

Our goal is to decide when this integral diverges, and where it converges. We will leave qq as a variable, and antidifferentiate. In order to antidifferentiate without knowing qq, we'll need different cases. The integrand is x5qx^{-5q}, so when 5q1-5q \neq -1, we use the power rule (that is, xn dx=xn+1n+1\int x^n~\dee{x} = \frac{x^{n+1}}{n+1}) to antidifferentiate. Note x(5q)+1=x15q=1x5q1x^{(-5q)+1} = x^{1-5q} = \dfrac{1}{x^{5q-1}}.

1t1x5qdx={[x15q15q]1t with 15q>0if q<15[logx12]1t if q=15[1(15q)x5q1]1t with 5q1>0if q>15={115q(t15q1) with 15q>0if q<15logtif q=1515q1(11t5q1) with 5q1>0if q>15.\begin{align*} \int_1^t \frac1{x^{5q}}\,\dee{x} &= \begin{cases} \left[\frac{x^{1-5q}}{1-5q} \right]_1^t \text{ with }1-5q>0 &\text{if } q < \frac15 \\[10pt] \left[ \log x\vphantom{\frac12}\right]_1^{t}\ &\text{if } q = \frac15 \\[10pt] \left[\frac{1}{(1-5q)x^{5q-1}} \right]_1^{t}\text{ with }5q-1>0 &\text{if } q > \frac15 \end{cases}\\ &=\begin{cases} \frac1{1-5q}(t^{1-5q}-1) \text{ with }1-5q>0 &\text{if } q < \frac15 \\ \log t &\text{if } q = \frac15 \\ \frac1{5q-1}(1-\frac1{t^{5q-1}})\text{ with }5q-1>0 &\text{if } q > \frac15. \end{cases} \end{align*}

Therefore,

11x5qdx=limt(1t1x5qdx)={115q(limtt15q1)=if q<15limtlogt=if q=1515q1(1limt1t5q1)=15q1if q>15.\begin{align*} \int_1^\infty \frac1{x^{5q}}\,\dee{x} = \displaystyle\lim_{t\to\infty} \left( \int_1^t \frac1{x^{5q}}\,\dee{x} \right) = \begin{cases} \frac1{1-5q}\left(\displaystyle\lim_{t\to\infty} t^{1-5q}-1\right) = \infty &\text{if } q < \frac15 \\[10pt] \displaystyle\lim_{t\to\infty}\log t = \infty &\text{if } q = \frac15 \\[10pt] \frac1{5q-1}\left(1-\displaystyle\lim_{t\to\infty}\frac1{t^{5q-1}}\right) = \frac1{5q-1} &\text{if } q > \frac15. \end{cases} \end{align*}

The first two cases are divergent, and so the largest such value is q=15q=\frac{1}{5}. (Alternatively, we might recognize this as a “pp-integral” with p=5qp=5q, and recall that the pp-integral diverges precisely when p1p\le1.)

Q19Stage 3

For which values of pp does the integral 0x(x2+1)p dx\displaystyle\int_0^\infty \dfrac{x}{(x^2+1)^p}~\dee{x} converge?

Hint

Compare to Example 1.12.14 in the CLP-2 text. You can antidifferentiate with a uu-substitution.

Answer

p>1p>1

Full solution

This integrand is a nice candidate for the substitution u=x2+1u=x^2+1, 12du=xdx\frac{1}{2}\dee{u} = x\dee{x}. Remember when we use substitution on a definite integral, we also need to adjust the limits of integration.

0x(x2+1)p dx=limt0tx(x2+1)pdx=limt121t2+11up du=limt121t2+1up du={12limt[u1p1p]1t2+1 if p112limt[logu]1t2+1 if p=1={12limt11p[(t2+1)1p1] if p112limt[log(t2+1)]= if p=1\begin{align*}\int_0^\infty \dfrac{x}{(x^2+1)^p}~\dee{x} &= \lim_{t \to \infty}\int_0^t \frac{x}{(x^2+1)^p}\dee{x}\\ &=\lim_{t \to \infty}\frac{1}{2}\int_1^{t^2+1} \dfrac{1}{u^p}~\dee{u}\\ &=\lim_{t \to \infty}\frac{1}{2}\int_1^{t^2+1}u^{-p}~\dee{u}\\ &=\begin{cases} \frac12\displaystyle\lim_{t \to \infty}\left[\frac{u^{1-p}}{1-p}\right]_1^{t^2+1}&\text{ if }p \neq 1\\[7pt] \frac12\displaystyle\lim_{t \to \infty}\Big[\log|u|\Big]_1^{t^2+1}&\text{ if }p=1 \end{cases}\\ &=\begin{cases} \frac12\displaystyle\lim_{t \to \infty}\frac{1}{1-p}\left[(t^2+1)^{1-p}-1\right]&\text{ if }p \neq 1\\[7pt] \frac12\displaystyle\lim_{t \to \infty}\Big[\log(t^2+1)\Big]=\infty&\text{ if }p=1 \end{cases}\end{align*}

At this point, we can see that the integral diverges when p=1p=1. When p1p \neq 1, we have the limit

limt1/21p[(t2+1)1p1]=1/21p[limt(t2+1)1p]1/21p\begin{align*}\displaystyle\lim_{t \to \infty}\frac{1/2}{1-p}\left[(t^2+1)^{1-p}-1\right]&=\frac{1/2}{1-p}\left[\lim_{t \to \infty} (t^2+1)^{1-p}\right] - \frac{1/2}{1-p}\end{align*}

Since t2+1t^2+1 \to \infty, this limit converges exactly when the exponent 1p1-p is negative; that is, it converges when p>1p>1, and diverges when p<1p<1.

So, the integral in the question converges when p>1p>1.

Q20Stage 3

Evaluate 21t41dt\displaystyle\int_2^\infty \frac{1}{t^4-1}\dee{t}, or state that it diverges.

Hint

To evaluate the integral, you can factor the denominator.
Recall limxarctanx=π2\displaystyle\lim_{x \to \infty}\arctan x = \frac{\pi}{2}. For the other limits, use logarithm rules, and beware of indeterminate forms.

Answer

log3π4+12arctan2\dfrac{\log 3-\pi}{4} + \dfrac{1}{2}\arctan 2

Full solution
  • First, we notice there is only one “source of impropriety:" the domain of integration is infinite. (The integrand has a singularity at t=1t=1, but this is not in the domain of integration, so it's not a problem for us.)

  • We should try to get some intuition about whether the integral converges or diverges. When tt \to \infty, notice the integrand “looks like" the function 1t4\frac{1}{t^4}. We know 11t4 dt\int_1^\infty \frac{1}{t^4}~\dee{t} converges, because it's a pp-integral with p=4>1p=4>1 (see Example 1.12.8 in the CLP-2 text). So, our integral probably converges as well. If we were only asked show it converges, we could use a comparison test, but we're asked more than that.

  • Since we guess the integral converges, we'll need to evaluate it. The integrand is a rational function, and there's no obvious substitution, so we use partial fractions.

1t41=1(t2+1)(t21)=1(t2+1)(t+1)(t1)=At+Bt2+1+Ct+1+Dt1\begin{align*}\frac{1}{t^4-1} &= \frac{1}{(t^2+1)(t^2-1)}= \frac{1}{(t^2+1)(t+1)(t-1)} = \frac{At+B}{t^2+1} + \frac{C}{t+1}+\frac{D}{t-1}\end{align*}

Multiply by the original denominator.

1=(At+B)(t+1)(t1)+C(t2+1)(t1)+D(t2+1)(t+1)\begin{align*}1&=(At+B)(t+1)(t-1) + C(t^2+1)(t-1) +D(t^2+1)(t+1)\tag{$*$}\end{align*}

Set t=1t=1.

1=0+0+D(2)(2)D=14\begin{align*}1&=0+0+D(2)(2) \qquad \Rightarrow \qquad \color{red}D=\frac{1}{4}\end{align*}

Set t=1t=-1.

1=0+C(2)(2)+0C=14\begin{align*}1&=0+C(2)(-2)+0 \qquad \Rightarrow \qquad \color{red}C=-\frac{1}{4}\end{align*}

Simplify (*) using D=14D=\frac{1}{4} and C=14C=-\frac{1}{4}.

1=(At+B)(t+1)(t1)14(t2+1)(t1)+14(t2+1)(t+1)=(At+B)(t+1)(t1)+12(t2+1)=At3+(B+12)t2At+(12B)\begin{align*}1&=(At+B)(t+1)(t-1) \textcolor{red}{-\frac{1}{4}}(t^2+1)(t-1) +\textcolor{red}{\frac{1}{4}}(t^2+1)(t+1)\\ &=(At+B)(t+1)(t-1) + \frac{1}{2}(t^2+1)\\ &=At^3+\left(B+\frac{1}{2}\right)t^2-At+\left(\frac{1}{2}-B\right)\end{align*}

By matching up coefficients of corresponding powers of tt, we find A=0A=0 and B=12B=-\frac{1}{2}.

21t41 dt=2(1/2t2+11/4t+1+1/4t1) dt=limR2R(1/2t2+11/4t+1+1/4t1) dt=limR[12arctant14logt+1+14logt1]2R=limR[12arctant+14logt1t+1]2R=limR(12arctanR+12arctan2+14logR1R+114log212+1)\begin{align*}\int_2^\infty \frac{1}{t^4-1}~\dee{t}&=\int_2^\infty \left( \frac{-1/2}{t^2+1} - \frac{1/4}{t+1}+\frac{1/4}{t-1}\right)~\dee{t}\\ &=\lim_{R \to \infty}\int_2^R \left( \frac{-1/2}{t^2+1} - \frac{1/4}{t+1}+\frac{1/4}{t-1}\right)~\dee{t}\\ &=\lim_{R \to \infty} \left[-\frac{1}{2}\arctan t - \frac{1}{4}\log|t+1|+\frac{1}{4}\log|{t-1}|\right]_2^R\\ &=\lim_{R \to \infty} \left[-\frac{1}{2}\arctan t + \frac{1}{4}\log\left| \frac{t-1}{t+1} \right|\right]_2^R\\ &=\lim_{R \to \infty} \left(-\frac{1}{2}\arctan R +\frac12\arctan 2 + \frac{1}{4}\log\left| \frac{R-1}{R+1} \right|-\frac{1}{4}\log\left| \frac{2-1}{2+1} \right|\right)\end{align*}

We can use l'H^opital's rule to see limRR1R+1=1\displaystyle\lim_{R \to \infty}\frac{R-1}{R+1}=1. Also note log(1/3)=log3-\log (1/3) = \log 3.

=12(π2)+12arctan2+14log1+14log3=log3π4+12arctan2\begin{align*}&=-\frac{1}{2}\left(\frac{\pi}{2}\right) +\frac{1}{2}\arctan 2 + \frac{1}{4}\log1+\frac{1}{4}\log3\\ &=\frac{\log 3-\pi}{4} + \frac{1}{2}\arctan 2\end{align*}
Q21Stage 3

Does the integral 55(1x+1x1+1x2)dx\displaystyle\int_{-5}^5 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x} converge or diverge?

Hint

Break up the integral. The absolute values give you a nice even function, so you can replace xa|x-a| with xax-a if you're careful about the limits of integration.

Answer

The integral converges.

Full solution

There are three singularities in the integrand: x=0x=0, x=1x=1, and x=2x=2. We'll need to break up the integral at each of these places.

55(1x+1x1+1x2)dx=50(1x+1x1+1x2)dx+01(1x+1x1+1x2)dx+12(1x+1x1+1x2)dx+25(1x+1x1+1x2)dx\begin{align*} &\int_{-5}^5 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x}\\ = &\int_{-5}^0 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x}+ \int_{0}^1 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x}\\+& \int_{1}^2 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x}+ \int_{2}^5 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x} \end{align*}

This looks rather unfortunate. Let's think again. If all of the integrals below converge, then we can write:

55(1x+1x1+1x2)dx=551xdx+551x1dx+551x2dx\begin{align*}\int_{-5}^5 \left(\frac{1}{\sqrt{|x|}} + \frac{1}{\sqrt{|x-1|}}+\frac{1}{\sqrt{|x-2|}}\right)\dee{x}&= \int_{-5}^5 \frac{1}{\sqrt{|x|}} \dee{x}+ \int_{-5}^5 \frac{1}{\sqrt{|x-1|}}\dee{x}+ \int_{-5}^5\frac{1}{\sqrt{|x-2|}}\dee{x}\end{align*}

That looks a lot better. Also, we have a good reason to guess these integrals converge–they look like pp-integrals with p=12p=\frac{1}{2}. Let's take a closer look at each one.

551xdx=501xdx+051xdx=2051xdx(even function)=2051xdx\begin{align*}\int_{-5}^5 \frac{1}{\sqrt {|x|}}\dee{x}&=\int_{-5}^0 \frac{1}{\sqrt {|x|}}\dee{x}+ \int_{0}^5 \frac{1}{\sqrt {|x|}}\dee{x}\\ &=2\int_{0}^5 \frac{1}{\sqrt {|x|}}\dee{x} \qquad\text{(even function)}\\ &=2\int_{0}^5 \frac{1}{\sqrt {x}}\dee{x}\end{align*}

This is a pp-integral, with p=12p=\frac{1}{2}. By Example 1.12.9 in the CLP-2 text (and Theorem 1.12.20, since the upper limit of integration is not 1), it converges. The other two pieces behave similarly.

551x1dx=511x1dx+151x1dx\begin{align*}\int_{-5}^5 \frac{1}{\sqrt{|x-1|}}\dee{x}&= \int_{-5}^1 \frac{1}{\sqrt{|x-1|}}\dee{x}+ \int_{1}^5 \frac{1}{\sqrt{|x-1|}}\dee{x}\end{align*}

Use u=x1u=x-1, du=dx\dee{u}=\dee{x}

=601udu+041udx=061udu+041udx\begin{align*}&= \int_{-6}^0 \frac{1}{\sqrt{|u|}}\dee{u}+ \int_{0}^4 \frac{1}{\sqrt{|u|}}\dee{x} \\&= \int_{0}^6 \frac{1}{\sqrt{u}}\dee{u}+ \int_{0}^4 \frac{1}{\sqrt{u}}\dee{x}\end{align*}

Since our function is even, we use the reasoning of Example 1.2.9 in the CLP-2 text to consider the area under the curve when x0x \ge 0, rather than when x0x\leq 0. Again, these are pp-integrals with p=12p = \frac{1}{2}, so they both converge. Finally:

551x2dx=521x2dx+251x2dx\begin{align*}\int_{-5}^5\frac{1}{\sqrt{|x-2|}}\dee{x}&= \int_{-5}^2\frac{1}{\sqrt{|x-2|}}\dee{x}+ \int_{2}^5\frac{1}{\sqrt{|x-2|}}\dee{x}\end{align*}

Use u=x2u=x-2, du=dx\dee{u}=\dee{x}.

=701udu+031udu=071udu+031udu\begin{align*}&= \int_{-7}^0\frac{1}{\sqrt{|u|}}\dee{u}+ \int_{0}^3\frac{1}{\sqrt{|u|}}\dee{u}\\ &= \int_{0}^7\frac{1}{\sqrt{u}}\dee{u}+ \int_{0}^3\frac{1}{\sqrt{u}}\dee{u}\end{align*}

Since p=12p = \frac{1}{2}, so they both converge.

We conclude our original integral, as the sum of convergent integrals, converges.

Q22Stage 3

Evaluate 0exsinx dx\displaystyle\int_0^\infty e^{-x}\sin x~\dee{x}, or state that it diverges.

Hint

Use integration by parts twice to find the antiderivative of exsinxe^{-x}\sin x, as in Example 1.7.10 of the CLP-2 text. Be careful with your signs — it's easy to make a mistake with all those negatives.

If you're having a hard time taking the limit at the end, review the Squeeze Theorem, Theorem 1.4.17 in the CLP-1 text.

Answer

12\dfrac{1}{2}

Full solution

We can use integration by parts twice to find the antiderivative of exsinxe^{-x}\sin x, as in Example 1.7.10 of the CLP-2 text. To keep our work a little simpler, we'll find the antiderivative first, then take the limit.

Let u=exu=e^{-x}, dv=sinx dx\dee{v}=\sin x~\dee{x}, so du=ex dx\dee{u}=-e^{-x}~\dee{x} and v=cosxv=-\cos x.

exsinx dx=excosxexcosx dx\begin{align*}\int e^{-x}\sin x~\dee{x}&=-e^{-x}\cos x - \int e^{-x}\cos x~\dee{x}\end{align*}

Now let u=exu=e^{-x}, dv=cosx dx\dee{v}=\cos x~\dee{x}, so du=ex dx\dee{u}=-e^{-x}~\dee{x} and v=sinxv=\sin x.

=excosx[exsinx+exsinx dx]=excosxexsinxexsinx dx\begin{align*}&=-e^{-x}\cos x-\left[e^{-x}\sin x + \int e^{-x}\sin x~\dee{x} \right]\\ &=-e^{-x}\cos x-e^{-x}\sin x - \int e^{-x}\sin x~\dee{x}\end{align*}

All together, we found

exsinx dx=excosxexsinxexsinx dx+C2exsinx dx=excosxexsinx+Cexsinx dx=12ex(cosx+sinx)+C\begin{align*}\color{red}\int e^{-x}\sin x~\dee{x}&=-e^{-x}\cos x-e^{-x}\sin x -\color{red} \int e^{-x}\sin x~\dee{x} \color{black}+C\\ \color{red}2\int e^{-x}\sin x~\dee{x}&=-e^{-x}\cos x-e^{-x}\sin x +C\\ \int e^{-x}\sin x~\dee{x}&=-\frac{1}{2e^x}(\cos x+\sin x) +C\end{align*}

(Remember, since CC is an arbitrary constant, we can rename C2\frac{C}{2} to simply CC.) Now we can evaluate our improper integral.

0exsinx dx=limb0bexsinx dx=limb[12ex(cosx+sinx)]0b=limb(1212eb(cosb+sinb))\begin{align*}\int_0^\infty e^{-x}\sin x~\dee{x}&= \lim_{b \to \infty}\int_0^b e^{-x}\sin x~\dee{x}\\ &= \lim_{b \to \infty}\left[-\frac{1}{2e^x}(\cos x+\sin x) \right]_0^b \\&= \lim_{b \to \infty}\left(\frac{1}{2}-\frac{1}{2e^b}(\cos b+\sin b) \right)\end{align*}

To find the limit, we use the Squeeze Theorem (Theorem 1.4.17 in the CLP-1 text). Since sinb,cosb1|\sin b|,|\cos b| \leq 1 for any bb, we can use the fact that 2cosb+sinb2-2 \le \cos b + \sin b \le 2 for any bb.

22eb12eb(cosb+sinb)22eblimb22eb=0=22ebSo, limb[12eb(cosb+sinb)]=0Therefore, 12=limb(1212eb(cosb+sinb))\begin{align*}&\qquad\frac{-2}{2e^b} \leq \frac{1}{2e^b}(\cos b + \sin b) \leq \frac{2}{2e^b}\\ &\qquad\lim_{b \to \infty}\frac{-2}{2e^b} = 0 = \frac{2}{2e^b}\\ &\qquad\text{So, }\qquad\lim_{b \to \infty}\left[\frac{1}{2e^b}(\cos b + \sin b)\right]=0\\ \text{Therefore, }\qquad\frac{1}{2}&= \lim_{b \to \infty}\left(\frac{1}{2}-\frac{1}{2e^b}(\cos b+\sin b) \right)\end{align*}

That is, 0exsinx dx=12\displaystyle\int_0^\infty e^{-x}\sin x~\dee{x}= \frac{1}{2}.

Q23Stage 3Past exam · M121 2002A

Is the integral 0sin4xx2dx\displaystyle\int_0^\infty\frac{\sin^4 x}{x^2}\, \dee{x} convergent or divergent? Explain why.

Hint

What is the limit of the integrand when x0x\rightarrow 0?

Answer

The integral converges.

Full solution

The integrand is positive everywhere. So either the integral converges to some finite number or it is infinite. There are two potential “sources of impropriety” — a possible singularity at x=0x=0 and the fact that the domain of integration extends to \infty. So, we split up the integral.

0sin4xx2dx=01sin4xx2dx+1sin4xx2dx\begin{equation*} \int_0^\infty\frac{\sin^4 x}{x^2}\, \dee{x} =\int_0^1\frac{\sin^4 x}{x^2}\, \dee{x} + \int_1^\infty\frac{\sin^4 x}{x^2}\, \dee{x} \end{equation*}

Let's consider the first integral. By l'H^opital's rule (or recall Example 3.7.3 in the CLP-1 text),

limx0sinxx=limx0cosx1=cos0=1\begin{equation*} \lim_{x\to 0} \frac{\sin x}{x} =\lim_{x\to 0} \frac{\cos x}{1} =\cos 0 =1 \end{equation*}

Consequently,

limx0sin4xx2=(limx0sin2x)(limx0sinxx)(limx0sinxx)=0×1×1=0\begin{equation*} \lim_{x\to 0} \frac{\sin^4 x}{x^2} =\Big(\lim_{x\to 0} \sin^2 x \Big) \Big(\lim_{x\to 0} \frac{\sin x}{x} \Big) \Big(\lim_{x\to 0} \frac{\sin x}{x} \Big) =0\times 1\times 1 =0 \end{equation*}

and the first integral is not even improper.

Now for the second integral. Since sinx1|\sin x|\le 1, we'll compare it to 11x2\int_1^\infty \frac{1}{x^2}.

  • sin4xx2\frac{\sin^4 x}{x^2} and 1x2\frac{1}{x^2} are defined and continuous for every x1x \geq 1

  • 0sin4xx214x2=1x20 \leq \frac{\sin^4 x}{x^2} \leq \frac{1^4}{x^2} = \frac{1}{x^2} for every x1x \geq 1

  • 11x2 dx\int_1^\infty \frac{1}{x^2}~\dee{x} converges by Example 1.12.8 in the CLP-2 text (it's a pp-type integral with p>1p>1)

By the comparison test, Theorem 1.12.17 in the CLP-2 text, 1sin4xx2dx\displaystyle\int_1^\infty\frac{\sin^4 x}{x^2}\, \dee{x} converges.

Since 01sin4xx2dx\displaystyle\int_0^1\frac{\sin^4 x}{x^2}\, \dee{x} and 1sin4xx2dx\displaystyle\int_1^\infty\frac{\sin^4 x}{x^2}\, \dee{x} both converge, we conclude 0sin4xx2dx\displaystyle\int_0^\infty\frac{\sin^4 x}{x^2}\, \dee{x} converges as well.

Q24Stage 3

Does the integral 0xex+x dx\displaystyle\int_0^\infty \frac{x}{e^x+\sqrt{x}} ~\dee{x} converge or diverge?

Hint

The only “source of impropriety" is the infinite domain of integration. Don't be afraid to be a little creative to make a comparison work.

Answer

The integral converges.

Full solution

Since the denominator is positive for all x0x \geq 0, the integrand is continuous over [0,)[0, \infty). So, the only “source of impropriety" is the infinite domain of integration.

  • Let's try to use a direct comparison. Note xex+x0\dfrac{x}{e^x + \sqrt{x}} \geq 0 whenever x0x \geq 0. Also note that, for large values of xx, exe^x is much larger than x\sqrt{x}. That leads us to consider the following inequalty:

    0xex+xxex0\leq \dfrac{x}{e^x + \sqrt{x}} \leq \dfrac{x}{e^x }

    If 0xex dx\int_0^\infty \frac{x}{e^x}~\dee{x} converges, we're in business. Let's figure it out. The integrand looks like a candidate for integration by parts: take u=xu=x, dv=ex dx\dee{v} = e^{-x}~\dee{x}, so du=dx\dee{u}=\dee{x} and v=exv=-e^{-x}.

    0xex dx=limb0bxex dx=limb([xex]0b+0bex dx)=limb(beb+[ex]0b)=limb(beb1eb+1)=limb(1b+1ebnumden)=limb(11eb)=1\begin{align*} \int_0^\infty \frac{x}{e^x}~\dee{x}&=\lim_{b \to \infty}\int_0^b \frac{x}{e^x}~\dee{x}= \lim_{b \to \infty}\left( \left[-\frac{x}{e^x}\right]_0^b + \int_0^b e^{-x}~\dee{x} \right)\\&= \lim_{b \to \infty}\left(-\frac{b}{e^b} +\left[-e^{-x}\right]_0^b \right)= \lim_{b \to \infty}\left(-\frac{b}{e^b} -\frac{1}{e^b}+1 \right)\\&= \lim_{b \to \infty}\bigg(1-\underbrace{\frac{b+1}{e^b}}_{\atp{\mathrm{num}\to\infty}{\mathrm{den}\to\infty}} \bigg)=\lim_{b \to \infty}\bigg(1-\frac{1}{e^b} \bigg)=1 \end{align*}

    Using l'H^opital's rule, we see 0xex dx\int_0^\infty \frac{x}{e^x}~\dee{x} converges. All together:

    • xex\frac{x}{e^x} and xex+x\frac{x}{e^x+\sqrt{x}} are defined and continuous for all x0x \geq 0,

    • xex+xxex\left|\frac{x}{e^x+\sqrt{x}}\right|\leq \frac{x}{e^x}, and

    • 0xex dx\int_0^\infty \frac{x}{e^x}~\dee{x} converges.

    So, by Theorem 1.12.17 in the CLP-2 text, our integral 0xex+x dx\displaystyle\int_0^\infty \frac{x}{e^x+\sqrt{x}} ~\dee{x} converges.

  • Let's try to use a different direct comparison from Solution 1, and avoid integration by parts. We'd like to compare to something like 1ex\dfrac{1}{e^x}, but the inequality goes the wrong way. So, we make a slight modification: we consider 2ex/22e^{-x/2}. To that end, we claim x<2ex/2x<2e^{x/2} for all x0x \geq 0. We can prove this by noting the following two facts:

    • 0<2=2e0/20<2=2e^{0/2}, and

    • ddx{x}=1ex/2=ddx{2ex/2}\diff{}{x}\{x\} = 1 \le e^{x/2} = \diff{}{x}\{2e^{x/2}\}.

    So, when x=0x=0, x<2ex/2x < 2e^{x/2}, and then as xx increases, 2ex/22e^{x/2} grows faster than xx.

    Now we can make the following comparison:

    0xex+xxex<2ex/2ex=2ex/2\begin{align*}0\leq \dfrac{x}{e^x + \sqrt{x}} &\leq \dfrac{x}{e^x } <\frac{2e^{x/2}}{e^x} = \frac{2}{e^{x/2}}\end{align*}

    We have a hunch that 02ex/2 dx\int_0^\infty \frac{2}{e^{x/2}}~\dee{x} converges, just like 01ex dx\int_0^\infty \frac{1}{e^{x}}~\dee{x}. This is easy enough to prove. We can guess an antiderivative, or use the substitution u=x/2u=x/2.

    02ex/2 dx=limR0R2ex/2 dx=limR[4ex/2]0R=limR[4e04eR/2]0R=4\begin{align*}\int_0^\infty \frac{2}{e^{x/2}}~\dee{x}&=\lim_{R \to \infty} \int_0^R \frac{2}{e^{x/2}}~\dee{x} =\lim_{R \to \infty} \left[- \frac{4}{e^{x/2}}\right]_0^R\\ &=\lim_{R \to \infty} \left[\frac{4}{e^{0}}- \frac{4}{e^{R/2}}\right]_0^R=4\end{align*}

    Now we know:

    • 0xex+x2ex/20 \leq \frac{x}{e^x+\sqrt{x}} \leq \frac{2}{e^{x/2}}, and

    • 02ex/2 dx\int_0^\infty \frac{2}{e^{x/2}}~\dee{x} converges.

    • Furthermore, xex+x\frac{x}{e^x+\sqrt{x}} and 2ex/2\frac{2}{e^{x/2}} are defined and continuous for all x0x \geq 0.

    By the comparison test (Theorem 1.12.17) in the CLP-2 text, we conclude the integral converges.

  • Let's use the limiting comparison test (Theorem 1.12.22 in the CLP-2 text). We have a hunch that our integral behaves similarly to 01exdx\int_0^\infty \frac{1}{e^x}\,\dee{x}, which converges (see Example 1.12.18 in the CLP-2 text). Unfortunately, if we choose g(x)=1exg(x) = \frac{1}{e^x} (and, of course, f(x)=xex+xf(x) = \frac{x}{e^x+\sqrt{x}}), then

    limxf(x)g(x)=limxxex+xex=limxx1+xex0=\lim_{x \to \infty}\frac{f(x)}{g(x)} = \lim_{x \to \infty}\frac{x}{e^x+\sqrt{x}}\cdot e^x = \lim_{x \to \infty}\frac{x}{1+\underbrace{\tfrac{\sqrt{x}}{e^x}}_{\to 0}} = \infty

    That is, the limit does not exist, so the limiting comparison test does not apply. (To find limxxex\lim\limits_{x \to \infty}\frac{\sqrt{x}}{e^x}, you can use l'H^opital's rule.)

    This setback encourages us to try a slightly different angle. If g(x)g(x) gave larger values, then we could decrease f(x)g(x)\frac{f(x)}{g(x)}. So, let's try g(x)=1ex/2=ex/2g(x) = \frac{1}{e^{x/2}} = e^{-x/2}. Now,

    limxf(x)g(x)=limxxex+x÷1ex/2=limxxex/2+xex/2\begin{align*} \lim_{x \to \infty}\frac{f(x)}{g(x)} &= \lim_{x \to \infty}\frac{x}{e^x+\sqrt{x}}\div \frac{1}{e^{x/2}}= \lim_{x \to \infty}\frac{x}{e^{x/2}+\frac{\sqrt{x}}{e^{x/2}}} \end{align*}

    Hmm... this looks hard. Instead of dealing with it directly, let's use the squeeze theorem, Theorem 1.4.17 in the CLP-1 text.

    0xex/2+xex/2xex/2\begin{align*} 0 &&\leq&& \frac{x}{e^{x/2}+\frac{\sqrt{x}}{e^{x/2 }}}&&\leq&& \frac{x}{e^{x/2}} \end{align*}

    Using l'H^opital's rule,

    limxxex/2numden=limx112ex/2=0=limx0\lim_{x \to \infty} \underbrace{\frac{x}{e^{x/2}}}_{\atp{\mathrm{num}\to \infty}{\mathrm{den}\to\infty}} = \lim_{x \to \infty}\frac{1}{\frac{1}{2}e^{x/2}}=0 = \lim_{x \to \infty}0

    So, by the squeeze theorem limx0xex+x1ex/2=0\lim\limits_{x \to 0}\frac{\frac{x}{e^x+\sqrt{x}}}{\frac{1}{e^{x/2}}}=0. Since this limit exists, 1ex/2\frac{1}{e^{x/2}} is a reasonable function to use in the limiting comparison test (provided its integral converges). So, we need to show that 01ex/2dx\int_0^\infty \frac{1}{e^{x/2}}\,\dee{x} converges. This can be done by simply evaluating it:

    01ex/2dx=limb0bex/2dx=limb12[ex/2]0b=limb12[1eb/21]=12\int_0^\infty \frac{1}{e^{x/2}}\,\dee{x} = \lim_{b \to \infty}\int_0^b {e^{-x/2}}\,\dee{x} = \lim_{b \to \infty} -\frac{1}{2}\big[e^{-x/2}\big]_0^b = \lim_{b \to \infty} -\frac{1}{2}\left[\frac{1}{e^{b/2}}-1\right] = \frac{1}{2}

    So, all together:

    • The functions xex+x\frac{x}{e^x+\sqrt{x}} and 1ex/2\frac{1}{e^{x/2}} are defined and continuous for all x0x \geq 0, and 1ex/20\frac{1}{e^{x/2}} \ge 0 for all x0x \ge 0.

    • 01ex/2dx\int_0^\infty \frac{1}{e^{x/2}}\,\dee{x} converges.

    • The limit limxxex+x1ex/2\lim\limits_{x \to \infty}\frac{\frac{x}{e^x}+\sqrt{x}}{\frac{1}{e^{x/2}}} exists (it's equal to 0).

    • So, the limiting comparison test (Theorem 1.12.17 in the CLP-2 text) tells us that 0xex+xdx\int_0^\infty \frac{x}{e^x+\sqrt{x}}\,\dee{x} converges as well.

Q25Stage 3Past exam · M121 2001A

Let Mn,tM_{n,t} be the Midpoint Rule approximation for 0tex1+x dx\displaystyle\int_0^t \frac{e^{-x}}{1+x}\ \dee{x} with nn equal subintervals. Find a value of tt and a value of nn such that Mn,tM_{n,t} differs from 0ex1+x dx\int_0^\infty \frac{e^{-x}}{1+x}\ \dee{x} by at most 10410^{-4}. Recall that the error EnE_n introduced when the Midpoint Rule is used with nn subintervals obeys

EnM(ba)324n2\begin{align*} |E_n|\le \frac{M(b-a)^3}{24n^2} \end{align*}

where MM is the maximum absolute value of the second derivative of the integrand and aa and bb are the end points of the interval of integration.

Hint

There are two things that contribute to your error: using tt as the upper bound instead of infinity, and using nn intervals for the approximation.

First, find a tt so that the error introduced by approximating 0ex1+x dx\int_0^\infty \frac{e^{-x}}{1+x}\ \dee{x} by 0tex1+x dx\int_0^t \frac{e^{-x}}{1+x}\ \dee{x} is at most 12104\frac{1}{2} 10^{-4}. Then, find your nn.

Answer

t=10t=10 and n=2042n= 2042 will do the job. There are many other correct answers.

Full solution

There are two sources of error: the upper bound is tt, rather than infinity, and we're using an approximation with some finite number of intervals, nn. Our plan is to first find a value of tt that introduces an error of no more than 12104\frac{1}{2}10^{-4}. That is, we'll find a value of tt such that tex1+x dx12104\int_t^\infty \frac{e^{-x}}{1+x}~\dee{x} \leq \frac{1}{2}10^{-4}. After that, we'll find a value of nn that approximates 0texx+1 dx\int_0^t \frac{e^{-x}}{x+1}~\dee{x} to within 12104\frac{1}{2}10^{-4}. Then, all together, our error will be at most 12104+12104=104\frac{1}{2}10^{-4} + \frac{1}{2}10^{-4} = 10^{-4}, as desired. (Note we could have broken up the error in another way—it didn't have to be 12104\frac{1}{2}10^{-4} and 12104\frac{1}{2}10^{-4}. This will give us one of many possible answers.)

Let's find a tt such that tex1+x dx12104\int_t^\infty \frac{e^{-x}}{1+x}\ \dee{x}\le\frac{1}{2} 10^{-4}. For all x0x\ge 0, 0<ex1+xex0<\frac{e^{-x}}{1+x}\le e^{-x}, so

tex1+x dxtex dx=et()12104where () is true if tlog(12104)9.90\begin{align*} \int_t^\infty \frac{e^{-x}}{1+x}\ \dee{x} \le \int_t^\infty e^{-x}\ \dee{x} =e^{-t}&\stackrel{(*)}{\le}\frac{1}{2} 10^{-4}\\ \hbox{where ($*$) is true if }\quad t&\ge -\log\Big(\frac{1}{2} 10^{-4}\Big)\approx 9.90 \end{align*}

Choose, for example, t=10t=10.

Now it's time to decide how many intervals we're going to use to approximate 0texx+1 dx\displaystyle\int_0^t \frac{e^{-x}}{x+1}~\dee{x}. Again, we want our error to be less than 12104\frac{1}{2}10^{-4}. To bound our error, we need to know the second derivative of exx+1\frac{e^{-x}}{x+1}.

f(x)=ex1+x    f(x)=ex1+xex(1+x)2    f(x)=ex1+x+2ex(1+x)2+2ex(1+x)3\begin{align*} f(x)=\frac{e^{-x}}{1+x} \implies f'(x)=-\frac{e^{-x}}{1+x}-\frac{e^{-x}}{(1+x)^2} \implies f''(x)&=\frac{e^{-x}}{1+x}+2\frac{e^{-x}}{(1+x)^2} +2\frac{e^{-x}}{(1+x)^3} \end{align*}

Since f(x)f''(x) is positive, and decreases as xx increases,

f(x)f(0)=5    En5(100)324n2=500024n2=6253n2\begin{align*} |f''(x)|\le f''(0) = 5 \implies |E_n|\le\frac{5(10-0)^3}{24n^2}=\frac{5000}{24n^2} =\frac{625}{3n^2} \end{align*}

and En12104|E_n|\le \frac{1}{2} 10^{-4} if

6253n212104    n21250×1043    n1.25×10732041.2\begin{alignat*}{3} &&\frac{625}{3n^2}&\le \frac{1}{2} 10^{-4}\\ &\iff\qquad & n^2&\ge \frac{1250\times 10^4}{3}\\ &\iff\quad &n&\ge \sqrt{\frac{1.25\times 10^7}{3}} \approx 2041.2 \end{alignat*}

So t=10t=10 and n=2042n= 2042 will do the job. There are many other correct answers.

Q26Stage 3

Suppose f(x)f(x) is continuous for all real numbers, and 1f(x) dx\displaystyle\int_1^\infty f(x)~\dee{x} converges.

  1. If f(x)f(x) is odd, does 121f(x) dx\displaystyle\int_{-\infty\vphantom{\frac12}}^{-1} f(x)~\dee{x} converge or diverge, or is there not enough information to decide?

  2. If f(x)f(x) is even, does f(x) dx\displaystyle\int_{-\infty}^\infty f(x)~\dee{x} converge or diverge, or is there not enough information to decide?

Hint

Look for a place to use Theorem 1.12.20 of the CLP-2 text.

Examples 1.2.9 and 1.2.10 in the CLP-2 text have nice results about the area under an even/odd curve.

Answer

(a) The integral converges. (b) The interval converges.

Full solution
  1. Since f(x)f(x) is odd, using the reasoning of Example 1.2.10 in the CLP-2 text,

    1f(x) dx=limtt1f(x) dx=limt1tf(x) dx=limt1tf(x) dx\begin{align*} \int_{-\infty}^{-1} f(x)~\dee{x}&=\lim_{t \to \infty}\int_{-t}^{-1}f(x)~\dee{x}=\lim_{t \to \infty}-\int_{1}^{t} f(x)~\dee{x}=-\lim_{t \to \infty} \int_{1}^{t} f(x)~\dee{x} \end{align*}

    Since 1f(x) dx\displaystyle\int_1^\infty f(x)~\dee{x} converges, the last limit above converges. Therefore, 121f(x) dx\displaystyle\int_{-\infty\vphantom{\frac12}}^{-1} f(x)~\dee{x} converges.

  2. Since f(x)f(x) is even, using the reasoning of Example 1.2.9 in the CLP-2 text,

    1f(x) dx=limtt1f(x) dx=limt1tf(x) dx=limt1tf(x) dx\begin{align*}\int_{-\infty}^{-1} f(x)~\dee{x}&=\lim_{t \to \infty}\int_{-t}^{-1}f(x)~\dee{x}=\lim_{t \to \infty}\int_{1}^{t} f(x)~\dee{x}=\lim_{t \to \infty} \int_{1}^{t} f(x)~\dee{x}\end{align*}

    Since 1f(x) dx\displaystyle\int_1^\infty f(x)~\dee{x} converges, the last limit above converges. Since f(x)f(x) is continuous everywhere, by Theorem 1.12.20 in the CLP-2 text, 1f(x) dx\displaystyle\int_{-1}^\infty f(x)~\dee{x} converges (note the adjusted lower limit). Then, since

    f(x) dx=1f(x) dx+1f(x) dx\begin{align*}\int_{-\infty}^\infty f(x)~\dee{x}& = \int_{-\infty}^{-1} f(x)~\dee{x} + \int_{-1}^\infty f(x)~\dee{x}\end{align*}

    and both terms converge, our original integral converges as well.

Q27Stage 3

True or false: There is some real number xx, with x1x \geq 1, such that 0x1et dt=1\displaystyle\int_0^x \frac{1}{e^t}~\dee{t} = 1.

Hint

xx should be a real number

Answer

false

Full solution

Define F(x)=0x1etdtF(x)= \int_0^x \frac{1}{e^{t}}\dee{t}.

F(x)=0x1etdt=[1et]0x=1e01ex<1e0=1\begin{align*} F(x)=\int_0^x \frac{1}{e^{t}}\dee{t}&=\left[-\frac{1}{e^{t}}\right]_0^x = \frac{1}{e^0}-\frac{1}{e^{x}}<\frac{1}{e^0}=1 \end{align*}

So, the statement is false: there is no xx such that F(x)=1F(x)=1. For every real xx, F(x)<1e0=1F(x) < \frac{1}{e^0}=1.

We note here that limx0x1etdt=1\displaystyle\lim_{x \to \infty} \int_0^x\frac{1}{e^{t}}\dee{t}=1. So, as xx grows larger, the gap between F(x)F(x) and 1 grows infintesimally small. But there is no real value of xx where F(x)F(x) is exactly equal to 1.

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

From the UBC Math 101 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.