What is the value of e when substituting n=infinity into the limit (1 + 1/n)^n?

  • Thread starter tahayassen
  • Start date
In summary: Rewrite the right side as [ln (1 + 1/n)]/(1/n).Take the limit of both sides. If necessary, use L'Hopital's...I took the log of both sides, and then I moved the n exponent to the coefficient, so I got:logy = nlog(1+1/n)But I'm not sure where to proceed from here.This is the right track. Now you have an indeterminate form of the type [0/0] so you can use L'Hopital's rule. Taking the derivative of the top and bottom you get:d/dx(log(1+
  • #1
tahayassen
270
1

Homework Statement



Calculate the value of e.

Homework Equations



15f5460b0d41750d9f3f23f47e0ba5fd.png


The Attempt at a Solution



If I substitute n=infinity into that limit, wouldn't I get e = 1?

(1 + 1/(infinity))^infinity

As the denominator of 1/infinity approaches very large values, 1/infinity approaches zero.

Therefore, (1 + 0)^infinity

e = 1
 
Physics news on Phys.org
  • #2
tahayassen said:

Homework Statement



Calculate the value of e.

Homework Equations



15f5460b0d41750d9f3f23f47e0ba5fd.png


The Attempt at a Solution



If I substitute n=infinity into that limit, wouldn't I get e = 1?

(1 + 1/(infinity))^infinity

As the denominator of 1/infinity approaches very large values, 1/infinity approaches zero.

Therefore, (1 + 0)^infinity

e = 1
No, you won't get 1 .

Try some successively larger values for n to see what happens !
 
  • #3
SammyS said:
No, you won't get 1 .

Try some successively larger values for n to see what happens !

Ya, but I don't understand why.
 
  • #4
Not so long ago, i did the same mistake as you did in post #1.

Basically, you're trying to find the limit of: [itex]\lim_{n\to \infty}n^n[/itex]
[tex]Let\; y=\left( 1+ \frac{1}{n} \right)^n[/tex] Hint: Take logs on both sides.
 
  • #5
tahayassen said:
Ya, but I don't understand why.

Try writing out the polynomial for a given [itex]n[/itex]:
[tex]s_n = \left(\frac{1}{n}\right)^n (1+n)...(1+n) = \left(\frac{1}{n}\right)^n (1 + a_1 n + a_2 n^2 + ... + a_{n-1} n^{n-1} + a_n n^n)
[/tex]
where the coefficients are simply those of Pascal's triangle. Obviously as [itex]n\rightarrow \infty[/itex], the former terms are small compared to the latter, so
[tex]s_n \approx \frac{1}{n^n} ((n-1) n^{n-1} + n^n),[/tex]
since the second to last term in a row of Pascal's triangle is always the number of the row minus one. Therefore
[tex]s_n \approx \frac{1}{n^n} (2 n^n - n^{n-1}) = 2 - \frac{1}{n}[/tex]
Obviously the latter term drops off as [itex]n[/itex] gets large, but the contribution it gave to the term of order [itex]n^0[/itex] sticks behind. Try it with keeping the contribution to that order with three terms, four, etc.

Edit: And I don't think this is a dumb question. I had to come up with that reasoning when I just read your post. I suppose it serves to illuminate that sometimes our intuition about the behavior of large numbers can lead us astray!
 
Last edited:
  • #6
sharks said:
Not so long ago, i did the same mistake as you did in post #1.

Basically, you're trying to find the limit of: [itex]\lim_{n\to \infty}n^n[/itex]
[tex]Let\; y=\left( 1+ \frac{1}{n} \right)^n[/tex] Hint: Take logs on both sides.

I took the log of both sides, and then I moved the n exponent to the coefficient, so I got:

logy = nlog(1+1/n)

But I'm not sure where to proceed from here.

Steely Dan said:
Try writing out the polynomial for a given [itex]n[/itex]:
[tex]s_n = \left(\frac{1}{n}\right)^n (1+n)...(1+n) = \left(\frac{1}{n}\right)^n (1 + a_1 n + a_2 n^2 + ... + a_{n-1} n^{n-1} + a_n n^n)
[/tex]
where the coefficients are simply those of Pascal's triangle. Obviously as [itex]n\rightarrow \infty[/itex], the former terms are small compared to the latter, so
[tex]s_n \approx \frac{1}{n^n} ((n-1) n^{n-1} + n^n),[/tex]
since the second to last term in a row of Pascal's triangle is always the number of the row minus one. Therefore
[tex]s_n \approx \frac{1}{n^n} (2 n^n - n^{n-1}) = 2 - \frac{1}{n}[/tex]
Obviously the latter term drops off as [itex]n[/itex] gets large, but the contribution it gave to the term of order [itex]n^0[/itex] sticks behind. Try it with keeping the contribution to that order with three terms, four, etc.

Edit: And I don't think this is a dumb question. I had to come up with that reasoning when I just read your post. I suppose it serves to illuminate that sometimes our intuition about the behavior of large numbers can lead us astray!

Wow. I'm totally lost. I didn't even understand the very first step you did.

If I understand correctly, Pascal's triangle is:

97f3104189543bbe757bdaab615cd96f.png


So where did you get [tex]s_n = \left(\frac{1}{n}\right)^n (1+n)...(1+n)[/tex] from?
 
  • #7
tahayassen said:
Wow. I'm totally lost. I didn't even understand the very first step you did.

If I understand correctly, Pascal's triangle is:

97f3104189543bbe757bdaab615cd96f.png


So where did you get that from?

The first step I did is to pull out [itex]n^{-n}[/itex] from the polynomial, leaving [itex]s_n = n^{-n} (1+n)^n[/itex]. Pascal's triangle gives you the coefficients of that latter polynomial, whose lowest order term is surely 1 and whose highest order term is surely [itex]n^n[/itex].
 
  • #8
tahayassen said:
If I substitute n=infinity into that limit, wouldn't I get e = 1?

(1 + 1/(infinity))^infinity
It's not legal to substitute ∞ into an expression and do arithmetic on it.
tahayassen said:
As the denominator of 1/infinity approaches very large values, 1/infinity approaches zero.

Therefore, (1 + 0)^infinity

This is one of several indeterminate forms, which include [0/0], [±∞/∞], [∞ - ∞], and [1]. These show up in the context of limits, and indicate that some more work needs to be done.
 
  • #9
Steely Dan said:
The first step I did is to pull out [itex]n^{-n}[/itex] from the polynomial, leaving [itex]s_n = n^{-n} (1+n)^n[/itex]. Pascal's triangle gives you the coefficients of that latter polynomial, whose lowest order term is surely 1 and whose highest order term is surely [itex]n^n[/itex].

y=(1+n^-1)n
=n^-n(1+n)^n

How did you go from the first step to the second step?

Mark44 said:
It's not legal to substitute ∞ into an expression and do arithmetic on it.


This is one of several indeterminate forms, which include [0/0], [±∞/∞], [∞ - ∞], and [1]. These show up in the context of limits, and indicate that some more work needs to be done.

What if I do:

Let m = 1/n

lim as m approaches 0 (1+m)^(1/m)
= (1+0)^(1/0)
= 1^(1/0)
 
  • #10
tahayassen said:
y=(1+n^-1)n
=n^-n(1+n)^n

How did you go from the first step to the second step?



What if I do:

Let m = 1/n

lim as m approaches 0 (1+m)^(1/m)
= (1+0)^(1/0)
= 1^(1/0)
It's not legal to divide by zero, either.
 
  • #11
Mark44 said:
It's not legal to divide by zero, either.

So how would you solve this limit without using the approximation method then?
 
  • #12
Continue with what you were doing earlier...

tahayassen said:
logy = nlog(1+1/n)

log(y) should be ln(y).
Rewrite the right side as [ln (1 + 1/n)]/(1/n).
Take the limit of both sides. If necessary, use L'Hopital's Rule.
 
  • #13
I give up.

I'm trying to learn L'Hopital's Rule. Learning Pascal's Triangle was already hard enough. :(

edit: I'll keep trying, but this is going to take me some time.
 
  • #14
L'Hopital's Rule isn't too complicated: here is the formal definition
Basically, it relates to fractions and if you put the value of the limit in the numerator and denominator, and if you get 0/0 or ∞/∞, (which are called indeterminate forms) then you will need to use L'Hopital's Rule. The rule simply requires that you differentiate both the numerator and denominator, independently. In some cases, you'll need to repeat the procedure.
 
  • #15
tahayassen said:
y=(1+n^-1)n
=n^-n(1+n)^n

How did you go from the first step to the second step?



What if I do:

Let m = 1/n

lim as m approaches 0 (1+m)^(1/m)
= (1+0)^(1/0)
= 1^(1/0)

I just noticed at the end of this: not only did I divide by zero, but I still get 1^infinity at the end, which is an indeterminate form. Opps!

Back on track, okay, so I did that rule, but I still ended up with a value of 1! D=

http://i2.lulzimg.com/4cb849a256.png

[tex]y\quad =\quad { (1+{ n }^{ -1 }) }^{ n }\\
lny\quad =\quad { ln(1+{ n }^{ -1 }) }^{ n }\\
lny\quad =\quad nln(1+{ n }^{ -1 })\\
\underset { n\rightarrow \infty }{ lim } lny\quad =\quad \underset { n\rightarrow \infty }{ lim } \frac { ln(1+{ n }^{ -1 }) }{ { n }^{ -1 } } \\
\underset { n\rightarrow \infty }{ lim } lny\quad =\quad \underset { n\rightarrow \infty }{ lim } \frac { \frac { 1 }{ 1+{ n }^{ -1 } } ({ -n }^{ -2 }) }{ { -n }^{ -2 } } \\
\underset { n\rightarrow \infty }{ lim } lny\quad =\quad \underset { n\rightarrow \infty }{ lim } \frac { 1 }{ 1+{ n }^{ -1 } } \\
\underset { n\rightarrow \infty }{ lim } lny\quad =\quad \frac { 1 }{ 1+{ \infty }^{ -1 } } \\
\underset { n\rightarrow \infty }{ lim } lny\quad =\quad \frac { 1 }{ 1+0 }[/tex]
 
Last edited by a moderator:
  • #16
So, you've reached: [tex]\lim_{n\to \infty} \ln y = 1[/tex]
But, [tex]\lim_{n\to \infty} \ln y = \ln \lim_{n\to \infty} y[/tex]
Now, can you find [itex]\lim_{n\to \infty} y [/itex]?
 
  • #18
ln * lim(y) = 1
lim(y) = e^1
= e

But I still haven't found a value. :|
 
  • #19
Here, e, represents the exponential value. Use your calculator. What is the value of [itex]e^1[/itex]?
 
Last edited:
  • #20
The original question was:

Calculate the value of e.

15f5460b0d41750d9f3f23f47e0ba5fd.png


Essentially, what we did was:

e = e
= 2... (using the calculator function)

But how did the calculator get that value?
 
  • #21
According to my calculator, e = 2.718281828
tahayassen said:
But how did the calculator get that value?

LOL! Sorry, i can't go into the electronics that pump out that number from your calculator. It happens due to logic gates. e has a standard value, much like [itex]\pi[/itex].
 
  • #22
sharks said:
According to my calculator, e = 2.718281828


LOL! Sorry, i can't go into the electronics that pump out that number from your calculator.

How do mathematicians know what e is equal to?

How did they calculate it?

Did they just use very large values of n?
 
  • #23
e = 1/0! + 1/1! + 1/2! + 1/3! + 1/4! + 1/5! + 1/6! + ...
 
  • #24
Alright. Thank you everyone for your time.

I think I understand it now. I was surprised to find that 1^infinity is an indeterminate form! I thought it would just equal 1.
 
  • #26
tahayassen said:
y=(1+n^-1)n
=n^-n(1+n)^n

How did you go from the first step to the second step?

I expanded that polynomial out. Ignoring the bit about Pascal's triangle, it's straightforward to see that the polynomial expands to:
[tex]s_n = n^{-n} (1 + (n-1)n + ... + (n-1)n^{n-1} + n^n)[/tex]
If you don't believe it, try it for a few small values of [itex]n[/itex] to see it. Now, if you do accept that, then what I said afterwards follows. That is, to a first approximation, we can drop everything but the last two terms in the polynomial, which gives [itex]e = 2[/itex] after we take the limit. If we keep instead the first three terms, we have
[tex]s_n \approx n^{-n} \left(\frac{1}{2}(n^2 -3n +2)n^{n-2} + (n-1)n^{n-1} + n^n\right)[/tex]
Trying the same strategy, in that first term there is only one term with order [itex]n^n[/itex], so
[tex]s_n \approx n^{-n} (\frac{1}{2} n^n + n^n + n^n) = 2.5.[/tex]
So the idea is that the more terms you keep, the closer you get to the actual value of [itex]e[/itex]. I think this leads to the Taylor expansion for the exponential function directly, but I haven't worked it out.

By the way -- the "argument" using the natural logarithm is not much of an argument, because you're assuming the nature of [itex]e[/itex] to prove the nature of [itex]e[/itex]. It is circular to use the natural logarithm if you're trying to prove the formula for the base of that logarithm.
 
  • #27
Steely Dan said:
I expanded that polynomial out. Ignoring the bit about Pascal's triangle, it's straightforward to see that the polynomial expands to:
[tex]s_n = n^{-n} (1 + (n-1)n + ... + (n-1)n^{n-1} + n^n)[/tex]
If you don't believe it, try it for a few small values of [itex]n[/itex] to see it. Now, if you do accept that, then what I said afterwards follows. That is, to a first approximation, we can drop everything but the last two terms in the polynomial, which gives [itex]e = 2[/itex] after we take the limit. If we keep instead the first three terms, we have
[tex]s_n \approx n^{-n} \left(\frac{1}{2}(n^2 -3n +2)n^{n-2} + (n-1)n^{n-1} + n^n\right)[/tex]
Trying the same strategy, in that first term there is only one term with order [itex]n^n[/itex], so
[tex]s_n \approx n^{-n} (\frac{1}{2} n^n + n^n + n^n) = 2.5.[/tex]
So the idea is that the more terms you keep, the closer you get to the actual value of [itex]e[/itex]. I think this leads to the Taylor expansion for the exponential function directly, but I haven't worked it out.

By the way -- the "argument" using the natural logarithm is not much of an argument, because you're assuming the nature of [itex]e[/itex] to prove the nature of [itex]e[/itex]. It is circular to use the natural logarithm if you're trying to prove the formula for the base of that logarithm.

I haven't read your post in 100% depth yet, because I just woke up and I need to go to school, but quick question: is there a particular reason for using Sn notation for the left side?
 
  • #28
tahayassen said:
is there a particular reason for using Sn notation for the left side?
[itex]S_n[/itex] is the sequence of partial sums.

Edit: No, it's not. It's just the expansion, using ? theorem.
 
Last edited:
  • #29
sharks said:
[itex]S_n[/itex] is the sequence of partial sums.

Edit: No, it's not. It's just the expansion, using ? theorem.

I used the [itex]s_n[/itex] notation because of that connection, but it was a weak one because this isn't actually a sum problem, as sharks observes. The point is, whatever is on the right hand side is the current approximation to [itex]e[/itex].
 
  • #30
There's a bunch of math that just has loads of tabulated values. e, for example, can be generated by plugging in high enough values of n. sin and cos along with tons of other functions need look up tables, or fast computing algorithms. Younger generations, such as mine, are so used to calculators pumping out values of pi, sin, cos, e, that we forget the nature of these numbers and functions.
 
  • #31
I understand your post Steely Dan, but I was just wondering why I'm not getting the approximate value of 2 when I tried it myself:

http://i2.lulzimg.com/7009a29b9a.png

Tex version:

[tex]Ignoring\quad coefficients...\\ { (1+{ n }^{ -1 }) }^{ n }={ \underset { n\rightarrow \infty }{ lim } }(1^{ n }{ ({ n }^{ -1 }) }^{ 0 }+{ 1 }^{ n-1 }{ ({ n }^{ -1 }) }^{ 1 }+{ 1 }^{ n-2 }{ ({ n }^{ -1 }) }^{ 2 }+\quad ...\quad +{ 1 }^{ 1 }{ ({ n }^{ -1 }) }^{ n-1 }+{ 1 }^{ 0 }{ ({ n }^{ -1 }) }^{ n })\\ { (1+{ n }^{ -1 }) }^{ n }={ \underset { n\rightarrow \infty }{ lim } }(1+{ n }^{ -1 }+{ n }^{ -2 }+\quad ...\quad +{ n }^{ -n+1 }+{ n }^{ -n })\\ { (1+{ n }^{ -1 }) }^{ n }={ \underset { n\rightarrow \infty }{ lim } }\left[ { n }^{ -n }({ n }^{ n }+{ n }^{ n-1 }+{ n }^{ n-2 }+\quad ...\quad +{ n }^{ 1 }+{ n }^{ 0 }) \right] \\ Ignoring\quad everything\quad except\quad the\quad first\quad two\quad terms...\\ { (1+{ n }^{ -1 }) }^{ n }={ \underset { n\rightarrow \infty }{ lim } }\left[ { n }^{ -n }({ n }^{ n }+{ n }^{ n-1 }) \right] \\ { (1+{ n }^{ -1 }) }^{ n }={ \infty }^{ -n }(\infty ^{ n }+{ \infty }^{ n-1 })[/tex]

Results:

http://i2.lulzimg.com/912d8aca39.png

Am I doing something wrong? Do the coefficients matter? How did you get the coefficients of (n-1)?
 
Last edited by a moderator:
  • #32
tahayassen said:
Am I doing something wrong? Do the coefficients matter? How did you get the coefficients of (n-1)?

The coefficients absolutely matter. In the way you wrote it, the second term is not [itex](1)n^{-1}[/itex] but [itex](n)n^{-1}[/itex]. If you're not seeing it, you have to actually work out the individual terms in the expansion.
 
  • #33
Regarding post #31, you should never substitute ∞ into an arithmetic expression.

In that post you have "∞-n(∞n + ∞-n)"
 
  • #34
[tex]s_n = n^{-n} (1 + (n-1)n + ... + (n-1)n^{n-1} + n^n)[/tex]

How did you get the coefficients: (n-1) for all the terms in the middle?

Wouldn't pascal's coefficients be something like:

http://i2.lulzimg.com/4084d10b33.png
 
Last edited by a moderator:
  • #35
tahayassen said:
[tex]s_n = n^{-n} (1 + (n-1)n + ... + (n-1)n^{n-1} + n^n)[/tex]

How did you get the coefficients: (n-1) for all the terms in the middle?

Wouldn't pascal's coefficients be something like:

http://i2.lulzimg.com/4084d10b33.png

That's correct. Obviously I didn't work out all of the coefficients, just the last three:

[tex]\left(\begin{array}{c} n \\ n \end{array}\right) = \frac{n!}{n!\ 0!} = 1[/tex]
[tex]\left(\begin{array}{c} n \\ n-1 \end{array}\right) = \frac{n!}{(n-1)!\ 1!} = n[/tex]
[tex]\left(\begin{array}{c} n \\ n-2 \end{array}\right) = \frac{n!}{(n-2)!\ 2!} = \frac{1}{2}(n)(n-1)[/tex]

The coefficients are symmetric, so this would also be the first three.
 
Last edited by a moderator:

Similar threads

  • Calculus and Beyond Homework Help
Replies
13
Views
732
  • Calculus and Beyond Homework Help
Replies
23
Views
1K
  • Calculus and Beyond Homework Help
Replies
20
Views
1K
  • Calculus and Beyond Homework Help
Replies
24
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
721
  • Calculus and Beyond Homework Help
Replies
2
Views
863
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
Back
Top