Skip to main content
Mathematics LibreTexts

11.6: Comparison Test

  • Page ID
    549
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    As we begin to compile a list of convergent and divergent series, new ones can sometimes be analyzed by comparing them to ones that we already understand.

    Example 11.5.1: Identifying if a Sum Converges

    Does the following sum converge?

    \[\sum_{n=2}^\infty {1\over n^2\ln n}\]

    Solution

    The obvious first approach, based on what we know, is the integral test. Unfortunately, we cannot compute the required antiderivative. But looking at the series, it would appear that it must converge, because the terms we are adding are smaller than the terms of a \(p\)-series, that is,

    \[{1\over n^2\ln n} < {1\over n^2},\]

    when \(n\ge3\). Since adding up the terms \( 1/n^2\) doesn't get "too big'', the new series "should'' also converge. Let's make this more precise.

    The series

    \[\sum_{n=2}^\infty {1\over n^2\ln n}\]

    converges if and only if

    \[\sum_{n=3}^\infty {1\over n^2\ln n}\]

    converges---all we've done is dropped the initial term. We know that

    \[\sum_{n=3}^\infty {1\over n^2}\]

    converges. Looking at two typical partial sums:

    $$s_n={1\over 3^2\ln 3}+{1\over 4^2\ln 4}+{1\over 5^2\ln 5}+\cdots+ {1\over n^2\ln n} < {1\over 3^2}+{1\over 4^2}+ {1\over 5^2}+\cdots+{1\over n^2}=t_n.\]

    Since the \(p\)-series converges, say to \(L\), and since the terms are positive, \( t_n < L\). Since the terms of the new series are positive, the \( s_n\) form an increasing sequence and \( s_n < t_n < L\) for all \(n\). Hence the sequence \( \{s_n\}\) is bounded and so converges.

    Sometimes, even when the integral test applies, comparison to a known series is easier, so it's generally a good idea to think about doing a comparison before doing the integral test.

    Example 11.5.2: Identifying if a Sum Converges

    Does the following sum converge?

    \[\sum_{n=2}^\infty {|\sin n|\over n^2}\]

    Solution

    We cannot apply the integral test here, because the terms of this series are not decreasing. Just as in the previous example, however,

    \[ {|\sin n|\over n^2}\le {1\over n^2},\]

    because \(|\sin n|\le 1\). Once again the partial sums are non-decreasing and bounded above by

    \[ \sum 1/n^2=L\]

    so the new series converges.

    Like the integral test, the comparison test can be used to show both convergence and divergence. In the case of the integral test, a single calculation will confirm whichever is the case. To use the comparison test we must first have a good idea as to convergence or divergence and pick the sequence for comparison accordingly.

    Example 11.5.3: Identifying if a Sum Converges

    Does the following sum converge?

    \[\sum_{n=2}^\infty {1\over\sqrt{n^2-3}}\]

    Solution

    We observe that the \(-3\) should have little effect compared to the \( n^2\) inside the square root, and therefore guess that the terms are enough like \( 1/\sqrt{n^2}=1/n\) that the series should diverge. We attempt to show this by comparison to the harmonic series. We note that

    \[{1\over\sqrt{n^2-3}} > {1\over\sqrt{n^2}} = {1\over n},\]

    so that

    \[ s_n={1\over\sqrt{2^2-3}}+{1\over\sqrt{3^2-3}}+\cdots+ {1\over\sqrt{n^2-3}} > {1\over 2} + {1\over3}+\cdots+{1\over n}=t_n, \]

    where \( t_n\) is 1 less than the corresponding partial sum of the harmonic series (because we start at \(n=2\) instead of \(n=1\)). Since \(\lim_{n\to\infty}t_n=\infty\), \(\lim_{n\to\infty}s_n=\infty\) as well.

    So the general approach is this: If you believe that a new series is convergent, attempt to find a convergent series whose terms are larger than the terms of the new series; if you believe that a new series is divergent, attempt to find a divergent series whose terms are smaller than the terms of the new series.

    Example 11.5.4: Identifying if a Sum Converges

    Does the following sum converge?

    \[\sum_{n=1}^\infty {1\over\sqrt{n^2+3}}\]

    Solution

    Just as in the last example, we guess that this is very much like the harmonic series and so diverges. Unfortunately,

    \[{1\over\sqrt{n^2+3}} < {1\over n},\]

    so we cannot compare the series directly to the harmonic series. A little thought leads us to

    \[{1\over\sqrt{n^2+3}} > {1\over\sqrt{n^2+3n^2}} = {1\over2n},\]

    so if \(\sum 1/(2n)\) diverges then the given series diverges. But since \(\sum 1/(2n)=(1/2)\sum 1/n\), theorem 11.2.2 implies that it does indeed diverge.

    For reference we summarize the comparison test in a theorem.

    Theorem 11.5.5: The Comparison Test

    Suppose that \( a_n\) and \( b_n\) are non-negative for all \(n\) and that \( a_n\le b_n\) when \(n\ge N\), for some \(N\).

    Proof

    If \(\sum_{n=0}^\infty b_n\) converges, so does \(\sum_{n=0}^\infty a_n\). If \(\sum_{n=0}^\infty a_n\) diverges, so does \(\sum_{n=0}^\infty b_n\).

    \(\square\)

    Contributors and Attributions


    This page titled 11.6: Comparison Test is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by David Guichard via source content that was edited to the style and standards of the LibreTexts platform.

    • Was this article helpful?