Logarithms
Matsec Syllabus: Pure Mathematics Paper 1 Topic 1: Logarithms:
Definition of logarithms;
The laws of logarithms;
Common and natural logarithms;
Change of base formula;
Solution of equations involving indices and logarithms.
Introduction
The following is the definition of the logarithm function:
The logarithm (or log, for short) of a number is a quantity representing the power (index/exponent) to which the base must be raised to produce that given number.
This definition means that an equation involving indices can be converted into an equation involving logs as follows:
\boxed{a^x=b\iff \log_a(b)=x} where b is a positive number.
Notes:
- The symbol \iff means that the two equations (in this case, a^x=b and \log_a(b)=x) are equivalent (so they describe the same thing).
- The number a of the logarithmic function \log_a (b) (written as a subscript) is known as the base of the logarithmic function.
Example 1: Convert the following equations into ones involving logs:
(a) 10^2=100
Substitute a=10, x=2, b=100 in the definition.
(b) 10^5=10000
Substitute a=10, x=5, b=10000 in the definition.
(c) 4^3=64
Substitute a=4, x=3, b=64 in the definition.
(d) e^{4.605}=100
Substitute a=e, x=4.605, b=100 in the definition.
Example 2: Convert the following equations into ones involving indices:
(a) \log_3 81=4
Substitute a=3, x=4, b=81 in the definition.
(b) \log_{10} 10000=4
Substitute a=10, x=4, b=10000 in the definition.
(c) \log_4 2=\frac{1}{2}
Substitute a=4, x=\frac{1}{2}, b=2 in the definition.
(b) \log_e 1=0
Substitute a=e, x=0, b=1 in the definition.
The Common & Natural Log
The logarithmic function with base 10, namely \log_10, is known as the common logarithm and is written as \log in short.
The logarithmic function with base e, namely \log_e, is known as the natural logarithm and is written as \ln in short. The letter “n” in “ln”, stands for natural.
Example 3: Convert the following equations into ones involving indices:
(a) \log 100=2
\begin{aligned}\log 100&=2\\log_{10}100&=2\end{aligned}
Substitute a=10, x=2, b=100 in the definition.
(b) \ln e=1
\begin{aligned}\ln e&=1\\log_{e}e&=1\end{aligned}
Substitute a=e, x=1, b=e in the definition.
Example 4: Evaluate the following without using a calculator:
(a) \log_4 64
Let \log_4 64= x
We want to find the value of x.
(b) \log_{16} 2
Let \log_{16} 2= x
We want to find the value of x.
(c) \log_a a^3
Let \log_a a^3= x
We want to find the value of x.
(d) \log 100000
Let \log_{10} 100000= x
We want to find the value of x.
Two Results of Logs
We have the following 2 results of logs that help us evaluate logs, more quickly without referring back to the indices.
Result 1 states that whenever the input of the log function is equal to its base, the output is always equal to 1.
Result 2 states that whenever the input of the log function is equal to 1, the output is always equal to 0.
Result 1:
\boxed{\log_a a=1} for any positive number a
Result 2:
\boxed{\log_a 1=0} for any positive number a
We are going to use these 2 results in order to evaluate logs.
Example 5: Evaluate the following without using a calculator:
(a) \log_5 5
(b) 20\log_8 8
(c) \ln e
(d) \log 10
(e) \log 1
(f) \ln 1
(e) \frac{\log_4 1}{a}
(f) \frac{1}{2}\ln 1
Three Rules of Logs
The following 3 rules of logs are very useful in simplifying and evaluating expressions involving logs.
Rule 1 states that the log of a product of two terms can be expressed as the sum of the log of the two terms.
Similarly, Rule 2 states that the log of a fraction of two terms can be expressed as the log of the numerator minus the log of the denominator.
Rule 3, states that when the input of the log function is in index form, the power can be removed from the input of the log function and added as a coeeficient of the log function.
Rule 1:
\boxed{\log_c{ab}=\log_c{a}+\log_c{b}} where a, b & c are positive numbers
Rule 2:
\boxed{\log_c{\frac{a}{b}}=\log_c{a}-\log_c{b}} where a, b & c are positive numbers
Rule 3:
\boxed{\log_c{a^b}=b\log_c{a}} where a, b & c are positive numbers
Let us now use these three rules in order to evaluate expressions involving logs.
Example 6: Simplify the following expressions:
(a) \log_3 a + \log_3 5
(b) \log 4x - \log x
(c) \log x - 1
(d) \log 10 - \log 3+\log 60
(e) \log_2 10 - \log_2 6
(f) 2\log 4 - \log 2+3
(g) 4\log_3 2 - 2
(h) 2\ln a - \ln 2a
Example 7: Evaluate the following expressions:
(a) \log_4 64
(b) \frac{\log_3 16}{\log_3 64}
Avoid the following common mistakes
Avoid the following common mistakes related to the use of the 3 Rules of Logs:
\begin{aligned} \bullet&\ \log_c (a+b) \neq \log_c a +\log_c b\\ \bullet&\ \log_c (a-b) \neq \log_c a -\log_c b\\ \bullet&\ \log_c (ab) \neq (\log_c a)(\log_c b)\\ \bullet&\ \log_c a^2 \neq (\log_c a)^2\\ \bullet&\ \log_c (\frac{a}{b}) \neq \frac{\log_c a}{\log_c b} \end{aligned} \begin{aligned} \qquad \end{aligned} \begin{aligned} \to&\text{ The correct rule is Rule 1: }\log_c (ab) = \log_c a +\log_c b\\ \to&\text{ The correct rule is Rule 2: }\log_c (\frac{a}{b}) = \log_c a -\log_c b\\ \to&\text{ The correct rule is Rule 1: }\log_c (ab) = \log_c a +\log_c b\\ \to&\text{ Using Rule 3, the correct equation is: }\log_c a^2 = 2\log_c a\\ \to&\text{ The correct rule is Rule 2: }\log_c (\frac{a}{b}) = \log_c a -\log_c b \end{aligned}
Change of Base Formula
The following is the formula that enables us to change the base of the log function. Here we are changing the base from b to c.
\log_b a = \frac{\log_c a}{\log_c b}
For example, suppose that we have \log_3 5 and we would like continue the working in base 4. Then by the Change of Base Formula:
\log_3 5 = \frac{\log_4 5}{\log_4 3}
Note that the Change of Base Formula was very handy in times when the calculator only evaluated log base 10 functions. Thus the Change of Base Formula was used mostly to convert a log of any base to base 10. Nowadays, our calculators and computers evaluate log functions of any base straight away, and thus this formula is mostly used to simply expressions and solving equations.
Example 7: Express the following with logs base 10 and evaluate:
(a) \log_7 49
(b) \log_{11} 121
(c) \log_{243} 9
(d) \log_4 2\sqrt{2}
(e) (\log_2 5)(\log_5 8)
(f) \log_a b^2\log_b a^3
Example 8: Use the Change of Base formula to show that: \log_b a =\frac{1}{\log_a b}
\begin{aligned}\log_b a &=\frac{\log_a a}{\log_a b}\text{ (by Change of Base formula)}\\&=\frac{1}{\log_a b}\text{ (by Result 1)}\end{aligned}
Solving indical equations by using logs
In the section on Indices we solved indical equations, that is, equations in which the unknown variable is in the power. For example, 2^x=16. We used the fact that 16=2^4. Hence we obtained both the left hand side and the right-hand side as an index having the same base. See worked example below.
Sometimes we can have an indical equation in which this is not possible, for example when we have 2^x=15 and thus we solve it by using logs. The trick is to put a log on each side of the equation and Rule 3, in order to bring down x from the power. See the worked examples, in Example 9.
\begin{aligned}2^x&=16\\2^x&=2^4\\x&=4\end{aligned}
\begin{aligned}2^x&=15\end{aligned}
Here we cannot express 15 in index form with base 2. Hence we must use logs.
Example 9: Solve the following equations:
(a) 2^x=15
(b) 3^{x+1}=4
(c) 2^x=3^{1-x}
* R.H.S. stands for right-hand-side (of the equation)