Ratio test and Root test

Videos

Review Videos

Videos, Math Dr. Bob

Link to original

01 Theory

Theory 1

Ratio Test (RaT)

Applicability: Any series with nonzero terms.

Test Statement:

Suppose that |an+1an|L as n.

Then:

L<1:n=1anconverges absolutelyL>1:n=1andivergesL=1or DNE:test inconclusive

Extra - Ratio Test - a deeper look

To understand the ratio test better, first consider this series:

n=02nn!=1+21!+222!+233!+
  • The term 233! is created by multiplying the prior term by 23.
  • The term 244! is created by multiplying the prior term by 24.
  • The term an is created by multiplying the prior term by 2n.

When n>3, the multiplication factor giving the next term is necessarily less than 23. Therefore, when n>3, the terms shrink faster than those of a geometric series having r=23. Therefore this series converges.

Similarly, consider this series:

n=010nn!=1+101!+1022!+1033!+

Write Rn=anan1 for the ratio from the prior term an1 to the current term an. For this series, Rn=10n.

This ratio falls below 1011 when n>11, after which the terms necessarily shrink faster than those of a geometric series with r=1011. Therefore this series converges.

The main point of the discussion can be stated like this:

RnL<1asn

Whenever this is the case, then eventually the ratios are bounded below some r<1, and the series terms are smaller than those of a converging geometric series.

Extra - Ratio Test proof

Let us write Rn=|an+1an| for the ratio to the next term from term n.

Suppose that RnL as n, and that L<1. This means: eventually the ratio of terms is close to L; so eventually it is less than 1.

More specifically, let us define r=L+12. This is the point halfway between L and 1. Since RnL, we know that eventually Rn<r.

Any geometric series with ratio r converges. Set c=aN for N big enough that RN<r. Then the terms of our series satisfy |aN+n|crn, and the series starting from aN is absolutely convergent by comparison to this geometric series.

(Note that the terms a1,,aN1 do not affect convergence.)

Link to original

02 Illustration

Example - Ratio test

Ratio test examples

(a) Observe that n=010nn! has ratio Rn=10n+1 and thus Rn0=L<1. Therefore the RaT implies that this series converges.

Simplify the ratio:

(10n+1(n+1)!)(10nn!)10n+1(n+1)!n!10n1010n(n+1)n!n!10n10n+1n0

Notice this technique! We frequently use these rules:

10n+1=10n10,(n+1)!=(n+1)n!

(To simplify ratios with exponents and factorials.)


(b) n=1n22n has ratio Rn=(n+1)22n+1/n22n.

Simplify this:

(n+1)22n+1/n22n(n+1)22n+12nn2 (n+1)22nn222nn2+2n+12n2n12=L

So the series converges absolutely by the ratio test.


(c) Observe that n=1n2 has ratio Rn=n2+2n+1n21 as n.

So the ratio test is inconclusive, even though this series fails the SDT and obviously diverges.


(d) Observe that n=11n2 has ratio Rn=n2n2+2n+11 as n.

So the ratio test is inconclusive, even though the series converges as a p-series with p=2>1.


(e) More generally, the ratio test is usually inconclusive for rational functions; it is more effective to use LCT with a p-series.

Link to original

03 Theory

Theory 2

Root Test (RooT)

Applicability: Any series.

Test Statement:

Suppose that |an|1/nL as n.

Then:

L<1:n=1anconverges absolutelyL>1:n=1andivergesL=1or DNE:test inconclusive

Extra - Root test: explanation

The fact that |an|1/nL and L<1 implies that eventually |an|1/n<L+12 for all high enough n. Set r=L+12 (the midpoint between L and 1).

Now, the equation |an|1/n<r is equivalent to the equation |an|<rn.

Therefore, eventually the terms |an| are each less than the corresponding terms of this convergent geometric series:

n=1rn=1+r+r2+r3+
Link to original

04 Illustration

Example - Root test examples

Root test examples

(a) Observe that n=1(1n)n has roots of terms:

|an|1/n=((1n)n)1/n=1nn0=L

Because L<1, the RooT shows that the series converges absolutely.


(b) Observe that n=1(1)n(n2n+1)n has roots of terms:

|an|n=n2n+1n12=L

Because L<1, the RooT shows that the series converges absolutely.

Link to original

Example - Ratio test versus root test

Ratio test versus root test

Determine whether the series n=1n24n5n+2 converges absolutely or conditionally or diverges.

Solution Before proceeding, rewrite somewhat the general term as (n5)2(45)n.

Now we solve the problem first using the ratio test. By plugging in n+1 we see that

an+1=(n+15)2(45)n+1

So for the ratio Rn we have:

an+11an=(n+15)2(45)n+1(5n)2(54)nn2+2n+1n24545<1 as n

Therefore the series converges absolutely by the ratio test.

Now solve the problem again using the root test. We have for |an|n:

((n5)2(45)n)1/n=(n5)2/n45

To compute the limit as n we must use logarithmic limits and L’Hopital’s Rule. So, first take the log:

ln((n5)2/n45)=2nlnn5+ln45

Then for the first term apply L’Hopital’s Rule:

lnn5d/dx1n/515n/2d/dx1/21/n1/22n0 as n

So the first term goes to zero, and the second (constant) term is the value of the limit. So the log limit is ln45, and the limit (before taking logs) must be eln45 (inverting the log using ex) and this is 45. Since 45<1, the root test also shows that the series converges absolutely.

Link to original

Series tests: strategy tips

Videos

Review Videos

Videos, Math Dr. Bob

Videos, Trefor Bazett

Link to original

05 Theory

Theory 1

It can help to associate certain “strategy tips” to find convergence tests based on certain patterns.

Matching powers → Simple Divergence Test

n=1n12n+1

Use the SDT because we see the highest power is the same (=1) in numerator and denominator.

Rational or Algebraic → Limit Comparison Test

n=1n3+13n3+4n2+2

Use the LCT because we have a rational or algebraic function (positive terms).

Not rational, not factorials → Integral Test

n=1nen2

Use the IT because we do not have a rational/algebraic function, and we do not see factorials.

Rational, alternating → AST, and LCT or DCT

n=1(1)nn2n4+1

Notice large n behavior is like n2/n4 or 1/n2. This converges. Use the LCT to show absolute convergence. Skip the AST because absolute convergence settles the matter. Lesson: check for absolute BEFORE applying AST, even when alternating!

Factorials → Ratio Test

n=12nn!

Use the RaT because we see a factorial. (In case of alternating + factorial, use RaT first.)

Recognize geometric → LCT or DCT

n=112+3n

Use the LCT or DCT comparing to 13n because we see similarity to 13n (recognize geometric).

Link to original

Power series: Radius and Interval

Videos

Review Videos

Videos, Math Dr. Bob

Link to original

06 Theory

Theory 1

A power series looks like this:

f(x)=a0+a1x+a2x2+a3x3+

Power series are used to build and study functions. They allow a uniform “modeling framework” in which many functions can be described and compared. Power series are also convenient for computers because they provide a way to store and evaluate differentiable functions with numerical (approximate) values.

Small x needed for power series

The most important fact about power series is that they work for small values of x.

Many power series diverge for |x| too big; but even when they converge, for big |x| they converge more slowly, and partial sum approximations are less accurate.

The idea of a power series is a modification of the idea of a geometric series in which the common ratio r becomes a variable x, and each term has an additional coefficient parameter an controlling the relative contribution of different orders.

Link to original

07 Theory

Theory 2

Every power series has a radius of convergence and an interval of convergence.

Radius of convergence

Consider a power series centered at x=0:

f(x)=a0+a1x+a2x2+a3x3+

Apply the ratio test:

limn|an+1xn+1anxn|(limn|an+1an|)|x|=L

Define the radius of convergence R[0,]:

R=1limn|an+1an|

Therefore:

|x|<RL<1converges|x|>RL>1diverges

We can build shifted power series for x near some other value c. Just replace the variable x with a shifted variable u=xc:

a0+a1u+a2u2+a3u3+a0+a1(xc)+a2(xc)2+a3(xc)3+

Now apply the ratio test to determine convergence:

limn|an+1|xc|n+1an|xc|n|(limn|an+1an|)|xc|

Define the radius of convergence R[0,]:

R=1limn|an+1an|

In the shifted setting, the radius of convergence limits the *distance from *:

|xc|<Rconverges|xc|>Rdiverges

Method: To calculate the interval of convergence of a power series, follow these steps:

  • Observe the center c of the shifted series (or c=0 for no shift).
  • Compute R using the limit of coefficient ratios.
  • Write down the preliminary interval (cR,c+R).
  • Plug each endpoint, cR and cR, into the original series
    • Check for convergence
  • Add in the convergent endpoints. (4 possible scenarios.)
Link to original

08 Illustration

Example - Radius of convergence

Radius of convergence

Find the radius of convergence of the series:

(a) n=0xn2n (b) n=0x2n(2n)!

Solution

(a) Ratio of terms:

|an+1an|=|xn+12n+1xn2n||xn+12n+12nxn|12|x|=L

This converges for L<1, or |x|<2. Therefore R=2.


(b) This power series skips the odd powers. Apply the ratio test to just the even powers:

|an+1an|=|x2n+2(2n+2)!x2n(2n)!||x2n+2(2n+2)!(2n)!x2n|1(2n+2)(2n+1)|x2|R= Link to original

Example - Interval of convergence

Interval of convergence

Find the radius and interval of convergence of the following series:

(a) n=1(x3)nn (b) n=0(3)nxnn+1

Solution

(a) n=1(x3)nn

(1) Apply ratio test:

|an+1an1|=|(x3)n+1n+1n(x3)n|nn+1|x3|n|x3|=L

Therefore R=1 and thus:

|x3|<1converges|x3|>1diverges

Preliminary interval: x(2,4).


(2) Check endpoints:

Check endpoint x=2:

n=1(23)nnn=1(1)nnconverges by AST

Check endpoint x=4:

n=1(43)nnn=11ndiverges as p-series

Final interval of convergence: x[2,4)


(b) n=0(3)nxnn+1

(1) Apply ratio test:

|an+1an1|=|(3)n+1xn+1n+2n+1(3)nxn||(3)(3)n|n+2n+1|(3)n||x|3n+1n+2|x|n3|x|=L

Therefore:

|x|<13converges|x|>13diverges

Preliminary interval: x(13,13)


(2) Check endpoints:

Check endpoint x=1/3:

n=0(3(13))nn+1n=01n+1diverges by LCT with bn=1/n

Check endpoint x=+1/3:

n=0(3(+13))nn+1n=0(1)nn+1converges by AST

Final interval of convergence: x(1/3,1/3]

Link to original

Exercise - Radius and interval

Radius and interval for a few series

Find the radius and interval of convergence of the following series:

(a) n=0xn (b) n=0n!xn

Link to original

Interval of convergence - further examples

Interval of convergence - further examples

Find the interval of convergence of the following series.

(a) n=0n(x+2)n3n+1 (b) n=1(4x+1)nn

Solution

(a) n=0n(x+2)n3n+1

Ratio of terms:

n+13n+23n+1n|x+2|n+13n|x+2|n13|x+2|=L

This converges when L<1 or |x(2)|<3.

Therefore R=3 and the preliminary interval is x(5,1).

Check endpoints: n(3)n3n+1 diverges and n(3)n3n+1 also diverges.

Final interval is (5,1).


(b) n=1(4x+1)nn

Ratio of terms:

|an+1an|1n+11n|4x+1|nn+1|4x+1|n|4x+1|=L

This converges when L<1 or:

|4x+1|<1|x+1/4|<1/4converges|4x+1|>1|x+1/4|>1/4diverges

Preliminary interval: x(1/2,0)

Check endpoints: (412+1)nn converges but 1n diverges.

Final interval of convergence: [1/2,0)

Link to original