2022-04-23 13:26:53 +01:00
|
|
|
---
|
2022-08-20 13:00:04 +01:00
|
|
|
tags: [algebra]
|
2022-04-23 13:26:53 +01:00
|
|
|
---
|
2024-02-02 15:58:13 +00:00
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
Most simply a logarithm is a way of answering the question:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
> How many of one number do we need to get another number. How many of x do we
|
|
|
|
> need to get y
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
More formally:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
> x raised to what power gives me y
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
Below is an example of a logarithm:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
$$
|
|
|
|
\log \_{3} 9
|
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
We read it:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
> log base 3 of 9
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
And it means:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
> 3 raised to what power gives me 9?
|
2022-04-23 13:26:53 +01:00
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
In this case the answer is easy: $3^2$ gives me nine, which is to say: three
|
|
|
|
multiplied by itself.
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
## Using exponents to calculate logarithms
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
This approach becomes rapidly difficult when working with larger numbers. It's
|
|
|
|
not as obvious what $\log \_{5} 625$ would be using this method. For this
|
|
|
|
reason, we use exponents which are intimately related to logarithms.
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
A logarithm can be expressed identically using exponents for example:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
$$
|
|
|
|
\log \_{3} 9 = 2 \leftrightarrow 3^2 = 9
|
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
$$
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
By carrying out the conversion in stages, we can work out the answer to the
|
|
|
|
question a logarithm poses.
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
Let's work out $\log \_{2} 8$ using this method.
|
|
|
|
|
|
|
|
1. First we add a variable (x) to the expression on the right hand:
|
2024-02-02 15:58:13 +00:00
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
$$
|
2024-02-02 15:58:13 +00:00
|
|
|
\log \_{2} 8 \leftrightarrow x
|
|
|
|
|
|
|
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
1. Next we take the base of the logarithm and combine it with x as an exponent.
|
|
|
|
Now our formula looks like this:
|
|
|
|
|
|
|
|
$$
|
|
|
|
\log \_{2} 8 \leftrightarrow 2^x
|
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
1. Next we add an equals and the number that is left from the logarithm (8):
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
$$
|
|
|
|
\log \_{2} 8 \leftrightarrow 2^x = 8
|
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
$$
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
Then the problem is reduced to: how many times do you need to multiply two by
|
|
|
|
itself to get 8? The answer is 3 : 2 x 2 x 2 or 2 p3. Hence we have the balanced
|
|
|
|
equation:
|
|
|
|
|
|
|
|
$$
|
|
|
|
\log \_{2} 8 \leftrightarrow 2^3 = 8
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
## Common base values
|
|
|
|
|
|
|
|
Often times a base won't be specified in a log expression. For example:
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
$$
|
|
|
|
\log1000
|
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
$$
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
This is just a shorthand and it means that the base value is ten, i.e that the
|
|
|
|
logarithm is written in denary (base 10). So the above actually means:
|
|
|
|
|
|
|
|
$$
|
|
|
|
\log \_{10} 1000 = 3
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
$$
|
|
|
|
|
|
|
|
This is referred to as the **common logarithm**
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
Another frequent base is Euler's number (approx. 2.71828) known as the **natural
|
|
|
|
logarithm**
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
An example
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
$$
|
|
|
|
\log \_{e} 7.389 = 2
|
|
|
|
|
2022-04-23 13:26:53 +01:00
|
|
|
|
|
|
|
$$
|