Knowledge base · From Zero to EngineerFrom Zero to Engineer
Logarithms: definition, laws and change of base
What a logarithm is and how to read the notation log_a b, the eight laws of logarithms, the common and natural logarithm, and the formula that lets you compute a logarithm to any base with a calculator.
A logarithm is the inverse of raising to a power: instead of asking for the result, we ask for the exponent. If b equals a to the power c, then c is the logarithm of b to the base a. Everything else in this lesson follows from that single definition - the laws carry over what we already know about powers: multiplication turns into addition, division into subtraction, and raising to a power into multiplication.
Logarithms
a - the base
b - the argument (the number whose logarithm is being taken)
c - the result (the exponent)
A logarithm is the exponent to which a given base must be raised to obtain a given number.
The laws of logarithms
Worked examples
Common logarithm and natural logarithm
The common logarithm is the logarithm to base 10, written simply as log a. The natural logarithm has base e and is written ln a.
The number e (Euler's number, Napier's constant, the base of the natural logarithm):
Calculate the value of each of the following logarithms, correct to three decimal places (use a calculator).
Change of base of a logarithm
PhiBoard is a free online whiteboard for maths
This lesson is part of it. On the board itself you can draw a number line, a graph or a figure, write a formula and solve a problem together with a teacher or a friend - live, in the browser. Our app is completely free.
Check whether you really know it
Theory is half the way. Work through a few exercises on the same material - each with a step-by-step solution, no account and no fees.
Frequently asked questions
What is a logarithm?
It is the exponent to which the base must be raised to obtain a given number. The notation log₂ 16 = 4 reads: two has to be raised to the fourth power to give 16.
Why can you not take the logarithm of a negative number?
Because the base is positive, and a positive number raised to any real power stays positive. So there is no exponent giving a negative result - hence the condition b > 0 in the definition.
What is the difference between log and ln?
The base. log is the common logarithm, to base 10, and ln is the natural logarithm, to base e, which is about 2.71828. Both have their own key on a calculator.
How do you compute a logarithm to a base your calculator does not have?
With the change of base formula: log_a x = log_a 10 · log₁₀ x. For log₂ 3.66 that gives 3.322 · 0.563, that is 1.872 - and all you need is the log key.