MATH 205 Calculus II • Concordia University, Montreal

Corrected exercises: the Integral Test (MATH 205)

Exercises: the Integral Test (MATH 205)

Name: Class: Date:

Solutions

Suggested time: 2 h 30 · Calculator allowed · 10 exercises
https://www.letuteurscientifique.ca/en/exercices/math205-integral-test

This is the corrected exercise set for the Integral Test in MATH 205, Differential and Integral Calculus II, at Concordia University, section 10.3 of Thomas' Calculus: the Integral Test, pp-series and the harmonic series, the series ∑1n(ln⁡n)p\sum \frac{1}{n(\ln n)^p}, and the error estimate ∫n+1∞f≤Rn≤∫n∞f\int_{n+1}^{\infty} f \le R_n \le \int_n^{\infty} f.

What the set covers, the traps it targets

By the end you can check the three hypotheses of the test (positive, continuous, decreasing for x≥Nx \ge N) with a derivative, decide a series with one improper integral, bracket its sum, and find how many terms give a required accuracy with the calculator.

One idea runs through the set: the integral decides the fate of the series, never its value. The marks are lost in the algebra around the test: rewriting the term as a power of nn (Exercise 2), noticing that cos⁡(2πn)=1\cos(2\pi n) = 1 (Exercise 1), factoring the numerator of f′f' to find the rank NN (Exercises 3 and 6), completing the square, decomposing in partial fractions, combining ln⁡b−ln⁡(b+3)\ln b - \ln(b + 3) into one logarithm before the limit (Exercises 1 and 4), shifting an index (Exercise 6), and solving the inequality that gives the number of terms (Exercises 5 and 9).

The traps named in the solutions: a value of the integral given as the sum of the series (Exercises 1, 4 and 8), a limit ∞−∞\infty - \infty left unresolved (Exercises 1 and 4), the decrease read from three terms or refused because the first terms rise (Exercises 3, 6 and 8), an→0a_n \to 0 taken as a proof of convergence (Exercises 3, 7 and 8), exponents added across a fraction bar (Exercise 2), the two remainder bounds swapped (Exercises 5 and 8), a calculator left in degree mode (Exercise 5), negative first terms in a final exam question (Exercise 10), and sixteen million terms where a hundred suffice (Exercise 9).

  • 10 corrected exercises • 100 points • 150 minutes
  • Self-checking, 66 answers
  • Calculator
Start exercise 1 The chapter sheet
Print

Print the homework or the solutions

The homework without solutions, one exercise per page, and the solutions on their own: it comes with your free space. An email is enough, no password, and you come back here.

Create my free space

Already have one? Sign in

Course recap

  • • Integral Test: an=f(n)a_n = f(n) with ff continuous, positive and decreasing for x≥Nx \ge N; then ∑n=N∞an\sum_{n=N}^{\infty} a_n and ∫N∞f(x) dx\int_N^{\infty} f(x)\,dx both converge or both diverge.
  • • pp-series: ∑1np\sum \frac{1}{n^p} converges if p>1p > 1, diverges if p≤1p \le 1; ∫1∞dxxp=1p−1\int_1^{\infty} \frac{dx}{x^p} = \frac{1}{p - 1} for p>1p > 1.
  • • ∑n=2∞1n(ln⁡n)p\sum_{n=2}^{\infty} \frac{1}{n(\ln n)^p} converges if and only if p>1p > 1 (substitution u=ln⁡xu = \ln x).
  • • Remainder: Rn=S−snR_n = S - s_n satisfies ∫n+1∞f(x) dx≤Rn≤∫n∞f(x) dx\int_{n+1}^{\infty} f(x)\,dx \le R_n \le \int_n^{\infty} f(x)\,dx.
  • • Bracket: sn+∫n+1∞f≤S≤sn+∫n∞fs_n + \int_{n+1}^{\infty} f \le S \le s_n + \int_n^{\infty} f; the midpoint has an error at most 12∫nn+1f\frac{1}{2}\int_n^{n+1} f.
  • • nth-Term Test: if an↛0a_n \not\to 0 the series diverges; if an→0a_n \to 0 it decides nothing.

Part A: the basics (/50)

Exercise 1: Three hypotheses, one by one, then one integral

8 answers to check

The Integral Test (Thomas 10.3): let {an}\{a_n\} be a sequence of positive terms with an=f(n)a_n = f(n), where ff is a continuous, positive, decreasing function of xx for all x≥Nx \ge N. Then ∑n=N∞an\sum_{n=N}^{\infty} a_n and ∫N∞f(x) dx\int_N^{\infty} f(x)\,dx both converge or both diverge.

Each hypothesis is checked on its own line, and the decrease is proved, by the sign of f′f' or by a product of positive decreasing factors, never read from three terms. The improper integral is then written as a limit, ∫N∞f(x) dx=lim⁡b→∞∫Nbf(x) dx\int_N^{\infty} f(x)\,dx = \lim_{b \to \infty} \int_N^b f(x)\,dx, and the marks of MATH 205 go to the algebra inside it. The figure belongs to part d).

123450.511.522.533.5y = (2 + cos 2πx)/x³x
  • a) Use the Integral Test to determine whether ∑n=1∞1n (1+n)2\sum_{n=1}^{\infty} \frac{1}{\sqrt{n}\,(1 + \sqrt{n})^2} converges. Justify the decrease without a derivative.
  • b) Same question for ∑n=1∞n+1n3+n\sum_{n=1}^{\infty} \frac{n + 1}{n^3 + n}. Prove the decrease with f′f', decompose ff in partial fractions, and give the exact value of the integral.
  • c) Same question for ∑n=0∞1n2+4n+5\sum_{n=0}^{\infty} \frac{1}{n^2 + 4n + 5}, which starts at n=0n = 0. Complete the square first.
  • d) A student wants to apply the test to ∑n=1∞2+cos⁡(2πn)n3\sum_{n=1}^{\infty} \frac{2 + \cos(2\pi n)}{n^3} with f(x)=2+cos⁡(2πx)x3f(x) = \frac{2 + \cos(2\pi x)}{x^3}. The figure shows that this ff is not decreasing, and she concludes that the Integral Test cannot settle the series. Simplify ana_n, choose a better ff, and decide.

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
Show the solution

Answers

  • a) ∫1∞dxx(1+x)2=1\int_1^{\infty} \frac{dx}{\sqrt x(1 + \sqrt x)^2} = 1: the series converges.
  • b) f(x)=1x−xx2+1+1x2+1f(x) = \frac{1}{x} - \frac{x}{x^2 + 1} + \frac{1}{x^2 + 1}, ∫1∞f(x) dx=π4+12ln⁡2≈1.1320\int_1^{\infty} f(x)\,dx = \frac{\pi}{4} + \frac{1}{2}\ln 2 \approx 1.1320: the series converges.
  • c) ∫0∞dx(x+2)2+1=π2−arctan⁡2≈0.4636\int_0^{\infty} \frac{dx}{(x + 2)^2 + 1} = \frac{\pi}{2} - \arctan 2 \approx 0.4636: the series converges.
  • d) cos⁡(2πn)=1\cos(2\pi n) = 1, so an=3n3a_n = \frac{3}{n^3}; with f(x)=3x3f(x) = \frac{3}{x^3}, ∫1∞f=32\int_1^{\infty} f = \frac{3}{2}: the series converges.
a)

Let f(x)=1x(1+x)2f(x) = \frac{1}{\sqrt x(1 + \sqrt x)^2} on [1,∞)[1, \infty), so that an=f(n)a_n = f(n).

Positive: both factors of the denominator are positive for x≥1x \ge 1.

Continuous: the denominator does not vanish on [1,∞)[1, \infty).

Decreasing: x\sqrt x and (1+x)2(1 + \sqrt x)^2 are positive and increasing, so their product increases and its reciprocal decreases.

Substitution: u=1+xu = 1 + \sqrt x, du=dx2xdu = \frac{dx}{2\sqrt x}, so dxx=2 du\frac{dx}{\sqrt x} = 2\,du; x=1x = 1 gives u=2u = 2, x=bx = b gives u=1+bu = 1 + \sqrt b.

∫1bf(x) dx=∫21+b2 duu2=[−2u]21+b=1−21+b\int_1^b f(x)\,dx = \int_2^{1 + \sqrt b} \frac{2\,du}{u^2} = \left[-\frac{2}{u}\right]_2^{1 + \sqrt b} = 1 - \frac{2}{1 + \sqrt b}.

As b→∞b \to \infty this tends to 11: the integral converges, so the series converges by the Integral Test.

Pitfall: the value 11 is the value of the integral, not the sum of the series; a1=14a_1 = \frac{1}{4} and the sum is not 11.

b)

f(x)=x+1x3+x=x+1x(x2+1)f(x) = \frac{x + 1}{x^3 + x} = \frac{x + 1}{x(x^2 + 1)} is positive and continuous on [1,∞)[1, \infty).

Quotient rule: the numerator of f′f' is (x3+x)−(x+1)(3x2+1)=−2x3−3x2−1(x^3 + x) - (x + 1)(3x^2 + 1) = -2x^3 - 3x^2 - 1, negative for x>0x > 0. So ff decreases on [1,∞)[1, \infty).

Form of the decomposition, posed before the constants: x+1x(x2+1)=Ax+Bx+Cx2+1\frac{x + 1}{x(x^2 + 1)} = \frac{A}{x} + \frac{Bx + C}{x^2 + 1}.

x=0x = 0 gives A=1A = 1; then x+1=(x2+1)+(Bx+C)xx + 1 = (x^2 + 1) + (Bx + C)x gives B=−1B = -1 and C=1C = 1.

∫1bf(x) dx=[ln⁡x−12ln⁡(x2+1)+arctan⁡x]1b\int_1^b f(x)\,dx = \left[\ln x - \frac{1}{2}\ln(x^2 + 1) + \arctan x\right]_1^b.

Pitfall: ln⁡b\ln b and 12ln⁡(b2+1)\frac{1}{2}\ln(b^2 + 1) both tend to infinity; their difference is not decided until the logarithms are combined.

ln⁡x−12ln⁡(x2+1)=ln⁡xx2+1\ln x - \frac{1}{2}\ln(x^2 + 1) = \ln\frac{x}{\sqrt{x^2 + 1}}, which tends to ln⁡1=0\ln 1 = 0 as x→∞x \to \infty and equals −12ln⁡2-\frac{1}{2}\ln 2 at x=1x = 1.

∫1∞f(x) dx=(0+π2)−(−12ln⁡2+π4)=π4+12ln⁡2≈1.1320\int_1^{\infty} f(x)\,dx = \left(0 + \frac{\pi}{2}\right) - \left(-\frac{1}{2}\ln 2 + \frac{\pi}{4}\right) = \frac{\pi}{4} + \frac{1}{2}\ln 2 \approx 1.1320.

The integral converges, so the series converges.

c)

Complete the square: n2+4n+5=(n+2)2+1n^2 + 4n + 5 = (n + 2)^2 + 1, so f(x)=1(x+2)2+1f(x) = \frac{1}{(x + 2)^2 + 1}.

On [0,∞)[0, \infty), ff is positive and continuous (the denominator is at least 55), and decreasing because (x+2)2+1(x + 2)^2 + 1 increases for x≥0x \ge 0.

The test works from any starting index: here N=0N = 0, and the integral starts at 00.

∫0bdx(x+2)2+1=arctan⁡(b+2)−arctan⁡2→π2−arctan⁡2≈0.4636\int_0^b \frac{dx}{(x + 2)^2 + 1} = \arctan(b + 2) - \arctan 2 \to \frac{\pi}{2} - \arctan 2 \approx 0.4636.

The integral converges, so the series converges.

d)

For every integer nn, cos⁡(2πn)=1\cos(2\pi n) = 1, so an=2+1n3=3n3a_n = \frac{2 + 1}{n^3} = \frac{3}{n^3}.

The test asks for one function ff with f(n)=anf(n) = a_n that is positive, continuous and decreasing; the student's function is one choice among many.

Take f(x)=3x3f(x) = \frac{3}{x^3}: positive, continuous and decreasing on [1,∞)[1, \infty), with f(n)=anf(n) = a_n.

∫1b3x−3 dx=[−32x2]1b=32−32b2→32\int_1^b 3x^{-3}\,dx = \left[-\frac{3}{2x^2}\right]_1^b = \frac{3}{2} - \frac{3}{2b^2} \to \frac{3}{2}.

The series converges; it is three times the pp-series with p=3p = 3.

Pitfall: a failed hypothesis for one ff does not forbid the test; simplify ana_n before choosing ff.

123450.511.522.533.5y = (2 + cos 2πx)/x³y = 3/x³x

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Exercise 2: p-series: rewrite the term as a power of n

9 answers to check

The pp-series ∑n=1∞1np\sum_{n=1}^{\infty} \frac{1}{n^p} converges if p>1p > 1 and diverges if p≤1p \le 1 (Thomas 10.3). Almost every series of chapter 10 is eventually judged against it, so the term must first be rewritten as a constant times n−pn^{-p}: a root is a fractional exponent, exponents add in a product and subtract in a quotient, and a constant inside a root comes out as its own root.

The pp-integral behind it, from the chapter on improper integrals: ∫1∞dxxp=1p−1\int_1^{\infty} \frac{dx}{x^p} = \frac{1}{p - 1} if p>1p > 1, and it diverges if p≤1p \le 1.

  • a) Prove the pp-series test for p>0p > 0 with the Integral Test, writing ∫1bx−p dx\int_1^b x^{-p}\,dx for p≠1p \ne 1 and for p=1p = 1. Why does the Integral Test not apply for p≤0p \le 0, and which test settles that case? Give the value of ∫1∞x−7/4 dx\int_1^{\infty} x^{-7/4}\,dx.
  • b) Write each term as c n−pc\,n^{-p}, give pp, and decide:(i)n34n2\frac{\sqrt[4]{n^3}}{n^2}(ii)n2nn3n3\frac{n^2\sqrt{n}}{n^3\sqrt[3]{n}}(iii)38n43\frac{3}{\sqrt[3]{8n^4}}(iv)1n n35\frac{1}{\sqrt{n}\,\sqrt[5]{n^3}}.
  • c) Let S=∑n=1∞1n4/3S = \sum_{n=1}^{\infty} \frac{1}{n^{4/3}}. Using rectangles above and below y=x−4/3y = x^{-4/3}, prove ∫1∞x−4/3 dx≤S≤1+∫1∞x−4/3 dx\int_1^{\infty} x^{-4/3}\,dx \le S \le 1 + \int_1^{\infty} x^{-4/3}\,dx, then the sharper lower bound S≥1+∫2∞x−4/3 dxS \ge 1 + \int_2^{\infty} x^{-4/3}\,dx. Give both bounds to four decimals.
  • d) For which real numbers pp does ∑n=1∞npn2p−1n\sum_{n=1}^{\infty} \frac{n^p}{n^{2p - 1}\sqrt{n}} converge?

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
Values of pp ,
Show the solution

Answers

  • a) ∫1bx−p dx=b1−p−11−p\int_1^b x^{-p}\,dx = \frac{b^{1-p} - 1}{1 - p} (p≠1p \ne 1), ln⁡b\ln b (p=1p = 1); converges exactly for p>1p > 1. For p≤0p \le 0, ff is not decreasing and an↛0a_n \not\to 0: nth-Term Test. ∫1∞x−7/4 dx=43\int_1^{\infty} x^{-7/4}\,dx = \frac{4}{3}.
  • b) (i) p=54p = \frac{5}{4}, converges; (ii) p=56p = \frac{5}{6}, diverges; (iii) 32n−4/3\frac{3}{2}n^{-4/3}, p=43p = \frac{4}{3}, converges; (iv) p=1110p = \frac{11}{10}, converges.
  • c) 3≤S≤43 \le S \le 4, then 1+323≈3.3811≤S≤41 + \frac{3}{\sqrt[3]{2}} \approx 3.3811 \le S \le 4.
  • d) The term is 1np−1/2\frac{1}{n^{p - 1/2}}: converges if and only if p>32p > \frac{3}{2}.
a)

For p>0p > 0, f(x)=x−pf(x) = x^{-p} is positive, continuous and decreasing on [1,∞)[1, \infty), and f(n)=1npf(n) = \frac{1}{n^p}.

For p≠1p \ne 1: ∫1bx−p dx=[x1−p1−p]1b=b1−p−11−p\int_1^b x^{-p}\,dx = \left[\frac{x^{1-p}}{1 - p}\right]_1^b = \frac{b^{1-p} - 1}{1 - p}.

If p>1p > 1, 1−p<01 - p < 0 and b1−p→0b^{1-p} \to 0: the integral tends to 1p−1\frac{1}{p - 1}. If 0<p<10 < p < 1, b1−p→∞b^{1-p} \to \infty: it diverges.

For p=1p = 1: ∫1bdxx=ln⁡b→∞\int_1^b \frac{dx}{x} = \ln b \to \infty, so the harmonic series diverges.

For p≤0p \le 0, x−p=x∣p∣x^{-p} = x^{|p|} does not decrease, so the Integral Test does not apply; but 1np=n∣p∣≥1\frac{1}{n^p} = n^{|p|} \ge 1 does not tend to 00, so the series diverges by the nth-Term Test for Divergence.

With p=74p = \frac{7}{4}: ∫1∞x−7/4 dx=17/4−1=43\int_1^{\infty} x^{-7/4}\,dx = \frac{1}{7/4 - 1} = \frac{4}{3}.

b)

(i) n34=n3/4\sqrt[4]{n^3} = n^{3/4}, so the term is n3/4−2=n−5/4n^{3/4 - 2} = n^{-5/4}: p=54>1p = \frac{5}{4} > 1, converges.

(ii) Numerator n2+1/2=n5/2n^{2 + 1/2} = n^{5/2}, denominator n3+1/3=n10/3n^{3 + 1/3} = n^{10/3}; 52−103=−56\frac{5}{2} - \frac{10}{3} = -\frac{5}{6}, so p=56≤1p = \frac{5}{6} \le 1: diverges.

(iii) 8n43=83 n4/3=2n4/3\sqrt[3]{8n^4} = \sqrt[3]{8}\,n^{4/3} = 2n^{4/3}, so the term is 32n−4/3\frac{3}{2}n^{-4/3}: p=43p = \frac{4}{3}, converges; the constant 32\frac{3}{2} does not change the verdict.

(iv) n n35=n1/2+3/5=n11/10\sqrt n\,\sqrt[5]{n^3} = n^{1/2 + 3/5} = n^{11/10}: p=1110>1p = \frac{11}{10} > 1, converges.

Pitfall: in (ii) the exponents subtract across the fraction bar; adding them gives p=356p = \frac{35}{6} and the wrong verdict.

Three of the four series converge.

c)

Rectangles of width 11 and heights a1,a2,…a_1, a_2, \dots placed on [1,2],[2,3],…[1, 2], [2, 3], \dots lie above the decreasing curve: sn≥∫1n+1x−4/3 dxs_n \ge \int_1^{n+1} x^{-4/3}\,dx, so S≥∫1∞x−4/3 dxS \ge \int_1^{\infty} x^{-4/3}\,dx.

Moved one unit left, on [1,2],[2,3],…[1, 2], [2, 3], \dots with heights a2,a3,…a_2, a_3, \dots, they lie below it: S−a1≤∫1∞x−4/3 dxS - a_1 \le \int_1^{\infty} x^{-4/3}\,dx.

∫1∞x−4/3 dx=11/3=3\int_1^{\infty} x^{-4/3}\,dx = \frac{1}{1/3} = 3, so 3≤S≤1+3=43 \le S \le 1 + 3 = 4.

Keeping a1=1a_1 = 1 apart and starting the first staircase at 22: S≥1+∫2∞x−4/3 dx=1+[−3x−1/3]2∞=1+323≈3.3811S \ge 1 + \int_2^{\infty} x^{-4/3}\,dx = 1 + \left[-3x^{-1/3}\right]_2^{\infty} = 1 + \frac{3}{\sqrt[3]{2}} \approx 3.3811.

So 3.3811≤S≤43.3811 \le S \le 4. The value of the integral, 33, is only a bound for SS; the sum is known by other means to be about 3.60093.6009, inside the interval.

d)

Laws of exponents: npn2p−1 n1/2=np−(2p−1)−1/2=n−p+1/2=1np−1/2\frac{n^p}{n^{2p - 1}\,n^{1/2}} = n^{p - (2p - 1) - 1/2} = n^{-p + 1/2} = \frac{1}{n^{p - 1/2}}.

It is a pp-series with exponent p−12p - \frac{1}{2}, which converges if and only if p−12>1p - \frac{1}{2} > 1.

Answer: p>32p > \frac{3}{2}, the interval (32,∞)\left(\frac{3}{2}, \infty\right).

Pitfall: −(2p−1)=−2p+1-(2p - 1) = -2p + 1; dropping the parenthesis gives −p−32-p - \frac{3}{2} and the wrong threshold.

Exercise 3: Logarithms in the term: the substitution u = ln x

8 answers to check

When ln⁡n\ln n appears in the term, the integral of the Integral Test usually yields to the substitution u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}, which turns it into an integral in uu that is already known; the bounds change with it (x=1x = 1 gives u=0u = 0, x=2x = 2 gives u=ln⁡2u = \ln 2). Logarithms also delay the decrease: a term with ln⁡n\ln n in the numerator may increase for a while, and the test is then applied from the rank NN where f′f' becomes negative.

The figure shows y=(ln⁡x)2xy = \frac{(\ln x)^2}{x} and the terms of part b).

5101520253035400.10.20.30.40.50.6y = (ln x)²/xx
  • a) Use the Integral Test to determine whether ∑n=1∞1n(4+(ln⁡n)2)\sum_{n=1}^{\infty} \frac{1}{n\left(4 + (\ln n)^2\right)} converges, and give the exact value of the integral. To prove the decrease, write the derivative of the denominator x(4+(ln⁡x)2)x(4 + (\ln x)^2) as a square plus a positive number.
  • b) For ∑n=2∞(ln⁡n)2n\sum_{n=2}^{\infty} \frac{(\ln n)^2}{n}: show that an→0a_n \to 0, then find the smallest integer NN from which f(x)=(ln⁡x)2xf(x) = \frac{(\ln x)^2}{x} decreases, and decide.
  • c) Thomas states: ∑n=2∞1n(ln⁡n)p\sum_{n=2}^{\infty} \frac{1}{n(\ln n)^p} converges if and only if p>1p > 1. Prove it for p>0p > 0 with the substitution u=ln⁡xu = \ln x, and say why the sum starts at n=2n = 2.
  • d) For ∑n=1∞ln⁡nn(1+(ln⁡n)2)2\sum_{n=1}^{\infty} \frac{\ln n}{n\left(1 + (\ln n)^2\right)^2}: with u=ln⁡xu = \ln x, show that f′(x)f'(x) has the sign of 1−u−3u2−u31 - u - 3u^2 - u^3, deduce that ff decreases on [2,∞)[2, \infty), compute ∫2∞f(x) dx\int_2^{\infty} f(x)\,dx exactly and decide.

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
Show the solution

Answers

  • a) ∫1∞dxx(4+(ln⁡x)2)=∫0∞du4+u2=π4\int_1^{\infty} \frac{dx}{x(4 + (\ln x)^2)} = \int_0^{\infty} \frac{du}{4 + u^2} = \frac{\pi}{4}: converges.
  • b) an→0a_n \to 0 (the nth-Term Test is silent); ff decreases for x>e2≈7.39x > e^2 \approx 7.39, so N=8N = 8; ∫8∞f=∞\int_8^{\infty} f = \infty: diverges.
  • c) ∫2∞dxx(ln⁡x)p=∫ln⁡2∞duup\int_2^{\infty} \frac{dx}{x(\ln x)^p} = \int_{\ln 2}^{\infty} \frac{du}{u^p}, finite exactly when p>1p > 1; at n=1n = 1, ln⁡1=0\ln 1 = 0 and the term is undefined.
  • d) f′(x)=1−u−3u2−u3x2(1+u2)3<0f'(x) = \frac{1 - u - 3u^2 - u^3}{x^2(1 + u^2)^3} < 0 for u≥ln⁡2u \ge \ln 2, so N=2N = 2; ∫2∞f=12(1+(ln⁡2)2)≈0.3377\int_2^{\infty} f = \frac{1}{2(1 + (\ln 2)^2)} \approx 0.3377: converges.
a)

f(x)=1x(4+(ln⁡x)2)f(x) = \frac{1}{x(4 + (\ln x)^2)} is positive and continuous on [1,∞)[1, \infty).

Let D(x)=x(4+(ln⁡x)2)D(x) = x(4 + (\ln x)^2). Product rule: D′(x)=4+(ln⁡x)2+x⋅2ln⁡xx=(ln⁡x)2+2ln⁡x+4D'(x) = 4 + (\ln x)^2 + x \cdot \frac{2\ln x}{x} = (\ln x)^2 + 2\ln x + 4.

Complete the square: D′(x)=(ln⁡x+1)2+3>0D'(x) = (\ln x + 1)^2 + 3 > 0, so DD increases and f=1Df = \frac{1}{D} decreases on [1,∞)[1, \infty).

Substitution u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}: x=1x = 1 gives u=0u = 0, x=bx = b gives u=ln⁡bu = \ln b.

∫1bf(x) dx=∫0ln⁡bdu4+u2=12arctan⁡ln⁡b2\int_1^b f(x)\,dx = \int_0^{\ln b} \frac{du}{4 + u^2} = \frac{1}{2}\arctan\frac{\ln b}{2}.

As b→∞b \to \infty, ln⁡b→∞\ln b \to \infty and the integral tends to 12⋅π2=π4\frac{1}{2} \cdot \frac{\pi}{2} = \frac{\pi}{4}. The series converges.

b)

lim⁡x→∞(ln⁡x)2x=0\lim_{x \to \infty} \frac{(\ln x)^2}{x} = 0 by L'Hôpital's Rule twice (2ln⁡x/x1\frac{2\ln x / x}{1}, then 2/x1\frac{2/x}{1}), so an→0a_n \to 0.

Pitfall: an→0a_n \to 0 does not prove convergence; the nth-Term Test can only prove divergence.

f′(x)=2ln⁡x⋅1x⋅x−(ln⁡x)2x2=ln⁡x (2−ln⁡x)x2f'(x) = \frac{2\ln x \cdot \frac{1}{x} \cdot x - (\ln x)^2}{x^2} = \frac{\ln x\,(2 - \ln x)}{x^2}.

For x>1x > 1, ln⁡x>0\ln x > 0, so f′(x)<0f'(x) < 0 exactly when ln⁡x>2\ln x > 2, that is x>e2≈7.39x > e^2 \approx 7.39. The smallest integer is N=8N = 8; the figure shows the rise up to x=e2x = e^2.

On [8,∞)[8, \infty), ff is positive, continuous and decreasing. With u=ln⁡xu = \ln x: ∫8b(ln⁡x)2x dx=(ln⁡b)3−(ln⁡8)33→∞\int_8^b \frac{(\ln x)^2}{x}\,dx = \frac{(\ln b)^3 - (\ln 8)^3}{3} \to \infty.

∑n=8∞an\sum_{n=8}^{\infty} a_n diverges, and adding the six first terms does not change that: the series diverges.

c)

At n=1n = 1, ln⁡1=0\ln 1 = 0 and 11⋅0p\frac{1}{1 \cdot 0^p} is undefined; the series starts at n=2n = 2.

For p>0p > 0, f(x)=1x(ln⁡x)pf(x) = \frac{1}{x(\ln x)^p} is positive and continuous on [2,∞)[2, \infty), and decreasing because xx and (ln⁡x)p(\ln x)^p are positive and increasing there.

Substitution u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}, bounds ln⁡2\ln 2 and ln⁡b\ln b: ∫2bdxx(ln⁡x)p=∫ln⁡2ln⁡bduup\int_2^b \frac{dx}{x(\ln x)^p} = \int_{\ln 2}^{\ln b} \frac{du}{u^p}.

As b→∞b \to \infty this is the pp-integral ∫ln⁡2∞u−p du\int_{\ln 2}^{\infty} u^{-p}\,du, finite exactly when p>1p > 1 (its value is then (ln⁡2)1−pp−1\frac{(\ln 2)^{1-p}}{p - 1}).

So the series converges for p>1p > 1 and diverges for 0<p≤10 < p \le 1. For p≤0p \le 0 the term is at least 1n\frac{1}{n} when n≥3n \ge 3; that case belongs to the comparison tests of Thomas 10.4.

d)

Write f(x)=g(u)xf(x) = \frac{g(u)}{x} with u=ln⁡xu = \ln x and g(u)=u(1+u2)2g(u) = \frac{u}{(1 + u^2)^2}; ff is continuous on [1,∞)[1, \infty), f(1)=0f(1) = 0 and f>0f > 0 for x>1x > 1.

Quotient rule: g′(u)=(1+u2)2−u⋅2(1+u2)⋅2u(1+u2)4=1−3u2(1+u2)3g'(u) = \frac{(1 + u^2)^2 - u \cdot 2(1 + u^2) \cdot 2u}{(1 + u^2)^4} = \frac{1 - 3u^2}{(1 + u^2)^3}, after dividing by 1+u21 + u^2.

Chain rule, dudx=1x\frac{du}{dx} = \frac{1}{x}: f′(x)=g′(u)⋅1x⋅x−g(u)x2=g′(u)−g(u)x2f'(x) = \frac{g'(u) \cdot \frac{1}{x} \cdot x - g(u)}{x^2} = \frac{g'(u) - g(u)}{x^2}.

Common denominator (1+u2)3(1 + u^2)^3: g′(u)−g(u)=1−3u2−u(1+u2)(1+u2)3=1−u−3u2−u3(1+u2)3g'(u) - g(u) = \frac{1 - 3u^2 - u(1 + u^2)}{(1 + u^2)^3} = \frac{1 - u - 3u^2 - u^3}{(1 + u^2)^3}.

For x≥2x \ge 2, u≥ln⁡2≈0.693u \ge \ln 2 \approx 0.693, so u+3u2+u3>0.69+1.44+0.33>1u + 3u^2 + u^3 > 0.69 + 1.44 + 0.33 > 1: f′(x)<0f'(x) < 0, and N=2N = 2.

Substitution u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}, bounds ln⁡2\ln 2 and ln⁡b\ln b: ∫2bf(x) dx=∫ln⁡2ln⁡bu du(1+u2)2=[−12(1+u2)]ln⁡2ln⁡b\int_2^b f(x)\,dx = \int_{\ln 2}^{\ln b} \frac{u\,du}{(1 + u^2)^2} = \left[-\frac{1}{2(1 + u^2)}\right]_{\ln 2}^{\ln b}.

As b→∞b \to \infty: ∫2∞f(x) dx=12(1+(ln⁡2)2)≈0.3377\int_2^{\infty} f(x)\,dx = \frac{1}{2(1 + (\ln 2)^2)} \approx 0.3377.

The integral converges, so ∑n=2∞an\sum_{n=2}^{\infty} a_n converges, and so does the series from n=1n = 1, whose first term is 00.

Exercise 4: The value of the integral is not the sum of the series

4 answers to check

The Integral Test compares a sum of rectangles with an area. When both are finite they are different numbers: the test decides convergence, and only brackets the sum. This exercise measures the gap on a series whose sum can also be found exactly, by telescoping (Thomas 10.2).

The figure shows y=1x2+3xy = \frac{1}{x^2 + 3x} and the rectangles of width 11 and heights a1,…,a6a_1, \dots, a_6 placed on [1,2],…,[6,7][1, 2], \dots, [6, 7], where an=1n2+3na_n = \frac{1}{n^2 + 3n}.

123456780.050.10.150.20.250.3y = 1/(x² + 3x)a₁a₂x
  • a) Check the hypotheses of the Integral Test for ∑n=1∞1n2+3n\sum_{n=1}^{\infty} \frac{1}{n^2 + 3n}, then compute ∫1∞dxx2+3x\int_1^{\infty} \frac{dx}{x^2 + 3x} exactly, factoring the denominator and combining the logarithms before the limit.
  • b) Write 1n(n+3)=13(1n−1n+3)\frac{1}{n(n + 3)} = \frac{1}{3}\left(\frac{1}{n} - \frac{1}{n + 3}\right), find the partial sum sNs_N, and deduce the exact sum SS.
  • c) Using the figure, explain why S≥∫1∞f(x) dxS \ge \int_1^{\infty} f(x)\,dx. Where must the rectangles be moved to prove S≤a1+∫1∞f(x) dxS \le a_1 + \int_1^{\infty} f(x)\,dx? Check both inequalities with the values of a) and b).
  • d) A student writes: by the Integral Test, ∑n=1∞1n2+3n=13ln⁡4\sum_{n=1}^{\infty} \frac{1}{n^2 + 3n} = \frac{1}{3}\ln 4. Is SS greater than, equal to or less than 13ln⁡4\frac{1}{3}\ln 4? Correct the sentence.

Type your answers, the page tells you right or wrong 0/4

a)
b)
c)
d)
Show the solution

Answers

  • a) ff positive, continuous, decreasing on [1,∞)[1, \infty); ∫1∞dxx(x+3)=13ln⁡4≈0.4621\int_1^{\infty} \frac{dx}{x(x + 3)} = \frac{1}{3}\ln 4 \approx 0.4621: converges.
  • b) sN=13(1+12+13−1N+1−1N+2−1N+3)s_N = \frac{1}{3}\left(1 + \frac{1}{2} + \frac{1}{3} - \frac{1}{N + 1} - \frac{1}{N + 2} - \frac{1}{N + 3}\right), S=1118≈0.6111S = \frac{11}{18} \approx 0.6111
  • c) Rectangles on [n,n+1][n, n + 1] lie above the curve; moved to [n−1,n][n - 1, n], those of heights a2,a3,…a_2, a_3, \dots lie below. 0.4621≤0.6111≤0.25+0.4621=0.71210.4621 \le 0.6111 \le 0.25 + 0.4621 = 0.7121.
  • d) S=1118S = \frac{11}{18} is greater than 13ln⁡4\frac{1}{3}\ln 4. Correct: the Integral Test proves that the series converges; its sum is not the integral.
a)

f(x)=1x2+3x=1x(x+3)f(x) = \frac{1}{x^2 + 3x} = \frac{1}{x(x + 3)} is positive and continuous on [1,∞)[1, \infty), and decreasing because x2+3xx^2 + 3x increases there (2x+3>02x + 3 > 0).

Partial fractions: 1x(x+3)=Ax+Bx+3\frac{1}{x(x + 3)} = \frac{A}{x} + \frac{B}{x + 3}; x=0x = 0 gives A=13A = \frac{1}{3}, x=−3x = -3 gives B=−13B = -\frac{1}{3}.

∫1bf(x) dx=13[ln⁡x−ln⁡(x+3)]1b=13[ln⁡xx+3]1b=13(ln⁡bb+3−ln⁡14)\int_1^b f(x)\,dx = \frac{1}{3}\left[\ln x - \ln(x + 3)\right]_1^b = \frac{1}{3}\left[\ln\frac{x}{x + 3}\right]_1^b = \frac{1}{3}\left(\ln\frac{b}{b + 3} - \ln\frac{1}{4}\right).

Pitfall: ln⁡b−ln⁡(b+3)\ln b - \ln(b + 3) is of the form ∞−∞\infty - \infty; written ln⁡bb+3\ln\frac{b}{b + 3}, it tends to ln⁡1=0\ln 1 = 0.

∫1∞f(x) dx=−13ln⁡14=13ln⁡4≈0.4621\int_1^{\infty} f(x)\,dx = -\frac{1}{3}\ln\frac{1}{4} = \frac{1}{3}\ln 4 \approx 0.4621. The integral converges, so the series converges.

b)

sN=13∑n=1N(1n−1n+3)s_N = \frac{1}{3}\sum_{n=1}^{N}\left(\frac{1}{n} - \frac{1}{n + 3}\right): each 1k\frac{1}{k} with 4≤k≤N4 \le k \le N appears once with ++ and once with −-.

What remains: sN=13(1+12+13−1N+1−1N+2−1N+3)s_N = \frac{1}{3}\left(1 + \frac{1}{2} + \frac{1}{3} - \frac{1}{N + 1} - \frac{1}{N + 2} - \frac{1}{N + 3}\right).

As N→∞N \to \infty: S=13⋅116=1118≈0.6111S = \frac{1}{3} \cdot \frac{11}{6} = \frac{11}{18} \approx 0.6111.

c)

The rectangle of height an=f(n)a_n = f(n) on [n,n+1][n, n + 1] lies above the curve, since ff decreases: f(n)≥f(x)f(n) \ge f(x) there.

Adding them: sN≥∫1N+1f(x) dxs_N \ge \int_1^{N + 1} f(x)\,dx, and letting N→∞N \to \infty, S≥∫1∞f(x) dxS \ge \int_1^{\infty} f(x)\,dx.

Moved one unit to the left, the rectangle of height ana_n sits on [n−1,n][n - 1, n], where f(x)≥f(n)f(x) \ge f(n): from n=2n = 2 on, these rectangles lie below the curve, so S−a1≤∫1∞f(x) dxS - a_1 \le \int_1^{\infty} f(x)\,dx.

With a1=14a_1 = \frac{1}{4}: 0.4621≤0.6111≤0.71210.4621 \le 0.6111 \le 0.7121. Both inequalities hold.

d)

1118≈0.6111>0.4621≈13ln⁡4\frac{11}{18} \approx 0.6111 > 0.4621 \approx \frac{1}{3}\ln 4: the sum is greater than the integral, by about 0.1490.149.

Corrected sentence: since ∫1∞f(x) dx\int_1^{\infty} f(x)\,dx converges, the series converges by the Integral Test, and 13ln⁡4≤S≤14+13ln⁡4\frac{1}{3}\ln 4 \le S \le \frac{1}{4} + \frac{1}{3}\ln 4.

Pitfall: the test compares the series and the integral for convergence; it does not make their values equal.

Exercise 5: The remainder estimate: bracketing the sum

7 answers to check

When the Integral Test proves convergence, it also bounds the error. With sn=a1+⋯+ans_n = a_1 + \dots + a_n and the remainder Rn=S−sn=an+1+an+2+⋯R_n = S - s_n = a_{n+1} + a_{n+2} + \cdots, Thomas 10.3 gives, for ff continuous, positive and decreasing on [n,∞)[n, \infty): ∫n+1∞f(x) dx≤Rn≤∫n∞f(x) dx\int_{n+1}^{\infty} f(x)\,dx \le R_n \le \int_n^{\infty} f(x)\,dx, hence sn+∫n+1∞f(x) dx≤S≤sn+∫n∞f(x) dxs_n + \int_{n+1}^{\infty} f(x)\,dx \le S \le s_n + \int_n^{\infty} f(x)\,dx.

Here S=∑n=1∞1n2+1S = \sum_{n=1}^{\infty} \frac{1}{n^2 + 1}, with f(x)=1x2+1f(x) = \frac{1}{x^2 + 1}, positive, continuous and decreasing on [0,∞)[0, \infty). The figure shows the rectangles of heights a5,a6,…a_5, a_6, \dots placed on [4,5],[5,6],…[4, 5], [5, 6], \dots. Calculator in radian mode.

23456789100.020.040.060.080.1y = 1/(x² + 1)a₅a₆x
  • a) Using the figure, explain why R4≤∫4∞f(x) dxR_4 \le \int_4^{\infty} f(x)\,dx. On which interval must the rectangle of height a5a_5 be placed to prove R4≥∫5∞f(x) dxR_4 \ge \int_5^{\infty} f(x)\,dx?
  • b) Show that ∫n∞dxx2+1=π2−arctan⁡n\int_n^{\infty} \frac{dx}{x^2 + 1} = \frac{\pi}{2} - \arctan n. Compute s4s_4 exactly, then give the two bounds of SS to four decimals.
  • c) Take the midpoint of the interval of b) as the estimate of SS. Give it, and the largest error it can have.
  • d) Show that π2−arctan⁡n=arctan⁡1n\frac{\pi}{2} - \arctan n = \arctan\frac{1}{n} for n>0n > 0. Find the smallest nn for which the upper bound of the remainder guarantees Rn<0.001R_n < 0.001.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
Show the solution

Answers

  • a) The rectangle of height aka_k on [k−1,k][k - 1, k] lies under the curve, so R4≤∫4∞fR_4 \le \int_4^{\infty} f; for the lower bound, a5a_5 goes on [5,6][5, 6].
  • b) s4=7385≈0.8588s_4 = \frac{73}{85} \approx 0.8588; 1.0562≤S≤1.10381.0562 \le S \le 1.1038
  • c) Estimate ≈1.0800\approx 1.0800, error at most arctan⁡5−arctan⁡42≈0.0238\frac{\arctan 5 - \arctan 4}{2} \approx 0.0238
  • d) Rn≤arctan⁡1n<0.001R_n \le \arctan\frac{1}{n} < 0.001 first for n=1000n = 1000.
a)

R4=a5+a6+⋯R_4 = a_5 + a_6 + \cdots. The rectangle of height ak=f(k)a_k = f(k) placed on [k−1,k][k - 1, k] lies under the curve, since f(x)≥f(k)f(x) \ge f(k) there.

The rectangles on [4,5],[5,6],…[4, 5], [5, 6], \dots have total area R4R_4 and fit under the curve from x=4x = 4: R4≤∫4∞f(x) dxR_4 \le \int_4^{\infty} f(x)\,dx.

Placed on [k,k+1][k, k + 1], the rectangle of height f(k)f(k) lies above the curve. So a5a_5 goes on [5,6][5, 6], a6a_6 on [6,7][6, 7], and so on: R4≥∫5∞f(x) dxR_4 \ge \int_5^{\infty} f(x)\,dx.

Pitfall: the lower bound starts at n+1n + 1 and the upper bound at nn; swapping them gives an interval that may miss SS.

b)

∫nbdxx2+1=arctan⁡b−arctan⁡n→π2−arctan⁡n\int_n^b \frac{dx}{x^2 + 1} = \arctan b - \arctan n \to \frac{\pi}{2} - \arctan n.

s4=12+15+110+117=7385≈0.85882s_4 = \frac{1}{2} + \frac{1}{5} + \frac{1}{10} + \frac{1}{17} = \frac{73}{85} \approx 0.85882.

Lower bound: s4+π2−arctan⁡5≈0.85882+0.19740=1.0562s_4 + \frac{\pi}{2} - \arctan 5 \approx 0.85882 + 0.19740 = 1.0562.

Upper bound: s4+π2−arctan⁡4≈0.85882+0.24498=1.1038s_4 + \frac{\pi}{2} - \arctan 4 \approx 0.85882 + 0.24498 = 1.1038.

So 1.0562≤S≤1.10381.0562 \le S \le 1.1038. In degree mode, arctan⁡5\arctan 5 is read as 78.6978.69 and the bounds become meaningless.

c)

Midpoint: s4+12(π−arctan⁡4−arctan⁡5)≈1.0800s_4 + \frac{1}{2}\left(\pi - \arctan 4 - \arctan 5\right) \approx 1.0800.

SS lies in an interval of width arctan⁡5−arctan⁡4≈0.0476\arctan 5 - \arctan 4 \approx 0.0476, so the midpoint is at most half of it away: error at most 0.02380.0238.

For comparison, s4s_4 alone is wrong by more than ∫5∞f≈0.197\int_5^{\infty} f \approx 0.197. The sum, known by other means, is about 1.07671.0767: the estimate is off by 0.00330.0033.

d)

For n>0n > 0, let θ=arctan⁡n\theta = \arctan n, in (0,π2)\left(0, \frac{\pi}{2}\right). Then tan⁡(π2−θ)=cot⁡θ=1n\tan\left(\frac{\pi}{2} - \theta\right) = \cot\theta = \frac{1}{n}, and π2−θ\frac{\pi}{2} - \theta also lies in (0,π2)\left(0, \frac{\pi}{2}\right), so π2−arctan⁡n=arctan⁡1n\frac{\pi}{2} - \arctan n = \arctan\frac{1}{n}.

Condition: arctan⁡1n<0.001\arctan\frac{1}{n} < 0.001, that is 1n<tan⁡(0.001)≈0.0010000003\frac{1}{n} < \tan(0.001) \approx 0.0010000003, so n>999.9997n > 999.9997.

Smallest integer: n=1000n = 1000. Check: arctan⁡11000≈0.00099999967<0.001\arctan\frac{1}{1000} \approx 0.00099999967 < 0.001, while arctan⁡1999≈0.001001>0.001\arctan\frac{1}{999} \approx 0.001001 > 0.001.

A thousand terms for three decimals: the terms decrease like 1n2\frac{1}{n^2}, and the remainder like 1n\frac{1}{n}.

Part B: problems and reasoning (/50)

Exercise 6: Decreasing only from some rank N: the first terms do not count

7 answers to check

The Integral Test asks for a decreasing ff on [N,∞)[N, \infty) only, for some integer NN. A finite number of first terms changes the sum of a series, never its convergence: the test is applied to ∑n=N∞an\sum_{n=N}^{\infty} a_n, and the first terms are added back at the end.

The rank NN is found by the sign of f′f', factored. The figure shows y=x2x3+5y = \frac{x^2}{x^3 + 5} and the terms of part a).

123456789100.10.20.30.4y = x²/(x³ + 5)x
  • a) For ∑n=1∞n2n3+5\sum_{n=1}^{\infty} \frac{n^2}{n^3 + 5}, compute a1a_1, a2a_2, a3a_3, factor the numerator of f′(x)f'(x), find the smallest integer NN from which ff decreases, and decide with the Integral Test.
  • b) For ∑n=1∞1n2−8n+17\sum_{n=1}^{\infty} \frac{1}{n^2 - 8n + 17}, complete the square, prove that every term is positive, find NN, compute ∫N∞f(x) dx\int_N^{\infty} f(x)\,dx and decide.
  • c) In b), shift the index with k=n−4k = n - 4 to write ∑n=5∞an\sum_{n=5}^{\infty} a_n as a series in kk, and deduce an interval for the sum of b) from the bounds 1.0562≤∑k=1∞1k2+1≤1.10381.0562 \le \sum_{k=1}^{\infty} \frac{1}{k^2 + 1} \le 1.1038 of exercise 5.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
Show the solution

Answers

  • a) a1=16a_1 = \frac{1}{6}, a2=413a_2 = \frac{4}{13}, a3=932a_3 = \frac{9}{32}; f′(x)=x(10−x3)(x3+5)2f'(x) = \frac{x(10 - x^3)}{(x^3 + 5)^2}, N=3N = 3; ∫3∞f=∞\int_3^{\infty} f = \infty: diverges.
  • b) (n−4)2+1≥1(n - 4)^2 + 1 \ge 1; N=4N = 4; ∫4∞dx(x−4)2+1=π2\int_4^{\infty} \frac{dx}{(x - 4)^2 + 1} = \frac{\pi}{2}: converges.
  • c) ∑n=5∞an=∑k=1∞1k2+1\sum_{n=5}^{\infty} a_n = \sum_{k=1}^{\infty} \frac{1}{k^2 + 1}; S=1.8+∑k=1∞1k2+1S = 1.8 + \sum_{k=1}^{\infty} \frac{1}{k^2 + 1}, so 2.8562≤S≤2.90382.8562 \le S \le 2.9038.
a)

a1=16≈0.167a_1 = \frac{1}{6} \approx 0.167, a2=413≈0.308a_2 = \frac{4}{13} \approx 0.308, a3=932≈0.281a_3 = \frac{9}{32} \approx 0.281: the terms rise, then fall.

f′(x)=2x(x3+5)−x2⋅3x2(x3+5)2=−x4+10x(x3+5)2=x(10−x3)(x3+5)2f'(x) = \frac{2x(x^3 + 5) - x^2 \cdot 3x^2}{(x^3 + 5)^2} = \frac{-x^4 + 10x}{(x^3 + 5)^2} = \frac{x(10 - x^3)}{(x^3 + 5)^2}.

For x>0x > 0, f′(x)<0f'(x) < 0 exactly when x3>10x^3 > 10, that is x>103≈2.154x > \sqrt[3]{10} \approx 2.154. The smallest integer is N=3N = 3.

On [3,∞)[3, \infty), ff is positive, continuous and decreasing. With u=x3+5u = x^3 + 5, du=3x2 dxdu = 3x^2\,dx: ∫3bf(x) dx=13(ln⁡(b3+5)−ln⁡32)→∞\int_3^b f(x)\,dx = \frac{1}{3}\left(\ln(b^3 + 5) - \ln 32\right) \to \infty.

∑n=3∞an\sum_{n=3}^{\infty} a_n diverges, hence so does the whole series.

Pitfall: a1<a2a_1 < a_2 does not forbid the test; it only moves its starting point.

b)

n2−8n+17=(n−4)2+1≥1n^2 - 8n + 17 = (n - 4)^2 + 1 \ge 1: every term is positive, and f(x)=1(x−4)2+1f(x) = \frac{1}{(x - 4)^2 + 1} is continuous on R\mathbb{R}.

f′(x)=−2(x−4)((x−4)2+1)2f'(x) = -\frac{2(x - 4)}{((x - 4)^2 + 1)^2}: ff increases on [1,4][1, 4] and decreases on [4,∞)[4, \infty), so N=4N = 4.

∫4bdx(x−4)2+1=arctan⁡(b−4)−arctan⁡0→π2\int_4^b \frac{dx}{(x - 4)^2 + 1} = \arctan(b - 4) - \arctan 0 \to \frac{\pi}{2}.

The integral converges, so ∑n=4∞an\sum_{n=4}^{\infty} a_n converges, and adding a1a_1, a2a_2, a3a_3 keeps it convergent.

c)

With k=n−4k = n - 4: n=5n = 5 gives k=1k = 1, and (n−4)2+1=k2+1(n - 4)^2 + 1 = k^2 + 1. So ∑n=5∞an=∑k=1∞1k2+1\sum_{n=5}^{\infty} a_n = \sum_{k=1}^{\infty} \frac{1}{k^2 + 1}.

The first four terms: a1=110a_1 = \frac{1}{10}, a2=15a_2 = \frac{1}{5}, a3=12a_3 = \frac{1}{2}, a4=1a_4 = 1, total 1.81.8.

S=1.8+∑k=1∞1k2+1S = 1.8 + \sum_{k=1}^{\infty} \frac{1}{k^2 + 1}, so 1.8+1.0562≤S≤1.8+1.10381.8 + 1.0562 \le S \le 1.8 + 1.1038, that is 2.8562≤S≤2.90382.8562 \le S \le 2.9038.

The bracket of exercise 5 was built from n=4n = 4 on, where 1x2+1\frac{1}{x^2 + 1} decreases; here the four rising terms are counted one by one, outside any integral.

Exercise 7: How fast a divergent series grows: bounds on its partial sums

5 answers to check

The rectangles of the Integral Test bound a partial sum on both sides, even when the series diverges: for ff positive, continuous and decreasing on [1,∞)[1, \infty), ∫1n+1f(x) dx≤sn≤a1+∫1nf(x) dx\int_1^{n+1} f(x)\,dx \le s_n \le a_1 + \int_1^n f(x)\,dx.

Here sn=∑k=1n1ks_n = \sum_{k=1}^{n} \frac{1}{\sqrt k}, a pp-series with p=12p = \frac{1}{2}, which diverges. The figure shows y=1xy = \frac{1}{\sqrt x} and the rectangles of heights a1,…,a5a_1, \dots, a_5 on [1,2],…,[5,6][1, 2], \dots, [5, 6].

12345670.20.40.60.811.2y = 1/√xa₁x
  • a) Using the figure, prove 2n+1−2≤sn≤2n−12\sqrt{n + 1} - 2 \le s_n \le 2\sqrt n - 1.
  • b) Find the smallest nn for which the lower bound guarantees sn≥50s_n \ge 50, and the largest nn for which the upper bound proves sn<50s_n < 50.
  • c) Give an interval for s10000s_{10000}, to two decimals.
  • d) A student says: the terms 1k\frac{1}{\sqrt k} become tiny, so sns_n must level off below some number. Answer with a), in one line.

Type your answers, the page tells you right or wrong 0/5

b)
c)
d)
Show the solution

Answers

  • a) Rectangles on [k,k+1][k, k + 1] lie above the curve; moved to [k−1,k][k - 1, k] from k=2k = 2, they lie below. ∫1n+1dxx=2n+1−2\int_1^{n+1} \frac{dx}{\sqrt x} = 2\sqrt{n + 1} - 2, 1+∫1ndxx=2n−11 + \int_1^n \frac{dx}{\sqrt x} = 2\sqrt n - 1.
  • b) sn≥50s_n \ge 50 is guaranteed for n≥675n \ge 675; sn<50s_n < 50 is proved for n≤650n \le 650.
  • c) 198.01≤s10000≤199198.01 \le s_{10000} \le 199
  • d) sn≥2n+1−2s_n \ge 2\sqrt{n + 1} - 2, which exceeds every number: sns_n has no upper bound.
a)

f(x)=x−1/2f(x) = x^{-1/2} is positive, continuous and decreasing on [1,∞)[1, \infty).

On [k,k+1][k, k + 1] the rectangle of height f(k)f(k) lies above the curve: adding for k=1k = 1 to nn, sn≥∫1n+1x−1/2 dx=[2x]1n+1=2n+1−2s_n \ge \int_1^{n+1} x^{-1/2}\,dx = \left[2\sqrt x\right]_1^{n+1} = 2\sqrt{n + 1} - 2.

On [k−1,k][k - 1, k] the rectangle of height f(k)f(k) lies below the curve: adding for k=2k = 2 to nn, sn−a1≤∫1nx−1/2 dx=2n−2s_n - a_1 \le \int_1^n x^{-1/2}\,dx = 2\sqrt n - 2.

With a1=1a_1 = 1: sn≤2n−1s_n \le 2\sqrt n - 1.

b)

Lower bound: 2n+1−2≥50  ⟺  n+1≥26  ⟺  n+1≥676  ⟺  n≥6752\sqrt{n + 1} - 2 \ge 50 \iff \sqrt{n + 1} \ge 26 \iff n + 1 \ge 676 \iff n \ge 675.

Upper bound: 2n−1<50  ⟺  n<25.5  ⟺  n<650.252\sqrt n - 1 < 50 \iff \sqrt n < 25.5 \iff n < 650.25, so sn<50s_n < 50 for every n≤650n \le 650.

The first nn with sn≥50s_n \ge 50 therefore lies between 651651 and 675675.

Pitfall: squaring n+1≥26\sqrt{n + 1} \ge 26 gives n+1≥676n + 1 \ge 676, not n≥676n \ge 676.

c)

210001−2≈2(100.005)−2=198.012\sqrt{10001} - 2 \approx 2(100.005) - 2 = 198.01, and 210000−1=1992\sqrt{10000} - 1 = 199.

So 198.01≤s10000≤199198.01 \le s_{10000} \le 199: ten thousand terms, an interval of width less than 11.

d)

By a), sn≥2n+1−2s_n \ge 2\sqrt{n + 1} - 2, and 2n+1−2→∞2\sqrt{n + 1} - 2 \to \infty: no number bounds sns_n.

Pitfall: terms that tend to 00 do not make a sum converge; here they shrink too slowly, like n−1/2n^{-1/2}.

Exercise 8: Five statements to correct

7 answers to check

Each statement below contains an error: a false conclusion, or a conclusion reached by an argument that proves nothing. Say what is wrong, give the correct statement or argument, and settle a false claim with an explicit counterexample.

For e), take as known ∑n=1∞1n4=π490\sum_{n=1}^{\infty} \frac{1}{n^4} = \frac{\pi^4}{90}.

  • a) lim⁡n→∞1n3=0\lim_{n \to \infty} \frac{1}{\sqrt[3]{n}} = 0, so ∑n=1∞1n3\sum_{n=1}^{\infty} \frac{1}{\sqrt[3]{n}} converges.
  • b) ∫1∞4x5 dx=1\int_1^{\infty} \frac{4}{x^5}\,dx = 1, so by the Integral Test ∑n=1∞4n5=1\sum_{n=1}^{\infty} \frac{4}{n^5} = 1.
  • c) f(x)=x(x+3)2f(x) = \frac{x}{(x + 3)^2} increases on [1,3][1, 3], so the Integral Test cannot be used on ∑n=1∞n(n+3)2\sum_{n=1}^{\infty} \frac{n}{(n + 3)^2}.
  • d) If ff is positive and continuous on [1,∞)[1, \infty) and the integral of ff over [1,∞)[1, \infty) diverges, then ∑n=1∞f(n)\sum_{n=1}^{\infty} f(n) diverges.
  • e) For ∑n=1∞1n4\sum_{n=1}^{\infty} \frac{1}{n^4}, the remainder satisfies R3≤∫4∞dxx4=1192R_3 \le \int_4^{\infty} \frac{dx}{x^4} = \frac{1}{192}.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) False: an→0a_n \to 0 proves nothing; p=13≤1p = \frac{1}{3} \le 1, the series diverges.
  • b) False: a1=4a_1 = 4 already exceeds 11; 4.0625≤S≤54.0625 \le S \le 5.
  • c) False: ff decreases on [3,∞)[3, \infty), the test applies from N=3N = 3, and the series diverges.
  • d) False without the decrease: f(x)=sin⁡2(πx)+1x2f(x) = \sin^2(\pi x) + \frac{1}{x^2} has a divergent integral, but ∑f(n)=∑1n2\sum f(n) = \sum \frac{1}{n^2} converges.
  • e) False: the bounds are swapped; 1192≤R3≤181\frac{1}{192} \le R_3 \le \frac{1}{81}, and R3≈0.0075R_3 \approx 0.0075.
a)

The nth-Term Test only proves divergence, when an↛0a_n \not\to 0; a limit 00 decides nothing.

Here 1n3=1n1/3\frac{1}{\sqrt[3]{n}} = \frac{1}{n^{1/3}} is a pp-series with p=13≤1p = \frac{1}{3} \le 1: it diverges, so the statement is its own counterexample.

b)

The test gives convergence, not the sum. Here a1=4a_1 = 4 alone exceeds the claimed sum 11.

Bracket with n=1n = 1: s1+∫2∞4x−5 dx≤S≤s1+∫1∞4x−5 dxs_1 + \int_2^{\infty} 4x^{-5}\,dx \le S \le s_1 + \int_1^{\infty} 4x^{-5}\,dx, with ∫2∞4x−5 dx=[−x−4]2∞=116\int_2^{\infty} 4x^{-5}\,dx = \left[-x^{-4}\right]_2^{\infty} = \frac{1}{16}.

So 4.0625≤S≤54.0625 \le S \le 5; the sum is about 4.14774.1477.

c)

The test needs a decreasing ff on [N,∞)[N, \infty) for some NN only.

f′(x)=(x+3)2−2x(x+3)(x+3)4=3−x(x+3)3f'(x) = \frac{(x + 3)^2 - 2x(x + 3)}{(x + 3)^4} = \frac{3 - x}{(x + 3)^3}, negative for x>3x > 3: take N=3N = 3.

Write x=(x+3)−3x = (x + 3) - 3: f(x)=1x+3−3(x+3)2f(x) = \frac{1}{x + 3} - \frac{3}{(x + 3)^2}, so ∫3bf(x) dx=[ln⁡(x+3)+3x+3]3b→∞\int_3^b f(x)\,dx = \left[\ln(x + 3) + \frac{3}{x + 3}\right]_3^b \to \infty.

Correct statement: the Integral Test applies from N=3N = 3, and the series diverges.

d)

Without the decrease, the integral and the series can behave differently.

Counterexample: f(x)=sin⁡2(πx)+1x2f(x) = \sin^2(\pi x) + \frac{1}{x^2} is positive and continuous on [1,∞)[1, \infty).

∫1bsin⁡2(πx) dx=b−12−sin⁡(2πb)4π→∞\int_1^b \sin^2(\pi x)\,dx = \frac{b - 1}{2} - \frac{\sin(2\pi b)}{4\pi} \to \infty, and ∫1∞dxx2=1\int_1^{\infty} \frac{dx}{x^2} = 1: the integral of ff diverges.

Yet sin⁡(πn)=0\sin(\pi n) = 0 for every integer nn, so f(n)=1n2f(n) = \frac{1}{n^2} and ∑f(n)\sum f(n) is a convergent pp-series.

Correct statement: the conclusion holds when ff is also decreasing on some [N,∞)[N, \infty).

e)

Thomas's estimate is ∫n+1∞f≤Rn≤∫n∞f\int_{n+1}^{\infty} f \le R_n \le \int_n^{\infty} f: the integral from n+1n + 1 is the lower bound.

∫m∞x−4 dx=13m3\int_m^{\infty} x^{-4}\,dx = \frac{1}{3m^3}: 13⋅64=1192≈0.0052\frac{1}{3 \cdot 64} = \frac{1}{192} \approx 0.0052 and 13⋅27=181≈0.0123\frac{1}{3 \cdot 27} = \frac{1}{81} \approx 0.0123.

Counterexample to the statement: R3=π490−(1+116+181)≈1.08232−1.07485=0.0075>1192R_3 = \frac{\pi^4}{90} - \left(1 + \frac{1}{16} + \frac{1}{81}\right) \approx 1.08232 - 1.07485 = 0.0075 > \frac{1}{192}.

Correct statement: 1192≤R3≤181\frac{1}{192} \le R_3 \le \frac{1}{81}.

Exercise 9: Three decimals of a sum: how many terms?

5 answers to check

A spreadsheet adds the terms of S=∑n=1∞1nnS = \sum_{n=1}^{\infty} \frac{1}{n\sqrt n} one by one. The aim is SS to three decimals, which here means an estimate with an error of at most 0.00050.0005. The question is how many terms to add, and the answer depends on what is done with the remainder.

f(x)=x−3/2f(x) = x^{-3/2} is positive, continuous and decreasing on [1,∞)[1, \infty), and ∫n∞x−3/2 dx=2n\int_n^{\infty} x^{-3/2}\,dx = \frac{2}{\sqrt n}.

  • a) If sns_n alone is used as the estimate, find the smallest nn for which the remainder estimate guarantees Rn≤0.0005R_n \le 0.0005.
  • b) Show that sn+2n+1≤S≤sn+2ns_n + \frac{2}{\sqrt{n + 1}} \le S \le s_n + \frac{2}{\sqrt n}. Take the midpoint sn+1n+1n+1s_n + \frac{1}{\sqrt n} + \frac{1}{\sqrt{n + 1}} as the estimate: what is the largest error it can have?
  • c) Find the smallest nn for which the error bound of b) is at most 0.00050.0005. Check nn and n−1n - 1 with the calculator.
  • d) The spreadsheet gives s100≈2.412874s_{100} \approx 2.412874. Give the estimate of b) for n=100n = 100 to four decimals, then SS to three decimals.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
Show the solution

Answers

  • a) 2n≤0.0005  ⟺  n≥16 000 000\frac{2}{\sqrt n} \le 0.0005 \iff n \ge 16\,000\,000
  • b) Error at most 1n−1n+1\frac{1}{\sqrt n} - \frac{1}{\sqrt{n + 1}}, half the width of the interval.
  • c) n=100n = 100: 0.000496≤0.00050.000496 \le 0.0005, while n=99n = 99 gives 0.0005040.000504.
  • d) Estimate ≈2.6124\approx 2.6124; S≈2.612S \approx 2.612
a)

Rn≤∫n∞x−3/2 dx=2nR_n \le \int_n^{\infty} x^{-3/2}\,dx = \frac{2}{\sqrt n}.

2n≤0.0005  ⟺  n≥4000  ⟺  n≥16 000 000\frac{2}{\sqrt n} \le 0.0005 \iff \sqrt n \ge 4000 \iff n \ge 16\,000\,000.

Sixteen million terms: the terms decrease like n−3/2n^{-3/2}, but the remainder only like n−1/2n^{-1/2}.

b)

Thomas's estimate: ∫n+1∞f≤Rn≤∫n∞f\int_{n+1}^{\infty} f \le R_n \le \int_n^{\infty} f, that is 2n+1≤S−sn≤2n\frac{2}{\sqrt{n + 1}} \le S - s_n \le \frac{2}{\sqrt n}. Add sns_n.

SS lies in an interval of width 2n−2n+1\frac{2}{\sqrt n} - \frac{2}{\sqrt{n + 1}}; its midpoint is sn+1n+1n+1s_n + \frac{1}{\sqrt n} + \frac{1}{\sqrt{n + 1}}.

The midpoint is at most half the width away from SS: error at most 1n−1n+1\frac{1}{\sqrt n} - \frac{1}{\sqrt{n + 1}}.

c)

Rationalize: 1n−1n+1=n+1−nnn+1=1nn+1(n+1+n)\frac{1}{\sqrt n} - \frac{1}{\sqrt{n + 1}} = \frac{\sqrt{n + 1} - \sqrt n}{\sqrt n\sqrt{n + 1}} = \frac{1}{\sqrt n\sqrt{n + 1}(\sqrt{n + 1} + \sqrt n)}, close to 12n3/2\frac{1}{2n^{3/2}}.

12n3/2≤0.0005  ⟺  n3/2≥1000  ⟺  n≥100\frac{1}{2n^{3/2}} \le 0.0005 \iff n^{3/2} \ge 1000 \iff n \ge 100: try n=100n = 100 and n=99n = 99.

n=100n = 100: 110−1101≈0.100000−0.099504=0.000496≤0.0005\frac{1}{10} - \frac{1}{\sqrt{101}} \approx 0.100000 - 0.099504 = 0.000496 \le 0.0005.

n=99n = 99: 199−110≈0.100504−0.100000=0.000504>0.0005\frac{1}{\sqrt{99}} - \frac{1}{10} \approx 0.100504 - 0.100000 = 0.000504 > 0.0005.

Smallest nn: 100100 terms instead of sixteen million.

d)

2.412874+0.1+1101≈2.412874+0.1+0.099504=2.6123782.412874 + 0.1 + \frac{1}{\sqrt{101}} \approx 2.412874 + 0.1 + 0.099504 = 2.612378, about 2.61242.6124.

The error is at most 0.0004960.000496, so 2.611882≤S≤2.6128742.611882 \le S \le 2.612874, and S≈2.612S \approx 2.612 to three decimals.

Pitfall: s100≈2.413s_{100} \approx 2.413 alone is off by about 0.20.2; adding the integral of the tail is what gives the third decimal.

Exercise 10: A final exam question: three series, the Integral Test or the nth-Term Test

6 answers to check

(10 marks) Determine whether the series is convergent or divergent. Name the test you use and verify its hypotheses.

  • a) (4 marks) ∑n=1∞2n+3n2+3n+7\sum_{n=1}^{\infty} \frac{2n + 3}{n^2 + 3n + 7}
  • b) (2 marks) ∑n=1∞n2+1n7\sum_{n=1}^{\infty} \frac{n^2 + 1}{\sqrt{n^7}}
  • c) (4 marks) ∑n=1∞n−3n3\sum_{n=1}^{\infty} \frac{n - 3}{n^3}. Give the exact value of the integral you use.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
Show the solution

Answers

  • a) an→0a_n \to 0; ff decreasing on [1,∞)[1, \infty); ∫1∞f=∞\int_1^{\infty} f = \infty: diverges.
  • b) an=n−3/2+n−7/2a_n = n^{-3/2} + n^{-7/2}, ∫1∞(x−3/2+x−7/2) dx=125\int_1^{\infty} (x^{-3/2} + x^{-7/2})\,dx = \frac{12}{5}: converges.
  • c) a1<0a_1 < 0, a2<0a_2 < 0, a3=0a_3 = 0; positive from n=4n = 4, decreasing from N=5N = 5; ∫5∞x−3x3 dx=750\int_5^{\infty} \frac{x - 3}{x^3}\,dx = \frac{7}{50}: converges.
a)

lim⁡2n+3n2+3n+7=0\lim \frac{2n + 3}{n^2 + 3n + 7} = 0 (divide by n2n^2): the nth-Term Test is silent.

f(x)=2x+3x2+3x+7f(x) = \frac{2x + 3}{x^2 + 3x + 7} is positive and continuous on [1,∞)[1, \infty) (the denominator has no real root).

Numerator of f′f': 2(x2+3x+7)−(2x+3)2=−2x2−6x+52(x^2 + 3x + 7) - (2x + 3)^2 = -2x^2 - 6x + 5, which is −3-3 at x=1x = 1 and decreases for x≥1x \ge 1: f′<0f' < 0 on [1,∞)[1, \infty).

The numerator of ff is the derivative of its denominator: ∫1bf(x) dx=ln⁡(b2+3b+7)−ln⁡11→∞\int_1^b f(x)\,dx = \ln(b^2 + 3b + 7) - \ln 11 \to \infty.

By the Integral Test, the series diverges.

b)

Separate the fraction: n2+1n7/2=n−3/2+n−7/2\frac{n^2 + 1}{n^{7/2}} = n^{-3/2} + n^{-7/2}.

f(x)=x−3/2+x−7/2f(x) = x^{-3/2} + x^{-7/2} is positive, continuous and decreasing on [1,∞)[1, \infty), a sum of two decreasing powers.

∫1∞f(x) dx=11/2+15/2=2+25=125\int_1^{\infty} f(x)\,dx = \frac{1}{1/2} + \frac{1}{5/2} = 2 + \frac{2}{5} = \frac{12}{5}: the series converges.

Equivalently, it is the sum of two convergent pp-series, p=32p = \frac{3}{2} and p=72p = \frac{7}{2}.

c)

First terms: a1=−2a_1 = -2, a2=−18a_2 = -\frac{1}{8}, a3=0a_3 = 0; for n≥4n \ge 4, n−3>0n - 3 > 0 and an>0a_n > 0.

Separate the fraction: f(x)=x−3x3=x−2−3x−3f(x) = \frac{x - 3}{x^3} = x^{-2} - 3x^{-3}, continuous on [1,∞)[1, \infty).

f′(x)=−2x−3+9x−4=9−2xx4f'(x) = -2x^{-3} + 9x^{-4} = \frac{9 - 2x}{x^4}, negative for x>92x > \frac{9}{2}: ff increases up to 4.54.5, so the test starts at N=5N = 5, where ff is positive, continuous and decreasing.

∫5b(x−2−3x−3)dx=[−1x+32x2]5b→15−350=750\int_5^b \left(x^{-2} - 3x^{-3}\right)dx = \left[-\frac{1}{x} + \frac{3}{2x^2}\right]_5^b \to \frac{1}{5} - \frac{3}{50} = \frac{7}{50}.

∑n=5∞an\sum_{n=5}^{\infty} a_n converges; adding a1+a2+a3+a4=−2−18+0+164a_1 + a_2 + a_3 + a_4 = -2 - \frac{1}{8} + 0 + \frac{1}{64}, the series converges.

The same verdict follows from an=1n2−3n3a_n = \frac{1}{n^2} - \frac{3}{n^3}, a combination of two convergent pp-series (Thomas 10.2).

Pitfall: with f(1)=−2<0f(1) = -2 < 0, positivity fails for n≤3n \le 3 and the decrease starts at x=4.5x = 4.5; the test starts at N=5N = 5.

Something missing from this set? A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/math205-integral-test. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

Looking for a MATH 205 tutor in Montreal?

I tutor first-year calculus at Concordia and McGill, in English or in French, in Montreal or online, with the algebra behind every test. Get in touch for a first session.

Site by Studio Squalli