MATHEMATICS FOUNDATIONS · REVISION NOTES
Logarithms
Understand logarithms, apply the log laws and change of base, and solve exponential equations.
Start the lessonBack to the basicsMatsec 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.
01 · 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 a > 0, a ≠ 1 and b > 0.
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.
10^2=100\iff \log_{10}(100)=2(b) 10^5=100000
Use base 10, exponent 5 and value 100000.
10^5=100000\iff \log_{10}(100000)=5(c) 4^3=64
Substitute a=4, x=3, b=64 in the definition.
4^3=64\iff \log_4(64)=3(d) An exact natural logarithm example
e^{\ln 100}=100\iff \log_e(100)=\ln 100Numerically, ln(100) ≈ 4.60517. This decimal is an approximation, not an exact equality.
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.
\log_3 81=4\iff 3^4=81(b) \log_{10} 10000=4
Substitute a=10, x=4, b=10000 in the definition.
\log_{10} 10000=4\iff 10^4=10000(c) \log_4 2=\frac{1}{2}
Substitute a=4, x=\frac{1}{2}, b=2 in the definition.
\log_4 2=\frac{1}{2}\iff 4^{\frac{1}{2}}=2(b) \log_e 1=0
Substitute a=e, x=0, b=1 in the definition.
\log_e 1=0\iff e^0=102 · Logarithms
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.
\boxed{\log_{10}=\log}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.
\boxed{\log_e=\ln}Example 3: Convert the following equations into ones involving indices:
(a) \log 100=2
Substitute a=10, x=2, b=100 in the definition.
\log_{10} 100=2\iff 10^2=100(b) \ln e=1
Substitute a=e, x=1, b=e in the definition.
\log_{e} e=1\iff e^1=eExample 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.
03 · Logarithms
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 a > 0 and a ≠ 1
Result 2:
\boxed{\log_a 1=0} for a > 0 and a ≠ 1
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
04 · Logarithms
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 > 0, b > 0, c > 0 and c ≠ 1 (the exponent in Rule 3 may be any real number)
Rule 2:
\boxed{\log_c{\frac{a}{b}}=\log_c{a}-\log_c{b}} where a > 0, b > 0, c > 0 and c ≠ 1 (the exponent in Rule 3 may be any real number)
Rule 3:
\boxed{\log_c{a^b}=b\log_c{a}} where a > 0, b > 0, c > 0 and c ≠ 1 (the exponent in Rule 3 may be any real number)
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}
05 · Logarithms
Avoid the following common mistakes
Avoid the following common mistakes related to the use of the 3 Rules of Logs:
06 · Logarithms
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}
07 · Logarithms
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.
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)
(d) (\frac{1}{9.8})^x=1.5\times 10^{-94.7}
Keep building your mathematics skills
Explore the other foundation topics or get help with the steps you find challenging.
Explore the basicsAsk about lessons