Indices and Logarithms
Indices and Logarithms
return to index
June 2011
Assumed Knowledge
Motivation
Content
Indices
Scientific notation
Exponential graphs
Exponential equations
Exponential growth
Logarithms
Links Forward
History and Applications
Answers to Exercises
return to top
MOTIVATION
Indices provide a compact algebraic notation for repeated multiplication. For example, is it much easier to
write 35 than 3 × 3 × 3 × 3 × 3.
Once index notation is introduced the index laws arise naturally when simplifying numerical and algebraic
expressions. Thus the simplificiation 25 × 23 = 28 quickly leads
to the rule am × an = am + n, for all positive integers m and n.
As often happens in mathematics, it is natural to ask questions such as:
In many applications of mathematics, we can express numbers as powers of some given base. We can
reverse this question and ask, for example, ‘What power of 2 gives 16? Our attention is then turned to the
index itself. This leads to the notion of a logarithm, which is simply another name for an index.
decibels, that are used to measure sound pressure, are defined using logarithms
the Richter scale, that is used to measure earthquake intensity, is defined using logarithms
the pH value in chemistry, that is used to define the level of acidity of a substance,
is also defined using the notion of a logarithm.
When two measured quantities appear to be related by an exponential function, the parameters of the
function can be estimated using log plots. This is a very useful tool in experimental science.
In senior mathematics, competency in manipulating indices is essential, since they are used extensively in
both differential and integral calculus. Thus, to differentiate or integrate a function such as , it is first
necessary to convert it to index form.
The function in calculus that is a multiple of its own derivative is an exponential function. Such functions
are used to model growth rates in biology, ecology and economics, as well as radioactive decay in nuclear
physics.
return to top
CONTENT
We recall that a power is the product of a certain number of factors, all of which are the same. For
example, 37 is a power, in which the number 3 is called the base and the number 7 is called the index or
exponent.
In the module, Multiples, Factors and Powers, the following index laws were established for positive
integer exponents. So positive integers and , and rational numbers and , we have:
Index Laws
EXERCISE 1
We now seek to give meaning to other types of exponents. The basic principle we use throughout is to
choose a meaning that is consistent with the index laws above.
Clearly = 1. On the other hand, applying index law 2, ignoring the condition m > n,
0 0
we have = 5 . If the index laws are to be applied in this situation, then we need to define 5 to be 1.
0
More generally, if a ≠ 0 then we define a = 1.
0
Note that 0 is not defined. It is sometimes called an indeterminant form.
(The explanation of this term is that one can find sequences of numbers of the form ab in which both a and
b approach 0, but where the limit of the sequence is not 1 and indeed can be made to be any number we
like, by a suitable choice of and For example, the terms of the sequence
0 0 0
1, , , ,…
are all equal to 1, while the terms of the sequence
01, 0 , 0 , 0 , …
0
are all equal to 0. In each case the form of the terms approaches 0 .
A similar situation occurs with and so the expression is also often referred to as an indeterminant
form.
EXAMPLE
Negative Exponents
4 3 2 1 0 −1 −2
2 = 16, 2 = 8, 2 = 2, 2 = 2, 2 = 1, 2 = ?, 2 = ?
At each step as we decrease the index, the number is halved. Thus it is sensible to define
−1
2 = .
2−4 −2
Similarly, =2 = 2 . but clearly, = = .
Note that all the earlier index laws also hold for negative indices.
EXAMPLE
Simplify
−2 −3 −2
a 8 b c ÷
SOLUTION
−2 −3 3
a 8 = b = =
−2 −4 −7
c ÷ = ÷ = × =a b =
Notice that
−1
=
When asked to simplify an expression involving indices, we generally express our answer using
positive indices.
EXERCISE 2
Simplify .
For all intergers m and n and non-zero numbers a and b the following are true.
Zero exponent 0
a =1
−n
Negative exponent a =
Fractional Indices
We now extend our study of indices to include rational or fractional exponents. In particular, can we give
meaning to 4?
Once again, we would like the established index laws to hold. Hence, squaring this expression we would
like to say:
4 2 = 4 × 2 = 41 = 4.
Thus we define 4 to be = 2.
Note that we have defined a to be the positive square root of We do this so that there is only one value for
a.
Applying a similar argument, for consistency with the index laws, we define a = ,
a= , and so on.
EXAMPLE
6 4
27 = 3, 16 = 2, (a ) = a .
2 ×2
Assuming consistency with index law 3, we can write 8 = 8 = 8. But 8= = 2.
Thus, 8 = 4.
The notation 8 means ‘the square of the cube root of 8’ which is equal to 4.
Note that we could also have expressed this as the ‘cube root of the square of 8’, which is, of course, also
equal to 4, that is:
8= = = 4 or,
2 2
8= ( ) = 2 = 4.
a = a p or .
Find a 16 b
SOLUTION
a 16 = ( )3 = 23 = 8 b = 3
= 3
=.
Finally, we can extend the indices to include negative rationals. For example,
8− = 8 −1
= =.
So that
a=.
EXERCISE 3
We have now defined ax for any positive real number a and any rational number x.
It remains to check that the index laws also hold in this more general case. We will not go through the
details. The following example outlines how this might be done in one particular case.
EXERCISE 4
This exercise asks you to give a proof that the first index law holds for negative integer exponents
and also for fractional exponents.
a By writing a−pa−q as × , show that a−pa−q = a−p −q as, where p, q are positive integers.
It is possible to give similar proofs that the other index laws also hold for negative integer and rational
exponents.
return to top
SCIENTIFIC NOTATION
Scientific notation, or standard form, is a convenient way to represent very large or very small numbers. It
allows the numbers to be easily recorded and read.
The star Sirius is approximately 75 684 000 000 000 km from the sun. We can represent this number more
compactly by moving the decimal point to just after the first non-zero digit and multiplying by an
appropriate power of 10 to recover the original number. Thus
If we move the decimal point 13 places to the right, inserting the necessary zeroes, we arrive back at the
number we started with.
We can similarly deal with very small numbers using negative indices. For example, an Angstrom (Å) is a
unit of length equal to 0.000 000 000 1 m, which is the approximate diameter of a small atom. We place
the decimal point just after the first non-zero digit and multiply by the appropriate power of ten. Thus,
0.000 000 000 1 = 1 × 10−10. Hence, for example, the diameter of a uranium atom is 0.000 000 000 38 m
which we may write as 3.8 × 10−10 m or 3.8 Å.
The index laws may be used to perform operations on numbers written in scientific notation.
EXAMPLE
−2 3 −8
Simplify (3.14 × 10 ) ÷ (7.1 × 10 ) giving your answer correct to one decimal place.
SOLUTION
(3.14 × 10−2)3 ÷ (7.1 × 10−8) = (3.143 ÷ 7.1) × 102 ≈ 4.36044 × 102 ≈ 436.0 correct to 1 decimal place.
In this case, we could leave this as the answer, or, if required, write is as 4.36 × 102.
Scientists and engineers routinely employ scientific notation to represent large and small numbers. Since
all measurements are approximations anyway, they generally report the numbers rounded to a given
7
number of significant figures. Thus, a number such as 2.1789 × 10 could be written as approximately 2.18
× 107. This is the same as rounding the number 21 789 000 to 21 800 000, that is, correct to three
significant figures.
A given number may be expressed with different numbers of significant figures. For example, 3.1 has 2
significant figures, 3.14 has 3 significant figures and so on. To round a number to a required number of
significant figures, first write the number in scientific notation and identify the last significant digit
required. Then leave the digit alone if the next digit is 0, 1, 2 ,3 or 4 (in this case the original number is
rounded down) and increase the last digit by one if the next digit is 5, 6, 7, 8 or 9 (in this case the original
number is rounded up.)
EXERCISE 5
x
We can use the calculator to find approximate values of for various rational values of 2 . We place these in
a table and we can then plot the ordered pairs (x, 2x)to produce a graph of y = 2x.
EXAMPLE
Produce a table of values for the function y = 2x and use it to draw its graph.
SOLUTION
Note that although we have ‘joined the dots’ to form a smooth curve, we have not given any meaning at
this stage to 2x when is an irrational number. We cannot deal with this problem at this stage.
EXERCISE 6
x −x
Draw the graphs of y = 3 and y = 3 on the set of axes.
EXPONENTIAL EQUATIONS
return to top
We can see from the graph that the curve y = 23x and y = 64 the line only meet once,
so there is one unique solution to the exponential equation.
23x = 64
Hence 3x = 6, giving x = 2.
EXAMPLE
a 2x = b 7x = c 7x = 1 d 81x = 243
SOLUTION
x x x x
a 2 = b 7 = c 7 =1 d 81 = 243
2x = 2–3 7x = 7–3 x =0 4x =5
x = –3 x = –3 x =
EXERCISE 7
3−x x −1
Solve 3 = 27 .
How do we solve 2x = 7? The method used above does not work in quite the same way, since we do not
know how to express 7 as a power of 2.
return to top
EXPONENTIAL GROWTH
The exponential function is used to model growth − generally population growth in biology, but this may
also include the growth of money via compound interest.
Suppose that a culture initially contains 1000 bacteria and that this number doubles
each hour. Thus, after
and so on.
t
N = 1000 × 2 .
Exponentials can also be used to model radioactive decay. Radioactivity is a natural phenomenon in which
atoms of one element ‘decay’ to form atoms of another element by emitting a particle such as an alpha
particle.
EXAMPLE
A sample of a radioactive substance with an initial mass of 100g decays over time, halving every
hour. Find a formula for the amount, M g, present after hours.
SOLUTION
2
After 2 hours, the mass is 100 × × = 100 × g.
2 3
After 3 hours, the mass is 100 × × = 100 × g.
t
M = 100 × g of the radioactive substance after hours.
t 0 1 2 3 4 5 6
M 100 50 25 12.5 6.25 3.13 1.56
This is an example of exponential decay.
EXERCISE 8
t 0 1 2 3
y
It is easy to find values of x, such that 2x = 2 or 2x = 4, or 2x = 32. On the other hand, how do we solve the
equation 2x = 10?
Problems such as this arise naturally when we deal with exponential growth and decay.
t
In the example above, we gave the formula for the mass of a radioactive substance to be M = 100 × g.
t
If we ask the question, when is the mass equal to say 30g, then we need to solve = 0.3 to find the time.
Just as taking a square root is the inverse process to squaring, taking a logarithm is the inverse process to
taking a power.
Since 23 = 8, we say that log2 8 = 3. That is, the logarithm is the index in the equation
To find the logarithm of a number a to the base b, we ask the question ‘what power do I raise b to, in order
to obtain a?
So, to find for example, log3 243, we recall that 243 = 35, so log3 243 = 5.
EXAMPLE
Find log8 4.
SOLUTION
One approach is to write, log8 4 = x and so 4 = 8x. Since both numbers are powers of 2, we can write
22 = (23)x = 23x.
Equating indices, 3x = 2, so x = .
Thus, log8 4 =.
(Indeed, 8 = ( )2 = 22 = 4.)
The number is called the base and must be a positive number. Also since ax is positive, we can only find
the logarithm of a positive number. We will assume from now on that both are positive, but can be
negative.
EXERCISE 9
Note: The following identities exemplify the inverse operations of taking a power and taking a logarithm.
These need to be properly understood by students.
For x > 0,
2log2 x = x.
aloga x = x.
x
loga 2 = x.
loga ax = x.
You will notice that in all the examples above, the values of the logarithms were rational numbers, which
were not too hard to find. Suppose we wanted to know the value of
log10 7? Thus, we seek a number x such that 7 = 10x.
We can see from the graph of y = 10x that such a number lies between 0 and 1.
The calculator is able to give an approximate value of this number. It is shown in the module, The Real
Numbers that numbers such as this are irrational.
Then xy = ac × ad
=c+d
= loga x + loga y
Then =
=c−d
= loga x + loga y
= −loga x, as required.
Law 5 If x is a positive number and n is any rational number, then loga (xn) = nloga x.
= nloga x, as required.
EXAMPLE
SOLUTION
=α+β =β+2
= log7 (3 × 5) − log7 2
=β+ −α
EXERCISE 10
Simplify:
Change of base
Some calculators are able to find the logarithm of a number to any positive base. This is not, however,
universal, and there are many occasions when we would like to change from one base to another.
For example, to find log3 7 we can change from base 3 to base 10, where the calculator can be used.
Change of base is also important in calculus, where logarithms to the base are used.
logb c =
Here is a proof of this result.
EXAMPLE
SOLUTION
log7 8 =
≈ 1.0686
As we did for exponentials, we can draw the graph of y = log2 x by drawing up a table of values.
x 1 2 4 8 16
y −4 −3 −2 −1 0 1 2 3 4
the graph is to the right of the y-axis, since only logarithms of positive numbers are defined.
as becomes small, the y values become large negative numbers. Thus, the graph approaches, but
does not touch, the negative axis. We say that the negative y-axis is
an asymptote of the graph.
the x-intercept is (1, 0) since log2 1 = 0.
EXERCISE 11
Use a table to draw on the same diagram the graphs of y = log2 x and y = log3 x. What can you say
We will conclude this module with some further applications of exponentials and logarithms.
Earlier in the module we raised the question of solving 2x = 7. If we have a calculator that finds logarithms
to the base 2, we can solve this equation by re-writing it using logarithms,
2x = 7
If the calculator only has logarithms to the base 10, we can use the change of base form to write
Alternatively, we can take the logarithms to the base 10 of both sides and use the logarithm laws.
2x = 7
log10 2x = log10 7
The following numbers exceed the capacity of your calculator. By taking logarithms of each number
51 52
to the base 10, decide which is larger, 10234 or 10233 .
EXAMPLE
A culture of bacteria initially has a mass of one gram and triples in size every hour.
How long will it take to reach a mass of 20 grams?
SOLUTION
Let y grams be the mass of the culture after t hours, then y = 3t.
If y = 20 then 20 = 3t.
log10 20 = log10 3t
log10 20 = tlog10 3
t=
≈ 2.727 hours
≈ 2 hours 44 minutes
It will take approximately 2 hours 44 minutes for the mass to reach 20 gram.
Compound Interest
An = P(1 + R)n
was introduced, where An was the amount that an initial investment P is worth after n units of time, when
In many applications of this formula, we need to find the value of n. This can be done using logarithms.
EXAMPLE
$50 000 is invested on Jan 1 2008 at 8% per annum. Interest is only paid on Jan 1 of each year.
After how many years will the investment be worth:
a $75 000 b $100 000?
SOLUTION
75 000 = 50 000(1.8)n
= (1.8)n
n=
= 5.26844...
At the end of the sixth year the investment will be worth $50 000(1.08)5 = $73 343.72.
At the end of the fifth year the investment will be worth $50 000(1.08)5 = $73 466.40.
The investment will worth more than $75 000 at the end of the sixth year.
b An = P(1 + R)n
2 = (1.8)n
n=
= 9.00646...
The investment will worth more than $100 000 at the end of the sixth year.
EXERCISE 13
An amount of $100,000 is invested at an annual interest rate of 6.25%. If the interest is calculated
yearly, how long before the investment has reached $150, 000? What is the answer if the interest is
paid monthly?
return to top
LINKS FORWARD
Irrational Indices
In this module we have extended the meaning of ab to include all rational values of b.
It is thus pertinent to ask: ‘What about an expression such as 3?’
Can this be given any meaning? After all, if you enter this into a calculator an answer is produced − but
what does the answer actually mean? The calculator is, of course, simply approximating by a rational
number. So if we approximate by 1.414 = , this would produce the number 3, which has the usual
meaning as outlined in this module. Its value is approximately 4.7277 (correct to four decimal places.)
This however does not equal 3, but it does give us a hint as to how we might give this number meaning.
One way to define 3 is to think of it as the limit of a sequence of approximations, each one obtained by
taking better and better approximations to and proceeding as above. Thus
This is not, of course, as satisfying as the definitions we gave for rational powers.
An alternative, but equivalent definition for real powers can be given once the exponential function and the
natural logarithm have been introduced. In general, for any real number b and positive real number a, we
can define ab to be eblog a, where the logarithm is to the base e. Thus, 3 = elog 3 ≈ 4.7288 correct to 4 decimal
places.) Note that this is consistent with the logarithm law alog b = log ab and also the inverse relationship
between exponentials and logarithms elog x = x.
This definition is also used for exponents involving complex numbers, but there the situation becomes
more complicated and is best left until tertiary study.
The Natural Logarithm and the number e
In senior mathematics, the so-called natural logarithm loge x, also written as ln x, or simply as log x, arises
Thus dt = loge x.
x log x x
The functions y = e and y = loge x are inverse functions, so that e = x, for x > 0, and loge e = x, for all real
x. These functions are central to an understanding of exponential growth (used to model populations and
compound interest) as well as radioactive decay and other physical processes. Thus, they arise is
chemistry, biology, economics, finance, and statistics as well as physics and engineering.
return to top
HISTORY AND APPLICATIONS
Index notation is comparatively modern. The Greek writer Diophantus used the symbol to denote what we
would call x2 and K for x3. In medieval algebra, Q and C were used instead. Even in the 16th century, people
3
were still writing xxx for x but our modern notation is clearly evident in Maclaurin’s Treatise on Algebra
(1779).
Although conceptually, logarithms are implicit in some of the early Indian mathematics, it was John
Napier’s book Mirifici Logarithmorum Canonis Descriptio in 1614, that formally introduced the concept and
name. (The word is a combination of the Greek words logos and arithmos, and thus literally means number
reckoning.
Until the advent of the modern calculator, logarithms were used extensively to aid in complicated
arithmetic calculations. This use continued in schools until the early 1980’s, when cheap scientific
calculators became available.
Thus, for example, to find 23.14 × 0.4526, each number was converted to its logarithm base 10 (there were
tables and methods to do this). These were added and the result was raised to the power 10, using so-
called anti-logarithm tables, to produce the required answer. This method exploited the index law, log10 xy
= log10 x + log10 y.
To find, for example, the logarithm to the base 10 of 463.2 was divided by 5 and then the table of
anti-logarithms was applied to find the answer. This used the result,
log10 = log10 a + log10 a.
In addition logarithm tables of the trigonometric ratios were available to assist with trigonometric
calculations.
pH Values
Logarithms to the base 10 are still used extensively in chemistry. The measure of acidity of a solution is
called its pH value. Acidity is connected to the the molar concentration of dissolved hydronium ions
+
(H3O ), and the pH of a solution is the negative of the logarithm of this quantity. The modern definition was
−7
introduced in 1924. A pH of 7, corresponding to a molar concentration of 10 , is called neutral and is the
pH of water. The closer to 0, the more acidic a solution is, while a pH closer to 14 tells us that the solution
is alkaline.
Log plots
When a collection of data is plotted and the scientist suspects that there is an exponential relationship
between the two quantities being plotted, then a log plot can be used.
Thus, if the two quantities x, y are related by y = ax + b, where a and b are unknown, then log10 y = xlog10 a +
blog10 a. Writing m = log10 a and c = blog10 a, the equation becomes y = mx + c which represents a straight
line with gradient m and y-intercept c. Hence, plotting log10 y against x should approximately produce a
straight line and the values of m, c and hence a, b are relatively easy to estimate. This is a very powerful
and clever application of logarithms, that is used widely in experimental science.
return to top
ANSWERS TO EXERCISES
EXERCISE 2
EXERCISE 4
b a× a= a× a = m
×
n
=
m+n +
=a=a
EXERCISE 5
27860000
EXERCISE 6
EXERCISE 7
x=
EXERCISE 8
t 0 1 2 3
y 20 60 180 540
c Using a calculator,
EXERCISE 9
x
a log2 32 = x, is equivalent to 2 = 32, so x = 5.
x
b log8 = x, is equivalent to 8 = , so x = −2.
5
c log2 x = 5, is equivalent to 2 = x, so x = 32.
2
d logx 16 = 2, is equivalent to x = 16, so x = 4.
−
e log36 x = −, is equivalent to 36 = x, so x = .
2
f log7 x = 2, is equivalent to 7 = x, so x = 49.
EXERCISE 10
= logb x
= logk 1
=0
= logb (x + a)
EXERCISE 11
log3 x < log2x for x >1 and log2 x < log3 x for x < 1.
EXERCISE 12
52
10233 is larger.
EXERCISE 13
7 years
79 months
The Improving Mathematics Education in Schools (TIMES) Project 2009-2011 was funded by the Australian Government Department of Education,
Employment and Workplace Relations.
The views expressed here are those of the author and do not necessarily represent the views of the Australian Government Department of Education,
Employment and Workplace Relations.
© The University of Melbourne on behalf of the International Centre of Excellence for Education in Mathematics (ICE-EM), the education division of
the Australian Mathematical Sciences Institute (AMSI), 2010 (except where otherwise indicated). This work is licensed under the Creative Commons
Attribution-NonCommercial-NoDerivs 3.0 Unported License.
https://creativecommons.org/licenses/by-nc-nd/3.0/