Skip to content

Logarithms -- Diagnostic Tests

Tests edge cases, boundary conditions, and common misconceptions for logarithms.

UT-1: Log Does Not Distribute Over Addition

Section titled “UT-1: Log Does Not Distribute Over Addition”

Question:

Which of the following statements are true? Justify your answer.

(i)  log⁡(ab)=log⁡a+log⁡b(ii)  log⁡(a+b)=log⁡a+log⁡b\text{(i)}\; \log(ab) = \log a + \log b \qquad \text{(ii)}\; \log(a + b) = \log a + \log b

Solution:

(i) True. This is the product law of logarithms: log⁡(ab)=log⁡a+log⁡b\log(ab) = \log a + \log b.

(ii) False . Counterexample: let a=b=1a = b = 1 with base 10.

log⁡(1+1)=log⁡2≈0.301\log(1 + 1) = \log 2 \approx 0.301.

log⁡1+log⁡1=0+0=0\log 1 + \log 1 = 0 + 0 = 0.

0.301≠00.301 \neq 0.

The logarithm function does NOT distribute over addition. log⁡(a+b)≠log⁡a+log⁡b\log(a + b) \neq \log a + \log b.


Question:

Solve log⁡3(x−2)+log⁡3(x+1)=1\log_3(x - 2) + \log_3(x + 1) = 1.

Solution:

Domain: x−2>0x - 2 > 0 and x+1>0x + 1 > 0 So x>2x > 2.

Using the product law:

log⁡3[(x−2)(x+1)]=1\log_3[(x-2)(x+1)] = 1 (x−2)(x+1)=3(x-2)(x+1) = 3 x2−x−2=3x^2 - x - 2 = 3 x2−x−5=0x^2 - x - 5 = 0 x=1±1+202=1±212x = \frac{1 \pm \sqrt{1 + 20}}{2} = \frac{1 \pm \sqrt{21}}{2}

x=1+212≈2.79x = \dfrac{1 + \sqrt{21}}{2} \approx 2.79 (valid since >2> 2).

x=1−212≈−1.79x = \dfrac{1 - \sqrt{21}}{2} \approx -1.79 (rejected: not in domain).

Solution: x=1+212x = \dfrac{1 + \sqrt{21}}{2}.

A common mistake is forgetting to check the domain and accepting both roots.


Question:

Given that log⁡23=a\log_2 3 = a and log⁡25=b\log_2 5 = b Express log⁡154\log_{15} 4 in terms of aa and bb.

Solution:

log⁡154=log⁡24log⁡215=2log⁡2(3×5)=2log⁡23+log⁡25=2a+b\log_{15} 4 = \frac{\log_2 4}{\log_2 15} = \frac{2}{\log_2(3 \times 5)} = \frac{2}{\log_2 3 + \log_2 5} = \frac{2}{a + b}

UT-4: Logarithmic Equation with Hidden Quadratic

Section titled “UT-4: Logarithmic Equation with Hidden Quadratic”

Question:

Solve (log⁡2x)2−3log⁡2x−4=0(\log_2 x)^2 - 3\log_2 x - 4 = 0.

Solution:

Let u=log⁡2xu = \log_2 x (domain: x>0x > 0).

u2−3u−4=0u^2 - 3u - 4 = 0 (u−4)(u+1)=0(u - 4)(u + 1) = 0 u=4oru=−1u = 4 \quad \text{or} \quad u = -1

log⁡2x=4  ⟹  x=16\log_2 x = 4 \implies x = 16.

log⁡2x=−1  ⟹  x=12\log_2 x = -1 \implies x = \dfrac{1}{2}.

Both satisfy x>0x > 0.

Solution: x=16x = 16 or x=12x = \dfrac{1}{2}.


Question:

Solve 2log⁡x4−log⁡4x=12\log_x 4 - \log_4 x = 1.

Solution:

Using change of base: log⁡x4=log⁡44log⁡4x=1log⁡4x\log_x 4 = \dfrac{\log_4 4}{\log_4 x} = \dfrac{1}{\log_4 x}.

Let u=log⁡4xu = \log_4 x (domain: x>0x > 0, x≠1x \neq 1 So u≠0u \neq 0).

2u−u=1\frac{2}{u} - u = 1 2−u2=u2 - u^2 = u u2+u−2=0u^2 + u - 2 = 0 (u+2)(u−1)=0(u + 2)(u - 1) = 0

u=−2u = -2 or u=1u = 1.

u=−2u = -2: log⁡4x=−2  ⟹  x=4−2=116\log_4 x = -2 \implies x = 4^{-2} = \dfrac{1}{16}.

u=1u = 1: log⁡4x=1  ⟹  x=4\log_4 x = 1 \implies x = 4.

Solution: x=116x = \dfrac{1}{16} or x=4x = 4.


Tests synthesis of logarithms with other topics.

IT-1: Logarithms and Exponentials (with Sequences and Series)

Section titled “IT-1: Logarithms and Exponentials (with Sequences and Series)”

Question:

Solve 32x−4⋅3x+3=03^{2x} - 4 \cdot 3^x + 3 = 0.

Solution:

Let u=3xu = 3^x (u>0u > 0).

u2−4u+3=0u^2 - 4u + 3 = 0 (u−1)(u−3)=0(u - 1)(u - 3) = 0

u=1u = 1 or u=3u = 3.

3x=1  ⟹  x=03^x = 1 \implies x = 0.

3x=3  ⟹  x=13^x = 3 \implies x = 1.

Solution: x=0x = 0 or x=1x = 1.


IT-2: Logarithms and Inequalities (with Inequalities)

Section titled “IT-2: Logarithms and Inequalities (with Inequalities)”

Question:

Solve log⁡3(x+4)>log⁡3(8−x)\log_3(x + 4) > \log_3(8 - x).

Solution:

Since log⁡3\log_3 is increasing, we can compare arguments directly:

x+4>8−xx + 4 > 8 - x 2x>4  ⟹  x>22x > 4 \implies x > 2

Domain: x+4>0x + 4 > 0 and 8−x>08 - x > 0 Giving −4<x<8-4 < x < 8.

Combining: 2<x<82 < x < 8.

Solution: x∈(2,  8)x \in (2,\; 8).


IT-3: Logarithms and Functions (with Functions)

Section titled “IT-3: Logarithms and Functions (with Functions)”

Question:

Let f(x)=log⁡3(2x−1)f(x) = \log_3(2x - 1). Find f−1(x)f^{-1}(x) and its domain and range.

Solution:

y=log⁡3(2x−1)  ⟹  3y=2x−1  ⟹  x=3y+12y = \log_3(2x - 1) \implies 3^y = 2x - 1 \implies x = \dfrac{3^y + 1}{2}.

f−1(x)=3x+12f^{-1}(x) = \dfrac{3^x + 1}{2}.

Domain of ff: 2x−1>0  ⟹  x>122x - 1 > 0 \implies x > \dfrac{1}{2}.

Range of ff: R\mathbb{R} (since 3y>03^y > 0).

Domain of f−1f^{-1} = Range of ff = R\mathbb{R}.

Range of f−1f^{-1} = Domain of ff = (12,  ∞)\left(\dfrac{1}{2},\; \infty\right).


WE-1: Solving Logarithmic Equations with Multiple Logs

Section titled “WE-1: Solving Logarithmic Equations with Multiple Logs”

Question:

Solve log⁡2(x+4)+log⁡2(x−2)=3\log_2(x + 4) + \log_2(x - 2) = 3.

Solution:

Domain: x+4>0x + 4 > 0 and x−2>0x - 2 > 0 So x>2x > 2.

Using the product law:

log⁡2[(x+4)(x−2)]=3\log_2[(x+4)(x-2)] = 3 (x+4)(x−2)=23=8(x+4)(x-2) = 2^3 = 8 x2+2x−8=8x^2 + 2x - 8 = 8 x2+2x−16=0x^2 + 2x - 16 = 0 x=−2±4+642=−2±682=−1±17x = \frac{-2 \pm \sqrt{4 + 64}}{2} = \frac{-2 \pm \sqrt{68}}{2} = -1 \pm \sqrt{17}

x=−1+17≈3.12x = -1 + \sqrt{17} \approx 3.12 (valid, >2> 2).

x=−1−17≈−5.12x = -1 - \sqrt{17} \approx -5.12 (rejected, not in domain).

Solution: x=−1+17x = -1 + \sqrt{17}.


Question:

A population of bacteria doubles every 3 hours. If the initial population is 500, find:

(a) The population after 12 hours. (b) The time for the population to reach 32000.

Solution:

P(t)=P0⋅2t/3P(t) = P_0 \cdot 2^{t/3} where P0=500P_0 = 500.

(a) P(12)=500⋅212/3=500⋅24=500×16=8000P(12) = 500 \cdot 2^{12/3} = 500 \cdot 2^4 = 500 \times 16 = 8000.

(b) 500⋅2t/3=32000500 \cdot 2^{t/3} = 32000.

2t/3=64=262^{t/3} = 64 = 2^6.

t3=6  ⟹  t=18\dfrac{t}{3} = 6 \implies t = 18 hours.


Question:

An earthquake has a magnitude of 7.2 on the Richter scale. How many times more powerful is it than an earthquake of magnitude 5.2?

Solution:

The Richter scale is logarithmic: each increase of 1 unit represents a 10-fold increase in amplitude.

Difference in magnitude: 7.2−5.2=27.2 - 5.2 = 2.

The earthquake is 102=10010^2 = 100 times more powerful.


Question:

Given that log⁡32=a\log_3 2 = a Express log⁡316−log⁡34\log_3 16 - \log_3 4 in terms of aa.

Solution:

log⁡316=log⁡324=4log⁡32=4a\log_3 16 = \log_3 2^4 = 4\log_3 2 = 4a log⁡34=log⁡322=2log⁡32=2a\log_3 4 = \log_3 2^2 = 2\log_3 2 = 2a log⁡316−log⁡34=4a−2a=2a\log_3 16 - \log_3 4 = 4a - 2a = 2a

Alternatively: log⁡316−log⁡34=log⁡3164=log⁡34=2a\log_3 16 - \log_3 4 = \log_3 \dfrac{16}{4} = \log_3 4 = 2a.


WE-5: Logarithmic Inequality with Base Less Than 1

Section titled “WE-5: Logarithmic Inequality with Base Less Than 1”

Question:

Solve log⁡0.5(2x−1)>log⁡0.5(x+2)\log_{0.5}(2x - 1) > \log_{0.5}(x + 2).

Solution:

Domain: 2x−1>02x - 1 > 0 and x+2>0x + 2 > 0 Giving x>12x > \dfrac{1}{2} and x>−2x > -2 So x>12x > \dfrac{1}{2}.

Since the base 0.50.5 is between 0 and 1, the logarithmic function is decreasing. Therefore the inequality reverses:

2x−1<x+22x - 1 < x + 2 x<3x < 3

Combining with the domain: 12<x<3\dfrac{1}{2} < x < 3.

Solution: x∈(12,  3)x \in \left(\dfrac{1}{2},\; 3\right).

DSE Exam Technique: Always check whether the logarithmic base is greater than or less than 1. This determines whether the function is increasing or decreasing, which affects the inequality direction. This is a frequent trap in DSE Paper 2.


WE-6: Change of Base with Non-Standard Bases

Section titled “WE-6: Change of Base with Non-Standard Bases”

Question:

Given log⁡45=a\log_4 5 = a Find log⁡810\log_8 10 in terms of aa.

Solution:

log⁡810=log⁡410log⁡48\log_8 10 = \frac{\log_4 10}{\log_4 8}

log⁡410=log⁡4(2×5)=log⁡42+log⁡45=12+a\log_4 10 = \log_4(2 \times 5) = \log_4 2 + \log_4 5 = \dfrac{1}{2} + a.

log⁡48=log⁡4(4×2)=1+12=32\log_4 8 = \log_4(4 \times 2) = 1 + \dfrac{1}{2} = \dfrac{3}{2}.

log⁡810=12+a32=1+2a3\log_8 10 = \frac{\frac{1}{2} + a}{\frac{3}{2}} = \frac{1 + 2a}{3}

WE-7: Solving System of Logarithmic Equations

Section titled “WE-7: Solving System of Logarithmic Equations”

Question:

Solve the simultaneous equations:

log⁡2x+log⁡2y=5\log_2 x + \log_2 y = 5 log⁡2(x−y)=1\log_2(x - y) = 1

Solution:

From equation 1: log⁡2(xy)=5  ⟹  xy=32\log_2(xy) = 5 \implies xy = 32. … (1)

From equation 2: x−y=2x - y = 2. … (2)

From (2): x=y+2x = y + 2. Substituting into (1):

(y+2)y=32  ⟹  y2+2y−32=0(y + 2)y = 32 \implies y^2 + 2y - 32 = 0.

y=−2±4+1282=−2±1322=−1±33y = \frac{-2 \pm \sqrt{4 + 128}}{2} = \frac{-2 \pm \sqrt{132}}{2} = -1 \pm \sqrt{33}

Since y>0y > 0: y=−1+33y = -1 + \sqrt{33}.

x=y+2=1+33x = y + 2 = 1 + \sqrt{33}.

Check domain: x>0x > 0, y>0y > 0, x−y>0x - y > 0. All satisfied.


WE-8: Exponential Equation with Different Bases

Section titled “WE-8: Exponential Equation with Different Bases”

Question:

Solve 5x+1=22x−15^{x+1} = 2^{2x-1}.

Solution:

Take logarithms of both sides (any base, say base 10 or natural log):

(x+1)ln⁡5=(2x−1)ln⁡2(x+1)\ln 5 = (2x - 1)\ln 2 xln⁡5+ln⁡5=2xln⁡2−ln⁡2x\ln 5 + \ln 5 = 2x\ln 2 - \ln 2 xln⁡5−2xln⁡2=−ln⁡2−ln⁡5x\ln 5 - 2x\ln 2 = -\ln 2 - \ln 5 x(ln⁡5−2ln⁡2)=−(ln⁡2+ln⁡5)x(\ln 5 - 2\ln 2) = -(\ln 2 + \ln 5) x=−(ln⁡2+ln⁡5)ln⁡5−2ln⁡2=−(ln⁡10)ln⁡5−ln⁡4=−ln⁡10ln⁡(5/4)=ln⁡10ln⁡(4/5)x = \frac{-(\ln 2 + \ln 5)}{\ln 5 - 2\ln 2} = \frac{-(\ln 10)}{\ln 5 - \ln 4} = \frac{-\ln 10}{\ln(5/4)} = \frac{\ln 10}{\ln(4/5)} x=ln⁡10ln⁡(4/5)≈2.303−0.223≈−10.33x = \frac{\ln 10}{\ln(4/5)} \approx \frac{2.303}{-0.223} \approx -10.33

Asking “how many times?”: A logarithm asks “how many times must I multiply this base to get that number?”, it’s the inverse of exponentiation, like asking “what power gives me this result?”

Why it matters: Logarithms compress enormous ranges, earthquakes, pH, sound intensity, into manageable scales. They turn multiplication into addition, making complex calculations simpler.

The key insight: log(a) + log(b) = log(ab), not log(a+b), logarithms turn multiplication into addition, not addition into something else.

  1. Forgetting domain restrictions in logarithmic equations. The argument of a logarithm must be strictly positive. After solving a logarithmic equation, always check that each solution satisfies the domain conditions. Solutions that make any log argument zero or negative must be rejected.

  2. Not reversing the inequality for bases between 0 and 1. If log⁡bA>log⁡bB\log_b A > \log_b B and 0<b<10 < b < 1 Then A<BA < B (not A>BA > B). This is because the log function is decreasing when the base is between 0 and 1.

  3. Incorrectly applying the power law. log⁡(ab)=blog⁡a\log(a^b) = b \log a But (log⁡a)b≠blog⁡a(\log a)^b \neq b \log a. The power law applies to the argument, not to the logarithm itself.

  4. Assuming log⁡a+log⁡b=log⁡(a+b)\log a + \log b = \log(a + b). This is false. The correct law is log⁡a+log⁡b=log⁡(ab)\log a + \log b = \log(ab). This is one of the most common algebraic errors in logarithms.

  5. Using the wrong base in change of base formula. The change of base formula is log⁡ab=log⁡cblog⁡ca\log_a b = \dfrac{\log_c b}{\log_c a} for any valid base cc. Swapping the numerator and denominator is a frequent error.


(a) Solve log⁡3(x2−3x+2)=1\log_3(x^2 - 3x + 2) = 1. (3 marks) (b) Solve log⁡3(x2−3x+2)=0\log_3(x^2 - 3x + 2) = 0. (2 marks) (c) Hence solve log⁡3(x2−3x+2)≤1\log_3(x^2 - 3x + 2) \leq 1. (3 marks)

Solution:

(a) x2−3x+2=31=3x^2 - 3x + 2 = 3^1 = 3.

x2−3x−1=0x^2 - 3x - 1 = 0.

x=3±9+42=3±132x = \dfrac{3 \pm \sqrt{9 + 4}}{2} = \dfrac{3 \pm \sqrt{13}}{2}.

Domain check: x2−3x+2>0  ⟹  (x−1)(x−2)>0  ⟹  x<1x^2 - 3x + 2 > 0 \implies (x-1)(x-2) > 0 \implies x < 1 or x>2x > 2.

3+132≈3.30>2\dfrac{3 + \sqrt{13}}{2} \approx 3.30 > 2 (valid). 3−132≈−0.30<1\dfrac{3 - \sqrt{13}}{2} \approx -0.30 < 1 (valid).

(b) x2−3x+2=30=1x^2 - 3x + 2 = 3^0 = 1.

x2−3x+1=0x^2 - 3x + 1 = 0.

x=3±52x = \dfrac{3 \pm \sqrt{5}}{2}.

Domain check: both values satisfy the domain. 3+52≈2.62>2\dfrac{3+\sqrt{5}}{2} \approx 2.62 > 2 and 3−52≈0.38<1\dfrac{3-\sqrt{5}}{2} \approx 0.38 < 1.

(c) log⁡3(x2−3x+2)≤1  ⟹  0<x2−3x+2≤3\log_3(x^2 - 3x + 2) \leq 1 \implies 0 < x^2 - 3x + 2 \leq 3.

x2−3x+2>0x^2 - 3x + 2 > 0: x<1x < 1 or x>2x > 2.

x2−3x+2≤3  ⟹  x2−3x−1≤0x^2 - 3x + 2 \leq 3 \implies x^2 - 3x - 1 \leq 0: 3−132≤x≤3+132\dfrac{3-\sqrt{13}}{2} \leq x \leq \dfrac{3+\sqrt{13}}{2}.

Combining: 3−132≤x<1\dfrac{3-\sqrt{13}}{2} \leq x < 1 or 2<x≤3+1322 < x \leq \dfrac{3+\sqrt{13}}{2}.


Let f(x)=2log⁡3(x−1)−log⁡3(x2−1)f(x) = 2\log_3(x - 1) - \log_3(x^2 - 1).

(a) Find the domain of ff. (2 marks) (b) Simplify f(x)f(x). (3 marks) (c) Solve f(x)=1f(x) = 1. (3 marks)

Solution:

(a) x−1>0x - 1 > 0 and x2−1>0x^2 - 1 > 0: x>1x > 1.

(b) f(x)=log⁡3(x−1)2−log⁡3(x2−1)=log⁡3(x−1)2(x−1)(x+1)=log⁡3x−1x+1f(x) = \log_3(x - 1)^2 - \log_3(x^2 - 1) = \log_3 \dfrac{(x-1)^2}{(x-1)(x+1)} = \log_3 \dfrac{x - 1}{x + 1} (for x>1x > 1).

(c) log⁡3x−1x+1=1  ⟹  x−1x+1=3  ⟹  x−1=3x+3  ⟹  −2x=4  ⟹  x=−2\log_3 \dfrac{x - 1}{x + 1} = 1 \implies \dfrac{x - 1}{x + 1} = 3 \implies x - 1 = 3x + 3 \implies -2x = 4 \implies x = -2.

But x>1x > 1 So x=−2x = -2 is rejected. No solution.


The number of bacteria in a culture is given by N=1000×20.1tN = 1000 \times 2^{0.1t} Where tt is the time in hours.

(a) Find the initial number of bacteria. (1 mark) (b) Find the number of bacteria after 10 hours, giving your answer in exact form. (2 marks) (c) Find the time when the number of bacteria first exceeds 50000. (3 marks)

Solution:

(a) t=0t = 0: N=1000×20=1000N = 1000 \times 2^0 = 1000.

(b) t=10t = 10: N=1000×21=2000N = 1000 \times 2^1 = 2000.

(c) 1000×20.1t>500001000 \times 2^{0.1t} > 50000.

20.1t>502^{0.1t} > 50.

0.1tlog⁡2>log⁡500.1t \log 2 > \log 50.

t>log⁡500.1log⁡2=10log⁡50log⁡2=10(log⁡100−log⁡2)log⁡2=10(2−log⁡2)log⁡2≈10×1.6990.301≈56.4t > \dfrac{\log 50}{0.1 \log 2} = \dfrac{10 \log 50}{\log 2} = \dfrac{10(\log 100 - \log 2)}{\log 2} = \dfrac{10(2 - \log 2)}{\log 2} \approx \dfrac{10 \times 1.699}{0.301} \approx 56.4 hours.


If log⁡a2=p\log_a 2 = p and log⁡a5=q\log_a 5 = q Express the following in terms of pp and qq:

(a) log⁡a10\log_a 10 (1 mark) (b) log⁡a0.04\log_a 0.04 (2 marks) (c) log⁡a250\log_a 250 (2 marks) (d) log⁡2a\log_2 a (2 marks)

Solution:

(a) log⁡a10=log⁡a(2×5)=log⁡a2+log⁡a5=p+q\log_a 10 = \log_a(2 \times 5) = \log_a 2 + \log_a 5 = p + q.

(b) log⁡a0.04=log⁡a(4100)=log⁡a4−log⁡a100=2log⁡a2−2log⁡a10=2p−2(p+q)=−2q\log_a 0.04 = \log_a\left(\dfrac{4}{100}\right) = \log_a 4 - \log_a 100 = 2\log_a 2 - 2\log_a 10 = 2p - 2(p + q) = -2q.

(c) log⁡a250=log⁡a(125×2)=log⁡a125+log⁡a2=3log⁡a5+p=3q+p\log_a 250 = \log_a(125 \times 2) = \log_a 125 + \log_a 2 = 3\log_a 5 + p = 3q + p.

(d) log⁡2a=1log⁡a2=1p\log_2 a = \dfrac{1}{\log_a 2} = \dfrac{1}{p}.


Solve the inequality log⁡2(x+3)+log⁡2(x−1)≤3\log_2(x + 3) + \log_2(x - 1) \leq 3.

Solution:

Domain: x+3>0x + 3 > 0 and x−1>0x - 1 > 0 So x>1x > 1.

log⁡2[(x+3)(x−1)]≤3\log_2[(x+3)(x-1)] \leq 3 (x+3)(x−1)≤8(x+3)(x-1) \leq 8 x2+2x−3≤8x^2 + 2x - 3 \leq 8 x2+2x−11≤0x^2 + 2x - 11 \leq 0 x=−2±4+442=−2±482=−1±23x = \frac{-2 \pm \sqrt{4 + 44}}{2} = \frac{-2 \pm \sqrt{48}}{2} = -1 \pm 2\sqrt{3}

Solution of quadratic: −1−23≤x≤−1+23-1 - 2\sqrt{3} \leq x \leq -1 + 2\sqrt{3}.

Since −1+23≈2.46-1 + 2\sqrt{3} \approx 2.46 and we need x>1x > 1:

1<x≤−1+231 < x \leq -1 + 2\sqrt{3} I.e. x∈(1,  −1+23]x \in (1,\; -1 + 2\sqrt{3}].