Formula: Geometric Series Mathematical Identity
- firstTermA1: First Term A1 (numeric parameter)
- commonRatioR: Common Ratio R (numeric parameter)
- termCountN: Term Count N (numeric parameter)
Evaluate geometric progressions a_n = a₁r^(n−1) and infinite convergence a₁/(1−r).
It is how much of the starting scale survives after n multiplications by r. On the default, 0.5 to the 8th is about 0.004, so less than half a percent remains. Because the gap between the finite and infinite sums is the infinite sum times r^n, this line also tells you how close S_n is to its limit when |r| < 1.
The first term has not been multiplied by r yet, so the nth term has had only n minus 1 multiplications. The ratio power r^n appears in the sum formula, where it represents the term just after the last one you added, divided by a₁. On the default, the eighth term is 0.781 while r^8 is about 0.004.
Yes. A negative ratio produces an alternating sequence whose signs flip each step. The page calculates it correctly: a₁ = 100 and r = -0.5 give an eighth term of -0.781, a finite sum of 66.406 and an infinite sum of 66.667. The series converges as long as the ratio's size stays below one. Its partial sums alternate above and below the limit.
It means the terms do not shrink fast enough for their total to settle on a finite value, which happens whenever |r| is 1 or more. With a₁ = 3, r = 2 and n = 5 the page shows a finite sum of 93 and marks the infinite sum as diverging. The finite sum, nth term and ratio power are still valid for those inputs.
Every term equals the first term, so the finite sum is just n times a₁. The usual sum formula would divide by zero, and the page returns that product instead. The infinite series diverges, since adding the same nonzero number forever has no limit, and the S_∞ line says so with "diverges (|r| ≥ 1)" rather than giving a number.
Choose how close you need to be as a fraction, then find the n for which |r|^n falls below it. For r = 0.5, 7 terms bring you within 1% of the limit. A ratio near one is far slower: with r = 0.9, twenty terms still leave the sum more than 12% short of its limit.
Type it as a decimal, such as 0.3333, because the field takes a number. Use enough digits for the accuracy you need, since a rounded ratio will make long sums drift a little. For r close to one, small rounding in the ratio has a large effect on the infinite sum, because it sits in the 1 - r denominator. Entering 0.3333 rather than 0.33 is a sensible minimum.
The summary rounds to three decimals. With r = 0.5 and 20 terms the true finite sum is a tiny fraction below 200, smaller than the rounding step. The sentence under the result prints the finite sum with more digits, which shows the gap clearly. Mathematically, any finite number of terms stays short of the limit, however close it looks.
No. Convergence depends only on the ratio. The first term scales every value, so the 60 and 150 runs give infinite sums of 120 and 300 with the same 0.5 ratio, but it cannot turn a divergent series into a convergent one. The only exception is a first term of zero, where every term and every sum is zero.
Any whole number from 1 to 100 works, because the infinite sum line does not depend on n. It is computed only from a₁ and r. The term count affects the finite sum, the nth term and the ratio power. Changing n from 8 to 20 on the default leaves S_∞ at 200 while the finite sum creeps closer to it.
The default sequence starts at 100 and halves each time, for 8 terms. Written out, that is 100, 50, 25, 12.5, 6.25 and so on down to the eighth term. The result gives a finite sum of 199.219, an eighth term of 0.781, an infinite series sum of 200, and a ratio power r^n of 0.004.
Each of those numbers answers a different question. The nth term is the last single value in the list. The finite sum adds all 8 terms together. The infinite sum is the limit the running total approaches if you never stop. The ratio power is r raised to n, which here is 0.5 to the 8th, about 0.0039, and it measures how much of the original size is left after n steps.
On the default the finite sum is already within one unit of the infinite one. Eight halvings take you to 199.219, and the remaining terms, all of them together, add only another 0.78 or so. That gap is the most practical thing on the page: it tells you how many terms you need before the tail stops mattering.
The nth term formula, a_n = a₁ × r^(n-1), follows from multiplying by r once for every step after the first. The first term has had no multiplications, so the eighth has had seven. That off-by-one is why the nth term uses n minus 1 and the ratio power line uses n.
The finite sum formula comes from a neat trick. Write S_n as a₁ + a₁r + a₁r² and so on, then multiply the whole line by r. The two lines share every term except the first of one and the last of the other. Subtract them and you get S_n(1 - r) = a₁(1 - r^n), which rearranges to the formula on the page.
For the infinite sum, look at what happens to r^n as n grows. If r is between minus one and one, r^n shrinks towards zero, and the finite formula collapses to a₁/(1 - r). For the default that is 100 divided by 0.5, which is 200 exactly. If r is one or more in size, r^n does not shrink, and there is no finite limit at all.
Subtract the two sums and the algebra gives a tidy remainder: S_∞ minus S_n equals a₁r^n/(1 - r). In words, what is left over is the infinite sum scaled down by the ratio power. On the default, 200 times 0.0039 is about 0.78, which is why 200 minus 199.219 leaves 0.781.
For a ratio of exactly one half there is a pleasing coincidence: the remainder equals the last term you added. The gap after 8 terms is 0.781 and so is the eighth term. That is the old observation that each step covers half the remaining distance, so the next step always equals what is left. It does not hold for other ratios.
The remainder formula is the one to reach for when you need a target accuracy. If you want the finite sum within 1% of the limit, you need r^n below 0.01. For r = 0.5 that takes 7 terms. For r = 0.9 it takes about 44, because a ratio near one shrinks slowly. Try a₁ = 10, r = 0.9 and n = 20 here: the finite sum is 87.842 against a limit of 100, still more than 12% short.
The page runs the same ratio and term count with two other first terms. Starting at 60 gives S_8 = 119.531, an eighth term of 0.469 and an infinite sum of 120 at the limit. Starting at 150 gives 298.828, 1.172 and a limit of 300 for the infinite sum.
Every line except the ratio power scales directly with a₁. Multiply the first term by 1.5 and the sums and the nth term all grow by 1.5 too, while r^n stays at 0.004 because it does not involve a₁ at all. That makes the first term the easy input: it changes the size of the answer but never its shape or whether it converges.
The same is true for a negative first term. Entering minus 100 mirrors every value below zero, and the infinite sum becomes minus 200 instead of plus 200 for the same ratio.
This is also why the page's lower and higher runs look so alike. Read each one as the default multiplied by a constant: 0.6 for the 60 run and 1.5 for the 150 run. The gap between S_8 and S_∞ scales the same way, from 0.781 on the default to 0.469 and 1.172, matching the nth term in each case because the ratio is still one half.
A negative ratio flips the sign of each term in turn. With a₁ = 100 and r = -0.5, the list runs 100, -50, 25, -12.5 and on, and the running total swings above and below its limit instead of climbing towards it.
The page handles this correctly. For 8 terms it gives a finite sum of 66.406, an eighth term of -0.781 and an infinite sum of 66.667, which is 100 divided by 1.5. The eighth term is negative because an even number of terms ends on a minus. The ratio power still reads 0.004, since a negative number raised to an even power is positive.
Alternating series converge on the same condition as ordinary ones, |r| < 1, and their partial sums bracket the limit. One partial sum is above the answer and the next is below, which can be handy as a built-in error bound.
The infinite sum only exists when |r| < 1, and the page says so. Enter a ratio of 1 or more in size and the S_∞ line reads "diverges (|r| ≥ 1)", while the sentence under the result adds that the infinite series diverges. With r = 2, a₁ = 3 and n = 5, the finite sum is 93 and the fifth term is 48, and there is no infinite total to report.
Each boundary case diverges for its own reason. At r = 2 the terms grow without bound. At r = 1 every term equals a₁, so the finite sum is simply n times a₁ and the running total climbs by the same amount forever. At r = -1 the partial sums jump between a₁ and zero and never settle on a value, which is also divergence even though nothing grows.
The finite lines stay meaningful in all of these cases. A growth ratio such as 1.05, the kind that appears in compound growth, gives a perfectly good finite sum and nth term for any whole number of terms the page allows. It just has no infinite sum, and the page no longer pretends otherwise.
The summary lines are rounded to three decimal places, which can hide small values. With a₁ = 0.3 and r = 0.1, five terms show a finite sum of 0.333 and an infinite sum of 0.333, and the fifth term displays as 0. The sentence under the result carries more precision: it gives the fifth term as 0.00003, the finite sum as 0.33333 and the infinite limit as 0.3333333333.
The same sentence is where to look when the two sums seem identical. With a₁ = 0.9 and r = 0.1, six terms display a finite sum of 1 in the summary, but the sentence gives 0.999999, the old repeating-nines example heading towards 1. Likewise at r = 0.5 and n = 20 both summary lines show 200, while the sentence shows the finite sum still a fraction short.
The term count field takes a whole number from 1 to 100. A fraction, zero, a negative count or anything above 100 produces an input error asking for a whole number in that range. For ratios close to one that limit matters: with r = 0.9 you need about 44 terms to come within 1% of the limit, comfortably inside the range, but a ratio such as 0.99 converges too slowly for 100 terms to get close, so use the infinite sum line and the remainder formula instead.
Repeating decimals are the classic case. The decimal 0.333... is 0.3 + 0.03 + 0.003 and so on, a geometric series with a₁ = 0.3 and r = 0.1. The infinite sum, 0.3 divided by 0.9, is exactly one third, and the page confirms the 0.333 figure.
Decay problems are another. A ball that rebounds to half its height each time travels a total distance given by a geometric sum, and the drug-elimination and depreciation problems in textbooks follow the same pattern when a fixed fraction remains each period.
Money is the third. Regular payments that grow or are discounted by a constant factor form a finite geometric series, which is where annuity formulas come from. A perpetuity, a payment stream with no end, is the infinite case, and it only has a finite value because the discount factor is below one. Those financial uses need care with timing and rates, so treat this page as a check on the arithmetic rather than as a financial tool.