The sum of the first n terms of a geometric series is \( S_n = a \frac{r^n - 1}{r - 1} \).

["## Understanding the Sum of the First n Terms of a Geometric Series", "Geometric series are a fundamental concept in mathematics, especially in algebra and calculus, offering a powerful way to model exponential growth and decay. Whether studying finance, physics, or pure mathematics, knowing how to calculate the sum of the first ( n ) terms of a geometric series is essential. This article explains the formula ( S_n = a \frac{r^n - 1}{r - 1} ) and how to apply it effectively.", "### What is a Geometric Series?", "A geometric series is a sequence of numbers where each term after the first is multiplied by a constant ratio ( r ). If ( a ) is the first term, then the terms are:\n[\na,\ ar,\ ar^2,\ ar^3,\ \dots,\ ar^{n-1}\n]\nThe sum of the first ( n ) terms, denoted ( S_n ), is\n[\nS_n = a + ar + ar^2 + \dots + ar^{n-1}\n]", "### The Geometric Series Sum Formula:\n[\nS_n = a \frac{r^n - 1}{r - 1} \quad \ ext{for } r <br/>\ne 1\n]", "### When Is This Formula Valid?\nThe formula applies when the common ratio ( r ) is not equal to 1. If ( r = 1 ), each term is simply ( a ), and the sum becomes ( S_n = a \ imes n ), since all terms are identical.", "### Derivation of the Formula", "To derive the sum formula, follow these steps:\n1. Write the sum:\n[\nS_n = a + ar + ar^2 + \dots + ar^{n-1}\n]\n2. Multiply both sides by ( r ):\n[\nrS_n = ar + ar^2 + ar^3 + \dots + ar^n\n]\n3. Subtract the second equation from the first:\n[\nS_n - rS_n = a - ar^n\n]\n[\nS_n(1 - r) = a(1 - r^n)\n]\n4. Divide both sides by ( (1 - r) ) (since ( r <br/>\ne 1 )):\n[\nS_n = a \frac{1 - r^n}{1 - r} = a \frac{r^n - 1}{r - 1}\n]", "### Practical Applications", "The sum formula is widely used in various fields:", "- Finance: Calculating compound interest over multiple periods when invested at a constant rate.\n- Measurement Growth: Modeling population increases in biology, where growth follows exponential patterns.\n- Physics: Summing energy losses in electrical circuits with geometric decay.\n- Computer Science: Analyzing algorithms involving repeated factors, such as binary tree nodes.", "### Special Cases", "- When ( r > 1 ), the series grows exponentially; terms increase rapidly.\n- When ( 0 < r < 1 ), the series converges as ( n \ o \infty ), with a limiting sum formula (not covered here but important in infinite geometric series).\n- When ( r = -1 ), the series alternates between ( a ) and ( 0 ), producing a simple alternating sum:\n[\nS_n = \n\begin{cases} \na & \ ext{if } n \ ext{ is odd} \\n0 & \ ext{if } n \ ext{ is even}\n\end{cases}\n]", "### Step-by-Step Example", "Let’s compute ( S_5 ), the sum of the first 5 terms of the geometric series where ( a = 3 ) and ( r = 2 ):\n[\nS_5 = 3 \cdot \frac{2^5 - 1}{2 - 1} = 3 \cdot \frac{32 - 1}{1} = 3 \ imes 31 = 93\n]\nCheck: ( 3 + 6 + 12 + 24 + 48 = 93 ) — the formula works perfectly!", "### Common Mistakes to Avoid", "- Forgetting ( r <br/>\ne 1 ) — using ( S_n = a \frac{r^n - 1}{r - 1} ) directly when ( r = 1 ) leads to division by zero.\n- Misapplying the formula when the ratio is negative; always compute ( r^n ) carefully.\n- Misunderstanding the sign in the denominator: since ( r - 1 ) appears in the denominator, ensure correct subtraction (( r - 1 )\nnot ( 1 - r ) without sign change).", "### Conclusion", "Mastering the sum formula ( S_n = a \frac{r^n - 1}{r - 1} ) is key to efficiently solving real-world problems involving exponential patterns. Whether analyzing savings growth, radioactive decay, or algorithm scaling, this geometric series sum provides a precise and elegant solution. Practice applying the formula across different values of ( a ), ( r ), and ( n ) to build confidence, and explore its advanced uses in calculus and finance for deeper insight.", "Keywords: geometric series sum, S_n formula, exponential series, a(rⁿ − 1)/(r − 1), algebra formula, compound interest calculation, repeated multiplication series."]









