Unit 8, lesson 65

Reading Indexed Terms and Shifting the Index

How to read a term formula with an integer index, generate the terms it names, replace n by n + 1 everywhere at once, and simplify the ratio of consecutive terms.

  • Theory part 129
  • Practice part 130
  • Indices, Factorials, and Sums

A list like 1,−12,13,−14,…1, -\frac{1}{2}, \frac{1}{3}, -\frac{1}{4}, \ldots goes on forever, so nobody writes it out. Instead you write one formula with a counter in it and say where the counter starts. Series, power series and the ratio test in calculus all rest on this habit, and on one small move that causes many errors, writing the next term by putting n+1n + 1 in place of nn.

Key terms

Index and indexed term

Definition Let mm be an integer. An indexed list assigns to each integer n≥mn \ge m (or to each integer nn with m≤n≤Mm \le n \le M for a finite list) exactly one number, written ana_n. The integer nn is the index, and ana_n is the indexed term, or the term with index nn. The index takes only integer values, one after another, never values like 12\frac{1}{2} or 2\sqrt{2}.

In plain words The index is a counter that says which term you are looking at. The term is the number sitting at that position.

Example Take an=n2−1a_n = n^2 - 1 for integers n≥1n \ge 1.

Index nn1122334455
Term ana_n00338815152424

The term with index 44 is a4=15a_4 = 15. There is no term with index 2.52.5, because the index is always an integer.

Subscript

Definition The subscript in ana_n is a label for the position, not a number that takes part in arithmetic with the term. Whatever expression sits in the subscript is the index of the term being named. So an+1a_{n+1} is the term at index n+1n + 1, while an+1a_n + 1 is the term at index nn with 11 added to its value. In the same way a2na_{2n} is the term at index 2n2n, which is usually different from 2an2a_n.

In plain words What is inside the subscript tells you where to look. What is outside it tells you what to do with the number you found.

Example With an=n2−1a_n = n^2 - 1 and n=3n = 3, the two readings give different numbers.

an+1=a4=42−1=15,an+1=a3+1=8+1=9.\begin{gathered} a_{n+1} = a_4 = 4^2 - 1 = 15, \\[0.4em] a_n + 1 = a_3 + 1 = 8 + 1 = 9. \end{gathered}

Similarly a2⋅3=a6=35a_{2 \cdot 3} = a_6 = 35, while 2a3=162a_3 = 16.

Starting index

Definition The starting index is the smallest index mm in the stated set of indices, and ama_m is the first term. It is part of the description of the list, so it must be stated, and the first term is the term formula evaluated at n=mn = m. A starting index of 00 only means the first term is labelled a0a_0, and a0a_0 need not be 00. A finite list with indices m,m+1,…,Mm, m + 1, \ldots, M has M−m+1M - m + 1 terms.

In plain words The starting index tells you where counting begins. Starting at zero changes the labels, not the values.

Example Let bn=3⋅2nb_n = 3 \cdot 2^n for integers n≥0n \ge 0. The first term is b0=3⋅20=3b_0 = 3 \cdot 2^0 = 3, not 00. The first four terms are

b0=3,b1=6,b2=12,b3=24,\begin{gathered} b_0 = 3, \quad b_1 = 6, \\[0.4em] b_2 = 12, \quad b_3 = 24, \end{gathered}

so the fourth term carries the label b3b_3. A list running from b0b_0 to b10b_{10} has 10−0+1=1110 - 0 + 1 = 11 terms.

Term formula

Definition A term formula is an expression in the index nn, together with a stated set of integer indices, such that substituting each allowed nn gives the term ana_n. The formula must make sense, as a real number, at every allowed index. Any index where a denominator would be zero or an even root would get a negative radicand has to be left out of the set.

In plain words The formula is a machine that takes a position and returns the term there, and the stated starting index tells you which positions the machine is allowed to take.

Example The formula

cn=n+2n−1c_n = \frac{n + 2}{n - 1}

has a zero denominator at n=1n = 1, so 11 cannot be an index. The formula does give a number at n=0n = 0, but a list that runs through every integer from its start onward without reaching 11 has to start at 22 or later. With n≥2n \ge 2 the first terms are c2=4c_2 = 4, c3=52c_3 = \frac{5}{2}, c4=2c_4 = 2 and c5=74c_5 = \frac{7}{4}.

Shifted index

Definition Suppose ana_n is given by a term formula for integers n≥mn \ge m. The shifted term an+1a_{n+1} is found by replacing every occurrence of nn in the formula by (n+1)(n + 1), keeping the parentheses until you simplify. It is defined for the integers nn with n+1≥mn + 1 \ge m, that is n≥m−1n \ge m - 1. In the same way an−1a_{n-1} comes from replacing every nn by (n−1)(n - 1) and is defined for n≥m+1n \ge m + 1.

In plain words Every nn in the formula moves together. If even one copy is left behind, you have written a different formula, not the next term.

Example Let an=n3n−1a_n = \dfrac{n}{3n - 1} for n≥1n \ge 1. Replacing both copies of nn by (n+1)(n + 1) gives

an+1=(n+1)3(n+1)−1=n+13n+2,n≥0.\begin{aligned} a_{n+1} &= \frac{(n + 1)}{3(n + 1) - 1} \\[0.4em] &= \frac{n + 1}{3n + 2}, \qquad n \ge 0. \end{aligned}

At n=1n = 1 this gives 25\frac{2}{5}, which matches a2=23⋅2−1=25a_2 = \frac{2}{3 \cdot 2 - 1} = \frac{2}{5}. Two tempting mistakes are n+13n−1\frac{n + 1}{3n - 1}, where the denominator was never shifted, and n+13n\frac{n + 1}{3n}, where 11 was added to 3n3n instead of to nn inside it. Powers need the same care. Shifting n2n^2 gives (n+1)2(n + 1)^2, not n2+1n^2 + 1, and shifting 2n2^n gives 2n+12^{n+1}, not 2n+12^n + 1. Expanded, these are

(n+1)2=n2+2n+1and2n+1=2⋅2n.\begin{gathered} (n + 1)^2 = n^2 + 2n + 1 \quad \text{and} \\[0.4em] 2^{n+1} = 2 \cdot 2^n. \end{gathered}

Shifting down works the same way. Replacing nn by (n−1)(n - 1) gives an−1=n−13n−4a_{n-1} = \frac{n - 1}{3n - 4} for n≥2n \ge 2.

Alternating sign

Definition For an integer kk,

(−1)k={1if k is even,−1if k is odd.(-1)^k = \begin{cases} 1 & \text{if } k \text{ is even,} \\ -1 & \text{if } k \text{ is odd.} \end{cases}

A factor (−1)n(-1)^n or (−1)n+1(-1)^{n+1} in a term formula therefore flips the sign from each term to the next. Since (−1)n+1=−(−1)n(-1)^{n+1} = -(-1)^n, the two choices give opposite signs at every index. The parentheses matter, because −1n-1^n means −(1n)=−1-(1^n) = -1 for every nn.

In plain words The power of −1-1 is a sign switch that flips at every step, and the starting index decides whether the list opens with a plus or a minus.

Example Let dn=(−1)nn+1d_n = \dfrac{(-1)^n}{n + 1} for n≥0n \ge 0.

Index nn00112233
Sign (−1)n(-1)^n11−1-111−1-1
Term dnd_n11−12-\frac{1}{2}13\frac{1}{3}−14-\frac{1}{4}

The sign and the denominator change separately, but the term is their product. To write the same list with indices starting at 11, shift the whole formula, which gives (−1)n−1n\frac{(-1)^{n-1}}{n} for n≥1n \ge 1, and (−1)n−1=(−1)n+1(-1)^{n-1} = (-1)^{n+1}.

Consecutive-term ratio

Definition The consecutive-term ratio of an indexed list is

an+1an,\frac{a_{n+1}}{a_n},

defined for each index nn such that nn and n+1n + 1 are both allowed indices and an≠0a_n \ne 0. To simplify it, write out an+1a_{n+1} by the shift above, then divide by multiplying by the reciprocal of ana_n and cancel common nonzero factors.

In plain words The ratio says by what factor you multiply one term to get the next. For a geometric list it is the same number every time, and for most other lists it depends on nn.

Example Let an=(−1)nn3na_n = \dfrac{(-1)^n n}{3^n} for n≥1n \ge 1. All these terms are nonzero, and

an+1an=(−1)n+1(n+1)3n+1⋅3n(−1)nn=−n+13n,n≥1.\begin{aligned} \frac{a_{n+1}}{a_n} &= \frac{(-1)^{n+1}(n + 1)}{3^{n+1}} \cdot \frac{3^n}{(-1)^n n} \\[0.4em] &= -\frac{n + 1}{3n}, \qquad n \ge 1. \end{aligned}

Here (−1)n+1(−1)n=−1\frac{(-1)^{n+1}}{(-1)^n} = -1 and 3n3n+1=13\frac{3^n}{3^{n+1}} = \frac{1}{3}. As a check, a1=−13a_1 = -\frac{1}{3} and a2=29a_2 = \frac{2}{9}, and their ratio is −23-\frac{2}{3}, which matches the formula at n=1n = 1. The minus sign records the alternation. The ratio test in calculus looks at the absolute value n+13n\frac{n + 1}{3n} for large nn. For the geometric list bn=3⋅2nb_n = 3 \cdot 2^n the same work gives the constant ratio 22.

Check yourself

  1. Let an=2n−1n+2a_n = \dfrac{2n - 1}{n + 2} for n≥0n \ge 0. Find the first term, write an+1a_{n+1} and an+1a_n + 1 as single fractions, and evaluate both at n=2n = 2.
Show the answer

The first term is a0=−12a_0 = -\frac{1}{2}. Replacing every nn by (n+1)(n + 1) gives the first expression, and adding 11 to the current term gives the second.

an+1=2(n+1)−1(n+1)+2=2n+1n+3,an+1=3n+1n+2.\begin{aligned} a_{n+1} &= \frac{2(n + 1) - 1}{(n + 1) + 2} = \frac{2n + 1}{n + 3}, \\[0.4em] a_n + 1 &= \frac{3n + 1}{n + 2}. \end{aligned}

At n=2n = 2 the first is a3=1a_3 = 1 and the second is 34+1=74\frac{3}{4} + 1 = \frac{7}{4}.

  1. Write a term formula, with its starting index, for the list 1,−14,19,−116,…1, -\frac{1}{4}, \frac{1}{9}, -\frac{1}{16}, \ldots that starts at index 11.
Show the answer

One formula is an=(−1)n+1n2a_n = \dfrac{(-1)^{n+1}}{n^2} for integers n≥1n \ge 1. At n=1n = 1 the sign factor is (−1)2=1(-1)^2 = 1, so the list opens with +1+1, and each later term flips sign while the denominators run through the squares.

  1. Simplify the consecutive-term ratio of an=(−1)n2nn2+1a_n = \dfrac{(-1)^n 2^n}{n^2 + 1} for n≥0n \ge 0.
Show the answer

Every term is nonzero, and for n≥0n \ge 0

an+1an=(−1)n+12n+1(n+1)2+1⋅n2+1(−1)n2n=−2(n2+1)n2+2n+2.\begin{aligned} \frac{a_{n+1}}{a_n} &= \frac{(-1)^{n+1} 2^{n+1}}{(n + 1)^2 + 1} \cdot \frac{n^2 + 1}{(-1)^n 2^n} \\[0.4em] &= -\frac{2(n^2 + 1)}{n^2 + 2n + 2}. \end{aligned}

At n=0n = 0 this gives −1-1, and indeed a0=1a_0 = 1 and a1=−1a_1 = -1.

How this lesson connects