what exactly *is* a logarithm and what does it do?

1.38K viewsMathematicsOther

I mean, I’ve used them in algebra many times but I never really understood what it does. Kinda like in biostatistics how I could do the math, but how it worked was beyond me entirely.

So yeah: like what’s this sorcery and what does it do/why do we use it?

In: Mathematics

26 Answers

Anonymous 0 Comments

Where was all of this explanation in high school?

Anonymous 0 Comments

Here’s how I think about it: loga(b) is the power that makes ‘a’ become ‘b’. Which implies: a^(loga(b)) = b, we don’t even need to know the value of loga(b) in the previous equation, just that ‘a’ multiplies by itself loga(b) times to become ‘b’.

Anonymous 0 Comments

It’s the operation that transforms multiplications into additions : log(a * b) = log(a) + log(b).

Two classic applications come to my mind:

**Logarithmic scale:** It can be useful if you’re working with something that grows “geometrically”, that is, through successive multiplications, so gets big very quick, and doesn’t fit on your graph paper sheet. Put it through the logarithm, and lo!, now it grows “arithmetically”, that is through successive additions, that’s more manageable to plot. Examples: Decibel scale for sound levels, infectious disease transmission formula.

**Inverse of power functions:** You know that 2 to the power of 5 is 32. Now if you know that 32 is a power of 2 but want to know which one, logarithm gives you the answer.

Anonymous 0 Comments

A witch gives you a bag of n marbles. One of them is lucky. If you touch it, you will shit gold.

So you divide the marbles into m equal-ish piles, differing by no more than 1 in size, and give each to a friend.

Then, each of your friends divides their pile into m equal-ish piles and gives each of these to a friend.

This continues until nobody has more than one marble.

logm(n) = the # of 5yos who can now pay off their parents’ student loans (rounded up or down, as luck would have it)

Anonymous 0 Comments

My favorite way for conceptualizing a log scale is to imagine a brick wall, where the position of a brick from left to right corresponds to some value you’re plotting.

If you look at the brick wall straight on, it looks like [this](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRn-wd2YsRsF-sTytPPbOzLnjpIuY627CS-6Q&s). This is like plotting values on a linear scale: the relative width of a brick in the picture is the same everywhere. This is good for comparing values that are of similar size, but if our dataset contains both tiny and huge numbers, like 10, 20 and 34512, we’d need to extend the brick wall hugely from left to right in order to show all values at the same time. From such a zoomed-out view, 10 and 20 would be so close together that you couldn’t tell them apart, even though 10 is twice as big as 20.

If you look at the brick wall at an angle, it looks like [this](https://www.shutterstock.com/image-photo/brick-wall-angled-view-260nw-462391810.jpg). This is like plotting on a log scale. Now, the further to the right in the image you look, the more bricks fit into the same space on screen. This way, you can keep both bricks that are close to you (low values) and bricks that are far from you (high values) in your view at the same time.

I have no idea if this makes sense to anyone other than me.

Anonymous 0 Comments

A log asks how many times you need to multiply 1 number to get to another number.

For example, log2(8)=3 because you need three 2s (2×2×2) to get 8.