Earlier quoted context omitted.
Yes the office door stop as it was known as at our place. Top book though just faded in utility and no one had the heart to dispose of it because of the good memories.
Good book indeed, just that I wouldn't use a book to look up Win32 API functions.
The Lost Art of Logarithms
41–50 of 204 posts
Re: The Lost Art of Logarithms
#42Earlier quoted context omitted.
How long do I have to study math to understand this?
to understand what they said, or to understand a proof of why it would be true? any stats class would be enough to understand what they said
So I guess I "understand it" in the sense that it doesn't sound like a foreign language, but I can't apply it in any meaningful way.
Re: The Lost Art of Logarithms
#43Earlier quoted context omitted.
The Triangle of power explanation of logarithms is what really got me across logs. It wasn't until seeing the triangle and having the relationships explained that I had any clue about logarithms, up until then logs had been some archaic number that meant nothing to me. Because of the triangle of power, I now rock up to B and B+ Trees and calculate the number of disc accesses each will require in the worst case, depen…
Ironically, that notation, which I just discovered, confuses me more than anything else. Logs clicked for me when someone online said "amongst all the definitions we have for logs, the most useful and less taught is that log() is just a power". At that exact instant, it's like if years of arcane and foreign language just disappeared in front of my eyes to leave only obviousness and poetry.
I don't understand the comment about it just being a power, but, for me, knowing that it's filling in the third vertice on the triangle with exponents at the top, and n on the other is what makes it work for me - I now know in my head when I am looking for the log of n, I am looking for the exponent that would turn the log into n.
I don't go looking for the exact log, I only look for whole numbers when I am calculating the value in my mind.
But it makes sense when I am looking for the log2 of 8 to know that the answer is "what exponent will make 2 into 8"? and that's "3"
Re: The Lost Art of Logarithms
#44Here's an logarithmic fact that I've made use of frequently: If X is a random variable having a uniform distribution between zero and one, then –ln( X )/ λ has an exponential distribution with rate λ . This relationship comes in handy when, for example, you want to draw weighted random samples. Or generating event times for simulations.
Sampling from a standard uniform distribution and then using the inverse transform is the commonest way of generating random numbers from an arbitrary distribution.
0. https://en.m.wikipedia.org/wiki/Inverse_transform_sampling
1. https://en.m.wikipedia.org/wiki/Probability_integral_transfo...
2. Not every cdf is one-to-one, however, so you may need a generalized inverse.
Re: The Lost Art of Logarithms
#45Re: The Lost Art of Logarithms
#46Notation for writing log has always bugged me. Like I feel like it should be more like ^ which would be the log base 10 of 527. That's not it, but something. The current notation just doesn't feel quite right.
https://mathcenter.oxford.emory.edu/site/math108/logs/ Some people have suggested the "triangle of power".
Re: The Lost Art of Logarithms
#47(ln(f))' = f'/f
In function theory you use it all the time. But people rarely notice, that it related to a logarithm.
Also the functions that have nice logarithmic derivative are a lot more interesting than expected. Nature is full of Gompertz functions. Once you're familiar with it, you see it everywhere.
Re: The Lost Art of Logarithms
#48Earlier quoted context omitted.
How long do I have to study math to understand this?
Unless I'm missing something, this can just be directly verified, no “understanding” necessary. All you need to know is that probability distributions can be characterized by their probability density function (PDF). If Y=-ln(X)/lambda, then P(Y exp(-lambda a)) = 1-exp(-lambda a). And if Z is exponential with rate parameter lambda, then P(Z They have the same PDF, so they're the same distribution.
I would say If you knew 2+2=4, and not much else you're years away from 'understanding', if you know ln(exp(y)) = y, and P(x>0.5) = 0.5 for a uniform distribution on [0, 1) then you don't need any additional understanding.
I would bet the GP comment is somewhere inbetween the two extremes, but I think a random sampling of the population would likely result in people generally not knowing the log / exponentiation relation, or anything about the uniform distribution.
Re: The Lost Art of Logarithms
#49Here's an logarithmic fact that I've made use of frequently: If X is a random variable having a uniform distribution between zero and one, then –ln( X )/ λ has an exponential distribution with rate λ . This relationship comes in handy when, for example, you want to draw weighted random samples. Or generating event times for simulations.
How long do I have to study math to understand this?
x = -log(rand())/lambda
a bunch a times, that comes from something, right? Well, let's call that something an exponential distribution.
From this perspective, the thing that actually needs math is finding the density function of the exponential distribution. (For that, in theory you just need calc 101 and probability 101.)
Re: The Lost Art of Logarithms
#50Haven't heard that name in a while. For me he's the WinApi guy - learned a lot from him when I first started programming.