Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 1.7 · SL and HL
Laws of exponents and logarithms
When the unknown is up in the exponent, how do you bring it down?
What you will learn
Understand a fractional power as a root followed by a power, with negative powers as reciprocals.
Know the three laws of logarithms and the values loga a = 1 and loga 1 = 0.
Understand change of base as the way to evaluate any logarithm and to put mixed bases on one base.
Know how to solve exponential and logarithmic equations exactly or with technology, rejecting impossible roots.
You must be able to
Solve exponential equations by matching bases or by taking logarithms, giving exact or 3 s.f. answers.
Write a sum or difference of logarithms as a single logarithm, or expand one in terms of given letters.
Evaluate powers with rational and negative exponents exactly without a calculator.
Show that a log in one base equals a multiple of a log in another, then use it to solve.
Solve equations that are quadratics in a^x or e^x, and reject roots where a^x would be negative.
Solve log equations, checking each root against the domain and stating why any is rejected.
In the exam. mostly Paper 1 (no calculator), where the numbers are chosen to come out exact: powers such as 323/5, logarithms to combine, "show that" chains, and exact solutions such as x=ln3ln5 (1 to 7 marks). Paper 2 asks for decimals from logarithms or graphs, often inside a growth or decay model (5 to 8 marks). HL Paper 3 uses all of it as tools.
1Rational exponents
The laws of exponents from 1.5 still hold for fractional exponents. That fixes what they mean.
Take a1/2. By the power law, (a1/2)2=a1=a. So a1/2 is the number whose square is a: it is a. In the same way, (a1/3)3=a, so a1/3=3a.
a1/m=ma, andan/m=(ma)n. The denominator is the root, the numerator is the power. If m is even, the root means the positive root. For example, 163/4=(416)3=23=8.
The laws themselves are not in the formula booklet, so learn them.
Law
Example with fractions
am×an=am+n
x2/3×x5/3=x7/3
am÷an=am−n
x3/2÷x1/2=x
(am)n=amn
(x3/4)2/3=x1/2
a−n=an1
16−1/4=4161=21
(ab)n=anbn
(27x6)1/3=3x2
Figure 1 shows the order to work in. Take the root first, then the power, then deal with any minus sign by taking one over.
Figure 1 · Reading a rational exponent: root first, then power
Worked example 1. Paper 1. Find the exact values of (a) 272/3, (b) 32−3/5, (c) (2549)−3/2.
(a)272/3=(327)2=32=9(b)32−3/5=323/51=(532)31=231=81(c)(2549)−3/2=(4925)3/2=(4925)3=(75)3=343125a negative power flips the fraction
An even root is the positive one: 4925=75, not ±75. The ± belongs to solving x2=4925, a different question.
Simplifying, expanding and factorising with powers. Treat x1/2 like any other symbol, and remember that x1/2×x1/2=x.
Worked example 2. Paper 1. (a) Simplify x−3(36x4)1/2 for x>0. (b) Expand (x1/2+4)(x1/2−4). (c) Write 23x4x3−1 as a sum of powers of x. (d) Factorise x3/2−5x1/2. (e) Expand (2x+3)(2x−1).
(a)(36x4)1/2=6x2,so x−36x2=6x2+3=6x5dividing by x−3 adds 3(b)x1/2⋅x1/2−4x1/2+4x1/2−16=x−16a difference of squares(c)2x1/34x3−2x1/31=2x8/3−21x−1/3divide each term separately(d)x3/2−5x1/2=x1/2(x−5)take out the lowest power(e)2x⋅2x+3⋅2x−2x−3=4x+2⋅2x−3=4x+2x+1−3
Calculus in Topic 5 needs every term as a single power of x, as in (c). Part (e) treats 2x as the symbol. That is how a hidden quadratic is built (section 5).
2What a logarithm is, and the values you always know
From 1.5: for a>0, a=1 and y>0,
y=ax⟺x=logay
The base a must be positive and not 1 (1x is always 1, so no power of 1 gives 5).
The number y must be positive, because a positive base to any power is positive.
That is why the log of zero or of a negative number does not exist, and why roots are rejected in section 7.
Two values follow straight from the definition, and the guide lists them:
logaa=1, because a1=a.
loga1=0, because a0=1.
Two more say that loga and "a to the power" undo each other: loga(ax)=x and alogax=x.
Figure 2 shows it. The graph of y=logax is the reflection of y=ax in y=x, since each point (p,q) on one is (q,p) on the other. Section 2.9 studies these graphs.
Figure 2 · y = 2ˣ and y = log₂ x undo each other
Two bases have their own keys.log with no base written means log10. ln means loge, the natural logarithm, where e≈2.718. Everything above holds for both, so
Any power can also be moved to base e, because a=elna. So ax=exlna, which is in the formula booklet.
Worked example 3. Paper 1. (a) Write down log5125, log2161, log927 and log1/28. (b) Find x if logx64=3. (c) Find x if log5x=−2.
(a)53=125→3;2−4=161→−4;93/2=27→23;(21)−3=8→−3(b)x3=64→x=4rewrite as a power, then solve(c)x=5−2=251
Ask "what power?" each time. If it is not obvious, write both numbers as powers of one number. For log927, 9=32 and 27=33, so 9k=27 means 32k=33 and k=23.
A base that is a fraction gives a negative answer for a number above 1.
3The three laws of logarithms
For a,x,y>0 (and a=1), these are in the formula booklet:
Law
In words
logaxy=logax+logay
the log of a product is the sum of the logs
logayx=logax−logay
the log of a quotient is the difference of the logs
logaxm=mlogax
a power comes down in front as a multiplier
Each is a law of exponents read backwards, as Figure 3 shows. Here is the first proved, in the layout of 1.6.
Let m=logax and n=logay, so x=am and y=an. Then xy=am+n, so logaxy=m+n=logax+logay.
Figure 3 · Every log law is an exponent law read backwards
Worked example 4. Paper 1. Show that 3log2+2log5−log2=2.
3log2+2log5−log2=log23+log52−log2=log(28×25)=log100=2power law first: coefficients go up as exponentsadd the logs = multiply, subtract = dividebecause 102=100
Move every coefficient up into an exponent before combining. The product and quotient laws only work on logs with coefficient 1.
Worked example 5. Paper 1. Find the exact value of (a) log612+log63, (b) log354−log32, (c) 2log46−log49.
Putting logs with different bases on the same base
So the laws in section 3 apply.
Changing the base only multiplies by a constant. In Figure 4, y=log4x is half as tall as y=log2x at every x:
log4x=log24log2x=2log2x
Two special cases fall out of the rule and turn up in "show that" questions:
Swapping base and argument. Putting x=b gives logab=logba1, because logbb=1. So logab×logba=1.
A base that is a power of another.logakx=logaaklogax=k1logax. This is the pattern behind log4x=21log2x in Figure 4.
Figure 4 · Changing the base only rescales the graph
Worked example 8. Paper 1. (a) Show that log8x=31log2x. (b) Hence solve log2x−log8x=4. (c) Find the exact value of log29÷log43.
(a)log8x=log28log2x=3log2x=31log2xchange base 8 to base 2; every line shown(b)log2x−31log2x=4→32log2x=4→log2x=6→x=26=64"hence" means use (a)Check: log264−log864=6−2=4(c)log29=2log23,log43=log24log23=21log2321log232log23=4the log23 cancels
5Solving exponential equations
An exponential equation = an equation with the unknown in an exponent. There are three methods, and choosing the right one is half the question.
Method A: match the bases (Paper 1). If both sides can be written as powers of the same number, the exponents must be equal, because y=ax never takes the same value twice.
Worked example 9. Paper 1. Solve (a) 9x=27x−2, (b) (41)x=8x+1.
(a)32x=33x−62x=3x−6equate the exponentsx=6(b)(2−2)x=(23)x+1→−2x=3x+3→x=−5341=2−2Check (a): 96=531441=274
Method B: take logarithms of both sides
When the bases will not match, take ln (or log) of both sides. Use the power law to bring the unknown down. It gives an exact answer on Paper 1 and a decimal on Paper 2.
A power standing alone needs only the definition of a log. With other terms beside it, isolate the power first.
Worked example 10. Solve (a) 72x−1=40, (b) 3×5x+4=49. Give each exactly, then to 3 s.f.
(a)2x−1=log740the definition of a log, used directlyx=21+log740=21(1+ln7ln40)=1.45(b)3×5x=45→5x=15isolate the power before any logx=log515=ln5ln15=1.68
Worked example 11. Solve 5x=2x+3. Give x exactly, then to 3 s.f.
ln5x=ln2x+3xln5=(x+3)ln2power law: both exponents come downxln5=xln2+3ln2expandxln5−xln2=3ln2x-terms to one sidex(ln5−ln2)=3ln2factorise out xx=ln2.53ln2ln5−ln2=ln25x=2.27 (3 s.f.)
Bring down, expand, collect, factorise: the same four moves whenever the unknown is in two exponents. ln2 and ln5 are just numbers, like those in 5x=2(x+3).
Method C: graphs (Paper 2)
Graph each side on the GDC and find where they meet. Figure 5 solves worked example 11 this way, at x≈2.27.
Figure 5 · 5ˣ = 2ˣ⁺³ solved as the meeting of two graphs
On Paper 2 the graph also shows how many solutions to expect.
Some equations have no algebraic route. In 2x=10−x the unknown is both in and outside an exponent, so taking logs does nothing, and the graph is the method (the curves meet once, at x≈2.84).
Quadratics in disguise
4x is (2x)2, so an equation with 4x and 2x in it is a quadratic in 2x.
Substitute y=2x, solve the quadratic, then undo the substitution.
Worked example 12. Paper 1. Solve 4x−6×2x+8=0.
Let y=2x, so 4x=(22)x=(2x)2=y2y2−6y+8=0(y−2)(y−4)=0y=2 or y=42x=2→x=1;2x=4→x=2
Figure 6 graphs the left side and confirms the two roots.
Figure 6 · 4ˣ − 6 × 2ˣ + 8 = 0 has two roots, as the substitution predicts
Sometimes one root of the quadratic is impossible. In 49x+7x+1−8=0, put y=7x, so 49x=y2 and 7x+1=7y.
Then y2+7y−8=0, so (y+8)(y−1)=0 and y=−8 or y=1.
But 7x is always positive, so 7x=−8 has no solution. 7x=1 gives x=0 as the only answer. Writing "reject 7x=−8 since 7x>0" is usually worth an R1 on its own.
An exponential model
A town has 2400 people and grows by 3.5% a year, so after t years its population is P=2400×1.035t. When does it reach 5000?
2400×1.035t=50001.035t=24005000isolate the power firsttln1.035=ln(24005000)t=ln1.035ln(5000/2400)=21.3 years (3 s.f.)
Figure 7 shows it as the time the curve crosses P=5000.
Figure 7 · When does the town reach 5000 people?
The doubling time of any quantity growing by a fixed percentage does not depend on where it starts. With A×1.042t=2A, the A cancels, so t=ln1.042ln2=16.8 years.
Decay works the same way: a ratio below 1 makes both logs negative and the signs cancel. A dose loses 15% of its strength each hour, so after t hours 0.85t of it is left. When is it down to 40%?
0.85t=0.4tln0.85=ln0.4t=ln0.85ln0.4=−0.163…−0.916…=5.64 hours (3 s.f.)both logs negative: the quotient is positive
A negative time means a sign was dropped somewhere, not that the answer lies before the start.
6Equations with logarithms and e in them
The laws in section 3 also solve equations that start with logs. Combine the logs into one, then turn the log statement into a power statement with the definition.
Worked example 13. Paper 1. Solve log2(x+1)+log2(x−3)=5.
log2((x+1)(x−3))=5product law(x+1)(x−3)=25=32definition of a logx2−2x−35=0(x−7)(x+5)=0x=7 or x=−5Check x=−5: log2(−4) does not exist, so reject x=−5.x=7(check: log28+log24=3+2=5)
Combining the logs let in an x where both brackets are negative: their product is positive, but neither log exists. Test every root in the original equation. Reject, in words, any that needs the log of zero or a negative number.
Quicker: state the domain first (x>3) and compare.
Logs on both sides
If each side is a single log of the same base, the arguments are equal, because loga takes each value once.
Example: ln(x2−4)=ln3x gives x2−4=3x, so (x−4)(x+1)=0. At x=−1 the left argument is −3, so reject it, and x=4.
A quadratic in the log itself
If lnx appears squared, substitute L=lnx.
Example: solve (lnx)2−lnx−6=0.
(L−3)(L+2)=0, so lnx=3 or lnx=−2, and x=e3 or x=e−2. Both are allowed: the test is that x>0, not the sign of L.
With ln the plan is the same. Combine, write a plain number as lnek (section 3), or undo the ln with e.
Worked example 14. Paper 1. (a) Solve ln3x+lnx=4, giving x exactly. (b) Solve 3lnx=ln64+6, giving x in the form peq, where p,q∈Z+.
(a)ln(3x2)=4→3x2=e4→x=3e2x>0, so only the positive root(b)lnx=31ln64+2divide every term by 3lnx=ln4+lne2=ln(4e2)641/3=4, and 2=lne2x=4e2Check: 3ln(4e2)=3ln4+6=ln64+6correct
Equations with e in the exponent
Taking ln of both sides of ex=k gives x=lnk, because lne=1. So base e is the easiest to solve in.
A quadratic in ex works like one in 2x.
Worked example 15. Paper 1. Solve (a) ex=12, giving x to 3 s.f., (b) 3e2x+1=25, (c) e2x−5ex−6=0.
(a)x=ln12=2.48(3 s.f.)(b)3e2x=24→e2x=8→2x=ln8→x=21ln8=23ln2isolate the power first(c)Let y=ex:y2−5y−6=0,(y−6)(y+1)=0ex=6 or ex=−1Reject ex=−1 since ex>0;x=ln6
7Logs of a model (beyond the guide)
This is not one of the guide's 1.7 or 2.9 statements. It is here because the guide links 1.7 to chemistry, where activation energy comes from experimental data.
Plot the log of the measured rate constant against T1, where T is the temperature in kelvin. The points lie on a straight line, and its gradient gives the activation energy.
The idea is general. Logs turn a power law or an exponential law into a straight line, which is how such a model is tested on a scatter graph. Take ln of both sides, split with the product law and bring the exponent down:
y=kxn gives lny=lnk+nlnx, a line in lny against lnx with gradient n and intercept lnk.
y=abx gives lny=lna+xlnb, a line in lny against x with gradient lnb and intercept lna.
The horizontal axis tells you which model is straight: lnx for a power law, plain x for an exponential.
Worked example 16. Calculator. (a) For y=5×2.5x, show that lny is a linear function of x and give its gradient and intercept. (b) A power model y=kxn is fitted and the line of best fit is lny=3.2lnx−0.5. Find n and k.
(a)lny=ln(5×2.5x)=ln5+xln2.5gradient ln2.5=0.916,intercept ln5=1.61(3 s.f.)(b)lny=lnk+nlnx matches lny=3.2lnx−0.5n=3.2,lnk=−0.5 so k=e−0.5=0.607(3 s.f.)undo the ln with e
Practice questions
41 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.