Skip to content
Family Table Math
Auto

Introduction to Logarithms

How many 22s do you multiply together to get 3232? The answer, 55, has a name: it’s the logarithm of 3232 with base 22. Logarithms answer the question “what exponent do I need?”, which is exactly what you need to solve equations like 3x=143^x = 14, where the unknown is stuck in the exponent. In Grade 11 you could only guess and check; logarithms give you a real method.

For a base b>0b \gt 0 with b≠1b \ne 1, and a number x>0x \gt 0:

log⁡bx=y⟺by=x\log_b x = y \quad \Longleftrightarrow \quad b^y = x

Read log⁡bx\log_b x as “log base bb of xx”. It means the exponent you put on bb to get xx. For example, log⁡28=3\log_2 8 = 3 because 23=82^3 = 8.

The same fact can be written two ways. The base stays the base, and the logarithm is the exponent.

Exponential formLogarithmic form
53=1255^3 = 125log⁡5125=3\log_5 125 = 3
10−2=0.0110^{-2} = 0.01log⁡100.01=−2\log_{10} 0.01 = -2
912=39^{\frac{1}{2}} = 3log⁡93=12\log_9 3 = \tfrac{1}{2}
by=xb^y = xlog⁡bx=y\log_b x = y

Taking a logarithm is the inverse operation of raising to a power, the same way a square root undoes squaring. If you raise bb to a power and then take log⁡b\log_b, you get the power back:

log⁡b(bx)=xandblog⁡bx=x  (x>0)\log_b\left(b^x\right) = x \qquad \text{and} \qquad b^{\log_b x} = x \ \ (x \gt 0)

For example, log⁡3(37)=7\log_3\left(3^7\right) = 7 and 10log⁡1042=4210^{\log_{10} 42} = 42. The logarithmic functions page shows what this looks like on a graph.

Why you can’t take the log of zero or a negative number

Section titled “Why you can’t take the log of zero or a negative number”

A positive base raised to any power gives a positive answer: 23=82^3 = 8, 20=12^0 = 1, 2−3=182^{-3} = \tfrac{1}{8}. No exponent makes 2y2^y equal to 00 or a negative number. So:

  • log⁡20\log_2 0 is undefined, because 2y=02^y = 0 has no solution.
  • log⁡10(−3)\log_{10}(-3) is undefined, because no power of 1010 is negative.

The answer to a logarithm can be negative (log⁡100.01=−2\log_{10} 0.01 = -2), but the number you take the log of must be positive.

The base has rules too. It must be positive (powers of a negative number jump between positive and negative), and it can’t be 11 (every power of 11 is 11, so log⁡17\log_1 7 would have no answer).

A logarithm with base 1010 is called a common logarithm, and it’s usually written without the base:

log⁡xmeanslog⁡10x\log x \quad \text{means} \quad \log_{10} x

So log⁡1000=3\log 1000 = 3 and log⁡0.1=−1\log 0.1 = -1. This is the LOG key on your calculator.

Most logarithms aren’t whole numbers. To estimate one, find the powers of the base on either side.

For log⁡250\log_2 50: since 25=322^5 = 32 and 26=642^6 = 64, and 32<50<6432 \lt 50 \lt 64, the value is between 55 and 66. Then narrow it down by systematic trial on a calculator (Example 3).

For base 1010, the LOG key gives the value directly: log⁡50≈1.699\log 50 \approx 1.699. For other bases, there’s a shortcut called the change of base formula, which you’ll meet with the laws of logarithms.

Evaluate each logarithm.

  • (a) log⁡264\log_2 64
  • (b) log⁡319\log_3 \dfrac{1}{9}
  • (c) log⁡0.001\log 0.001
  • (d) log⁡255\log_{25} 5
  • (e) log⁡71\log_7 1

Solution. For each one, ask “what power of the base gives this number?”

(a) 26=642^6 = 64, so log⁡264=6\log_2 64 = 6.

(b) 3−2=132=193^{-2} = \dfrac{1}{3^2} = \dfrac{1}{9}, so log⁡319=−2\log_3 \dfrac{1}{9} = -2.

(c) 0.001=10−30.001 = 10^{-3}, so log⁡0.001=−3\log 0.001 = -3.

(d) 2512=25=525^{\frac{1}{2}} = \sqrt{25} = 5, so log⁡255=12\log_{25} 5 = \dfrac{1}{2}.

(e) 70=17^0 = 1, so log⁡71=0\log_7 1 = 0. (In fact, log⁡b1=0\log_b 1 = 0 for every base.)

(a) Write in logarithmic form: 43=644^3 = 64 and 823=48^{\frac{2}{3}} = 4.

(b) Write in exponential form: log⁡6216=3\log_6 216 = 3 and log⁡1 000 000=6\log 1\,000\,000 = 6.

(c) Solve log⁡2x=5\log_2 x = 5 and log⁡x49=2\log_x 49 = 2.

Solution.

(a) The exponent becomes the value of the log: log⁡464=3\log_4 64 = 3 and log⁡84=23\log_8 4 = \dfrac{2}{3}.

(b) The value of the log becomes the exponent: 63=2166^3 = 216 and 106=1 000 00010^6 = 1\,000\,000.

(c) Rewrite each in exponential form.

log⁡2x=5⇒x=25=32\log_2 x = 5 \quad\Rightarrow\quad x = 2^5 = 32 log⁡x49=2⇒x2=49⇒x=7\log_x 49 = 2 \quad\Rightarrow\quad x^2 = 49 \quad\Rightarrow\quad x = 7

We reject x=−7x = -7 because a base must be positive. Check: 72=497^2 = 49. ✓

Estimate log⁡250\log_2 50 to two decimal places.

Solution. We want the exponent yy with 2y=502^y = 50. From the powers 25=322^5 = 32 and 26=642^6 = 64, yy is between 55 and 66. Since 5050 is a bit closer to 6464 (in ratio), try a value past the middle.

Try yy2y2^yToo big or too small?
5.65.648.5048.50too small
5.75.751.9851.98too big
5.645.6449.8749.87too small
5.655.6550.2150.21too big

So yy is between 5.645.64 and 5.655.65, and 25.642^{5.64} is closer to 5050. To two decimal places, log⁡250≈5.64\log_2 50 \approx 5.64.

Example 4: Solving by rewriting in log form

Section titled “Example 4: Solving by rewriting in log form”

Solve 3x=143^x = 14. Give an exact answer, then an approximation to two decimal places.

Solution. Rewrite in logarithmic form. The base is 33 and the exponent is xx:

3x=14⟺x=log⁡3143^x = 14 \quad\Longleftrightarrow\quad x = \log_3 14

That’s the exact answer. To estimate it: 32=93^2 = 9 and 33=273^3 = 27, so xx is between 22 and 33, closer to 22.

Try xx3x3^x
2.52.515.5915.59 (too big)
2.42.413.9713.97 (too small)
2.412.4114.1214.12 (too big)
2.4052.40514.0414.04 (too big)

So xx is between 2.42.4 and 2.4052.405, which rounds to x≈2.40x \approx 2.40. Check: 32.40≈13.97≈143^{2.40} \approx 13.97 \approx 14. ✓

Mixing up which number is the exponent. log⁡28\log_2 8 is not 282^8 or 828^2. It asks ”22 to what power is 88?”, so the answer is 33. Say the question out loud until it’s automatic.

Taking the log of zero or a negative number. log⁡(−100)\log(-100) and log⁡50\log_5 0 don’t exist, because a positive base raised to any power is positive. A calculator will show an error.

Thinking a log can’t be negative. It can. log⁡0.01=−2\log 0.01 = -2 because 10−2=0.0110^{-2} = 0.01. Logs of numbers between 00 and 11 are negative (for bases bigger than 11).

Forgetting what “log” with no base means. log⁡x\log x is base 1010. So log⁡100=2\log 100 = 2, not 100100 or 5050.

Treating the log like multiplication. log⁡250\log_2 50 is not 502\dfrac{50}{2} or 2×502 \times 50. It’s the exponent that turns 22 into 5050, about 5.645.64.

Getting fractional logs backwards. log⁡93=12\log_9 3 = \tfrac{1}{2} (because 912=39^{\frac{1}{2}} = 3), but log⁡39=2\log_3 9 = 2. When the number is smaller than the base (and bigger than 11), the log is between 00 and 11.

1. (Warm-up) Evaluate.

  • (a) log⁡525\log_5 25
  • (b) log⁡218\log_2 \dfrac{1}{8}
  • (c) log⁡10 000\log 10\,000
Solution

(a) 52=255^2 = 25, so log⁡525=2\log_5 25 = 2.

(b) 2−3=182^{-3} = \dfrac{1}{8}, so log⁡218=−3\log_2 \dfrac{1}{8} = -3.

(c) 104=10 00010^4 = 10\,000, so log⁡10 000=4\log 10\,000 = 4.

2. (Warm-up) Write in logarithmic form.

  • (a) 34=813^4 = 81
  • (b) 10−3=0.00110^{-3} = 0.001
  • (c) 1614=216^{\frac{1}{4}} = 2
Solution

(a) log⁡381=4\log_3 81 = 4

(b) log⁡0.001=−3\log 0.001 = -3

(c) log⁡162=14\log_{16} 2 = \dfrac{1}{4}

3. (Warm-up) Write in exponential form.

  • (a) log⁡7343=3\log_7 343 = 3
  • (b) log⁡4116=−2\log_4 \dfrac{1}{16} = -2
  • (c) log⁡1=0\log 1 = 0
Solution

(a) 73=3437^3 = 343

(b) 4−2=1164^{-2} = \dfrac{1}{16}

(c) 100=110^0 = 1

4. (Core) Evaluate.

  • (a) log⁡82\log_8 2
  • (b) log⁡279\log_{27} 9
  • (c) log⁡128\log_{\frac{1}{2}} 8
  • (d) log⁡55\log_5 \sqrt{5}
Solution

(a) 813=83=28^{\frac{1}{3}} = \sqrt[3]{8} = 2, so log⁡82=13\log_8 2 = \dfrac{1}{3}.

(b) 2723=(273)2=32=927^{\frac{2}{3}} = \left(\sqrt[3]{27}\right)^2 = 3^2 = 9, so log⁡279=23\log_{27} 9 = \dfrac{2}{3}.

(c) (12)−3=23=8\left(\dfrac{1}{2}\right)^{-3} = 2^3 = 8, so log⁡128=−3\log_{\frac{1}{2}} 8 = -3.

(d) 5=512\sqrt{5} = 5^{\frac{1}{2}}, so log⁡55=12\log_5 \sqrt{5} = \dfrac{1}{2}.

5. (Core) Solve each equation by rewriting it in exponential form.

  • (a) log⁡3x=4\log_3 x = 4
  • (b) log⁡x64=3\log_x 64 = 3
  • (c) log⁡2(x−1)=5\log_2 (x - 1) = 5
  • (d) log⁡x=−2\log x = -2
Solution

(a) x=34=81x = 3^4 = 81

(b) x3=64x^3 = 64, so x=643=4x = \sqrt[3]{64} = 4.

(c) x−1=25=32x - 1 = 2^5 = 32, so x=33x = 33. Check: log⁡232=5\log_2 32 = 5. ✓

(d) x=10−2=0.01x = 10^{-2} = 0.01

6. (Core) Between which two consecutive integers is each logarithm? Explain.

  • (a) log⁡450\log_4 50
  • (b) log⁡0.05\log 0.05
  • (c) log⁡6200\log_6 200
Solution

(a) 42=164^2 = 16 and 43=644^3 = 64. Since 16<50<6416 \lt 50 \lt 64, log⁡450\log_4 50 is between 22 and 33.

(b) 10−2=0.0110^{-2} = 0.01 and 10−1=0.110^{-1} = 0.1. Since 0.01<0.05<0.10.01 \lt 0.05 \lt 0.1, log⁡0.05\log 0.05 is between −2-2 and −1-1.

(c) 62=366^2 = 36 and 63=2166^3 = 216. Since 36<200<21636 \lt 200 \lt 216, log⁡6200\log_6 200 is between 22 and 33 (and close to 33).

7. (Core) Solve 2x=202^x = 20 by rewriting it in logarithmic form. Then estimate xx to two decimal places by systematic trial.

Solution

x=log⁡220x = \log_2 20. Since 24=162^4 = 16 and 25=322^5 = 32, xx is between 44 and 55.

Try xx2x2^x
4.34.319.7019.70 (too small)
4.44.421.1121.11 (too big)
4.324.3219.9719.97 (too small)
4.334.3320.1120.11 (too big)

24.322^{4.32} is much closer to 2020, so x≈4.32x \approx 4.32.

8. (Challenge) Explain why each of these is undefined.

  • (a) log⁡50\log_5 0
  • (b) log⁡17\log_1 7
  • (c) log⁡10(−10)\log_{10}(-10)
Solution

(a) We’d need 5y=05^y = 0. But every power of 55 is positive (for example, 5−105^{-10} is tiny but still positive), so there’s no such yy.

(b) We’d need 1y=71^y = 7. But 11 to any power is 11, so there’s no such yy. That’s why the base can’t be 11.

(c) We’d need 10y=−1010^y = -10. Every power of 1010 is positive, so there’s no such yy.

9. (Challenge) Evaluate.

  • (a) log⁡2(log⁡381)\log_2\left(\log_3 81\right)
  • (b) 5log⁡5125^{\log_5 12}
  • (c) log⁡3(94)\log_3\left(9^4\right)
Solution

(a) Work from the inside out. log⁡381=4\log_3 81 = 4, because 34=813^4 = 81. Then log⁡24=2\log_2 4 = 2.

(b) log⁡512\log_5 12 is the exponent that turns 55 into 1212. Putting that exponent on 55 gives 1212. So 5log⁡512=125^{\log_5 12} = 12.

(c) 94=(32)4=389^4 = \left(3^2\right)^4 = 3^8, so log⁡3(94)=log⁡3(38)=8\log_3\left(9^4\right) = \log_3\left(3^8\right) = 8.

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

Remember that log⁡x\log x with no base written means log⁡10x\log_{10} x.

H1. (Foundations) Rewrite each equation in the other form. Parts (a) to (c) are in exponential form; parts (d) to (f) are in logarithmic form.

  • (a) 27=1282^7 = 128
  • (b) 10−4=0.000110^{-4} = 0.0001
  • (c) 2713=327^{\frac{1}{3}} = 3
  • (d) log⁡3243=5\log_3 243 = 5
  • (e) log⁡0.00001=−5\log 0.00001 = -5
  • (f) log⁡497=12\log_{49} 7 = \tfrac{1}{2}

H2. (Foundations) Evaluate each logarithm without a calculator.

  • (a) log⁡232\log_2 32
  • (b) log⁡3127\log_3 \dfrac{1}{27}
  • (c) log⁡0.0001\log 0.0001
  • (d) log⁡48\log_4 8
  • (e) log⁡927\log_9 27
  • (f) log⁡1111\log_{11} 11

H3. (Core) Between which two consecutive integers is each logarithm? Explain using powers of the base.

  • (a) log⁡3100\log_3 100
  • (b) log⁡20.3\log_2 0.3
  • (c) log⁡4500\log 4500
  • (d) Use the LOG key on your calculator to find log⁡4500\log 4500 to three decimal places. Does it agree with your answer to (c)?

H4. (Core) Solve each equation by rewriting it in exponential form. Give exact answers, and a decimal to three places where the answer isn’t a whole number or a simple fraction.

  • (a) log⁡5x=3\log_5 x = 3
  • (b) log⁡x81=4\log_x 81 = 4
  • (c) log⁡4(2x+1)=2\log_4 (2x + 1) = 2
  • (d) log⁡x=1.5\log x = 1.5
  • (e) log⁡x136=−2\log_x \dfrac{1}{36} = -2

H5. (Core) Consider the equation 3x=203^x = 20.

  • (a) Write the exact solution as a logarithm.
  • (b) Between which two consecutive integers is xx? Explain.
  • (c) Estimate xx to two decimal places by systematic trial. Show a table of your trials.
  • (d) Use technology (for example, graph y=3xy = 3^x and y=20y = 20 in Desmos and find the intersection) to give xx to three decimal places. Is it consistent with (c)?

H6. (Core) Logarithms show up in science whenever you need to find an exponent.

  • (a) Chemists measure acidity with pH=−log⁡[H+]\text{pH} = -\log\left[\text{H}^+\right], where [H+]\left[\text{H}^+\right] is the hydrogen ion concentration in mol/L. A hypothetical rainwater sample collected in Sudbury has [H+]=0.0001\left[\text{H}^+\right] = 0.0001 mol/L. Find its pH.
  • (b) A lake water sample has a pH of 66. What is its hydrogen ion concentration?
  • (c) A hypothetical bacteria culture in a lab starts with 500500 cells and doubles every hour, so after tt hours it has N=500(2)tN = 500\left(2\right)^t cells. Write an equation for when the culture reaches 40 00040\,000 cells, and solve it exactly using a logarithm.
  • (d) Between which two whole numbers of hours does this happen? Then use systematic trial to find the time to the nearest tenth of an hour.

H7. (Challenge) Spot the error. A student hands in this work:

  • (a) ”log⁡28=4\log_2 8 = 4, because 8÷2=48 \div 2 = 4.”
  • (b) ”log⁡30=1\log_3 0 = 1, because 30=13^0 = 1.”
  • (c) ”log⁡50=5\log 50 = 5, because 50=10×550 = 10 \times 5.”

For each line, explain what the student did wrong and give the correct statement.

H8. (Challenge) Without a calculator, decide which is larger: log⁡210\log_2 10 or log⁡330\log_3 30.

  • (a) Show that both values are between 33 and 44, so whole numbers alone can’t settle it.
  • (b) Show that 213<1042^{13} \lt 10^4, and use it to explain why log⁡210>134\log_2 10 \gt \tfrac{13}{4}. (Hint: if log⁡210\log_2 10 were 134\tfrac{13}{4} or less, then 1010 would be at most 21342^{\frac{13}{4}}. Raise both sides to the fourth power.)
  • (c) Show that 313>3043^{13} \gt 30^4 by writing 304=34×10430^4 = 3^4 \times 10^4, and use it to explain why log⁡330<134\log_3 30 \lt \tfrac{13}{4}.
  • (d) Which logarithm is larger?

H9. (Challenge) Find the base bb in each case, or explain why no base works.

  • (a) log⁡b0.04=−2\log_b 0.04 = -2
  • (b) log⁡b32=52\log_b 32 = \tfrac{5}{2}
  • (c) log⁡b10=13\log_b 10 = \tfrac{1}{3}
  • (d) log⁡b5=0\log_b 5 = 0

H10. (Challenge) Without a calculator, put these in order from least to greatest. Justify where each one sits.

log⁡29,log⁡39,log⁡93,log⁡139,log⁡0.5\log_2 9, \qquad \log_3 9, \qquad \log_9 3, \qquad \log_{\frac{1}{3}} 9, \qquad \log 0.5