Indices, logs and exponentials
Indices, logs and exponentials
YouTube lecture recording from October 2020
The following YouTube video was recorded for the 2020 iteration of the course.
The material is still very similar:
Indices
In mathematics, an index refers to the power to which a number (the base) is raised.
The index is usually written as a small number above and to the right of the base.
For example, in the expression , is the base, and is the index or power.
This expression is read as "2 to the power of 3" or simply "2 cubed", and it equals .
(1) Multiplication of expressions with powers
Let's recap by example:
,
and
.
Now,
and
.
So,
.
And, by extension:
.
When we multiply two expressions with powers, we add the powers.
(2) Division of expressions with powers
Again, let's look at an example:
We can cancel both fives on the bottom with two from the top, leaving just , or, left.
Generalising, by extension:
When we divide two expressions with powers, we subtract the powers.
(3) Powers of expressions with powers
Back to our example:
Using the addition rule from above, the resulting power should be .
And, sure enough:
.
So, generalising again:
When we raise an expression containing a power to another power, we multiply the powers.
(4) Negative powers
What happens when we divide indices, but there are more numbers on the bottom of the fraction?
Using the division rule above, the power should be .
And, so:
and, in general,
where is a positive integer.
(5) Zero index
Similarly,
,
and by using the division rule, the power should be .
Thus, anything to the power of zero equals one, except
which is undefined:
(6) Fractional (rational) indices
(7) Different bases, same index
(8) Two Cautionary remarks
- Powers of sums are not pretty:
- Powers of differences are not pretty:
A useful formula for products of sums:
Three important consequences:
Logarithms
- If , is the power to which the base must be raised to give , OR
- is the logarithm which, with base gives .
In general we write .
The base of a logarithm may be any number. Commonly, logarithms either have base 10 or base .
It is almost always a good idea to explicitly state the base, e.g. implies .
Getting a feel for logarithms
Here's a graph of :
Some physical phenomena use log metrics due to their huge dynamic range:
- volume of sound (decibels)
- pitch (1 octave is doubling of frequency, 2 octaves is quadrupling of frequency)
- earthquakes (Richter scale)
- pH ( ion concentration)
- Used a lot in computer programming to improve the speed and/or accuracy of calculations.
The laws of logarithms
(1) Using the same base for both operations
- Taking the logarithm undoes raising to a power:
- Raising to a power undoes taking the logarithm:
(2) Multiplication
(3) Division. In a similar way to multiplication
(4) Powers
(5) Changing the base of a logarithm
(6) Special case: if and are the same, (5) reduces to
(7) The log of any number to the base itself is 1
(8) The log of 1 is 0 (unless a=0, in which case it is undefined)
(9) Inverse operation
(10) Or
(11) Negative logs
(12) Two cautionary remarks
- and cannot be simplified any further, and should be left as they are.
- Neither can or Leave them as they are.
Example 1: graphs
Can the data below be fitted to the form: ?
x | y |
---|---|
4.0 | 6.0 |
16.0 | 12.0 |
25.0 | 15.0 |
64.0 | 24.0 |
Take logs of both sides: This is the equation of a straight line (cf. )
Gradient = 0.5 =
Intercept = so
Data fit curve of the form:
Example 2: pH
- What is the pH of a 0.011M solution of HCl?
import numpy as np pH = -np.log10(0.011) print('pH =',pH)
pH = 1.958607314841775
- What is the H concentration of a solution of HCl with a pH of 3?
[H+] = 0.001 M
Example 3: Simplifying logs
Write an expression for without using logarithms:
> >
- Use the laws of logarithms (above) to put all terms on the right hand side within the logarithm. This means we have to rewrite as .
- Raise both sides to the (same) power which will undo the logarithm function. (i.e. raise both sides to the power of 10)
The exponential function and the real number e
Definition of the Real Number
The real number , also known as Euler's number, is that base for which the graph
passes through the point with gradient exactly equal to .
So for the function (called the exponential function):
This turns out to be true at any point on the curve.
The function is the only function that is unchanged when differentiated (more tomorrow).
has been found to arise in many branches of mathematics. It is also used as a base for logarithms. e.g.:
Logs to base are called natural logarithms.
Definition of the natural logarithm
The natural logarithm of a number is the logarithm of that number taken using the base .
We usually write for . Here are some examples:
- = "The power I need to raise to in order to get 10"
- . Which means that
Note that examples (d) and (e) confirm the property that
the functions "" and "" are functional
inverses of one another.
Introductory problems
Introductory problems 1
Simplify:
Introductory problems 2
Evaluate the following expressions without using a calculator:
Introductory problems 3
Express the following in logarithmic form:
Introductory problems 4
Evaluate the following expressions without using a calculator:
Introductory problems 5
Solve the following equations for :
One of your solutions should be exactly times the value of your other solution. Why?
Introductory problems 6
Simplify:
Main problems
Main problems 1
In an experiment, the mass, grams, of a reaction product is measured at various times, minutes. It is believed that and are related by a law of the form:
The results are shown in the table below:
time (min) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 |
---|---|---|---|---|---|---|---|---|---|
mass (g) | 0.5 | 0.63 | 0.72 | 0.8 | 0.85 | 0.9 | 0.95 | 0.99 | 1.0 |
- Confirm this postulate graphically. There is one result that does not conform to this law. Which?
- Find appropriate values of and , and in this context, explain the meaning of . What are the units of ?
- Explain, with reasons, whether you would use these results to predict the mass when .
Main problems 2
These problems deal with pH:
- What is the pH of 130ml of a solution containing 4.7mg HCl, assuming that HCl is completely ionised in solution, and its molecular mass is 36.46?
- What would be the pH if the concentration of HCl were tripled?
Main problems 3
Express in terms of , , and :
Main problems 4
Simplify:
Main problems 5
This problem gives you a chance to use the identity .
Consider the equation :
- Verify that satisfies this equation
- There is one other value of that also satisfies this equation. Find it.
Main problems 6
Solve the following equations for :
Main problems 7
Write an expression for or without using logarithms:
Main problems 8
Write in terms of for each of the following:
Main problems 9
Express as a sum or difference of logarithms:
Main problems 10
Express as a single logarithm: