Postby Dante » Mon May 02, 2011 11:27 pm
Logarithms preferred over exponentials? Nonsense, you get what nature gives you and often times that's an exponential process.
But why are logarithms cool? Well, you can think of them as the great leveler of mathematics. When the numbers you deal with in a system become obscenely large and small at the same time, a logarithm could really be helpful, because it focuses on the order of magnitude and not on the details. You're data may say 1x10-1, 10, 1000 and 100,000,000,000 but if you throw it into a log base 10, you get -1, 1, 3 and 11. Which set of numbers feels more familiar, the one that you could almost count on one hand, or the one that you would need the sands of the sea-shore to count?
Now where would you use something like this? How about measuring the brightness of different lights in the sky. The brightness of ursa majoris 47 has nothing on alpha centari, which in turn has nothing on the moon which has nothing on the brightest star in our sky, sol. But you can't just label them according to the light that they put out because those numbers vary drastically in orders of magnitude... so how do you save space in your astronomical catalog when printing them? List them in their logarithmic form!
You could just as easily use it in game-setting also. How do you make sure that casual players can still have fun and play a game at the same time as extreme players who play the game out of obsession? Make their skills logarithmically dependent upon their points (I used something like this in the IMAGE system in N&S 2.0 actually). In this manner, a player with 300 points earned over a few hours will be just slightly less powerful then the player with 1500 points. Of course, the person with 1500 points will be MORE powerful, but not 5x as powerful as the casual player.
There are also systems in nature that are logarithmic, one great example being your ear which responds logarithmically to sound. That is, in order to double the perceived loudness of a sound, you have to increase it's intensity by an order of magnitude! You can start to understand then, why the difference between a 20 and a 25 on your MP3 player can be so extreme in terms of damaging your ear. To give the illusion that sound is steadily increasing the MP3 player has to put out exponentially more energy in the sound-output and that energy falls directly on your poor ears. Actually a good number of our senses work off the same principle, that way we can remain sensitive over a wide range of environmental stimuli - allowing us to experience both the intensity of slamming our thumb in the car-door (*yowch!*) or having a fly or mosquito land on our wrist.
One of the most important facts from this whole thing to pick up is the exponential behavior of compound interest. Remember that exponentials don't level off or grow regularly, they EXPLODE in an almost catastrophic manner. The following is an exponential growth rate,
2, 4, 8, 16, 32, 64, 128, 256, 512, 1028, 2056...
In case your wondering, by the 30th term, I've reached 1,073,741,824. Where does this come into play? Credit cards. Credit cards utilize compounding interest - that is, your debt will grow exponentially. But if we had a reasonable saving account program (ah the good old days when banks paid 10% annual interest rates on savings accounts... where did those days of glory go?) you could also flip this on it's head. Say you saved $5,000 at age 20 at a 10% annual interest rate. By the time you reached 65 years of age, that compounded interest will have hit $364,452.42 (you have to worry about a 2-3% inflation rate of course but hey, that is still a fair chunk of change).
But if yous start at age 30? Then you only make $140,512.18. 40? $54,173.53. And if you were an early bird and threw $5,000 into such an account at 16? 533,594.79. And if your parents put $5,000 into such an account at your birth? You would be a multi-millionaire at $2,451,853.63. At 20 years of age, to make similar amounts, you would have to invest over $34,000. So this shows that time is a critical factor for investing in your future and likewise, the longer you let your debt fester, the more cataclysmic the consequence will be to your life.
So yeah... they're pretty important.