# Math Q: probability function and related formulas

**URL:** <https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081>\
**Category:** Factual Questions\
**Created:** [June 4, 2012, 8:59pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081 "2012-06-04T20:59:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 4, 2012, 8:59pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/1 "2012-06-04T20:59:05Z")

</div>

This is probably a fairly basic question but unfortunately my math education was sadly neglected. I was curious about the following:

Let’s say that tickets for a raffle have one chance in a hundred of winning, and you buy a hundred tickets. If you have one chance in N of something happening, and you have N trials, then the chance of it NOT happening is (N-1/N)N. What is the limit of this function when N approaches infinity? For large values of N it seems to hover around .36; is there some mathematical significance to this value? And finally, if you graphed N and the outcome of (N-1/N)N, you’d get a curve that I presume would be parabolic or hyperbolic. Would the Cartesian formula for this curve relate to the definition of the function in some way?

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 4, 2012, 9:10pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/2 "2012-06-04T21:10:30Z")

</div>

That should be (N-1/N)[sup]N[/sup].

---

<div class="post-metadata">

**Author:** ![Xema](https://avatars.discourse-cdn.com/v4/letter/x/9de053/32.png) [@Xema](https://boards.straightdope.com/u/Xema)\
**Post date:** [June 4, 2012, 9:19pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/3 "2012-06-04T21:19:38Z")

</div>

> [@Lumpy](#):
>
> That should be (N-1/N)[sup]N[/sup].

I think it should actually be ((N-1)/N)[sup]N[/sup] - which is equal to (1-1/N)[sup]N[/sup]

---

<div class="post-metadata">

**Author:** ![BarryB](https://avatars.discourse-cdn.com/v4/letter/b/d78d45/32.png) [@BarryB](https://boards.straightdope.com/u/BarryB)\
**Post date:** [June 4, 2012, 9:22pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/4 "2012-06-04T21:22:52Z")

</div>

The limit is 1/e (which can be derived by replacing N with M+1), and the curve isn’t parabolic or hyperbolic.

---

<div class="post-metadata">

**Author:** ![septimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/septimus/32/410_2.png) [@septimus](https://boards.straightdope.com/u/septimus)\
**Post date:** [June 4, 2012, 9:23pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/5 "2012-06-04T21:23:08Z")

</div>

> [@Lumpy](#):
>
> … What is the limit of ((N-1)/N)[sup]N[/sup] when N approaches infinity? For large values of N it seems to hover around .36 …

Is it not closer to .368, the reciprocal of 2.71828 ?

That number is [Euler’s number _e_](http://en.wikipedia.org/wiki/E_%28mathematical_constant%29) (not to be confused with the unrelated “Euler’s constant”).

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 5, 2012, 12:10am UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/6 "2012-06-05T00:10:03Z")

</div>

> [@Xema](#):
>
> I think it should actually be ((N-1)/N)[sup]N[/sup] -

This.

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 5, 2012, 12:14am UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/7 "2012-06-05T00:14:32Z")

</div>

> [@BarryB](#):
>
> The limit is 1/e (which can be derived by replacing N with M+1), and the curve isn’t parabolic or hyperbolic.

So what sort of curve is it, and can you express it in terms of x and y?

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [June 5, 2012, 1:06am UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/8 "2012-06-05T01:06:10Z")

</div>

> [@Lumpy](#):
>
> So what sort of curve is it, and can you express it in terms of x and y?

If I understand what you mean, of course you can: just write it with x instead of N as the independent variable.

Like [this](http://www.wolframalpha.com/input/?i=y+%3D+%281+-+1%2Fx%29%5Ex).

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [June 5, 2012, 1:08am UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/9 "2012-06-05T01:08:31Z")

</div>

The limit, as N approaches infinity, of (1 + x/N)[sup]N[/sup] is e[sup]x[/sup]. The OP’s formula gives the case where x = -1.

---

<div class="post-metadata">

**Author:** ![Bryan\_Ekers](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bryan_ekers/32/183_2.png) [@Bryan\_Ekers](https://boards.straightdope.com/u/Bryan_Ekers)\
**Post date:** [June 5, 2012, 1:15am UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/10 "2012-06-05T01:15:11Z")

</div>

> [@Lumpy](#):
>
> So what sort of curve is it

One with a horizontal asymptote, I gather.

---

<div class="post-metadata">

**Author:** ![Lumpy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lumpy/32/446_2.png) [@Lumpy](https://boards.straightdope.com/u/Lumpy)\
**Post date:** [June 5, 2012, 2:32pm UTC](https://boards.straightdope.com/t/math-q-probability-function-and-related-formulas/624081/11 "2012-06-05T14:32:24Z")

</div>

> [@Bryan\_Ekers](#):
>
> One with a horizontal asymptote, I gather.

Ah, I had only considered the curve for values of N\>=2.

If I win the lottery I’m going to take courses in all the trig and calc I never got around to.
