Comprehensive Exercises

I. Testing the Convergence of a Series

Problem 1

Judge the convergence of the series ∑n=1∞n!nn\sum_{n=1}^{\infty} \frac{n!}{n^n}.

the ratio testconvergencea factorial series

Approach:

The ratio test is the most direct: compute the limit of the ratio of two consecutive terms and check that it is less than 1.

Steps:

  1. Apply the ratio test with an=n!nna_n = \frac{n!}{n^n}
  2. an+1an=(n+1)!(n+1)n+1⋅nnn!=(n+1)nn(n+1)n+1=nn(n+1)n=1(1+1n)n\frac{a_{n+1}}{a_n} = \frac{(n+1)!}{(n+1)^{n+1}} \cdot \frac{n^n}{n!} = \frac{(n+1)n^n}{(n+1)^{n+1}} = \frac{n^n}{(n+1)^n} = \frac{1}{(1+\frac{1}{n})^n}
  3. lim⁡n→∞an+1an=lim⁡n→∞1(1+1n)n=1e<1\lim_{n\to\infty} \frac{a_{n+1}}{a_n} = \lim_{n\to\infty} \frac{1}{(1+\frac{1}{n})^n} = \frac{1}{e} < 1
  4. By the ratio test, the series converges.

Answer: The series converges.

Problem 2

Judge the convergence of the series ∑n=2∞1n(ln⁡n)p\sum_{n=2}^{\infty} \frac{1}{n(\ln n)^p} (p>0p > 0).

the integral testthe p-seriesa discussion of convergence

Approach:

The integral test turns the convergence of a series into the convergence of an improper integral, so first confirm that the integrand is non-negative and decreasing.

Steps:

  1. Apply the integral test: let f(x)=1x(ln⁡x)pf(x) = \frac{1}{x(\ln x)^p}, which is non-negative and decreasing on [2,+∞)[2, +\infty)
  2. ∫2+∞dxx(ln⁡x)p=∫ln⁡2+∞dttp\int_2^{+\infty} \frac{dx}{x(\ln x)^p} = \int_{\ln 2}^{+\infty} \frac{dt}{t^p} (put t=ln⁡xt = \ln x)
  3. When p>1p > 1 the integral converges (it is a p-integral), so the series converges
  4. When p≤1p \leq 1 the integral diverges, so the series diverges

Answer: It converges when p>1p > 1, and diverges when 0<p≤10 < p \leq 1.

Problem 3

Judge whether the series ∑n=1∞(−1)nln⁡nn\sum_{n=1}^{\infty} (-1)^n \frac{\ln n}{n} is absolutely convergent, conditionally convergent, or divergent.

an alternating seriesconditional convergencethe Leibniz testabsolute convergence

Approach:

First see whether the series of absolute values converges; if the absolute series diverges while the original converges by the alternating-series test, then the convergence is conditional.

Steps:

  1. Absolute convergence: consider the series of absolute values ∑ln⁡nn\sum \frac{\ln n}{n} For n≥3n \geq 3, ln⁡nn>1n\frac{\ln n}{n} > \frac{1}{n}, and the harmonic series ∑1n\sum \frac{1}{n} diverges, so by the comparison test ∑ln⁡nn\sum \frac{\ln n}{n} diverges. Hence it is not absolutely convergent.
  2. Conditional convergence: the original series is an alternating series with an=ln⁡nna_n = \frac{\ln n}{n}
    • an>0a_n > 0 ✓
    • Let f(x)=ln⁡xxf(x) = \frac{\ln x}{x}; then f′(x)=1−ln⁡xx2<0f'(x) = \frac{1-\ln x}{x^2} < 0 (for x>ex > e), so ana_n is decreasing ✓
    • lim⁡n→∞ln⁡nn=0\lim_{n\to\infty} \frac{\ln n}{n} = 0 ✓
  3. The conditions of the Leibniz test are satisfied, so the series converges.
  4. Taken together, the series is conditionally convergent.

Answer: It is conditionally convergent.

II. Power Series

Problem 4

Find the domain of convergence of the power series ∑n=1∞(x−1)nn\sum_{n=1}^{\infty} \frac{(x-1)^n}{\sqrt{n}}.

domain of convergencepower seriesconvergence at the endpointsthe p-series

Approach:

First make a substitution to put the power series into standard form and find the radius, and then judge the two endpoints separately.

Steps:

  1. Put t=x−1t = x-1, and the series becomes ∑tnn\sum \frac{t^n}{\sqrt{n}}
  2. an=1na_n = \frac{1}{\sqrt{n}}, so L=lim⁡n→∞nn+1=1L = \lim_{n\to\infty} \frac{\sqrt{n}}{\sqrt{n+1}} = 1 and R=1R = 1
  3. t∈(−1,1)t \in (-1, 1), that is, x∈(0,2)x \in (0, 2)
  4. The endpoints:
    • t=1t = 1 (x=2x=2): ∑1n\sum \frac{1}{\sqrt{n}}, the p-series with p=12<1p=\frac{1}{2}<1, which diverges
    • t=−1t = -1 (x=0x=0): ∑(−1)nn\sum \frac{(-1)^n}{\sqrt{n}}, an alternating series satisfying the conditions of the Leibniz test, which converges
  5. The domain of convergence is [0,2)[0, 2)

Answer: The domain of convergence is [0,2)[0, 2).

Problem 5

Find the sum function of the power series ∑n=1∞n2xn\sum_{n=1}^{\infty} n^2 x^n.

sum functionterm-by-term differentiationsumming a power series

Approach:

Starting from the geometric series, differentiate term by term twice and the power series with an nn in it follows.

Steps:

  1. It is known that ∑n=0∞xn=11−x\sum_{n=0}^{\infty} x^n = \frac{1}{1-x} (∣x∣<1|x|<1)
  2. Differentiate term by term: ∑n=1∞nxn−1=1(1−x)2\sum_{n=1}^{\infty} n x^{n-1} = \frac{1}{(1-x)^2}, that is, ∑n=1∞nxn=x(1−x)2\sum_{n=1}^{\infty} n x^n = \frac{x}{(1-x)^2}
  3. Differentiate term by term once more: ∑n=1∞n2xn−1=(x(1−x)2)′=(1−x)2+2x(1−x)(1−x)4=1+x(1−x)3\sum_{n=1}^{\infty} n^2 x^{n-1} = \left(\frac{x}{(1-x)^2}\right)' = \frac{(1-x)^2 + 2x(1-x)}{(1-x)^4} = \frac{1+x}{(1-x)^3}
  4. Hence ∑n=1∞n2xn=x(1+x)(1−x)3\sum_{n=1}^{\infty} n^2 x^n = \frac{x(1+x)}{(1-x)^3} (∣x∣<1|x| < 1)

Answer: The sum function is S(x)=x(1+x)(1−x)3S(x) = \frac{x(1+x)}{(1-x)^3} (∣x∣<1|x| < 1).

Problem 6

Expand the function f(x)=1x2+3x+2f(x) = \frac{1}{x^2 + 3x + 2} into a power series in (x+4)(x+4).

power series expansionpartial fractionsindirect expansiona shifted expansion

Approach:

First do a partial fraction decomposition, then expand each part separately into a power series in (x+4)(x+4) and add them.

Steps:

  1. Partial fractions: 1x2+3x+2=1(x+1)(x+2)=1x+1−1x+2\frac{1}{x^2+3x+2} = \frac{1}{(x+1)(x+2)} = \frac{1}{x+1} - \frac{1}{x+2}
  2. Put t=x+4t = x+4, so x=t−4x = t-4: 1x+1=1t−3=−13⋅11−t3=−13∑n=0∞(t3)n=−∑n=0∞tn3n+1\frac{1}{x+1} = \frac{1}{t-3} = -\frac{1}{3} \cdot \frac{1}{1-\frac{t}{3}} = -\frac{1}{3}\sum_{n=0}^{\infty} \left(\frac{t}{3}\right)^n = -\sum_{n=0}^{\infty} \frac{t^n}{3^{n+1}} (∣t∣<3|t|<3) 1x+2=1t−2=−12⋅11−t2=−∑n=0∞tn2n+1\frac{1}{x+2} = \frac{1}{t-2} = -\frac{1}{2} \cdot \frac{1}{1-\frac{t}{2}} = -\sum_{n=0}^{\infty} \frac{t^n}{2^{n+1}} (∣t∣<2|t|<2)
  3. Take the intersection ∣t∣<2|t|<2: f(x)=−∑n=0∞tn3n+1+∑n=0∞tn2n+1=∑n=0∞(12n+1−13n+1)tnf(x) = -\sum_{n=0}^{\infty} \frac{t^n}{3^{n+1}} + \sum_{n=0}^{\infty} \frac{t^n}{2^{n+1}} = \sum_{n=0}^{\infty} \left(\frac{1}{2^{n+1}} - \frac{1}{3^{n+1}}\right) t^n
  4. Substitute t=x+4t = x+4 back; the domain of convergence is ∣x+4∣<2|x+4| < 2, that is, x∈(−6,−2)x \in (-6, -2)

Answer: f(x)=∑n=0∞(12n+1−13n+1)(x+4)nf(x) = \sum_{n=0}^{\infty} \left(\frac{1}{2^{n+1}} - \frac{1}{3^{n+1}}\right)(x+4)^n (x∈(−6,−2)x \in (-6, -2)).

III. Fourier Series

Problem 7

Let f(x)f(x) be a function of period 2π2\pi with f(x)=1f(x) = 1 on [0,π)[0, \pi) and f(x)=0f(x) = 0 on [−π,0)[-\pi, 0). Find its Fourier series.

Fourier seriesa piecewise functionthe convergence theorem

Approach:

Compute a0a_0, ana_n and bnb_n one by one from the coefficient formula, and use the parity of the function to save half the work.

Steps:

  1. a0=1π∫−ππf(x)dx=1π∫0π1dx=1a_0 = \frac{1}{\pi}\int_{-\pi}^{\pi} f(x) dx = \frac{1}{\pi}\int_0^{\pi} 1 dx = 1
  2. an=1π∫0πcos⁡nxdx=1π[sin⁡nxn]0π=0a_n = \frac{1}{\pi}\int_0^{\pi} \cos nx dx = \frac{1}{\pi}\left[\frac{\sin nx}{n}\right]_0^{\pi} = 0 (n≥1n \geq 1)
  3. bn=1π∫0πsin⁡nxdx=1π[−cos⁡nxn]0π=1nπ(1−cos⁡nπ)=1nπ(1−(−1)n)b_n = \frac{1}{\pi}\int_0^{\pi} \sin nx dx = \frac{1}{\pi}\left[-\frac{\cos nx}{n}\right]_0^{\pi} = \frac{1}{n\pi}(1 - \cos n\pi) = \frac{1}{n\pi}(1 - (-1)^n)
  4. When nn is even, bn=0b_n = 0; when nn is odd, bn=2nπb_n = \frac{2}{n\pi}
  5. The Fourier series: f(x)∼12+2π∑k=1∞sin⁡(2k−1)x2k−1f(x) \sim \frac{1}{2} + \frac{2}{\pi}\sum_{k=1}^{\infty} \frac{\sin(2k-1)x}{2k-1}
  6. The convergence theorem: at the points of continuity x≠kπx \neq k\pi it converges to f(x)f(x); at x=2kπx = 2k\pi it converges to 0+12=12\frac{0+1}{2} = \frac{1}{2}, and at x=(2k+1)πx = (2k+1)\pi it converges to 1+02=12\frac{1+0}{2} = \frac{1}{2}

Answer: f(x)=12+2π∑k=1∞sin⁡(2k−1)x2k−1f(x) = \frac{1}{2} + \frac{2}{\pi}\sum_{k=1}^{\infty} \frac{\sin(2k-1)x}{2k-1} (x≠kπx \neq k\pi), and at x=kπx=k\pi the sum of the series is 12\frac{1}{2}.

IV. Summing Series

Problem 8

Find the sum of the series ∑n=1∞(−1)n−1n(2n−1)\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n(2n-1)}.

summing a seriespower seriesterm-by-term integrationthe arctangent

Approach:

Upgrading a constant series to a power series and then evaluating at a value of xx is the standard move for problems of this kind.

Steps:

  1. Build the power series S(x)=∑n=1∞(−1)n−1x2nn(2n−1)S(x) = \sum_{n=1}^{\infty} \frac{(-1)^{n-1} x^{2n}}{n(2n-1)}, so that the sum of the original series is S(1)S(1)
  2. Differentiate term by term: S′(x)=∑n=1∞2(−1)n−1x2n−12n−1S'(x) = \sum_{n=1}^{\infty} \frac{2(-1)^{n-1} x^{2n-1}}{2n-1}
  3. Differentiate once more: S′′(x)=∑n=1∞2(−1)n−1x2n−2=2∑n=0∞(−1)nx2n=21+x2S''(x) = \sum_{n=1}^{\infty} 2(-1)^{n-1} x^{2n-2} = 2\sum_{n=0}^{\infty} (-1)^n x^{2n} = \frac{2}{1+x^2} (∣x∣<1|x|<1)
  4. Integrate: S′(x)=S′(0)+∫0x21+t2dt=2arctan⁡xS'(x) = S'(0) + \int_0^x \frac{2}{1+t^2} dt = 2\arctan x
  5. Integrate once more: S(x)=S(0)+∫0x2arctan⁡t dt=2xarctan⁡x−ln⁡(1+x2)S(x) = S(0) + \int_0^x 2\arctan t \, dt = 2x\arctan x - \ln(1+x^2)
  6. S(1)=2⋅π4−ln⁡2=π2−ln⁡2S(1) = 2 \cdot \frac{\pi}{4} - \ln 2 = \frac{\pi}{2} - \ln 2

Answer: The sum of the series is π2−ln⁡2\frac{\pi}{2} - \ln 2.


Summary

This set of comprehensive exercises covers the core examination points of infinite series:

  • Testing convergence: the ratio test, the integral test, alternating series, absolute and conditional convergence
  • Power series: the domain of convergence, the sum function, expanding a function into a power series
  • Fourier series: computing the coefficients, the convergence theorem, expanding a piecewise function
  • Summing series: using term-by-term differentiation and integration of a power series

The three core problem types to master are testing convergence, summing and expanding power series, and computing Fourier coefficients.

Found an issue with this content?

Tell us what could be improved.