ARITHMETIC WORKSHEETS

Checking the remainder after truncating a convergent geometric series

A convergent geometric series always leaves a remainder after a finite number of terms, and that remainder can be calculated. This guide uses the halving sequence that starts at 1 to compare partial sums with the infinite total.

What a partial sum leaves behind

A geometric series adds terms in which each one is the previous term times a fixed ratio r. When the magnitude of r is below 1, the terms shrink and the infinite sum approaches a finite limit. Adding only the first n terms gives a partial sum, and the part left out is the tail. It is tempting to treat the tail as zero once the terms look small, but it is a definite positive number in the example here. Knowing its size tells you how far the partial sum is from the limit, which matters whenever a series is truncated in a calculation or a computer program.

The halving sequence

Start at 1 and use a ratio of 0.5. The terms are 1, 0.5, 0.25, 0.125 and so on. The infinite sum is a1 divided by (1 minus r), which is 1 divided by 0.5, or 2. Four terms add to 1 plus 0.5 plus 0.25 plus 0.125, which is 1.875. The tail is 2 minus 1.875, or 0.125, equal to the fifth and all later terms: 0.0625 plus 0.03125 and so on. The geometric sequence calculator returns a sum of 1.875 for four terms, as the first case records. Every number in this example is a binary fraction, so the decimal arithmetic is free of rounding.

Eight terms and a smaller tail

With eight terms, the sum is 1 times (1 minus 0.5 to the eighth) divided by 0.5. Since 0.5 to the eighth is 0.00390625, the numerator is 0.99609375, and dividing by 0.5 gives 1.9921875. The tail is 2 minus 1.9921875, or 0.0078125, which the basic calculator confirms in the third case. The tail has shrunk from 0.125 to 0.0078125 as the number of terms doubled, a reduction by a factor of 16. Each added term halves the tail, so four additional terms cut it by 2 to the fourth. That regular shrinkage is a feature of geometric series, and slower convergence needs a ratio nearer to 1.

A closed form for the tail

The tail after n terms is a1 times r to the n divided by (1 minus r). For the halving sequence, that is 0.5 to the n divided by 0.5. With n equal to 4 this is 0.0625 divided by 0.5, or 0.125, and with n equal to 8 it is 0.00390625 divided by 0.5, or 0.0078125. Both agree with the subtraction. The formula comes from the fact that the tail is itself a geometric series, starting at the term a1 times r to the n with the same ratio. Having a closed form means the error of a truncation can be bounded without computing the missing terms.

A series that converges more slowly

Consider a ratio of 0.9 starting at 1. The infinite sum is 1 divided by 0.1, which is 10. After ten terms, the partial sum is (1 minus 0.9 to the tenth) divided by 0.1. Since 0.9 to the tenth is about 0.3487, the sum is about 6.513, and the tail is about 3.487. More than a third of the total is still missing. With a ratio of 0.5, ten terms leave a tail of under 0.002. The ratio controls how many terms are needed, and a ratio near 1 can require hundreds of terms for a small tail. The geometric sequence calculator confirms the ten-term sum of about 6.5132.

Another starting term and ratio

Take a first term of 3 and a ratio of 0.2. The infinite sum is 3 divided by 0.8, which is 3.75. Three terms are 3, 0.6 and 0.12, adding to 3.72. The tail is 3.75 minus 3.72, which is 0.03. The formula gives the same value: 3 times 0.008 divided by 0.8 is 0.03. The ratio of 0.2 shrinks the terms quickly, so even three terms capture 99.2 percent of the total. Comparing the share captured, 3.72 over 3.75, with the share for the slower ratio shows how much faster a small ratio converges, and why the tail for a ratio of 0.2 is almost negligible after only a handful of terms.

Convergence must come first

The infinite-sum formula is valid only when the magnitude of the ratio is below 1. For a ratio of 1 the terms never shrink and the sum grows without limit. For a ratio of 2 each term doubles, so partial sums grow without limit, and the formula a1 divided by (1 minus r) would give a negative number, which is meaningless as a sum. A finite sum formula still works for these ratios, because it describes only the terms you add, but no tail or limit exists. Check the ratio first, and use the infinite sum and the tail formula only after you have confirmed that the magnitude of r is less than 1.

Negative ratios and alternating terms

A negative ratio gives terms that alternate in sign. With a first term of 1 and a ratio of negative 0.5, the terms are 1, negative 0.5, 0.25, negative 0.125, and the infinite sum is 1 divided by 1.5, or about 0.667. Partial sums swing above and below the limit, and the tail has the sign of the first omitted term. The magnitude condition is the same, since only the absolute value of r must be below 1. The tail formula still holds, with the sign carried through by r to the n. Alternating series are a good test of whether you have kept signs consistent.

Where truncated series are used

Truncated geometric series appear in finance, physics and computing. Present-value formulas for a repeating payment, the total distance of a bouncing ball and the repeated halving of a quantity all reduce to the same sum. Numerical methods stop adding terms once the tail is below a tolerance, and the tail formula says how many terms that takes. The worksheet leaves the application aside and concentrates on the arithmetic. When a program sums a geometric series, the loop can stop as soon as the next term is smaller than the tolerance, but the tail formula gives a safer bound, because the tail of a series with a ratio near 1 can be much larger than its next term. The same standard treatment of partial sums and infinite sums appears in OpenStax College Algebra, in its section on series and their notations, which is a good place to read about the notation.

Reproduce the checks

Four-term partial sum

Open the Geometric Sequence Calculator and enter:

First term
1
Common ratio
0.5
Term count
4

Expected output:

sum

1.875

The uncounted tail remains positive.

Eight-term partial sum

Open the Geometric Sequence Calculator and enter:

First term
1
Common ratio
0.5
Term count
8

Expected output:

sum

1.9921875

The later partial sum leaves a smaller tail.

Eight-term tail

Open the Basic calculator and enter:

First number
2
Operation
subtract
Second number
1.9921875

Expected output:

Result

0.0078125

The finite approximation is not the complete infinite sum.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks