Sequences and Series — Diagnostic Tests
Unit Tests
Tests edge cases, boundary conditions, and common misconceptions for sequences and series.
UT-1: Telescoping Series with Misidentified Cancellation
Question:
Evaluate the sum:
Sn=∑r=1nr(r+1)(r+2)1
Express your answer in terms of n, and hence find limn→∞Sn.
[Difficulty: hard. Tests partial fraction decomposition for a telescoping series with three factors in the denominator, where the cancellation pattern is commonly misidentified.]
Solution:
Step 1: Partial fraction decomposition.
We seek constants A, B, C such that:
r(r+1)(r+2)1=rA+r+1B+r+2C
Multiplying through by r(r+1)(r+2):
1=A(r+1)(r+2)+Br(r+2)+Cr(r+1)
Substituting r=0: 1=A(1)(2)⟹A=21.
Substituting r=−1: 1=B(−1)(1)⟹B=−1.
Substituting r=−2: 1=C(−2)(−1)⟹C=21.
Step 2: Verify.
r1/2−r+11+r+21/2=2r(r+1)(r+2)(r+1)(r+2)−2r(r+2)+r(r+1)
Numerator: (r2+3r+2)+(−2r2−4r)+(r2+r)=(r2−2r2+r2)+(3r−4r+r)+2=0+0+2=2.
So the fraction is 2r(r+1)(r+2)2=r(r+1)(r+2)1. Confirmed.
Step 3: Write out the telescoping sum.
Sn=∑r=1n(r1/2−r+11+r+21/2)
=21∑r=1nr1−∑r=1nr+11+21∑r=1nr+21
Re-index the sums:
=21∑r=1nr1−∑r=2n+1r1+21∑r=3n+2r1
=(21⋅1+21⋅21+21∑r=3nr1)−(21+∑r=3nr1+n+11)+(21∑r=3nr1+21⋅n+11+21⋅n+21)
Collecting terms involving ∑r=3nr1: 21−1+21=0. The sums cancel (confirming the telescoping).
Remaining terms:
21+41−21−n+11+2(n+1)1+2(n+2)1
=41−2(n+1)1+2(n+1)1+2(n+2)1
=41+2(n+2)1
Step 4: Find the limit.
limn→∞Sn=41+0=41
UT-2: Sigma Notation Index Shifting Errors
Question:
Given that ∑r=1nr2=6n(n+1)(2n+1), find the value of:
∑r=4n+3(r−3)2
in terms of n.
A common student error is to substitute r−3 into the formula and write 6(n+3)(n+4)(2n+7). Identify the mistake in this approach and give the correct answer.
[Difficulty: hard. Tests the common error of not adjusting the summation limits when performing an index shift.]
Solution:
The student's error: The student substitutes r−3 for r in the formula but forgets that the upper limit also changes. The formula ∑r=1mr2=6m(m+1)(2m+1) requires the sum to start at r=1 and end at r=m.
Correct approach — Method 1: Index shift.
Let k=r−3. When r=4, k=1. When r=n+3, k=n.
∑r=4n+3(r−3)2=∑k=1nk2=6n(n+1)(2n+1)
Correct approach — Method 2: Subtract sums.
∑r=4n+3(r−3)2=∑r=1n+3(r−3)2−∑r=13(r−3)2
Note that ∑r=1n+3(r−3)2=∑k=−2nk2 where k=r−3. This is not the standard form. We need to be more careful:
∑r=4n+3(r−3)2=∑r=1n+3(r−3)2−∑r=13(r−3)2
=∑k=−2nk2−[(−2)2+(−1)2+02]
=∑k=1nk2+(−2)2+(−1)2−[4+1+0]
=∑k=1nk2+4+1−5=∑k=1nk2=6n(n+1)(2n+1)
The student's answer was 6(n+3)(n+4)(2n+7), which equals ∑r=1n+3r2, not ∑r=4n+3(r−3)2. The student incorrectly treated the sum as starting from r=1 with upper limit n+3.
UT-3: Recurrence Relation with Non-Standard Initial Terms
Question:
A sequence is defined by the recurrence relation:
un+2=5un+1−6un,n≥1
with u1=1 and u2=5.
(a) Find u3, u4, and u5.
(b) Find a closed-form expression for un in terms of n.
(c) Find the smallest value of n such that un>10000.
[Difficulty: hard. Tests solving second-order linear recurrence relations using the characteristic equation method.]
Solution:
(a)
u3=5(5)−6(1)=25−6=19
u4=5(19)−6(5)=95−30=65
u5=5(65)−6(19)=325−114=211
(b) The characteristic equation is:
λ2−5λ+6=0
(λ−2)(λ−3)=0
λ=2orλ=3
The general solution is un=A⋅2n+B⋅3n.
Using the initial conditions:
n=1:A⋅2+B⋅3=1
n=2:A⋅4+B⋅9=5
From the first equation: A=21−3B.
Substituting into the second:
4(21−3B)+9B=5
2−6B+9B=5
3B=3
B=1
A=21−3=−1
un=3n−2n
Verification: u1=3−2=1 ✓. u2=9−4=5 ✓. u3=27−8=19 ✓.
(c) We need 3n−2n>10000.
For large n, 3n dominates 2n. We need 3n⪆10000.
n=8: 38−28=6561−256=6305<10000.
n=9: 39−29=19683−512=19171>10000.
The smallest value is n=9.
Integration Tests
Tests synthesis of sequences and series with other topics. Requires combining concepts from multiple units.
IT-1: Integral as a Limit of Partial Sums (with Integration)
Question:
(a) Show that ∑r=1nn2r=2n2n(n+1).
(b) Hence evaluate limn→∞∑r=1nn2r.
(c) By interpreting the limit in part (b) as a Riemann sum, identify the corresponding definite integral and verify your answer by direct integration.
(d) Use a similar approach to evaluate limn→∞∑r=1nn3r2.
[Difficulty: hard. Connects summation to integration through Riemann sums, testing understanding of the Fundamental Theorem of Calculus.]
Solution:
(a) ∑r=1nn2r=n21∑r=1nr=n21⋅2n(n+1)=2n2n(n+1).
(b) limn→∞2n2n(n+1)=limn→∞2nn+1=limn→∞21+1/n=21.
(c) The sum ∑r=1nn2r=∑r=1nnr⋅n1 is a Riemann sum for ∫01xdx with n subdivisions, using right-endpoint evaluation (since xr=r/n).
Verification: ∫01xdx=[2x2]01=21. Confirmed.
(d) ∑r=1nn3r2=∑r=1n(nr)2⋅n1.
This is a Riemann sum for ∫01x2dx.
∫01x2dx=[3x3]01=31
Algebraic verification: n31⋅6n(n+1)(2n+1)=6n2(n+1)(2n+1).
limn→∞6n2(n+1)(2n+1)=limn→∞6n22n2+3n+1=62=31
Confirmed.
IT-2: Iteration Converging to a Fixed Point (with Functions)
Question:
The function f is defined by f(x)=cosx where x is in radians.
A sequence is defined by x0=1 and xn+1=f(xn)=cos(xn) for n≥0.
(a) Find x1, x2, x3, and x4 to 6 decimal places.
(b) Prove that the sequence (xn) is convergent.
(c) The limit L satisfies L=cosL. By considering the function g(x)=x−cosx, show that L is the unique solution to this equation in [0,π/2].
(d) Use the Newton-Raphson method with starting value x0=1 to find L to 8 decimal places.
[Difficulty: hard. Combines fixed-point iteration, convergence proofs, and the Newton-Raphson method.]
Solution:
(a) Using a calculator (radians):
x1=cos(1)=0.540302
x2=cos(0.540302)=0.857553
x3=cos(0.857553)=0.654290
x4=cos(0.654290)=0.793480
(b) To prove convergence, we use the contraction mapping theorem. We need ∣f′(x)∣<1 on the relevant interval.
f′(x)=−sinx, so ∣f′(x)∣=∣sinx∣≤sin(1)≈0.841<1 for all x∈[0,1].
Since x0=1∈[0,1] and f maps [0,1] into itself (because cos(0)=1≤1 and cos(1)≈0.54≥0), and ∣f′(x)∣≤k<1 for all x∈[0,1] where k=sin1, the sequence converges by the Banach fixed-point theorem.
(c) g(x)=x−cosx. Then g(0)=0−1=−1<0 and g(π/2)=π/2−0=π/2>0.
By the intermediate value theorem, there exists L∈(0,π/2) with g(L)=0.
For uniqueness: g′(x)=1+sinx>0 for all x∈[0,π/2] (since sinx≥0 in this interval). Therefore g is strictly increasing on [0,π/2], so g(x)=0 has at most one solution in this interval.
Combined: there is exactly one solution L∈(0,π/2).
(d) Newton-Raphson: xn+1=xn−g′(xn)g(xn)=xn−L◆B◆xn−cosxn◆RB◆◆LB◆1+sinxn◆RB◆.
Starting with x0=1:
x1=1−L◆B◆1−cos1◆RB◆◆LB◆1+sin1◆RB◆=1−1+0.8414711−0.540302=1−1.8414710.459698=1−0.249649=0.750351
x2=0.750351−L◆B◆0.750351−cos(0.750351)◆RB◆◆LB◆1+sin(0.750351)◆RB◆=0.750351−1+0.6816760.750351−0.731125=0.750351−1.6816760.019226
=0.750351−0.011434=0.738917
x3=0.738917−1+0.6737170.738917−0.739067=0.738917−1.673717−0.000150=0.738917+0.000090=0.739007
x4=0.739007−1+0.6738120.739007−0.739085=0.739007−1.673812−0.000078=0.739007+0.000047=0.739054
x5=0.739054−1.6738120.739054−0.739085=0.739054+0.000019=0.739073
x6=0.739073−1.6738130.739073−0.739085=0.739073+0.000007=0.739080
x7=0.739080−1.6738130.739080−0.739085=0.739080+0.000003=0.739083
x8=0.739083−1.6738130.739083−0.739085=0.739083+0.000001=0.739084
To 8 decimal places: L=0.73908513.
This is the Dottie number, the unique fixed point of the cosine function.
IT-3: Binomial Identity Used to Sum a Series (with Binomial Expansion)
Question:
(a) Use the binomial theorem to expand (1+1)n and hence show that:
∑r=0n(rn)=2n
(b) By differentiating the binomial expansion of (1+x)n and setting x=1, show that:
∑r=1nr(rn)=n⋅2n−1
(c) Hence evaluate:
∑r=1nr2(rn)
[Difficulty: hard. Tests generating function techniques applied to combinatorial sums through differentiation of the binomial expansion.]
Solution:
(a) By the binomial theorem:
(1+1)n=∑r=0n(rn)1n−r⋅1r=∑r=0n(rn)
But (1+1)n=2n. Therefore ∑r=0n(rn)=2n.
(b) Start with (1+x)n=∑r=0n(rn)xr.
Differentiating both sides with respect to x:
n(1+x)n−1=∑r=0nr(rn)xr−1=∑r=1nr(rn)xr−1
(Note: the r=0 term vanishes.)
Setting x=1:
n⋅2n−1=∑r=1nr(rn)
(c) Start with n(1+x)n−1=∑r=1nr(rn)xr−1.
Multiply both sides by x:
nx(1+x)n−1=∑r=1nr(rn)xr
Differentiate with respect to x:
n(1+x)n−1+nx(n−1)(1+x)n−2=∑r=1nr2(rn)xr−1
Factor the left side:
n(1+x)n−2[(1+x)+x(n−1)]=n(1+x)n−2(1+x+nx−x)=n(1+x)n−2(1+nx)
Setting x=1:
n⋅2n−2(1+n)=∑r=1nr2(rn)
∑r=1nr2(rn)=n(n+1)⋅2n−2
Verification for n=3: LHS =1⋅3+4⋅3+9⋅1=3+12+9=24. RHS =3⋅4⋅2=24. Confirmed.