I understand that log2 is useful for informatics, e.g. to determine how many bits I need to represent a given number. I understand that log10 is useful to determine the order of magnitude of numbers.

However, I’m having trouble understanding what makes ln interesting. It seems like it’s used a lot, but to me it just looks like a logarithm with a very weird base. What are the uses for this logarithm?

  • x7123m3_256@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    It’s not a weird base, it’s really the most natural base to choose, which is why it’s called the natural logarithm. It doesn’t particularly matter what base you choose, because you can always convert from one base to another, but often the natural logarithm is simpler to work with. For example, the derivative of ln(x) is just 1/x. The derivative of log10(x) is 1/(x*ln(10)).

    This is because ln(x) is the inverse of e^x, which has the unique property that it is its own derivative.