In mathematics many ideas are related. We saw that addition and subtraction are related and that multiplication and division are related. Similarly, exponentials and logarithms are related.
Logarithms are commonly refered to as logs, are the "opposite" of exponentials, just as subtraction is the opposite of addition and division is the opposite of multiplication. Logs "undo" exponentials. Technically speaking, logs are the inverses of exponentials. The logarithm of a number xx in the base aa is defined as the number nn such that an=xan=x.
So, if an=xan=x, then:
log
a
(
x
)
=
n
log
a
(
x
)
=
n
(1)
When we say “inverse function” we mean that the answer becomes the
question and the question becomes the answer. For example, in the equation ab=xab=x the
“question” is “what is aa raised to the power bb?” The answer is “xx.” The inverse function
would be logax=blogax=b or “by what power must we raise aa to obtain xx?” The answer is “bb.”
The mathematical symbol for logarithm is loga(x)loga(x) and it is read “log to the base aa of xx”. For example, log10(100)log10(100) is “log to the base 10 of 100.”
Write the following out in words. The first one is done for you.
- log2(4)log2(4) is log to the base 2 of 4
-
log
10
(
14
)
log
10
(
14
)
-
log
16
(
4
)
log
16
(
4
)
-
log
x
(
8
)
log
x
(
8
)
-
log
y
(
x
)
log
y
(
x
)
The logarithm of a number is the value to which the base must be raised to give that number i.e. the exponent. From the first example of the activity log2(4)log2(4) means the power of 2 that will give 4. As 22=422=4, we see that
log
2
(
4
)
=
2
log
2
(
4
)
=
2
(2)
The exponential-form is then 22=422=4 and the logarithmic-form is log24=2log24=2.
- Definition 1: Logarithms
If an=xan=x, then: loga(x)=nloga(x)=n, where a>0a>0; a≠1a≠1 and x>0x>0.
Find the value of:
-
log
7
343
log
7
343
Reasoning
:
7
3
=
343
therefore
,
log
7
343
=
3
Reasoning
:
7
3
=
343
therefore
,
log
7
343
=
3
(3)
-
log
2
8
log
2
8
-
log
4
1
64
log
4
1
64
-
log
10
1
000
log
10
1
000
Logarithms, like exponentials, also have a base and log2(2)log2(2) is not the same as log10(2)log10(2).
We generally use the “common” base, 10, or the natural base, ee.
The number ee is an irrational number between 2.712.71 and 2.722.72. It comes up surprisingly often in Mathematics, but for now suffice it to say that it is one of the two common bases.
The natural logarithm (symbol lnln) is widely used in the sciences.
The natural logarithm is to the base ee which is approximately 2.71828183...2.71828183.... ee is like ππ
and is another example of an irrational number.
While the notation log10(x)log10(x) and loge(x)loge(x) may be used, log10(x)log10(x) is often written log(x)log(x) in Science and loge(x)loge(x) is normally written as ln(x)ln(x) in both Science and Mathematics. So, if you see the loglog symbol without a base, it means log10log10.
It is often necessary or convenient to convert a log from one base to another. An engineer might need an approximate solution to a log in a base for which he does not have a table or calculator function, or it may be algebraically convenient to have two logs in the same base.
Logarithms can be changed from one base to another, by using the change of base formula:
log
a
x
=
log
b
x
log
b
a
log
a
x
=
log
b
x
log
b
a
(4)
where bb is any base you find convenient. Normally aa and bb are known,
therefore logbalogba is normally a known, if irrational, number.
For example, change log212log212 in base 10 is:
log
2
12
=
log
10
12
log
10
2
log
2
12
=
log
10
12
log
10
2
(5)
- log2(4)log2(4) to base 8
- log10(14)log10(14) to base 2
- log16(4)log16(4) to base 10
- logx(8)logx(8) to base yy
- logy(x)logy(x) to base xx
Just as for the exponents, logarithms have some laws which make working with them easier. These laws are based on the exponential laws and are summarised first and then explained in detail.
log
a
(
1
)
=
0
log
a
(
a
)
=
1
log
a
(
x
·
y
)
=
log
a
(
x
)
+
log
a
(
y
)
log
a
x
y
=
log
a
(
x
)
-
log
a
(
y
)
log
a
(
x
b
)
=
b
log
a
(
x
)
log
a
x
b
=
log
a
(
x
)
b
log
a
(
1
)
=
0
log
a
(
a
)
=
1
log
a
(
x
·
y
)
=
log
a
(
x
)
+
log
a
(
y
)
log
a
x
y
=
log
a
(
x
)
-
log
a
(
y
)
log
a
(
x
b
)
=
b
log
a
(
x
)
log
a
x
b
=
log
a
(
x
)
b
(6)
Since
a
0
=
1
Then
,
log
a
(
1
)
=
log
a
(
a
0
)
=
0
by definition of logarithm
Since
a
0
=
1
Then
,
log
a
(
1
)
=
log
a
(
a
0
)
=
0
by definition of logarithm
(7)
For example,
log
2
1
=
0
log
2
1
=
0
(8)
and
log
25
1
=
0
log
25
1
=
0
(9)
Simplify the following:
-
log
2
(
1
)
+
5
log
2
(
1
)
+
5
-
log
10
(
1
)
×
100
log
10
(
1
)
×
100
-
3
×
log
16
(
1
)
3
×
log
16
(
1
)
-
log
x
(
1
)
+
2
x
y
log
x
(
1
)
+
2
x
y
-
log
y
(
1
)
x
log
y
(
1
)
x
Since
a
1
=
a
Then
,
log
a
(
a
)
=
log
a
(
a
1
)
=
1
by definition of logarithm
Since
a
1
=
a
Then
,
log
a
(
a
)
=
log
a
(
a
1
)
=
1
by definition of logarithm
(10)
For example,
log
2
2
=
1
log
2
2
=
1
(11)
and
log
25
25
=
1
log
25
25
=
1
(12)
Simplify the following:
-
log
2
(
2
)
+
5
log
2
(
2
)
+
5
-
log
10
(
10
)
×
100
log
10
(
10
)
×
100
-
3
×
log
16
(
16
)
3
×
log
16
(
16
)
-
log
x
(
x
)
+
2
x
y
log
x
(
x
)
+
2
x
y
-
log
y
(
y
)
x
log
y
(
y
)
x
Useful to know and remember
When the base is 10, we do not need to state it.
From the work done up to now, it is also useful to summarise the following facts:
-
log
1
=
0
log
1
=
0
-
log
10
=
1
log
10
=
1
-
log
100
=
2
log
100
=
2
-
log
1000
=
3
log
1000
=
3
The derivation of this law is a bit trickier than the first two. Firstly, we need to relate xx and yy to the base aa. So, assume that x=amx=am and y=any=an. Then from Equation Equation 1, we have that:
log
a
(
x
)
=
m
and
log
a
(
y
)
=
n
log
a
(
x
)
=
m
and
log
a
(
y
)
=
n
(13)
This means that we can write:
log
a
(
x
·
y
)
=
log
a
(
a
m
·
a
n
)
=
log
a
(
a
m
+
n
)
Exponential laws
=
log
a
(
a
log
a
(
x
)
+
log
a
(
y
)
)
=
log
a
(
x
)
+
log
a
(
y
)
log
a
(
x
·
y
)
=
log
a
(
a
m
·
a
n
)
=
log
a
(
a
m
+
n
)
Exponential laws
=
log
a
(
a
log
a
(
x
)
+
log
a
(
y
)
)
=
log
a
(
x
)
+
log
a
(
y
)
(14)
For example, show that log(10·100)=log10+log100log(10·100)=log10+log100. Start with calculating the left hand side:
log
(
10
·
100
)
=
log
(
1000
)
=
log
(
10
3
)
=
3
log
(
10
·
100
)
=
log
(
1000
)
=
log
(
10
3
)
=
3
(15)
The right hand side:
log
10
+
log
100
=
1
+
2
=
3
log
10
+
log
100
=
1
+
2
=
3
(16)
Both sides are equal. Therefore, log(10·100)=log10+log100log(10·100)=log10+log100.
Write as seperate logs:
-
log
2
(
8
×
4
)
log
2
(
8
×
4
)
-
log
8
(
10
×
10
)
log
8
(
10
×
10
)
-
log
16
(
x
y
)
log
16
(
x
y
)
-
log
z
(
2
x
y
)
log
z
(
2
x
y
)
-
log
x
(
y
2
)
log
x
(
y
2
)
The derivation of this law is identical to the derivation of Logarithm Law 3 and is left as an exercise.
For example, show that log(10100)=log10-log100log(10100)=log10-log100. Start with calculating the left hand side:
log
(
10
100
)
=
log
(
1
10
)
=
log
(
10
-
1
)
=
-
1
log
(
10
100
)
=
log
(
1
10
)
=
log
(
10
-
1
)
=
-
1
(17)
The right hand side:
log
10
-
log
100
=
1
-
2
=
-
1
log
10
-
log
100
=
1
-
2
=
-
1
(18)
Both sides are equal. Therefore, log(10100)=log10-log100log(10100)=log10-log100.
Write as seperate logs:
-
log
2
(
8
5
)
log
2
(
8
5
)
-
log
8
(
100
3
)
log
8
(
100
3
)
-
log
16
(
x
y
)
log
16
(
x
y
)
-
log
z
(
2
y
)
log
z
(
2
y
)
-
log
x
(
y
2
)
log
x
(
y
2
)
Once again, we need to relate xx to the base aa. So, we let x=amx=am. Then,
log
a
(
x
b
)
=
log
a
(
(
a
m
)
b
)
=
log
a
(
a
m
·
b
)
(
exponential laws
But
,
m
=
log
a
(
x
)
(
Assumption that
x
=
a
m
)
∴
log
a
(
x
b
)
=
log
a
(
a
b
·
log
a
(
x
)
)
=
b
·
log
a
(
x
)
(
Definition of logarithm
)
log
a
(
x
b
)
=
log
a
(
(
a
m
)
b
)
=
log
a
(
a
m
·
b
)
(
exponential laws
But
,
m
=
log
a
(
x
)
(
Assumption that
x
=
a
m
)
∴
log
a
(
x
b
)
=
log
a
(
a
b
·
log
a
(
x
)
)
=
b
·
log
a
(
x
)
(
Definition of logarithm
)
(19)
For example, we can show that log2(53)=3log2(5)log2(53)=3log2(5).
log
2
(
5
3
)
=
log
2
(
5
·
5
·
5
)
=
log
2
5
+
log
2
5
+
log
2
5
(
∵
log
a
(
x
·
y
)
=
log
a
(
a
m
·
a
n
)
)
=
3
log
2
5
log
2
(
5
3
)
=
log
2
(
5
·
5
·
5
)
=
log
2
5
+
log
2
5
+
log
2
5
(
∵
log
a
(
x
·
y
)
=
log
a
(
a
m
·
a
n
)
)
=
3
log
2
5
(20)
Therefore, log2(53)=3log2(5)log2(53)=3log2(5).
Simplify the following:
-
log
2
(
8
4
)
log
2
(
8
4
)
-
log
8
(
10
10
)
log
8
(
10
10
)
-
log
16
(
x
y
)
log
16
(
x
y
)
-
log
z
(
y
x
)
log
z
(
y
x
)
-
log
x
(
y
2
x
)
log
x
(
y
2
x
)
The derivation of this law is identical to the derivation of Logarithm Law 5 and is left as an exercise.
For example, we can show that log2(53)=log253log2(53)=log253.
log
2
(
5
3
)
=
log
2
(
5
1
3
)
=
1
3
log
2
5
(
∵
log
a
(
x
b
)
=
b
log
a
(
x
)
)
=
log
2
5
3
log
2
(
5
3
)
=
log
2
(
5
1
3
)
=
1
3
log
2
5
(
∵
log
a
(
x
b
)
=
b
log
a
(
x
)
)
=
log
2
5
3
(21)
Therefore, log2(53)=log253log2(53)=log253.
Simplify the following:
-
log
2
(
8
4
)
log
2
(
8
4
)
-
log
8
(
10
10
)
log
8
(
10
10
)
-
log
16
(
x
y
)
log
16
(
x
y
)
-
log
z
(
y
x
)
log
z
(
y
x
)
-
log
x
(
y
2
x
)
log
x
(
y
2
x
)
The final answer doesn't have to look simple.
Simplify, without use of a calculator:
3
log
3
+
log
125
3
log
3
+
log
125
(22)
- Step 1. Try to write any quantities as exponents :
125 can be written as 5353.
- Step 2. Simplify :
3
log
3
+
log
125
=
3
log
3
+
log
5
3
=
3
log
3
+
3
log
5
∵
log
a
(
x
b
)
=
b
log
a
(
x
)
3
log
3
+
log
125
=
3
log
3
+
log
5
3
=
3
log
3
+
3
log
5
∵
log
a
(
x
b
)
=
b
log
a
(
x
)
(23)
- Step 3. Final Answer :
We cannot simplify any further. The final answer is:
3
log
3
+
3
log
5
3
log
3
+
3
log
5
(24)
Simplify, without use of a calculator:
8
2
3
+
log
2
32
8
2
3
+
log
2
32
(25)
- Step 1. Try to write any quantities as exponents :
8 can be written as 2323. 32 can be written as 2525.
- Step 2. Re-write the question using the exponential forms of the numbers :
8
2
3
+
log
2
32
=
(
2
3
)
2
3
+
log
2
2
5
8
2
3
+
log
2
32
=
(
2
3
)
2
3
+
log
2
2
5
(26)
- Step 3. Determine which laws can be used. :
We can use:
log
a
(
x
b
)
=
b
log
a
(
x
)
log
a
(
x
b
)
=
b
log
a
(
x
)
(27)
- Step 4. Apply log laws to simplify :
(
2
3
)
2
3
+
log
2
2
5
=
(
2
)
3
2
3
+
5
log
2
2
(
2
3
)
2
3
+
log
2
2
5
=
(
2
)
3
2
3
+
5
log
2
2
(28)
- Step 5. Determine which laws can be used. :
We can now use logaa=1logaa=1
- Step 6. Apply log laws to simplify :
(
2
)
3
2
3
+
5
log
2
2
=
(
2
)
2
+
5
(
1
)
=
4
+
5
=
9
(
2
)
3
2
3
+
5
log
2
2
=
(
2
)
2
+
5
(
1
)
=
4
+
5
=
9
(29)
- Step 7. Final Answer :
The final answer is:
8
2
3
+
log
2
32
=
9
8
2
3
+
log
2
32
=
9
(30)
Write 2log3+log2-log52log3+log2-log5 as the logarithm of a single number.
- Step 1. Reverse law 5 :
2
log
3
+
log
2
-
log
5
=
log
3
2
+
log
2
-
log
5
2
log
3
+
log
2
-
log
5
=
log
3
2
+
log
2
-
log
5
- Step 2. Apply laws 3 and 4 :
=log(32×2÷5=log(32×2÷5)
- Step 3. Write the final answer :
=log3,6=log3,6
Exponent rule: xba=xabxba=xab
In grade 10 you solved some exponential equations by trial and error, because you did not know the great power of logarithms yet. Now it is much easier to solve these equations by using logarithms.
For example to solve xx in 25x=5025x=50 correct to two decimal places you simply apply the following reasoning. If the LHS = RHS then the logarithm of the LHS must be equal to the logarithm of the RHS. By applying Law 5, you will be able to use your calculator to solve for xx.
Solve for xx: 25x=5025x=50 correct to two decimal places.
- Step 1. Taking the log of both sides :
log
25
x
=
log
50
log
25
x
=
log
50
- Step 2. Use Law 5 :
x
log
25
=
log
50
x
log
25
=
log
50
- Step 3. Solve for xx :
x
=
log
50
÷
log
25
x
=
log
50
÷
log
25
x
=
1
,
21533
.
.
.
.
x
=
1
,
21533
.
.
.
.
- Step 4. Round off to required decimal place :
x=1,22x=1,22
In general, the exponential equation should be simplified as much as possible. Then the aim is to make the unknown quantity (i.e. xx) the subject of the equation.
For example, the equation
2
(
x
+
2
)
=
1
2
(
x
+
2
)
=
1
(31)
is solved by moving all terms with the unknown to one side of the equation and taking all constants to the other side of the equation
2
x
·
2
2
=
1
2
x
=
1
2
2
2
x
·
2
2
=
1
2
x
=
1
2
2
(32)
Then, take the logarithm of each side.
log
(
2
x
)
=
log
(
1
2
2
)
x
log
(
2
)
=
-
log
(
2
2
)
x
log
(
2
)
=
-
2
log
(
2
)
Divide both sides by
log
(
2
)
∴
x
=
-
2
log
(
2
x
)
=
log
(
1
2
2
)
x
log
(
2
)
=
-
log
(
2
2
)
x
log
(
2
)
=
-
2
log
(
2
)
Divide both sides by
log
(
2
)
∴
x
=
-
2
(33)
Substituting into the original equation, yields
2
-
2
+
2
=
2
0
=
1
2
-
2
+
2
=
2
0
=
1
(34)
Similarly, 9(1-2x)=349(1-2x)=34 is solved as follows:
9
(
1
-
2
x
)
=
3
4
3
2
(
1
-
2
x
)
=
3
4
3
2
-
4
x
=
3
4
take the logarithm of both sides
log
(
3
2
-
4
x
)
=
log
(
3
4
)
(
2
-
4
x
)
log
(
3
)
=
4
log
(
3
)
divide both sides by
log
(
3
)
2
-
4
x
=
4
-
4
x
=
2
∴
x
=
-
1
2
9
(
1
-
2
x
)
=
3
4
3
2
(
1
-
2
x
)
=
3
4
3
2
-
4
x
=
3
4
take the logarithm of both sides
log
(
3
2
-
4
x
)
=
log
(
3
4
)
(
2
-
4
x
)
log
(
3
)
=
4
log
(
3
)
divide both sides by
log
(
3
)
2
-
4
x
=
4
-
4
x
=
2
∴
x
=
-
1
2
(35)
Substituting into the original equation, yields
9
(
1
-
2
(
-
1
2
)
)
=
9
(
1
+
1
)
=
3
2
(
2
)
=
3
4
9
(
1
-
2
(
-
1
2
)
)
=
9
(
1
+
1
)
=
3
2
(
2
)
=
3
4
(36)
Solve for xx in 7·5(3x+3)=357·5(3x+3)=35
- Step 1. Identify the base with xx as an exponent :
There are two possible bases: 5 and 7. xx is an exponent of 5.
- Step 2. Eliminate the base with no xx :
In order to eliminate 7, divide both sides of the equation by 7 to give:
5
(
3
x
+
3
)
=
5
5
(
3
x
+
3
)
=
5
(37)
- Step 3. Take the logarithm of both sides :
log
(
5
(
3
x
+
3
)
)
=
log
(
5
)
log
(
5
(
3
x
+
3
)
)
=
log
(
5
)
(38)
- Step 4. Apply the log laws to make xx the subject of the equation. :
(
3
x
+
3
)
log
(
5
)
=
log
(
5
)
divide both sides of the equation by
log
(
5
)
3
x
+
3
=
1
3
x
=
-
2
x
=
-
2
3
(
3
x
+
3
)
log
(
5
)
=
log
(
5
)
divide both sides of the equation by
log
(
5
)
3
x
+
3
=
1
3
x
=
-
2
x
=
-
2
3
(39)
- Step 5. Substitute into the original equation to check answer. :
7
·
5
(
-
3
2
3
+
3
)
=
7
·
5
(
-
2
+
3
)
=
7
·
5
1
=
35
7
·
5
(
-
3
2
3
+
3
)
=
7
·
5
(
-
2
+
3
)
=
7
·
5
1
=
35
(40)
Solve for xx:
-
log
3
x
=
2
log
3
x
=
2
-
10
log
27
=
x
10
log
27
=
x
-
3
2
x
-
1
=
27
2
x
-
1
3
2
x
-
1
=
27
2
x
-
1
Logarithms are part of a number of formulae used in the Physical Sciences. There are formulae that deal with earthquakes, with sound, and pH-levels to mention a few. To work out time periods is growth or decay, logs are used to solve the particular equation.
A city grows 5% every 2 years. How long will it take for the city to triple its size?
- Step 1. Use the formula :
A=P(1+i)nA=P(1+i)n
Assume P=xP=x, then A=3xA=3x.
For this example nn represents a period of 2 years, therefore the nn is halved for this purpose.
- Step 2. Substitute information given into formula :
3
=
(
1
,
05
)
n
2
log
3
=
n
2
×
log
1
,
05
(
using law 5
)
n
=
2
log
3
÷
log
1
,
05
n
=
45
,
034
3
=
(
1
,
05
)
n
2
log
3
=
n
2
×
log
1
,
05
(
using law 5
)
n
=
2
log
3
÷
log
1
,
05
n
=
45
,
034
(41)
- Step 3. Final answer :
So it will take approximately 45 years for the population to triple in size.
I have R12 000 to invest. I need the money to grow to at least R30 000. If it is invested at a compound interest rate of 13% per annum, for how long (in full years) does my investment need to grow ?
- Step 1. The formula to use :
A
=
P
(
1
+
i
)
n
A
=
P
(
1
+
i
)
n
(42)
- Step 2. Substitute and solve for n :
30000
<
12000
(
1
+
0
,
13
)
n
1
,
13
n
>
5
2
n
log
(
1
,
13
)
>
log
(
2
,
5
)
n
>
log
(
2
,
5
)
÷
log
(
1
,
13
)
n
>
7
,
4972
...
30000
<
12000
(
1
+
0
,
13
)
n
1
,
13
n
>
5
2
n
log
(
1
,
13
)
>
log
(
2
,
5
)
n
>
log
(
2
,
5
)
÷
log
(
1
,
13
)
n
>
7
,
4972
...
(43)
- Step 3. Determine the final answer :
In this case we round up, because 7 years will not yet deliver the required R 30 000.
The investment need to stay in the bank for at least 8 years.
- The population of a certain bacteria is expected to grow exponentially at a rate of 15 % every hour. If the initial population is 5 000, how long will it take for the population to reach 100 000 ?
- Plus Bank is offering a savings account with an interest rate if 10 % per annum compounded monthly. You can afford to save R 300 per month. How long will it take you to save R 20 000 ? (Give your answer in years and months)
- Show that
logaxy=loga(x)-loga(y)logaxy=loga(x)-loga(y)(44)
- Show that
logaxb=loga(x)blogaxb=loga(x)b(45)
- Without using a calculator show that:
log7516-2log59+log32243=log2log7516-2log59+log32243=log2(46)
- Given that 5n=x5n=x and n=log2yn=log2y
- Write yy in terms of nn
- Express log84ylog84y in terms of nn
- Express 50n+150n+1 in terms of xx and yy
- Simplify, without the use of a calculator:
- 823+log232823+log232
- log39-log55log39-log55
- 54-1-9-112+log392,1254-1-9-112+log392,12
- Simplify to a single number, without use of a calculator:
- log5125+log32-log8log8log5125+log32-log8log8
- log3-log0,3log3-log0,3
- Given: log36=alog36=a and log65=blog65=b
- Express log32log32 in terms of aa.
- Hence, or otherwise, find log310log310 in terms of aa and bb.
- Given: pqk=qp-1pqk=qp-1
Prove: k=1-2logqpk=1-2logqp
- Evaluate without using a calculator: (log749)5+log51125-13log91(log749)5+log51125-13log91
- If log5=0,7log5=0,7, determine, without using a calculator:
- Given: M=log2(x+3)+log2(x-3)M=log2(x+3)+log2(x-3)
- Determine the values of xx for which MM is defined.
- Solve for xx if M=4M=4.
- Solve: x3logx=10x2x3logx=10x2 (Answer(s) may be left in surd form, if necessary.)
- Find the value of (log273)3(log273)3 without the use of a calculator.
- Simplify By using a calculator: log48+2log327log48+2log327
- Write log4500log4500 in terms of aa and bb if 2=10a2=10a and 9=10b9=10b.
- Calculate: 52006-52004+2452004+152006-52004+2452004+1
- Solve the following equation for xx without the use of a calculator and using the fact that 10≈3,16:10≈3,16:
2log(x+1)=6log(x+1)-12log(x+1)=6log(x+1)-1(47)
- Solve the following equation for xx: 66x=6666x=66 (Give answer correct to 2 decimal places.)
"Accessible versions of this collection are available at Bookshare. DAISY and BRF provided."