Where transcendental numbers hide in everyday math
quantamagazine.org
quantamagazine.org
Until that is I came across this[1] wonderful article. That site is a treasure trove of very good insightful articles. Can't recommend enough.
[1] https://betterexplained.com/articles/an-intuitive-guide-to-e...
Eg. if an event has a 1/10 chance of occuring, how likely am I to encounter it at least once after 10 trials? What about a 1/1000 event after 1000 trials?
Well, if it has probability p, then there is 1-p of it NOT happening. So the chance of seeing a 1/p event after p trials is:
= 1 - (1-p)^p (looks a lot like e) = 1 - 1 / (1-p)^-p = 1 - 1/e (63.2%)
This comes up a lot in real-life, since it feels like if we do something with a 1% chance 100 times, it should occur, but there is really a more than 1/3 chance against it!
Visual Complex Analysis, by Tristan Needham, covers this lucidly.
Or you can think of the function exp() represented by the Taylor series and e just happens to be exp(1). But the particular number itself isn’t as important as the function.
To be fair, neither is important. You don't have to reach for a transcendental if you want infinite polynomials, you can manufacture one for integers, rationals, irrationals...the familiar example -
f(x) = 1 + 1/x + 1/x^2 + 1/x^3 + 1/x^4 + ... f(1) = 2
But its still a really interesting video!
I feel like the most clear statement from that article is "it's the base of exponential growth", but that (for a math inclined audience) the best way to show that is via equations like dy/dt = \alpha y.
e is the base of the exponential function, the solution of
y = y'
pi arises from sine and cosine, which are the solutions to y'' = -yReplace dy/dx with ∆y/∆x, so
∆y = y(x+∆x) - y(x)
Once you solve that (use some induction and numerical methods), see what happens when ∆x appraches to 0 and x=1.
For example try with ∆x=1 and then generalize that case to ∆x=n.
Could you break it down further?
Definitely a missed opportunity.
Algebraic numbers are countable, since their description is a countable combination of rationals which are also countable. The measure of a countable set is zero, so the measure of its complement is 1, and thus the probability of choosing a transcendental is 1.
Maybe it's not so easy to describe a transcendental number, at least in our lifetimes...
The equivalence class of all such representations is the number we call PI.
So you're probably onto something.
Old IBM mainframes used base 16 for floating-point numbers, which (like also the base 10) is more distant from e than 2, and that caused larger computation errors than in modern computers with binary floating-point numbers.
For exact numbers (e.g. integers), the base does not matter, except on how it influences the cost of the hardware needed to implement the arithmetic operations. Base 2 normally results in minimal cost.
The problem with IBM's floating point scheme was that the multi-digit exponent granularity threw away mantissa bits.
Reasonable precision with reasonable range is hard in 32 bits and IBM effectively had less. (36 bit FP can be much better.)
In order to determine an optimal value for anything, you need some quantity that must be minimized or maximized.
For storage, I do not see what quantity might have anything to do with the representation base except the probability of errors when retrieving a previously stored digit.
However that probability decreases monotonically with the decrease in the number of values per digit, so the error probability is smallest for the smallest base, i.e. for 2, not for e.
The same is for a communication channel affected by noise, the optimal base is 2.
On the other hand, one may add additional constraints that can define an optimization problem, e.g. for a communication channel, if the bandwidth and the acceptable error probability are given, to maximize the quantity of information transmitted per time, or for a storage device, if the volume used for storage is given and the acceptable error probability is given, to maximize the quantity of information stored in that volume.
However, for these 2 problems determined by physics the solutions cannot be achieved by using a certain numeric base. The optimal solutions for both problems is to use an appropriate error-correcting code, the right code depending on the parameters of the problem (but almost equivalent error-correcting codes can be defined for stored or transmitted symbols belonging to different symbol sets, e.g. for digits in numbers represented with different bases).
The quantity optimized was "cost to store data". The three parameters are sensor characteristics, storage element characteristics, and the amount of data per storage element. Increasing the last makes the other two worse, but that doesn't tell us that minimizing the last is the optimum solution.
Yes, ECC across multiple storage elements changes things.
This is minimized when k = e.