3873Views35Replies

# Can someone explain logarithms?

Seeing all of the other math Instructables on here, I was surprised not see one on logarithms. I just want to learn beyond my mundane curriculum. Thanks.

3873Views35Replies

Seeing all of the other math Instructables on here, I was surprised not see one on logarithms. I just want to learn beyond my mundane curriculum. Thanks.

## Discussions

9 years ago

Cameron's response below gives you a good definition of a logarithm: log

_{b}(N) is that number which, when used to exponentiate b, gives you N. However, I think you're asking, "what are logarithms good for?" Nowadays, not much unless you are a physicist specializing in either thermodynamics or QCD.In the old days, before calculators, logarithms were a way to allow you to do fairly complex arithmetic with nothing but addition and subtraction. For multiplication, there is a rule for exponents: b

^{x}×b^{y}= b^{x+y}. So if you have two numbers N and M which you want to multiply, then you can look up the logarithms, and use log(N)+log(M) = log(N×M). Similarly, for division you have b^{x}/b^{y}= b^{x-y}, and you can use log(N)-log(M) = log(N/M). If you have some complex calculation, you can do everything in terms of logs, and only look up the exponential ("inverse log") at the very end.Reply 9 years ago

then you can look up the logarithms_{hee hee, log tables....}Reply 9 years ago

Yeah, yeah, I should have used the past tense. I'm pretty sure even the CRC Handbook has dropped their log tables by now.

Reply 9 years ago

In the old days, before calculators, logarithms were a way to allow you to do fairly complex arithmetic with nothing but addition and subtraction.In a very real sense, you can't really do anything to a number except add to it or subtract from it. The rest of math is just fast and fancy ways of doing this.

Reply 9 years ago

That is true of real numbers. In the complex plane, you can rotate a number without adding or subtracting anything; and don't get me started about quarterions.

I'm not fully convinced that your statement is universally correct. Consider the operation of raising to a non-integer power (which is the whole point of logs, after all). Integer powers are equivalent to multiplication (n

^{3 = n×n×n), and multiplication is equivalent to repeated addition. }But if you raise a number to a floating-point power, how do you break that down into addition and subtraction, without invoking some more complex operation to deal with the fractional part?

Reply 7 years ago

If you want enrich your "multiplication is equivalent to repeated addition" comment, go to:

The “Multiplication is Not Repeated Addition” Research:http://numberwarrior.wordpress.com/2009/05/22/the-multiplication-is-not-repeated-addition-research/

and

“Multiplication is Not Repeated Addition” Revisited:http://numberwarrior.wordpress.com/2010/02/26/multiplication-is-not-repeated-addition-revisited/

Reply 7 years ago

Ockham's razor

Reply 7 years ago

Pardon?

Reply 7 years ago

Oops, I was answering Kelseymh, about the simplest way to frame the statement. :-)

Reply 7 years ago

Oh, OK!

Reply 9 years ago

Sorry, I hadn't meant to ruffle feathers :-)

It was a rather half-hearted comment after all.

I used the phrase once before, with my wife, because of her discomfort with dealing with fractions / decimals / percentages. It helped her to see things needn't always be overly complex. Gave her the confidence for her to do store percentages in her head, rather then ask me all the time (what's 30 % off of 59.99?) , of course, I did help with a trick or two ;-).

She is quite pleased with her newly found superpower ;-)Reply 9 years ago

. I can't find a good source, but, IIRC (probably not), computers can only add, AND, OR, and bit-shift. Everything else is just stringing those together. . If anyone finds some authoritative info on this, please post a link. It's way past my bedtime and I need to get some sleep.

Reply 9 years ago

You're both right, in an operational since. Since computers only recognize fixed-precision bit patterns (whether integer or "floating point"), you can reduce all operations to just adds. Extending Nacho's comment, all you really need is NAND (not-and). Every other operation can be implemented as cascades of those.

For any kind of arithmetic, even involving true real numbers, Goodhart is correct that it can all be reduced to addition and subtraction. My comment was meant in a more purely mathematical sense -- I don't thing that x

^{y}, where y is a potentially irrational or even complex number, can be implemented with just addition and subtraction....Unless...if you do a Taylor expansion, then you get an (infinite) sum of integer power terms, which does in fact reduce to multiplications and thence to additions. Okay, if you're willing to do an infinite number of additions, then Goodhart is correct in all cases.

Reply 9 years ago

See my comment farther below. Upon further review, the referees have reverse the ruling on the field, and Goodhart is, I believe, formally correct in all cases. You just need an infinite amount of time to get there.

Reply 7 years ago

Ockham's razor

Reply 9 years ago

For completeness, I should explain my somehwat cryptic opening comment, "not much unless you are a physicist specializing in either thermodynamics or QCD."

In thermodynamic information theory, entropy turns out to be equal to the logarithm of the number of microstates available to a given macroscopic system.

In quantum chromodynamics (QCD, the current best theory of the strong interaction), many higher-order terms in interactions scale with ln(Λ

_{QCD}), the energy scale of the strong force.Mathematically, logs appear in many places because the integral of 1/x is ln(x).

7 years ago

I'm almost 70 years old and "as far as I know" have had no need for logorithms. Having said that, I have enjoyed the replies, especially the videos. Good Logging.

7 years ago

Sorry, I just couldn't resist!

Now the constructive part

*Runs away while being pelted by stones*

7 years ago

Simply put, a logarithm is an exponent-related thing which, after a while, makes sense. Basically, you use the base 10. You get a random number, maybe 1000, then find out how many times you have to multiply the base by in order to find the logarithm. In this case, the log of 1000 is 3. And yes, other digits also work, but you better find a slide rule because that's the nearest you can get to calculating with logs (aside from digital computers).

9 years ago

See if you can find an old geezer who has a sliderule( B.C. before calculators). If you can see logarithms in action, you may be able to understand it better.

Reply 9 years ago

Hey! I resemble that remark...

Reply 9 years ago

. Do you still use a slipstick? (heehee that word is so old that the spellchecker flags it)

. I went digging through boxes, trying to find mine (I have 5-6), to no avail. Not sure I'd remember how to use them if I found them. :(

.

. For those of you that don't know what they are, check out the Wikipedia page on slide rules.

Reply 9 years ago

I haven't used a slide rule in about 30 years :-) My dad got me a really nice one (12 inches long, multiple scales including a reversible center slide) when I was 10. Calculators are more convenience and provide better precision when needed; slide rules accumulate round-off errors when performing long computations.

Reply 9 years ago

.

Somewherein a box, I have a real nice 10-12" Pickett that has more scales than any one person would ever need. Also have a couple of 8-10"ers that my Dad (BSEE) gave me. Plus several "novelty" ones (3-4", circular, &c). They are one of the things from The Good Ol' Days that I don't miss - give me a calculator any day.. Kind of amazing how they all but disappeared in just a few short years (1973-75, IIRC).

Reply 9 years ago

1973-1975 is probably right. That's when TI took their excellent military cryptographic techology (integrated circuits), combined it with these new-fangled light-emitting diodes, and started to make inexpensive consumer products with them. The rest, to quote the irritating cliché, is history.

Reply 9 years ago

> inexpensive . Not hardly! IIRC, the 4-function TI's were selling for around $200. That's $200 in mid-'70s dollars (?about $500 in current dollars?) for add/subtract/multiply/divide. No square root. No log. Just +, -, x, and *. No trig functions. Just +, -, x, and *. $200. . And battery life was awful. . Does anyone even make a Plain Jane, 4-function calculator anymore? Even the keychain models seem to all have at least one memory register and a sq root key.

Reply 9 years ago

Slide rules are still used all the time in aviation. The E6B, or flight computer, is a circular slide rule used to calculate time in flight, fuel burn, and about everything else. Even a lot of airliners still have an old E6B on board because they are just as fast as anything electronic, and will still work when every other system is dead.

Reply 9 years ago

So that's what that old "ruler" I found in the cabinet is!

Reply 9 years ago

It's not the size that matters, it's how you use it.

Reply 9 years ago

ROFLMAO

Reply 9 years ago

Hmmm, here here ! I too own a slide rule, in fairly nice condition too. A wooden one at that....

9 years ago

what specifcally do you want to know about log?

Reply 9 years ago

Um, basics I suppose. I don't really have a clear idea what log(x) and all that means, so from the start?

Reply 9 years ago

I just spent 5 minutes explaining this, then looking for an image of a Log Table found this rather good explanation:

http://gwydir.demon.co.uk/jo/numbers/machine/log.htm

L

9 years ago

It is a way of solving for an exponent. Lets say that you know that 2

^{x}=32. To solve for x using logarithms, the equation can be written log_{2}32=x, which is read as "log base 2 of 32". log_{2}32 can then be solved to equal 5, so we know that 2^{5}=32.Whenever you see ln(x), that is the

natural logarithm...i.e., log_{e}x. This is used a lot when working with e (Euler's number, about 2.71828). Another special one is log(x), which is thecommon logarithm, and is the same as writing log_{10}x.Most scientific or graphing calculators cannot solve for any bases except e and 10. Fortunately, logarithms have the property that log

_{a}x=log(x)/log(a)=ln(x)/ln(a). So, to enter log_{2}32 into a calculator, you would have to enter log(32)/log(2), or ln(32)/ln(2).I hope I have helped, and am not just confusing you further.