Chapter 6 ยท Sequence and Series

6.1 Arithmetic and Geometric Progressions

An arithmetic progression adds the same number at every step, a geometric progression multiplies by the same number. Their general terms $a+(n-1)d$ and $ar^{n-1}$, their sums $\tfrac n2(a+l)$ and $\tfrac{a(r^n-1)}{r-1}$, the infinite sum $\tfrac{a}{1-r}$ for $|r|\lt1$, and the means inserted between two numbers are the working tools of this unit.

Two students start revising for JEE Main on the same day. Riya solves $20$ problems on day one and $4$ more each day than the day before: $20, 24, 28, 32,\dots$ Kabir solves just $2$ problems on day one but $10\%$ more each day: $2, 2.2, 2.42, 2.662,\dots$ Who has solved more after a month? After a year? Riya's daily count grows by a fixed amount, Kabir's by a fixed factor. The first kind of list is an arithmetic progression, the second a geometric progression, and the whole difference between steady and explosive growth โ€” simple and compound interest, a staircase and a chain reaction โ€” is the difference between adding and multiplying.

In this section we build both progressions from scratch: their general terms and the properties that make problems short; the sum of the first $n$ terms, with the pairing trick that a schoolboy is said to have used to add $1+2+\dots+100$ in seconds; the surprising fact that infinitely many terms of a geometric progression can add up to a finite number; and finally how to insert arithmetic and geometric means between two given numbers. JEE Main asks one or two questions on this unit in almost every paper, and they are usually quick marks for a candidate who knows the formulas and the symmetric tricks that avoid long algebra.

Sequences, Series and Arithmetic Progressions

๐Ÿ“˜ Definition 6.1 โ€” Sequence, series and partial sums

A sequence is a list of numbers in a definite order, $a_1, a_2, a_3,\dots$; formally, a function from $\mathbb{N}$ (or from $\{1,2,\dots,m\}$ for a finite sequence) to $\mathbb{R}$, with $a_n$ the image of $n$. The number $a_n$ is the $n$-th term, and a formula for $a_n$ in terms of $n$ is the general term.

The expression $a_1+a_2+a_3+\cdots$ is the series of the sequence. Its $n$-th partial sum is $S_n=a_1+a_2+\dots+a_n$.

For example $a_n=n^2$ gives $1,4,9,16,\dots$, and $a_n=(-1)^n$ gives $-1,1,-1,1,\dots$ A sequence need not have a formula at all (the primes $2,3,5,7,11,\dots$ have none), and a sequence may be given by a recurrence: $a_1=a_2=1$, $a_{n+2}=a_{n+1}+a_n$ gives $1,1,2,3,5,8,\dots$ Very often a problem gives you the partial sums and asks for the terms; the next result is the bridge.

๐Ÿ“ Theorem 6.1 โ€” Terms from partial sums

For any sequence with partial sums $S_n$,

$$a_1=S_1\qquad\text{and}\qquad a_n=S_n-S_{n-1}\quad(n\ge2).$$

Proof. $S_n=(a_1+\dots+a_{n-1})+a_n=S_{n-1}+a_n$. $\blacksquare$ The condition $n\ge2$ matters: $S_0$ is not part of the data, so $a_1$ must always be read off as $S_1$.

๐Ÿ“˜ Definition 6.2 โ€” Arithmetic progression (A.P.)

A sequence is an arithmetic progression if the difference between each term and the one before it is the same number $d$, the common difference:

$$a_{n+1}-a_n=d\qquad\text{for every } n.$$

We write $a$ for the first term and, for a finite A.P., $l$ for the last term.

๐Ÿ“ Theorem 6.2 โ€” General term and properties of an A.P.

In an A.P. with first term $a$ and common difference $d$:

  1. $a_n=a+(n-1)d$; the $m$-th term from the end of a finite A.P. with last term $l$ is $l-(m-1)d$, and an A.P. from $a$ to $l$ has $\dfrac{l-a}{d}+1$ terms.
  2. A sequence is an A.P. exactly when $a_n$ is a polynomial of degree at most $1$ in $n$, $a_n=pn+q$; then $d=p$.
  3. Three numbers $x,y,z$ are in A.P. if and only if $2y=x+z$ โ€” the middle one is the average of the other two.
  4. If $p+q=r+s$ then $a_p+a_q=a_r+a_s$. In particular, in a finite A.P. the sum of two terms equidistant from the two ends is always $a+l$.
  5. Adding a constant to every term, or multiplying every term by a constant $k$, gives another A.P. (common difference $d$, or $kd$).

Proof. (1) Going from $a_1$ to $a_n$ takes $n-1$ steps, each adding $d$. Counting back from $l$ is the A.P. with first term $l$ and difference $-d$. If $l=a+(N-1)d$ then $N=\tfrac{l-a}{d}+1$. (2) $a+(n-1)d=dn+(a-d)$ is of the form $pn+q$; conversely $a_n=pn+q$ gives $a_{n+1}-a_n=p$ for every $n$. (3) $y-x=z-y\iff 2y=x+z$. (4) $a_p+a_q=2a+(p+q-2)d$ depends only on $p+q$. Terms equidistant from the ends are $a_k$ and $a_{N+1-k}$, with index sum $N+1=1+N$, so their sum is $a_1+a_N=a+l$. (5) $(a_{n+1}+c)-(a_n+c)=d$ and $ka_{n+1}-ka_n=kd$. $\blacksquare$

โœ๏ธ Example 1 โ€” Working with the general term
For the A.P. $13, 9, 5, 1,\dots$: (a) find the general term and the $20$-th term; (b) which term is $-135$? (c) Find the first negative term and its position. (d) In another A.P., $a_3+a_9=30$. Find $a_6$.
(a) $a=13$, $d=9-13=-4$: $a_n=13+(n-1)(-4)=17-4n$, and $a_{20}=17-80=-63$.
(b) $17-4n=-135\iff 4n=152\iff n=38$. Since $n$ came out a natural number, $-135$ is a term โ€” the $38$-th.
(c) $17-4n\lt0\iff n\gt4.25$, so the first negative term is $a_5=17-20=-3$.
(d) $3+9=6+6$, so by Theorem 6.2(4) $a_3+a_9=2a_6$, and $a_6=15$. We never needed $a$ or $d$.
Check (a) by listing: $13,9,5,1,-3$ โ€” the fifth term is $-3$, matching (c) and $17-4\cdot5$ โœ“.

Which of these sequences is an arithmetic progression?

The Sum of an Arithmetic Progression

To add $1+2+3+\dots+100$, write the sum twice, once forwards and once backwards, and add the two lines column by column: every column gives $1+100=101$, there are $100$ columns, and the total $10100$ is twice the sum. So the sum is $5050$. The same pairing works for every A.P., because of Theorem 6.2(4).

๐Ÿ“ Theorem 6.3 โ€” Sum of the first $n$ terms of an A.P.

For an A.P. with first term $a$, common difference $d$ and $n$-th term $l=a+(n-1)d$,

$$S_n=\frac n2\big(a+l\big)=\frac n2\big[2a+(n-1)d\big].$$

Consequently $S_n$ is a quadratic in $n$ with no constant term, $S_n=An^2+Bn$ with $A=\tfrac d2$; conversely, if $S_n=An^2+Bn$ for all $n$, the sequence is an A.P. with $d=2A$ and $a=A+B$.

Proof. Write $S_n=a_1+a_2+\dots+a_n$ and $S_n=a_n+a_{n-1}+\dots+a_1$. Adding, the $k$-th column is $a_k+a_{n+1-k}=a+l$ by Theorem 6.2(4), so $2S_n=n(a+l)$. Substituting $l=a+(n-1)d$ gives the second form, and expanding: $S_n=\tfrac d2n^2+\left(a-\tfrac d2\right)n$. For the converse, Theorem 6.1 gives $a_1=A+B$ and, for $n\ge2$, $a_n=\big[An^2+Bn\big]-\big[A(n-1)^2+B(n-1)\big]$ $=2An+(B-A)$, which also gives $a_1=A+B$ at $n=1$; this is of the form $pn+q$ with $p=2A$. $\blacksquare$ If a problem gives $S_n=An^2+Bn+C$ with $C\ne0$, then $a_1=S_1$ does not follow the pattern of the later terms, and the sequence is an A.P. only from the second term on.

๐Ÿงญ Problem-solving strategy โ€” choosing the unknown terms

When a problem says "three (or four, or five) numbers in A.P." and gives their sum, take the terms symmetric about the middle so that $d$ cancels from the sum:

  • three terms: $a-d,\ a,\ a+d$ (sum $3a$);
  • four terms: $a-3d,\ a-d,\ a+d,\ a+3d$ (sum $4a$; the common difference is $2d$);
  • five terms: $a-2d,\ a-d,\ a,\ a+d,\ a+2d$ (sum $5a$).

The sum then gives $a$ at once, and the second condition (a product or a sum of squares) gives $d$.

โœ๏ธ Example 2 โ€” Adding up an A.P.
(a) Find the sum of all three-digit numbers divisible by $7$. (b) Find the sum of the natural numbers from $1$ to $100$ that are not divisible by $5$. (c) The sum of the first $n$ terms of a sequence is $S_n=2n^2+5n$. Find its general term and show that it is an A.P.
Find the sum in (a) before you open the solution:
(a) Ends $7\times14=98$ is two-digit and $7\times15=105$ is the first three-digit multiple; $7\times142=994$ is the last ($7\times143=1001$). Number of terms: $\dfrac{994-105}{7}+1=127+1=128$.
(a) Sum $S=\dfrac{128}{2}(105+994)=64\times1099=70336$.
(b) All: $\tfrac{100\cdot101}{2}=5050$. Multiples of $5$: $5+10+\dots+100=5(1+\dots+20)=5\times210=1050$. Required sum: $5050-1050=4000$.
(c) $a_1=S_1=7$; for $n\ge2$, $a_n=(2n^2+5n)-\big(2(n-1)^2+5(n-1)\big)=4n+3$, which also gives $7$ at $n=1$. So $a_n=4n+3$: an A.P. with $d=4$ โ€” exactly $2A$ with $A=2$, as Theorem 6.3 predicts.
Check (c): $7+11+15=33$ and $S_3=18+15=33$ โœ“.

Take the A.P. with $a=2$, $d=3$ and $n=10$ terms. Stack a reversed copy of the staircase on top of the original. How tall is every column, and what is $S_{10}$?

Set $a=2$, $d=3$, $n=10$ and press Play. The red staircase is $2,5,8,\dots,29$ and the blue copy is the same staircase upside down, so every column is $a+l=2+29=31$ tall: the readouts show $l=29$, column $a+l=31$, rectangle $n(a+l)=310$ and $S_{10}=155$. The rectangle holds the A.P. twice โ€” that is why we halve it. $29$ is only the last term, and $310$ forgets to halve.
Interactive 1 โ€” The A.P. Staircase: Reverse and Add

Each red column is one term of the A.P. $a, a+d, \dots, l$ โ€” a staircase. Press Play: a blue copy of the staircase, turned upside down, drops onto it. Every column then has the same height $a+l$, so the two copies fill an $n\times(a+l)$ rectangle and $S_n=\tfrac n2(a+l)$. Change $a$, $d$ and $n$ โ€” the columns always come out level. (For a negative $d$ the number of terms is limited so that every term stays $\ge0$.)

2310
last term $l$โ€”
column $a+l$โ€”
rectangle $n(a+l)$โ€”
$S_n$โ€”
โœ๏ธ Example 3 โ€” Hard example: ratio of sums, symmetric terms, equidistant terms
(a) The sums of the first $n$ terms of two A.P.s are in the ratio $(7n+1):(4n+27)$ for every $n$. Find the ratio of their $11$-th terms. (b) Three numbers in A.P. have sum $24$ and product $440$. Find them. (c) In an A.P., $a_4+a_8+a_{12}+a_{16}=224$. Find $S_{19}$.
(a) Idea For an A.P., $S_{2m-1}=\dfrac{2m-1}{2}\big(a_1+a_{2m-1}\big)=(2m-1)\,a_m$, because $a_1+a_{2m-1}=2a_m$. So the $m$-th term is the average of the first $2m-1$ terms, and
(a) Ratio $\dfrac{a_m}{b_m}=\dfrac{S_{2m-1}}{S'_{2m-1}}$. With $m=11$, put $n=21$: $\dfrac{7\cdot21+1}{4\cdot21+27}=\dfrac{148}{111}=\dfrac43$. The ratio is $4:3$.
(b) Take $a-d,\ a,\ a+d$. Sum $3a=24$, so $a=8$. Product $8(64-d^2)=440$, so $64-d^2=55$ and $d=\pm3$. The numbers are $5, 8, 11$ (either order).
(c) Index sums: $4+16=8+12=20=1+19$. So $a_4+a_{16}=a_8+a_{12}=a_1+a_{19}$, and $224=2(a_1+a_{19})$ gives $a_1+a_{19}=112$. Then $S_{19}=\tfrac{19}{2}\times112=1064$.
โฑ Shortcut In (a), "ratio of $m$-th terms" $\Rightarrow$ replace $n$ by $2m-1$ in the ratio of sums. Conversely, if the ratio of the $n$-th terms is given, the ratio of sums is found by replacing $n$ by $\tfrac{n+1}{2}$.

The sum of the first $n$ terms of a sequence is $S_n=4n^2-3n$. Then $a_{10}$ equals

Geometric Progressions and Infinite Geometric Series

๐Ÿ“˜ Definition 6.3 โ€” Geometric progression (G.P.)

A sequence of non-zero numbers is a geometric progression if the ratio of each term to the one before it is the same number $r$, the common ratio:

$$\frac{a_{n+1}}{a_n}=r\qquad\text{for every } n,\qquad a\ne0,\ r\ne0.$$
๐Ÿ“ Theorem 6.4 โ€” General term and properties of a G.P.

In a G.P. with first term $a$ and common ratio $r$:

  1. $a_n=ar^{n-1}$.
  2. Three non-zero numbers $x,y,z$ are in G.P. if and only if $y^2=xz$.
  3. If $p+q=r'+s$ then $a_pa_q=a_{r'}a_s$; in a finite G.P. the product of two terms equidistant from the ends is always $a\,l$.
  4. Multiplying every term by a non-zero constant, taking reciprocals, or raising every term to a fixed power gives another G.P. (ratios $r$, $\tfrac1r$, $r^k$).
  5. If all terms are positive, $\log a_1,\log a_2,\dots$ is an A.P. with common difference $\log r$.

Proof. (1) $n-1$ steps, each multiplying by $r$. (2) $\tfrac yx=\tfrac zy\iff y^2=xz$. (3) $a_pa_q=a^2r^{p+q-2}$ depends only on $p+q$. (4) $\tfrac{1/a_{n+1}}{1/a_n}=\tfrac1r$ and $\tfrac{a_{n+1}^k}{a_n^k}=r^k$. (5) $\log a_{n+1}-\log a_n=\log\tfrac{a_{n+1}}{a_n}=\log r$. $\blacksquare$ Property (5) is the reason G.P.s and A.P.s are "the same idea at different levels": logarithms turn multiplication into addition. For three or four numbers in G.P. with a given product, the symmetric choice is $\tfrac ar,\ a,\ ar$ or $\tfrac a{r^3},\ \tfrac ar,\ ar,\ ar^3$ โ€” the product then gives $a$ at once.

๐Ÿ“ Theorem 6.5 โ€” Sum of the first $n$ terms of a G.P.

For the G.P. $a+ar+\dots+ar^{n-1}$,

$$S_n=\frac{a\,(r^n-1)}{r-1}=\frac{a\,(1-r^n)}{1-r}\qquad(r\ne1),$$ $$S_n=na\qquad(r=1).$$

Proof. Multiply $S_n=a+ar+\dots+ar^{n-1}$ by $r$: $rS_n=ar+ar^2+\dots+ar^n$. Subtracting, everything cancels except the two ends: $rS_n-S_n=ar^n-a$, so $(r-1)S_n=a(r^n-1)$. If $r\ne1$ divide by $r-1$. If $r=1$ all $n$ terms equal $a$. $\blacksquare$ The two forms are the same fraction; use $\tfrac{r^n-1}{r-1}$ when $r\gt1$ and $\tfrac{1-r^n}{1-r}$ when $r\lt1$, so that both numerator and denominator are positive.

Now let $n$ grow. If $|r|\lt1$, the powers $r^n$ shrink towards $0$ โ€” each one is a fixed fraction of the one before, as with $\tfrac12,\tfrac14,\tfrac18,\dots$ โ€” so $S_n=\tfrac{a(1-r^n)}{1-r}$ settles down to $\tfrac a{1-r}$.

๐Ÿ“ Theorem 6.6 โ€” Sum of an infinite G.P.

If $|r|\lt1$, the partial sums of $a+ar+ar^2+\cdots$ approach a finite limit, the sum to infinity:

$$S_\infty=\frac{a}{1-r}\qquad(-1\lt r\lt1).$$

If $|r|\ge1$ (and $a\ne0$), the partial sums do not approach any finite number, and the infinite G.P. has no sum.

Why. $S_\infty-S_n=\dfrac{a}{1-r}-\dfrac{a(1-r^n)}{1-r}=\dfrac{a\,r^n}{1-r}$, and $|r|^n\to0$ when $|r|\lt1$, so the gap closes. If $r=1$, $S_n=na$ grows without bound; if $r=-1$, $S_n$ jumps between $a$ and $0$ for ever; if $|r|\gt1$ the terms themselves grow in size, so the sums cannot settle. $\blacksquare$ A neat use: every recurring decimal is an infinite G.P., so every recurring decimal is a fraction.

โœ๏ธ Example 4 โ€” G.P. sums, finite and infinite
(a) Write $0.2\overline{45}=0.2454545\ldots$ as a fraction in lowest terms. (b) A ball is dropped from a height of $10\ \text{m}$. Each time it hits the floor it rebounds to $\tfrac35$ of the height from which it fell. Find the total distance it travels before coming to rest. (c) The second term of a G.P. is $6$ and the fifth is $162$. Find the sum of the first six terms.
Find the total distance in (b), in metres:
(a) $0.2\overline{45}=\dfrac{2}{10}+\dfrac{45}{10^3}+\dfrac{45}{10^5}+\cdots$. After the first term, a G.P. with first term $\tfrac{45}{1000}$ and $r=\tfrac1{100}$: its sum is $\dfrac{45/1000}{99/100}=\dfrac{45}{990}=\dfrac1{22}$. Total $\dfrac15+\dfrac1{22}=\dfrac{27}{110}$.
(b) Model Rebound heights: $6, 3.6, 2.16,\dots\ \text{m}$ โ€” a G.P. with $a=6$, $r=\tfrac35$, sum $\dfrac{6}{1-3/5}=15\ \text{m}$. Each is travelled up and down.
(b) Total $10+2\times15=40\ \text{m}$. (The ball bounces infinitely often in this model, yet travels a finite distance.)
(c) $\dfrac{a_5}{a_2}=r^3=\dfrac{162}{6}=27$, so $r=3$ and $a=\dfrac63=2$. $S_6=\dfrac{2(3^6-1)}{3-1}=729-1=728$.
Check (a): $27\div110=0.24545\ldots$ โœ“. (c): $2+6+18+54+162+486=728$ โœ“.
โœ๏ธ Example 5 โ€” Symmetric G.P. terms and ratios of sums
(a) Three numbers in G.P. have product $216$ and sum $19$. Find them. (b) The sum of the first six terms of a G.P. is $9$ times the sum of its first three terms. Find the common ratio. (c) The fourth term of a G.P. is $3$. Find the product of its first seven terms.
(a) Take $\tfrac a r,\ a,\ ar$: product $a^3=216$, so $a=6$. Sum $\tfrac6r+6+6r=19$ gives $6r^2-13r+6=0$, $(2r-3)(3r-2)=0$, $r=\tfrac32$ or $\tfrac23$. Either way the numbers are $4, 6, 9$.
(b) $\dfrac{S_6}{S_3}=\dfrac{r^6-1}{r^3-1}=r^3+1$ (for $r\ne1$). So $r^3+1=9$, $r^3=8$, $r=2$. ($r=1$ is impossible: it would give $S_6=2S_3$.)
(c) By Theorem 6.4(3), $a_1a_7=a_2a_6=a_3a_5=a_4^2$. So the product is $a_4^2\cdot a_4^2\cdot a_4^2\cdot a_4=a_4^7=3^7=2187$.
Check (a) $4\cdot6\cdot9=216$, $4+6+9=19$ โœ“. (c) with $r=2$: $a=\tfrac38$, terms $\tfrac38,\tfrac34,\tfrac32,3,6,12,24$, product $2187$ โœ“ โ€” the answer does not depend on $r$.

Take $a=1$ and $r=-\tfrac12$: $1-\tfrac12+\tfrac14-\tfrac18+\cdots$. What do the partial sums $S_n$ do as $n$ grows?

Set $a=1$ and drag $r$ to $-0.5$, then press Play. The dots go $S_1=1$, $S_2=0.5$, $S_3=0.75$, $S_4=0.625$, $S_5=0.6875,\dots$ โ€” alternately above and below the dashed line $S_\infty=\tfrac{1}{1-(-1/2)}=\tfrac23\approx0.6667$, and the gap halves at every step. $2$ is the sum for $r=+\tfrac12$. The terms alternate in sign, but because $|r|\lt1$ they shrink, so the sums still settle.
Interactive 2 โ€” Partial Sums of a G.P.: Settle or Escape?

The dots are the partial sums $S_1, S_2, S_3,\dots$ of $a+ar+ar^2+\cdots$, added one term at a time when you press Play. When $|r|\lt1$ the dashed green line marks $S_\infty=\tfrac a{1-r}$ and the gap $\left|\tfrac{ar^n}{1-r}\right|$ shrinks by the factor $|r|$ at every step. Try $r$ near $1$ (slow), negative $r$ (zig-zag), $r=\pm1$ and $|r|\gt1$ (no sum).

10.5
$n$โ€”
$S_n$โ€”
$S_\infty$โ€”
gap $|S_\infty-S_n|$โ€”

The sum to infinity of $1-\tfrac13+\tfrac19-\tfrac1{27}+\cdots$ is

Inserting Arithmetic and Geometric Means

"Insert three numbers between $2$ and $18$ so that the five numbers form an A.P." means: find an A.P. whose first term is $2$ and fifth term is $18$. The numbers put in are called means, because the single number inserted between two numbers is their average of the matching kind.

๐Ÿ“˜ Definition 6.4 โ€” Arithmetic means

The arithmetic mean (A.M.) of two numbers $a$ and $b$ is $A=\dfrac{a+b}{2}$; it is the number for which $a, A, b$ is an A.P. More generally, $A_1, A_2,\dots,A_n$ are $n$ arithmetic means between $a$ and $b$ if $a, A_1, A_2,\dots,A_n, b$ is an A.P.

๐Ÿ“˜ Definition 6.5 โ€” Geometric means

The geometric mean (G.M.) of two positive numbers $a$ and $b$ is $G=\sqrt{ab}$; it is the positive number for which $a, G, b$ is a G.P. More generally, $G_1,\dots,G_n$ are $n$ geometric means between $a$ and $b$ if $a, G_1,\dots,G_n, b$ is a G.P.

๐Ÿ“ Theorem 6.7 โ€” Inserting $n$ means between $a$ and $b$

Arithmetic: the common difference is $d=\dfrac{b-a}{n+1}$, the $k$-th mean is $A_k=a+k\,\dfrac{b-a}{n+1}$, and

$$A_1+A_2+\dots+A_n=n\cdot\frac{a+b}{2}.$$

Geometric ($a,b\gt0$): the common ratio is $r=\left(\dfrac ba\right)^{1/(n+1)}$, the $k$-th mean is $G_k=a\,r^k$, and

$$G_1G_2\cdots G_n=\left(\sqrt{ab}\right)^n.$$

Proof. With the means inserted there are $n+2$ terms, $b$ being the $(n+2)$-th: $b=a+(n+1)d$ and $b=ar^{n+1}$. Solve for $d$ and $r$. The means $A_1,\dots,A_n$ are themselves an A.P. with first term $A_1$ and last $A_n$, and $A_1+A_n=a+b$ (equidistant from the ends of the long A.P.), so by Theorem 6.3 their sum is $\tfrac n2(a+b)$. Likewise $G_kG_{n+1-k}=ab$ for every $k$ (Theorem 6.4(3)), so the product of the $n$ means is $(ab)^{n/2}$. $\blacksquare$ The sum of $n$ A.M.s is $n$ times the single A.M., and the product of $n$ G.M.s is the $n$-th power of the single G.M. โ€” the fastest way to answer most "means" questions. (If $a$ and $b$ are allowed to be negative, or $n+1$ is even, $r$ can also be the negative root; JEE Main questions on geometric means normally mean the positive ones.)

โœ๏ธ Example 6 โ€” Hard example: means with a condition
(a) Some arithmetic means are inserted between $7$ and $71$, and the fifth of them is $27$. How many means were inserted, and what is their sum? (b) Insert four geometric means between $2$ and $486$, and check the product formula. (c) Two A.M.s $A_1, A_2$ and two G.M.s $G_1, G_2$ are inserted between the same positive numbers $a$ and $b$. Show that $\dfrac{A_1+A_2}{G_1G_2}=\dfrac1a+\dfrac1b$, and check it for $a=2$, $b=16$.
Find the number of means in (a):
(a) $d$ $A_5=7+5d=27$ gives $d=4$.
(a) $n$ $71=7+(n+1)\cdot4$ gives $n+1=16$, so $n=15$ means: $11, 15, \dots, 67$. Their sum: $15\times\dfrac{7+71}{2}=15\times39=585$.
(b) $r^5=\dfrac{486}{2}=243=3^5$, so $r=3$: the means are $6, 18, 54, 162$. Product: $6\cdot18\cdot54\cdot162=944784$, and $\left(\sqrt{2\cdot486}\right)^4=972^2=944784$ โœ“.
(c) $A_1+A_2=a+b$ (Theorem 6.7 with $n=2$) and $G_1G_2=\left(\sqrt{ab}\right)^2=ab$. So the ratio is $\dfrac{a+b}{ab}=\dfrac1a+\dfrac1b$. $\blacksquare$
Check $a=2$, $b=16$: $d=\tfrac{14}{3}$, $A_1+A_2=\tfrac{20}{3}+\tfrac{34}{3}=18$; $r=2$, $G_1G_2=4\cdot8=32$; $\tfrac{18}{32}=\tfrac9{16}=\tfrac12+\tfrac1{16}$ โœ“.
โš ๏ธ JEE Main traps

1. Off by one. $a_n=a+(n-1)d$, not $a+nd$. From $a$ to $l$ there are $\tfrac{l-a}{d}+1$ terms (from $105$ to $994$ in steps of $7$: $128$, not $127$). Inserting $n$ means makes $n+2$ terms, so $d=\tfrac{b-a}{n+1}$ โ€” not $\tfrac{b-a}{n}$.

2. $a_n=S_n-S_{n-1}$ only for $n\ge2$. Always find $a_1=S_1$ separately. If $S_n$ has a constant term, the first term breaks the pattern.

3. The sum to infinity needs $|r|\lt1$. $1+2+4+\cdots$ has no sum, although $\tfrac{a}{1-r}=-1$ "comes out". For negative $r$ watch the sign: $\tfrac{a}{1-r}$ with $r=-\tfrac12$ is $\tfrac{a}{3/2}$.

4. $r=1$ and the two forms of $S_n$. The G.P. sum formula divides by $r-1$; when $r$ might be $1$ (an unknown ratio), treat that case separately ($S_n=na$).

5. Choose symmetric unknowns. Three terms in A.P.: $a-d, a, a+d$; in G.P.: $\tfrac ar, a, ar$. Starting from $a, a+d, a+2d$ turns a ten-second question into a two-minute one.

Five arithmetic means are inserted between $2$ and $20$. The common difference of the resulting A.P. is

Exercises

A.P. = arithmetic progression, G.P. = geometric progression. Geometric means are taken positive unless a part says otherwise.

I
Sequences and arithmetic progressions.
  • 1 Write the first four terms and the $10$-th term of $a_n=(-1)^n(2n+1)$.
  • 2 The sum of the first $n$ terms of a sequence is $n^2+4n$. Find $a_1$ and $a_n$, and show that the sequence is an A.P.
  • 3 Find the $25$-th term of the A.P. $11, 8, 5,\dots$
  • 4 Which term of the A.P. $4, 11, 18,\dots$ is $368$?
  • 5 Is $500$ a term of the A.P. $3, 8, 13,\dots$? Which is the first term of this A.P. that exceeds $500$?
  • 6 The $7$-th term of an A.P. is $34$ and the $15$-th term is $74$. Find the first term and the $30$-th term.
  • 7 Find the $10$-th term from the end of the A.P. $5, 9, 13,\dots,201$.
  • 8 The $p$-th term of an A.P. is $q$ and its $q$-th term is $p$ ($p\ne q$). Show that its $(p+q)$-th term is $0$.
  • 9 How many three-digit numbers leave remainder $2$ when divided by $7$?
  • 10 Three numbers in A.P. have sum $15$ and the sum of their squares is $83$. Find them.
1 $-3, 5, -7, 9$; $\ a_{10}=(+1)(21)=21$.
2 $a_1=S_1=5$; for $n\ge2$, $a_n=n^2+4n-(n-1)^2-4(n-1)=2n+3$, which gives $5$ at $n=1$ too. $a_n=2n+3$ is linear in $n$: an A.P. with $d=2$.
3 $a=11$, $d=-3$: $a_{25}=11+24(-3)=-61$.
4 $4+7(n-1)=368\iff n-1=52\iff n=53$.
5 $3+5(n-1)=500$ needs $5(n-1)=497$, not a multiple of $5$: no. Every term leaves remainder $3$ on division by $5$; the first one above $500$ is $503=3+5\cdot100$, the $101$-st term.
6 $8d=74-34=40$, $d=5$, $a=34-6\cdot5=4$; $a_{30}=4+29\cdot5=149$.
7 Count back from $l=201$ with step $4$: $201-9\cdot4=165$.
8 $a+(p-1)d=q$ and $a+(q-1)d=p$. Subtracting: $(p-q)d=q-p$, so $d=-1$ and $a=q+p-1$. Then $a_{p+q}=a+(p+q-1)d=(p+q-1)-(p+q-1)=0$. $\blacksquare$
9 They are $100, 107,\dots,996$ ($100=7\cdot14+2$, $996=7\cdot142+2$): $\tfrac{996-100}{7}+1=129$.
10 $5-d, 5, 5+d$ (sum $15$). Squares: $75+2d^2=83$, $d=\pm2$: the numbers are $3, 5, 7$.
II
Sums of arithmetic progressions.
  • 1 Find the sum of the first $40$ terms of $2, 7, 12,\dots$
  • 2 Find the sum of all two-digit odd numbers.
  • 3 How many terms of the A.P. $24, 21, 18,\dots$ must be taken to make the sum $78$? Explain why there are two answers.
  • 4 Find the sum of all natural numbers between $100$ and $400$ that are divisible by $6$.
  • 5 The sum of the first $n$ terms of an A.P. is $3n^2-n$. Find its general term and its $12$-th term.
  • 6 The sums of the first $n$ terms of two A.P.s are in the ratio $(3n+8):(7n+15)$. Find the ratio of their $12$-th terms.
  • 7 The sum of the first $p$ terms of an A.P. equals the sum of its first $q$ terms ($p\ne q$). Show that the sum of its first $p+q$ terms is $0$.
  • 8 A candidate solves $20$ problems on the first day of revision and $4$ more on each day than on the day before. (a) How many does she solve on day $15$? (b) After how many days does her total reach $1160$?
1 $S_{40}=\tfrac{40}{2}\big(4+39\cdot5\big)=20\times199=3980$.
2 $11, 13,\dots,99$: $\tfrac{99-11}{2}+1=45$ terms, sum $\tfrac{45}{2}(11+99)=2475$.
3 $\tfrac n2\big(48-3(n-1)\big)=78\iff 3n^2-51n+156=0\iff n^2-17n+52=0\iff n=4$ or $n=13$. Both are right: the terms $a_5,\dots,a_{13}$ are $12, 9, 6, 3, 0, -3, -6, -9, -12$, which add up to $0$.
4 $102, 108,\dots,396$: $\tfrac{396-102}{6}+1=50$ terms, sum $25\times498=12450$.
5 $a_n=S_n-S_{n-1}=6n-4$ (and $a_1=S_1=2$ fits); $a_{12}=68$.
6 Replace $n$ by $2\cdot12-1=23$: $\tfrac{3\cdot23+8}{7\cdot23+15}=\tfrac{77}{176}=\tfrac7{16}$, so $7:16$.
7 $S_n=An^2+Bn$. $Ap^2+Bp=Aq^2+Bq$ gives $(p-q)\big(A(p+q)+B\big)=0$, so $A(p+q)+B=0$, and $S_{p+q}=(p+q)\big(A(p+q)+B\big)=0$. $\blacksquare$
8 (a) $20+14\cdot4=76$. (b) $S_n=\tfrac n2\big(40+4(n-1)\big)=2n^2+18n=1160\iff n^2+9n-580=0\iff(n-20)(n+29)=0$: $n=20$ days.
III
Geometric progressions and infinite G.P.s.
  • 1 Find the $8$-th term of the G.P. $3, -6, 12,\dots$
  • 2 Which term of the G.P. $2, 6, 18,\dots$ is $1458$?
  • 3 The $3$-rd term of a G.P. is $12$ and its $6$-th term is $-96$. Find its $10$-th term.
  • 4 Find the sum of the first $8$ terms of $5, 10, 20,\dots$
  • 5 How many terms of the G.P. $3, 6, 12,\dots$ must be added to give $765$?
  • 6 Find the sum of the first $n$ terms of $0.6+0.66+0.666+\cdots$
  • 7 Find the sum to infinity of $16-8+4-2+\cdots$
  • 8 Write $1.2\overline{3}=1.2333\ldots$ as a fraction.
  • 9 An infinite G.P. has first term $5$ and sum $15$. Find its common ratio and the sum of the squares of its terms.
  • 10 A town of $50\,000$ people grows by $4\%$ every year. Find its population after $5$ years (to the nearest hundred), and the first year in which it exceeds $70\,000$.
1 $r=-2$: $a_8=3(-2)^7=-384$.
2 $2\cdot3^{n-1}=1458\iff3^{n-1}=729=3^6\iff n=7$.
3 $r^3=\tfrac{-96}{12}=-8$, $r=-2$, $a=\tfrac{12}{4}=3$; $a_{10}=3(-2)^9=-1536$.
4 $S_8=\tfrac{5(2^8-1)}{2-1}=1275$.
5 $3(2^n-1)=765\iff2^n=256\iff n=8$.
6 $0.66\ldots6$ ($k$ sixes) $=\tfrac69\left(1-10^{-k}\right)$. So $S_n=\tfrac23\Big[n-\big(\tfrac1{10}+\dots+\tfrac1{10^n}\big)\Big]$ $=\tfrac23n-\tfrac2{27}\left(1-10^{-n}\right)$. (Check $n=2$: $1.26$ โœ“.)
7 $a=16$, $r=-\tfrac12$: $\tfrac{16}{3/2}=\tfrac{32}3$.
8 $1+\tfrac2{10}+\tfrac{3/100}{1-1/10}=\tfrac{12}{10}+\tfrac1{30}=\tfrac{37}{30}$.
9 $\tfrac5{1-r}=15\Rightarrow r=\tfrac23$. The squares $25, 25\cdot\tfrac49,\dots$ form a G.P. with ratio $r^2=\tfrac49$: sum $\tfrac{25}{1-4/9}=45$.
10 $50\,000\times1.04^5\approx60\,833$, about $60\,800$ people. $1.04^n\gt1.4\iff n\gt\tfrac{\log1.4}{\log1.04}\approx8.58$: during the $9$-th year ($1.04^8\approx1.369$, $1.04^9\approx1.423$).
IV
Inserting means, and mixed problems.
  • 1 Insert four arithmetic means between $3$ and $23$.
  • 2 Insert three geometric means between $\tfrac19$ and $9$. What other set of three real numbers would also do, if negative means were allowed?
  • 3 The A.M. of two numbers is $17$ and one of them is $9$. Find the other number and the G.M. of the two.
  • 4 Some arithmetic means are inserted between $5$ and $50$, and their sum is $330$. How many?
  • 5 Find the product of the six geometric means inserted between $2$ and $256$.
  • 6 If $a, b, c$ are in G.P., show that $\dfrac1{a+b},\ \dfrac1{2b},\ \dfrac1{b+c}$ are in A.P.
  • 7 Find the sum of the first $n$ terms of $5+55+555+\cdots$, and evaluate it for $n=4$.
  • 8 The $2$-nd, $3$-rd and $6$-th terms of an A.P. with non-zero common difference are three consecutive terms of a G.P. Find the common ratio of the G.P.
  • 9 A pendulum swings through an arc of $30\ \text{cm}$; each later swing is $\tfrac45$ of the one before. How far does the bob travel in total before it comes to rest?
1 $d=\tfrac{23-3}{5}=4$: $7, 11, 15, 19$.
2 $r^4=81$, $r=\pm3$. Positive: $\tfrac13, 1, 3$. With $r=-3$: $-\tfrac13, 1, -3$ (also a G.P. from $\tfrac19$ to $9$).
3 $9+x=34$, $x=25$; G.M. $=\sqrt{9\cdot25}=15$.
4 $n\cdot\tfrac{5+50}{2}=330\iff n=12$.
5 $\left(\sqrt{2\cdot256}\right)^6=512^3=2^{27}=134\,217\,728$. (The means are $4, 8,\dots,128$.)
6 $\tfrac1{a+b}+\tfrac1{b+c}=\tfrac{a+2b+c}{ab+ac+b^2+bc}$. With $ac=b^2$ the denominator is $ab+2b^2+bc=b(a+2b+c)$, so the sum is $\tfrac1b=2\cdot\tfrac1{2b}$ โ€” the middle term is the average of the other two. $\blacksquare$
7 $55\ldots5$ ($k$ fives) $=\tfrac59(10^k-1)$, so $S_n=\tfrac59\left[\tfrac{10(10^n-1)}{9}-n\right]=\tfrac{5}{81}\left(10^{n+1}-10\right)-\tfrac{5n}{9}$. For $n=4$: $5+55+555+5555=6170$ โœ“.
8 $(a+2d)^2=(a+d)(a+5d)\iff 4ad+4d^2=6ad+5d^2\iff d(2a+d)=0$, so $d=-2a$. The terms are $-a, -3a, -9a$: ratio $3$.
9 $30+24+19.2+\cdots=\tfrac{30}{1-4/5}=150\ \text{cm}$.
๐ŸŽฏ Exam corner JEE Main ยท MCQJEE Main ยท Numerical

E1. JEE Main ยท MCQ The sum of the first $10$ terms of an A.P. is $145$ and the sum of the next $10$ terms is $445$. The $15$-th term of the A.P. is (A) $40$ (B) $43$ (C) $46$ (D) $44.5$

Equations $S_{10}=5(2a+9d)=145$ and $S_{20}=145+445=590=10(2a+19d)$: $2a+9d=29$, $2a+19d=59$.
Solve $10d=30$, $d=3$, $a=1$; $a_{15}=1+14\cdot3=43$.
Answer (B) $43$.
โฑ Shortcut Each of the next ten terms is $10d$ bigger than its partner in the first ten, so $445-145=100d$ and $d=3$. The average of the first ten terms, $14.5$, sits halfway between $a_5$ and $a_6$ ("position $5.5$"), and $a_{15}$ is $9.5$ steps further on: $14.5+9.5\times3=43$.

E2. JEE Main ยท Numerical An infinite G.P. has sum $12$, and the sum of the squares of its terms is $48$. Find its first term. Give the answer to the nearest integer.

Equations $\dfrac{a}{1-r}=12$ and, since the squares form a G.P. with ratio $r^2$, $\dfrac{a^2}{1-r^2}=48$.
Divide $\dfrac{a^2}{(1-r)(1+r)}\Big/\dfrac a{1-r}=\dfrac a{1+r}=4$. So $12(1-r)=4(1+r)$, $r=\tfrac12$, $a=6$.
Answer $6$.
Check $6+3+1.5+\cdots=12$ and $36+9+2.25+\cdots=\tfrac{36}{3/4}=48$ โœ“.

E3. JEE Main ยท MCQ Let $A$ be the sum of the $9$ arithmetic means inserted between $2$ and $32$, and $G$ the product of the $4$ positive geometric means inserted between $1$ and $1024$. Then $A+\log_2G$ equals (A) $163$ (B) $168$ (C) $173$ (D) $178$

A.M.s Theorem 6.7: $A=9\times\dfrac{2+32}{2}=153$.
G.M.s $G=\left(\sqrt{1\cdot1024}\right)^4=32^4=2^{20}$, so $\log_2G=20$. (The means are $4, 16, 64, 256$.)
Answer (C) $153+20=173$.
โฑ Shortcut Never find the individual means: sum of $n$ A.M.s $=n\times$(single A.M.), product of $n$ G.M.s $=$ (single G.M.)$^n$.

E4. JEE Main ยท Numerical Find the number of terms common to the two A.P.s $3, 7, 11,\dots$ and $2, 5, 8,\dots$, each taken up to its $100$-th term. Give the answer to the nearest integer.

Ranges First A.P.: $3,\dots,3+99\cdot4=399$. Second: $2,\dots,2+99\cdot3=299$. Common terms are at most $299$.
Common A.P. The first common term is $11$ (list: $3,7,11$ and $2,5,8,11$). Common terms form an A.P. with difference $\operatorname{lcm}(4,3)=12$: $11, 23, 35,\dots$
Count $11+12(k-1)\le299\iff k-1\le24$, so $k=25$.
Answer $25$.

E5. JEE Main ยท MCQ The $3$-rd, $6$-th and $12$-th terms of an A.P. with non-zero common difference are three consecutive terms of a G.P. The common ratio of the G.P. is (A) $2$ (B) $\tfrac32$ (C) $3$ (D) $\tfrac52$

Condition $(a+5d)^2=(a+2d)(a+11d)\iff10ad+25d^2=13ad+22d^2\iff3d^2=3ad$, so $a=d$ (as $d\ne0$).
Terms $a+2d=3d$, $a+5d=6d$, $a+11d=12d$: ratio $2$.
Answer (A) $2$.
โฑ Shortcut The ratio is also $\dfrac{a_{12}-a_6}{a_6-a_3}=\dfrac{6d}{3d}=2$ โ€” differences of G.P. terms are in the same G.P. ratio, and A.P. differences are multiples of $d$.

E6. JEE Main ยท Numerical The sum of the first $n$ terms of a sequence is $S_n=3n^2+5n$ for every $n\in\mathbb{N}$. Find its $20$-th term. Give the answer to the nearest integer.

Difference $a_{20}=S_{20}-S_{19}=(1200+100)-(1083+95)=1300-1178$.
Answer $122$.
โฑ Shortcut $S_n=An^2+Bn$ is an A.P. with $d=2A=6$ and $a=A+B=8$: $a_n=6n+2$, $a_{20}=122$. Or: $a_n=A(2n-1)+B$.
๐Ÿ”ฌ Researchโ€“Teaching NexusResearch-tutored ยท optional, about 45 minutes

Research question. A patient takes the same dose of a medicine at regular intervals, and between doses the body removes a fixed fraction of what is present. Does the amount of medicine in the body keep rising, or does it level off โ€” and how many doses does it take to get close to that level?

Why it matters. Doctors choose dose sizes and intervals so that the level of a drug stays inside a "therapeutic window": high enough to work, low enough to be safe. The same mathematics describes caffeine from daily cups of tea, a pollutant released into a lake every year, and a savings account with regular deposits. In every case the amount after the $n$-th dose is a partial sum of a geometric progression.

What to do.

  1. Model: a dose of $D$ mg is taken every $T$ hours, and a fraction $f$ ($0\lt f\lt1$) of the drug present survives each interval. Show that just after the $n$-th dose the body holds $D(1+f+f^2+\dots+f^{n-1})=D\,\dfrac{1-f^n}{1-f}$ mg, and that the long-run level is $\dfrac{D}{1-f}$.
  2. Many drugs halve in a fixed time, the half-life $h$; then $f=\left(\tfrac12\right)^{T/h}$. Take $D=500$ mg and $h=6$ hours, and compare $T=4$, $6$, $8$ and $12$ hours: find the long-run peak level for each.
  3. For each schedule, find the least $n$ with $f^n\le0.1$ โ€” the number of doses needed to reach $90\%$ of the long-run level. Why does it depend only on $T/h$, and not on $D$?
  4. The level just before each dose is $f$ times the level just after the previous one. Plot both the peak and the trough levels for the first $10$ doses of one schedule.

Tools: A calculator or spreadsheet (one column for $n$, one for $f^n$, one for the level).

Hand in: Your derivation from step 1, a table of long-run peak and trough levels for the four schedules, the number of doses to reach $90\%$, and a short recommendation of which schedule keeps the level between $600$ and $1200$ mg.

Going further. Doctors sometimes give a larger first "loading dose" so that the long-run level is reached at once. What should the first dose be, in terms of $D$ and $f$? (Hint: make the first amount equal to the long-run peak.)

Instructor note: with $h=6$ and $T=6$, $f=\tfrac12$ and the peak level tends to $2D=1000$ mg, reached to within $10\%$ after $4$ doses ($f^4=\tfrac1{16}$). The loading dose is $\tfrac{D}{1-f}$. The model is a first-order linear recurrence $x_{n+1}=fx_n+D$; its fixed point $\tfrac{D}{1-f}$ is the sum to infinity of Theorem 6.6 โ€” a good moment to show that "steady state" and "sum to infinity" are the same idea.

๐Ÿงช Self-check quiz

0/5 correct

Q1. The $15$-th term of the A.P. $7, 4, 1,\dots$ is

Q2. The sum of the first $30$ odd natural numbers is

Q3. The sum to infinity of $9-3+1-\tfrac13+\cdots$ is

Q4. Three positive geometric means are inserted between $3$ and $48$. The middle one is

Q5. If $a, b, c$ are positive and in G.P., then $\log a$, $\log b$, $\log c$ are