A real or complex, finite or infinite series a1 + a2 + a3 + …in which the terms form a geometric sequence. Thus the terms have a common ratio r with ak/ak−1 = r for all k. If the first term a1 equals a, then ak = ark−1. Let sn be the sum of the first n terms, so that sn = a + ar + ar2 + ⋯ + arn−1. Then sn is given (when r ≠ 1) by the formulae
If the common ratio r satisfies |r|<1, then rn → 0 and it can be seen that sn → a/(1−r). The value a/(1−r) is called the sum to infinity of the series a + ar + ar2 + …. In particular, for |x|<1, the geometric series 1 + x + x2 + …has sum to infinity equal to 1/(1−x). For example, putting , the series as sum 2. If |x| ≥ 1, then sn does not tend to a limit and the series has no sum to infinity.