Logarithms and their laws
Ask “2 to what power gives 8?” and the answer, 3, is a logarithm: log₂ 8 = 3. Logarithms turn multiplying into adding, which is how they untangle powers. The model for this unit is the curve y = 7e⁰·³ˣ, and its logarithm is a straight line.
1A logarithm is an exponent
2Three laws: products, quotients, powers
| Inside the logarithm | Equivalent outside |
|---|---|
| logb(uv) | logb u + logb v |
| logb(u/v) | logb u − logb v |
| logb(uⁿ) | n logb u |
Take ln of the model y = 7e⁰·³ˣ and write it as a sum.
- Product law: the log of a product is a sumln y=ln 7 + ln(e⁰·³ˣ)
- Power law, then ln e = 1ln y=ln 7 + 0.3x ln eln y=ln 7 + 0.3x
- Answerln y = 0.3x + ln 7 ≈ 0.3x + 1.946
Write log₂(8u³/v²) in terms of log₂ u and log₂ v.
- Split the quotient and product, then move each powerlog₂ 8 + 3 log₂ u − 2 log₂ v
- Answer3 + 3 log₂ u − 2 log₂ vSince 8 = 2³.
3Take logs of a whole equation
x and y satisfy 2ˣ⁺ʸ = 3ˣ⁻¹. Write y in the form y = mx + c, with exact m and c.
- Take ln; keep each exponent in brackets
- Collect the y term; factor x from the rest
- Use ln 3 − ln 2 = ln(3/2), then divide by ln 2
- Answerm = ln(3/2)/ln 2 and c = −ln 3/ln 2
4Log equations: find the domain first
Solve log₃(x − 2) + log₃(x + 1) = log₃(3x + 6), giving an exact answer.
- Find the domainx − 2 > 0, x + 1 > 0, 3x + 6 > 0so x > 2
- Combine the logs, then equate the argumentslog₃((x − 2)(x + 1))=log₃(3x + 6)
- Collect and use the formulax=(4 ± √48)/2 = 2 ± 2√3
- Keep only the root in the domain2 − 2√3 < 2: reject
- Answer
5Try it
1 Find log₃(1/81).
2 Write log₅(25a²/b) in terms of log₅ a and log₅ b.
3 Solve log₂(x + 2) + log₂(x − 1) = 2.
- 13⁻⁴ = 1/81, so log₃(1/81) = −4
- 2log₅ 25 + 2 log₅ a − log₅ b = 2 + 2 log₅ a − log₅ b
- 3(x + 2)(x − 1) = 4, so x² + x − 6 = 0: x = 2 or x = −3; the domain is x > 1, so x = 2
Exponential curves and the natural logarithm
Money that grows by the same percentage each year, or a medicine that leaves the blood at a steady rate, follows an exponential curve. The model y = 7e⁰·³ˣ grows; y = 7e⁻⁰·³ˣ decays. The natural logarithm, ln, undoes them both.
1Read the growth and decay curves
| 7e⁰·³ˣ | 7e⁻⁰·³ˣ | |
|---|---|---|
| Domain | all real x | all real x |
| Range | y > 0 | y > 0 |
| Intercept | (0, 7) | (0, 7) |
| Near y = 0 | as x → −∞ | as x → +∞ |
2Equal steps in x multiply the output
Find x when 7e⁻⁰·³ˣ = 7/2.
- Divide by the starting value 7e⁻⁰·³ˣ=1/2
- Take ln: it undoes e−0.3x=ln(1/2) = −ln 2
- Divide by −0.3
- Answer≈ 2.31
3ln undoes e: the curves reflect in y = x
| y = eˣ | y = ln x | |
|---|---|---|
| Domain | all real x | x > 0 |
| Range | y > 0 | all real y |
| Asymptote | y = 0 | x = 0 |
| Points | (0, 1), (1, e) | (1, 0), (e, 1) |
4Make x the subject of the model
Make x the subject of y = 7e⁰·³ˣ.
- Divide by 7y/7=e⁰·³ˣ
- Take ln of both sidesln(y/7)=0.3x
- Divide by 0.3x=(10/3) ln(y/7)
- Answerx = (10/3) ln(y/7), for y > 0
5Try it
1 For y = 5e⁻⁰·⁴ˣ, write down the y-intercept, the asymptote and the range.
2 Solve 5e⁻⁰·⁴ˣ = 1. Give x exactly and to 3 significant figures.
3 Make x the subject of y = 3e²ˣ.
- 1(0, 5); y = 0; y > 0
- 2e⁻⁰·⁴ˣ = 1/5, so −0.4x = −ln 5: x = (5/2) ln 5 ≈ 4.02
- 3y/3 = e²ˣ, so x = ½ ln(y/3), for y > 0
Solving exponential equations and inequalities
An unknown inside an exponent cannot be reached by adding or dividing. Taking ln of both sides brings the exponent down to where ordinary algebra works. Inequalities follow the same path, because ln keeps positive numbers in the same order.
1Different bases: take ln of both sides
Solve 5ˣ⁺¹ = 3²ˣ⁻¹.
- Take ln of both sides
- Collect the x terms; move the constants
- Combine the logs, then divide
- Answer≈ 4.61
2A hidden quadratic in 2ˣ
Solve 2ˣ⁺¹ − 2³⁻ˣ = 6, giving x exactly.
- Let u = 2ˣ, where u > 0, and rewrite both powers2ˣ⁺¹=2 × 2ˣ = 2u2³⁻ˣ=8 × 2⁻ˣ = 8/u
- Form and clear the equation2u − 8/u=62u² − 6u − 8=0
- Factorise and solve for u2(u − 4)(u + 1)=0
∴u = 2ˣ > 0, so reject u = −1
- Undo the substitution: take ln2ˣ=4x ln 2=ln 4x=ln 4/ln 2 = 2
- Answerx = 2 (check: 2³ − 2¹ = 6)
3Inequalities: ln keeps the sign, a negative divisor flips it
Find x such that |7e⁰·³ˣ − 21| > 7.
- Split the modulus into two outside regions7e⁰·³ˣ − 21 < −7 or 7e⁰·³ˣ − 21 > 7
- Add 21, divide by 7e⁰·³ˣ < 2 or e⁰·³ˣ > 4
- Take ln, divide by 0.30.3x < ln 2 or 0.3x > ln 4
- Answerx < (10/3) ln 2 or x > (10/3) ln 4
Solve 7e⁻⁰·³ˣ ≤ 2, for the decay model.
- Divide by 7: both sides stay positivee⁻⁰·³ˣ ≤ 2/7
- Taking ln keeps ≤−0.3x ≤ ln(2/7)
- Answerx ≥ −(10/3) ln(2/7) = (10/3) ln(7/2)Dividing by −0.3 reverses ≤ to ≥.
4Integer answers: decide at the exact bound
Find the smallest and largest integers N with 1 < ln(N/3) ≤ 2.
- Undo ln: e is increasinge¹ < N/3 ≤ e²
- Multiply all three parts by 33e < N ≤ 3e²
- Keep guard digits8.154845 < N ≤ 22.167168
- Answersmallest N = 9; largest N = 22
| Candidate | Original test |
|---|---|
| N = 8 | ln(8/3) ≈ 0.981 ≤ 1: excluded |
| N = 9 | ln(9/3) ≈ 1.1: inside |
| N = 22 | ln(22/3) ≈ 1.99: inside |
| N = 23 | ln(23/3) ≈ 2.04 > 2: excluded |
5Try it
1 Solve 3ˣ = 7ˣ⁻¹. Give x to 3 significant figures.
2 Solve 3²ˣ − 4 × 3ˣ + 3 = 0.
3 Solve 2e⁰·⁵ˣ > 10.
4 Find the smallest integer n with 1.2ⁿ > 50.
- 1x ln 3 = (x − 1) ln 7, so x = ln 7/ln(7/3) ≈ 2.30
- 2u = 3ˣ: (u − 1)(u − 3) = 0, so x = 0 or x = 1
- 3e⁰·⁵ˣ > 5, so x > 2 ln 5 ≈ 3.22
- 4n > ln 50/ln 1.2 ≈ 21.5, so n = 22
Straight-line graphs from exponential and power laws
Readings from y = 7e⁰·³ˣ curve away from a ruler, so its constants are hard to read off. Take ln and the curve becomes a straight line, whose gradient and intercept you can read. Which variables you log decides what those two numbers mean.
1Why ln straightens the curve
| Law | Plot | Gradient | Intercept |
|---|---|---|---|
| y = kbˣ | ln y against x | ln b | ln k |
| y = kxⁿ | ln y against ln x | n | ln k |
Show that y = kbˣ gives a straight line.
- Take ln of the whole product
- Product and power laws
- AnswerY = ln y, X = x: Y = (ln b)X + ln kA straight line with gradient ln b.
2y = kbˣ: plot ln y against x
For y = kbˣ, the graph of ln y against x is a straight line through (1, 2.246) and (4, 3.146), rounded to 3 decimal places. Find k and b.
- Gradient from the two pointsm=0.300 = ln b
- Intercept from either pointc=2.246 − 0.300(1) = 1.946 = ln k
- Undo the logsb=e⁰·³⁰⁰ ≈ 1.35k=e¹·⁹⁴⁶ ≈ 7.00
- Answery ≈ 7.00(1.35)ˣ
3y = kxⁿ: plot ln y against ln x
For y = kxⁿ, with x > 0, the graph of ln y against ln x passes through (1, 2.246) and (4, 3.146). Find k and n.
- Take ln and use the power lawX=ln x, Y = ln y
- Gradient is nn=(3.146 − 2.246)/(4 − 1) = 0.300
- Intercept is ln kln k=2.246 − 0.300(1) = 1.946k=e¹·⁹⁴⁶ ≈ 7.00
- Answery ≈ 7.00x⁰·³⁰⁰
4Try it
1 For y = kbˣ, the graph of ln y against x passes through (0, 1.1) and (2, 1.9). Find k and b to 3 significant figures.
2 For y = kxⁿ, the graph of ln y against ln x has gradient 1.5 and intercept 0.693. Find n and k.
3 Which graph is a straight line for y = 4x³? Give its gradient and intercept.
- 1gradient 0.4 = ln b, so b = e⁰·⁴ ≈ 1.49; ln k = 1.1, so k ≈ 3.00
- 2n = 1.5; k = e⁰·⁶⁹³ ≈ 2.00
- 3ln y against ln x: ln y = 3 ln x + ln 4, gradient 3, intercept ln 4
One line, other laws
The same straight line can come from different laws. What its gradient and intercept stand for depends on the law, so write the law in logs first, match it to Y = mX + c, then name the constants.
1When √x is across
For y = ke^(a√x), with k > 0 and x ≥ 0, the graph of ln y against √x passes through (1, 2.246) and (4, 3.146). Find a and k.
- Take ln: the exponent becomes a√xX=√x, Y = ln y
- Gradient is aa=(3.146 − 2.246)/(4 − 1) = 0.300
- Intercept is ln kln k=2.246 − 0.300(1) = 1.946k=e¹·⁹⁴⁶ ≈ 7.00
- Answery ≈ 7.00e^(0.300√x), x ≥ 0
2A shifted exponent changes the intercept
The line ln y = 0.300x + 1.946 comes from y = kbˣ⁺². Find k and b.
- Take ln; keep x + 2 in bracketsln y=ln k + (x + 2) ln bln y=x ln b + (ln k + 2 ln b)
- Gradient gives bln b=0.300, so b = e⁰·³⁰⁰
- Subtract the shift from the interceptln k=1.946 − 2(0.300) = 1.346
- Answerk = e¹·³⁴⁶ ≈ 3.84; b ≈ 1.35
3A powered output scales both numbers
The same line comes from y³ = Aeᵏˣ. Find k and A.
- Take ln of the whole law3 ln y=ln A + kx
- Divide by 3 and compare with the lineln y=(k/3)x + (ln A)/3
- Gradient: k/3 = 0.300k=0.900
- Intercept: (ln A)/3 = 1.946ln A=5.838
- Answerk = 0.900; A = e⁵·⁸³⁸ ≈ 343
4Compare the laws on one line
| Law (plot ln y against) | Gradient 0.300 | Intercept 1.946 | So |
|---|---|---|---|
| y = kbˣ (x) | ln b | ln k | k ≈ 7.00 b ≈ 1.35 |
| y = kxⁿ (ln x) | n | ln k | k ≈ 7.00 n = 0.300 |
| y = ke^(a√x) (√x) | a | ln k | k ≈ 7.00 a = 0.300 |
| y = kbˣ⁺² (x) | ln b | ln k + 2 ln b | k ≈ 3.84 b ≈ 1.35 |
| y³ = Aeᵏˣ (x) | k/3 | (ln A)/3 | k = 0.900 A ≈ 343 |
5Try it
1 For y = ke^(a√x), the graph of ln y against √x passes through (0, 0.5) and (2, 1.5). Find a and k.
2 For y² = Aeᵏˣ, the graph of ln y against x has gradient 0.2 and intercept 1. Find k and A.
3 For y = kbˣ⁻¹, the graph of ln y against x has gradient 0.5 and intercept 1.5. Find b and k.
- 1a = (1.5 − 0.5)/2 = 0.5; ln k = 0.5, so k = e⁰·⁵ ≈ 1.65
- 22 ln y = ln A + kx, so k/2 = 0.2: k = 0.4; (ln A)/2 = 1: A = e² ≈ 7.39
- 3ln y = x ln b + (ln k − ln b): ln b = 0.5, so b ≈ 1.65; ln k = 2, so k = e² ≈ 7.39