How would I estimate the sum of a series of numbers like this: $2^0+2^1+2^2+2^3+\cdots+2^n$. What math course deals with this sort of calculation? Thanks much!
-
4Two great courses would be real analysis and Calculus. – Julian Rachman Dec 28 '14 at 00:29
-
2it is called Geometric progession. see here: http://en.wikipedia.org/wiki/Geometric_progression – Krish Dec 28 '14 at 00:31
-
2Actually, for finite sums like this, the course would be algebra (in the sense of "high-school algebra", or "college algebra", not "abstract algebra" or "modern algebra"). – GEdgar Dec 28 '14 at 00:42
-
1@GEdgar You are correct. But it is only "spoken of" in high school, not understood like in Real Analysis. It is essentially the foundation of Calculus in itself containing a section specifically for "sequences and series." – Julian Rachman Dec 28 '14 at 00:47
-
1$$ \sum_{n=0}^{\infty \text{ or finite number}} 2^n $$ I think Calculus or some class like advanced algebra or college algebra – Irrational Person Dec 28 '14 at 00:53
-
Discrete calculus – 1110101001 Dec 28 '14 at 07:56
-
The Wikipedia page referenced in another comment contains a simple algebraic derivation of the general form of the solution that is provided in the answers. – Mars Sep 01 '19 at 17:06
6 Answers
Two great math courses that deal with sums and sequences such as the one you have defined are Real Analysis and basic Single-Variable Calculus. This problem specifically deals with geometric progression. Yes, you do learn some in high school, but not that much. Real Analysis is a subject that gives you a more structured intuition for these types of problems.
The solution to your problem is this by a geometric sum:
$$2^0+2^1+2^2+2^3+\cdot\cdot\cdot+2^n=\frac{2^{n+1}-1}{2-1}=\boxed{2^{n+1}-1}.$$
- 32,931
- 1,835
-
@Julian Thank you for accepting my answer. If you take a look at my blog, I have a great reference under the "Notes" page by a professor at the University of Louisville. Just jump to the section on sequences (I believe Chapter 3). You gain a better intuition for these types of questions. – Julian Rachman Dec 28 '14 at 00:48
-
-
1I learnt this in calculus in high school; it's a simple geometric progression. There's no need to go into real analysis for such basic things. It'll simply be too much. – Jan 14 '15 at 03:23
That is a geometric sum:
$${ 2 }^{ 0 }+{ 2 }^{ 1 }+{ 2 }^{ 2 }+{ 2 }^{ 3 }+...+{ 2 }^{ n }=\frac{2^{n+1}-1}{2-1}$$
It is taught at highschools.
- 65,084
There is no need to estimate, the exact answer is $2^{n+1}-1$.
This is basic algebra as taught in schools.
- 11,660
Interestingly, this sort of summation is not too difficult to prove either.
If we swap $2$ for a generic number $a$:
$$ \text{(1) } \sum\limits_{i = 1}^n {a^i} = a^0+a^1+a^2+a^3+...+a^n $$ Multiplying $(1)$ by $a$ gives: $$ \text{(2) } a\sum\limits_{i = 1}^n {a^i} = a^1+a^2+a^3+a^4+...+a^{n+1} $$ Subtracting $(1)$ from $(2)$: $$ \text{(3) } a\sum\limits_{i = 1}^n {a^i} - \sum\limits_{i = 1}^n {a^i} == (a-1)\sum\limits_{i = 1}^n {a^i} $$ From $(1)$ and $(2)$ we can see this is the same as: $$ \text{(4) } a^1+a^2+a^3+a^4+...+a^{n+1} - (a^0+a^1+a^2+a^3+...+a^n) = (a-1)\sum\limits_{i = 1}^n {a^i} $$ Since all the middle bits cancel each other out, this simply leaves: $$ \text{(5) } a^{n+1} - a^0 = (a-1)\sum\limits_{i = 1}^n {a^i} $$ And since $a^0$ is always equal to $1$: $$ \text{(6) } a^{n+1} - 1 = (a-1)\sum\limits_{i = 1}^n {a^i} $$ Rearranging: $$ \text{(7) } \frac{a^{n+1} - 1}{a-1} = \sum\limits_{i = 1}^n {a^i} $$ And returning to the original post, where $a = 2$: $$ \frac{2^{n+1} - 1}{2-1} = \sum\limits_{i = 1}^n {2^i} = 2^0+2^1+2^2+2^3+...+2^n $$
- 21
A more general answer for the sum of any infinite geometric series would be:
$S(x) = \frac{a(1 −r^X)}{(1 −r)}$
where x is the number of terms (x for the $2^n$ position is n+1), a is the first term ($2^0$) of the series, and r (r ≠ 1) is the common ratio of the terms (2/1 = 4/2 = ... = 2).
So for $2^0 + 2^1 + 2^2 + 2^3 +2^4$ it would be $S(5) = \frac{1*(1 - 2^5)}{(1 - 2)} = \frac{-31}{-1} = 31$
- 1
late to the party but i think it's useful to have a way of getting to the general formula.
this is a geometric serie which means it's the sum of a geometric sequence (a fancy word for a sequence where each successive term is the previous term times a fixed number). we can find a general formula for geometric series following the logic below
$$ a = \text{firstterm}\\ r = \text{common ratio}\\ n = \text{number of terms}\\ S_n = \text{sum of first n terms}\\ S_n = a + ar + ar^2 + \dots+ar^{n-1}\\ \\ \\ -rS_n = -ar-ar^2-ar^3 - \dots-ar^{n}\\ S_n-rS_n = a + ar + ar^2 + \dots+ar^{n-1}-ar-ar^2-ar^3 - \dots-ar^{n}\\ S_n-rS_n =a-ar^n = a(1-r^n)\\ S_n(1-r) = a(1-r^n)\\ S_n = \frac{a(1-r^n)}{(1-r)} $$
then using a = 2
$$ S_n = \frac{1(1-2^n)}{(1-2)} = 2^n-1 $$
- 101