Skip to content

Commit

Permalink
Added notebook about Geometric Series
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Malone committed Oct 19, 2015
1 parent 7a0741d commit d2146e0
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions 11/Geometric_Series.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Geometric Series\n",
"In mathematics, a geometric series is a series with a constant ratio that is common between successive terms. \n",
"\n",
"### Definition\n",
"Any series which can be written in the following forms is a geometric series. The series is __generated by multiplying each term by a common ratio.__<br/>\n",
"\n",
"$$\n",
"\\sum_{n=1}^{\\infty} ar^{n-1} \n",
"\\quad\n",
"\\sum_{n=0}^{\\infty} ar^n\n",
"$$\n",
"\n",
"in which $a$ and $r$ are fixed real numbers, and $a \\ne 0$\n",
"\n",
"<small>__Note:__ These two series are identical, except for a _shift in the index variable_ from $1$ to $0$<br/>(not unlike the difference between a 0-indexed array and a 1-indexed array in computer science):</small>\n",
"\n",
"### Common Ratio\n",
"The common ratio is found by dividing any two consecutive terms:\n",
"$\\frac{a_n+1}{a_n}$\n",
"\n",
"### Examples\n",
"\n",
"$$\n",
"\\sum_{n=0}^{\\infty} {a_n} = \\left\\{ (1)(2)^n \\right\\} = 1 + 2 + 3 + 4 + ... + a_n\n",
"$$\n",
"\n",
"$$\n",
"\\sum_{n=1}^{\\infty} {b_n} = \\left\\{ (1)\\left( \\frac{1}{2} \\right)^{n-1} \\right\\} = 1 + \\frac{1}{2} + \\frac{1}{4} + \\frac{1}{8} + ... + b_n\n",
"$$\n",
"\n",
"$$\n",
"\\sum_{n=1}^{\\infty} {c_n} = \\left\\{ (-1)^{n+1}\\left(\\frac{1}{2}\\right)^{n} \\right\\} = 1 -\\frac{1}{2} + \\frac{1}{4} - \\frac{1}{8} + \\frac{1}{16} - \\frac{1}{32} + ... - c_n\n",
"$$\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.10"
}
},
"nbformat": 4,
"nbformat_minor": 0
}

0 comments on commit d2146e0

Please sign in to comment.