The Arithmetic Sum Formula
The sum of a linear sequence depends on three quantities: the first term, the constant step between consecutive terms, and the total count of terms. Rather than adding each value individually, you can use an elegant closed-form expression.
S = (n ÷ 2) × (2a + d × (n − 1))
OR equivalently:
S = (n ÷ 2) × (a + l)
S— Sum of all terms in the sequencen— Number of terms (periods)a— First term of the sequenced— Common difference between consecutive termsl— Last (nth) term of the sequence
Understanding Linear Sequences
A linear sequence, also called an arithmetic progression, is any ordered list where the gap between adjacent numbers remains constant. Examples include:
- 2, 4, 6, 8, 10 (difference of 2)
- 100, 95, 90, 85 (difference of −5)
- 1.5, 2.0, 2.5, 3.0 (difference of 0.5)
The difference can be positive (increasing sequence), negative (decreasing sequence), or even fractional. Once you know the starting value, the difference, and how many terms exist, the entire sequence is determined. The beauty of the formula is that it avoids summing every single term—critical when working with hundreds or thousands of elements.
Step-by-Step Calculation
Method 1: Using first term and common difference
- Identify your starting term a and common difference d.
- Count the total number of terms n.
- Calculate the last term: l = a + d × (n − 1).
- Apply the formula: S = (n ÷ 2) × (a + l).
Method 2: Direct formula substitution
- Plug a, d, and n into: S = (n ÷ 2) × (2a + d × (n − 1)).
- Perform the arithmetic in the correct order.
Real-World Example: Subscription Revenue
Suppose a SaaS company offers tiered annual plans where each tier costs $100 more than the previous one. The entry-level plan costs $500, and they have 12 subscription tiers:
- Tier 1: $500
- Tier 2: $600
- Tier 3: $700
- ⋮
- Tier 12: $1,600
Using the formula with a = 500, d = 100, and n = 12:
S = (12 ÷ 2) × (500 + 1,600) = 6 × 2,100 = 12,600
The total revenue across all tiers is $12,600, without manually listing and adding each one.
Common Pitfalls and Practical Notes
When working with arithmetic sequences, watch for these frequent mistakes and considerations.
- Counting terms correctly — Ensure you count both endpoints. The sequence 10, 12, 14, 16 contains 4 terms, not 3. A common error is counting only the "gaps" rather than the actual elements themselves.
- Handling negative differences — Sequences can decrease (negative difference). The formula works identically—just ensure you apply the sign correctly when computing intermediate steps. For 50, 45, 40, 35, use <em>d</em> = −5, not 5.
- Verifying your last term — Always double-check the final term using <em>l</em> = <em>a</em> + <em>d</em> × (<em>n</em> − 1) before entering it into the sum formula. A miscalculation here propagates to the final answer.
- Non-integer differences — Arithmetic sequences need not involve whole numbers. Differences like 0.25 or 1/3 are perfectly valid. The formula remains unchanged; just preserve precision in your calculations.