{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe multiply the sum by $1 - r$ and observe that the result telescopes.\n\n1. Let $S_n = \\sum_{k=0}^{n-1} r^k$, the sum of the first $n$ terms of the [[geometric sequence|0MNM54WB99]] $1, r, r^2, \\dots$. For $n = 0$ the sum is empty, so $S_0 = 0$.\n2. Multiply by $r$: $r S_n = \\sum_{k=0}^{n-1} r^{k+1} = \\sum_{k=1}^{n} r^k$.\n3. Subtract step 2 from the definition of $S_n$. Every power $r^k$ with $1 \\le k \\le n-1$ appears once with each sign and cancels.\n4. What remains is $S_n - r S_n = r^0 - r^n = 1 - r^n$. This also holds for $n = 0$, since both sides are $0$.\n5. So $(1 - r) S_n = 1 - r^n$.\n6. Since $r \\ne 1$, the number $1 - r$ is not zero. Dividing step 5 by $1 - r$ gives\n$$\\sum_{k=0}^{n-1} r^k = \\frac{1 - r^n}{1 - r}.$$\n\n## Idea\n\nMultiplying by $r$ shifts every term one place to the right. So the sum and $r$ times the sum share all terms but the first and the last. Subtracting leaves only $1 - r^n$.\n",
  "commit": "68a8c3dc73fd55004b2796431c607c30960d1a85",
  "front": {
    "kind": "proof",
    "msc": [
      "40A05"
    ],
    "name": "Proof of the sum of a finite geometric series",
    "proves": "05APWSX53S",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Geometric_series"
      }
    ],
    "tag": "626QRK9DZD",
    "uses": [
      "0MNM54WB99"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/626QRK9DZD/",
  "links": [
    {
      "field": "proves",
      "target": "05APWSX53S"
    },
    {
      "field": "uses",
      "target": "0MNM54WB99"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/626QRK9DZD.md",
  "msc": [
    "40A05"
  ],
  "name": "Proof of the sum of a finite geometric series",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/626/626QRK9DZD.md",
  "status": null,
  "tag": "626QRK9DZD",
  "uri": "m2://626QRK9DZD",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-sum-of-a-finite-geometric-series/",
  "writing": {
    "tag": "626QRK9DZD",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
