Worked example
Example: AP 2, 5, 8 … and GP ratio 0.5, ten terms. The inputs, in the units selected above:
| Input | Value |
|---|---|
| First term | 2.0000 - |
| Common difference (AP) | 3.0000 - |
| Common ratio (GP) | 0.50000 - |
| Number of terms | 10.000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| AP nth term | 29.000 |
| AP sum of n terms | 155.00 |
| GP nth term | 0.003906 |
| GP sum of n terms | 3.9961 |
| GP sum to infinity (NaN if it diverges) | 4.0000 |
Open this example in the calculator and change any input.
Formula
\(a_n = a + (n - 1)d, \quad S_n = \frac n2[2a + (n - 1)d], \quad S_n = a\frac{1 - r^n}{1 - r}, \quad S_\infty = \frac{a}{1 - r}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(a\) | First term | - |
| \(d\) | Common difference (AP) | - |
| \(r\) | Common ratio (GP) | - |
| \(n\) | Number of terms | - |
| \(a_n\) | AP nth term | - |
| \(S_n^{AP}\) | AP sum of n terms | - |
| \(g_n\) | GP nth term | - |
| \(S_n^{GP}\) | GP sum of n terms | - |
| \(S_\infty\) | GP sum to infinity (NaN if it diverges) | - |
Method and standards
Series formulae.
Where it is used
- Exam problems.
- Preferred number series and escalation.
Common mistakes
- Using the infinite sum for |r| ≥ 1.
- Off-by-one in n.
Assumptions and limits
- Real terms. Geometric terms too large to represent (for example r = 10 with n = 1000) are not shown.
References
- Arithmetic and geometric series (standard algebra)
Questions and answers
When does a geometric series converge?
When the common ratio lies between −1 and 1; then S∞ = a/(1 − r).
Where do progressions appear in engineering?
Equal increments (AP) in stepped designs; geometric growth in compound interest, gear series and preferred numbers.
What do the defaults represent?
AP 2, 5, 8 … and GP 2, 1, 0.5 … to 10 terms.
Method and article reviewed by FireCAD engineering on 13 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.