THE WHOLE UNIT · ONE REFERENCE

Logarithms
Cheat sheet.

The key rules, formulas and reminders from all 15 topics, gathered into reference cards.

Choose “Save as PDF” in the print dialog.

Key formulas, conditions and traps · Read down each column.

Defining the Exponential Function

Definition

f(x)=axf(x) = a^x, with a>0a > 0 and a≠1a \ne 1.

The base is fixed; the variable is the power. That is the whole difference from x3x^3.

ExpressionBasePower
x3x^3variesfixed
3x3^xfixedvaries

Graphing Exponential Functions

Three points and one line

PointWhy
(−1,1a)\left(-1, \dfrac{1}{a}\right)a negative power is a reciprocal
(0,1)(0, 1)a0=1a^0 = 1, for every base
(1,a)(1, a)a1=aa^1 = a

Asymptote: the xx-axis, y=0y = 0. The curve approaches it and never meets it.

Domain and range

Domain: every real number. Range: y>0y > 0.

Defining the Logarithm

Definition

log⁡ax=y  ⟺  ay=x\log_a x = y \iff a^y = x, with a>0a > 0, a≠1a \ne 1 and x>0x > 0.

Out loud: log⁡ax\log_a x is the power that turns aa into xx.

What is allowed

PartConditionWhy
base aaa>0a > 0, a≠1a \ne 1as for the exponential it inverts
argument xxx>0x > 0no power of a positive base is 00 or negative
answer yyanythinga logarithm may be negative or fractional

The Inverse of an Exponential Function

The move

xx is stuck in an exponent, so the logarithm frees it.

y=ax  ⟺  x=log⁡ayy = a^x \iff x = \log_a y

Watch for

  • Adding a constant to axa^x moves the inverse's restriction: f(x)=2x+5f(x) = 2^x + 5 has f−1f^{-1} defined only for x>5x > 5.
  • The graphs are mirror images in the line y=xy = x.

The Inverse of a Logarithmic Function

The move

xx is stuck inside a logarithm, so the exponential frees it.

y=log⁡ax  ⟺  x=ayy = \log_a x \iff x = a^y

Conditions on the Base and the Argument

The three conditions

log⁡axneedsa>0,a≠1,x>0\log_a x \quad\text{needs}\quad a > 0, \quad a \ne 1, \quad x > 0

The value has no restriction. It may be negative, fractional, or zero.

Traps

  • x=3x = 3 is not allowed in log⁡5(x−3)\log_5(x - 3). The argument must be strictly positive, not zero.
  • A negative xx is fine if the argument still comes out positive, as in log⁡2(x2−9)\log_2(x^2 - 9) at x=−4x = -4.
  • Not every logarithm restricts the domain. Check the argument before assuming it does.

The Four Basic Rules

The four

log⁡a1=0\log_a 1 = 0 log⁡aa=1\log_a a = 1 log⁡aan=n\log_a a^n = n alog⁡ax=xa^{\log_a x} = x

The third contains the first two: set n=0n = 0 and n=1n = 1.

Traps

  • log⁡a1=0\log_a 1 = 0, not 11. This is the most-swapped pair with log⁡aa=1\log_a a = 1.
  • Different bases cannot be combined. Evaluate each term, then add.
  • 3log⁡34+1=3log⁡34⋅3=4⋅3=123^{\log_3 4 + 1} = 3^{\log_3 4} \cdot 3 = 4 \cdot 3 = 12. Split the exponent first.

When the Base Is Not Written

The move

No base written means base 1010.

log⁡x=log⁡10x\log x = \log_{10} x

Watch out

  • Only log⁡\log hides a base. log⁡28\log_2 8 keeps its 22.
  • xx must still be positive: log⁡0\log 0 and log⁡(−5)\log(-5) have no value.
  • A number under 11 gives a negative answer, never an undefined one.

The Natural Logarithm

The move

ln⁡\ln is a logarithm in base ee, where e≈2.71828e \approx 2.71828.

ln⁡x=log⁡ex\ln x = \log_e x

Watch out

  • ln⁡\ln has no ee written, but it is there. ln⁡e3=3\ln e^3 = 3, not 3e3e.
  • Domain unchanged: ln⁡0\ln 0 and ln⁡(−4)\ln(-4) have no value.
  • ln⁡x\ln x is negative for 0<x<10 < x < 1, not undefined.
  • ee never has to be turned into a decimal to answer these.

The Product Rule

The rule

log⁡ax+log⁡ay=log⁡a(xy)\log_a x + \log_a y = \log_a(xy)

Same base only. Adding logarithms multiplies their arguments.

Traps

log⁡ax+log⁡ay≠log⁡a(x+y)\log_a x + \log_a y \ne \log_a(x + y) log⁡ax⋅log⁡ay≠log⁡a(xy)\log_a x \cdot \log_a y \ne \log_a(xy)

The Quotient Rule

The rule

log⁡ax−log⁡ay=log⁡axy\log_a x - \log_a y = \log_a \frac{x}{y}

Same base only. The first argument goes on top.

Traps

log⁡ax−log⁡ay≠log⁡a(x−y)\log_a x - \log_a y \ne \log_a(x - y) log⁡axlog⁡ay≠log⁡axy\frac{\log_a x}{\log_a y} \ne \log_a \frac{x}{y}

Order matters: reversing the two terms flips the sign of the answer.

Swapping the Base and the Exponent

The three

log⁡axm=mlog⁡ax\log_a x^m = m \log_a x log⁡anx=1nlog⁡ax\log_{a^n} x = \frac{1}{n} \log_a x log⁡anxm=mnlog⁡ax\log_{a^n} x^m = \frac{m}{n} \log_a x

Argument exponent multiplies. Base exponent divides.

Traps

  • log⁡axm\log_a x^m is not (log⁡ax)m(\log_a x)^m. Compare log⁡243=6\log_2 4^3 = 6 with (log⁡24)3=8(\log_2 4)^3 = 8.
  • The base exponent goes underneath: log⁡anx=1nlog⁡ax\log_{a^n} x = \dfrac{1}{n} \log_a x, never nlog⁡axn \log_a x.
  • Roots are fractional powers: log⁡4163=4/32=23\log_4 \sqrt[3]{16} = \dfrac{4/3}{2} = \dfrac{2}{3}.
  • The strict form is log⁡ax2=2log⁡a∣x∣\log_a x^2 = 2 \log_a |x|, because xx may be negative.

When a Logarithm Is the Exponent

The three

alog⁡ax=xa^{\log_a x} = x amlog⁡ax=xma^{m \log_a x} = x^m alog⁡bc=clog⁡baa^{\log_b c} = c^{\log_b a}

The first needs matching bases. The second is the first with an outside power. The third trades the two ends when nothing matches.

Traps

  • 2log⁡372^{\log_3 7} cancels to nothing. The bases share no common power here.
  • A negative exponent is a reciprocal, not a negative answer: 3−2log⁡32=2−2=143^{-2 \log_3 2} = 2^{-2} = \dfrac{1}{4}.
  • 2log⁡25+32^{\log_2 5 + 3} is 4040, not 88. The 33 multiplies, it does not vanish.
  • amlog⁡ax=xma^{m \log_a x} = x^m, never mxm x.

Changing the Base

The rule

log⁡ax=log⁡bxlog⁡ba\log_a x = \frac{\log_b x}{\log_b a}

Argument on top, old base underneath. The new base bb is yours to choose.

Traps

  • ln⁡3ln⁡7\dfrac{\ln 3}{\ln 7} is log⁡73\log_7 3, not log⁡37\log_3 7. Check which one is underneath.
  • log⁡axlog⁡ay\dfrac{\log_a x}{\log_a y} is not log⁡axy\log_a \dfrac{x}{y}. That is the quotient rule, a different thing.

Graphing Logarithmic Functions

The shape

y=log⁡axy = \log_a x: domain x>0x > 0, range every real yy, vertical asymptote x=0x = 0.

BaseShape
a>1a > 1rises, slowly and forever
0<a<10 < a < 1falls, slowly and forever

The two are mirror images in the xx-axis, because log⁡1/ax=−log⁡ax\log_{1/a} x = -\log_a x.

Traps

  • A negative height never means a negative xx. log⁡3x=−2\log_3 x = -2 gives x=19x = \dfrac{1}{9}, not −9-9.
  • Heights are negative exactly on 0<x<10 < x < 1.
  • The curve is unbounded below near the wall, but never crosses it.
  • log⁡2x\log_2 x gains one unit of height each time xx doubles.
01

Defining the Exponential Function

5 reference blocks

Read lesson ↗

Definition

f(x)=axf(x) = a^x, with a>0a > 0 and a≠1a \ne 1.

The base is fixed; the variable is the power. That is the whole difference from x3x^3.

ExpressionBasePower
x3x^3variesfixed
3x3^xfixedvaries

Why the two conditions

ConditionWhat it prevents
a>0a > 0a1/2=aa^{1/2} = \sqrt{a} has no real value for a negative base
a≠1a \ne 11x=11^x = 1 is a flat line, with no inverse

The rules of indices, unchanged

ax⋅ay=ax+ya^x \cdot a^y = a^{x + y}, axay=ax−y\dfrac{a^x}{a^y} = a^{x - y}, (ax)y=axy\left(a^x\right)^y = a^{xy}

a0=1a^0 = 1, and a−x=1axa^{-x} = \dfrac{1}{a^x} - a negative power is a reciprocal, never a negative value.

What the graph does

FactConsequence
ax>0a^x > 0 alwaysthe curve never touches the xx-axis
a0=1a^0 = 1every exponential passes through (0,1)(0, 1)
a>1a > 1growth: climbs without limit
0<a<10 < a < 1decay: falls towards 00

Solving $a^{\text{something}} = a^{\text{something}}$

Put both sides on the same base, then equate the powers. An exponential takes each value once, so nothing is lost.

02

Graphing Exponential Functions

4 reference blocks

Read lesson ↗

Three points and one line

PointWhy
(−1,1a)\left(-1, \dfrac{1}{a}\right)a negative power is a reciprocal
(0,1)(0, 1)a0=1a^0 = 1, for every base
(1,a)(1, a)a1=aa^1 = a

Asymptote: the xx-axis, y=0y = 0. The curve approaches it and never meets it.

Which shape

BaseShape
a>1a > 1growth: rises left to right
0<a<10 < a < 1decay: falls left to right

Domain and range

Domain: every real number. Range: y>0y > 0.

Two things that move it

ChangeEffect
(1a)x=a−x\left(\dfrac{1}{a}\right)^x = a^{-x}reflection in the yy-axis - decay is growth mirrored
ax+ka^x + kevery point lifts by kk, and the asymptote goes to y=ky = k
03

Defining the Logarithm

5 reference blocks

Read lesson ↗

Definition

log⁡ax=y  ⟺  ay=x\log_a x = y \iff a^y = x, with a>0a > 0, a≠1a \ne 1 and x>0x > 0.

Out loud: log⁡ax\log_a x is the power that turns aa into xx.

Swapping the two forms

Index formLogarithm form
34=813^4 = 81log⁡381=4\log_3 81 = 4
2−3=182^{-3} = \dfrac{1}{8}log⁡218=−3\log_2 \dfrac{1}{8} = -3
91/2=39^{1/2} = 3log⁡93=12\log_9 3 = \dfrac{1}{2}

The base stays the base. Only the other two change places.

Free values

log⁡a1=0\log_a 1 = 0 and log⁡aa=1\log_a a = 1, for every allowed base.

What is allowed

PartConditionWhy
base aaa>0a > 0, a≠1a \ne 1as for the exponential it inverts
argument xxx>0x > 0no power of a positive base is 00 or negative
answer yyanythinga logarithm may be negative or fractional

Undoing

log⁡a(ax)=x\log_a(a^x) = x and alog⁡ax=xa^{\log_a x} = x. The graphs are mirror images in y=xy = x.

04

The Inverse of an Exponential Function

5 reference blocks

Read lesson ↗

The move

xx is stuck in an exponent, so the logarithm frees it.

y=ax  ⟺  x=log⁡ayy = a^x \iff x = \log_a y

Method

  1. Write y=f(x)y = f(x).
  2. Peel off everything outside the power first.
  3. Take log⁡a\log_a of both sides. It releases the whole exponent.
  4. Undo what is left, then swap the letters.
FunctionInverse
f(x)=2xf(x) = 2^xf−1(x)=log⁡2xf^{-1}(x) = \log_2 x
f(x)=2x+5f(x) = 2^x + 5f−1(x)=log⁡2(x−5)f^{-1}(x) = \log_2(x - 5)
f(x)=3⋅2xf(x) = 3 \cdot 2^xf−1(x)=log⁡2x3f^{-1}(x) = \log_2 \dfrac{x}{3}
f(x)=2x−1f(x) = 2^{x - 1}f−1(x)=log⁡2x+1f^{-1}(x) = \log_2 x + 1
f(x)=52xf(x) = 5^{2x}f−1(x)=log⁡5x2f^{-1}(x) = \dfrac{\log_5 x}{2}

The whole exponent comes out

log⁡2 ⁣(23x+1)=3x+1\log_2\!\left(2^{3x + 1}\right) = 3x + 1, not 3x3x. Take the exponent out in one piece, then unpick it.

Domain and range change places

domainrange
f(x)=axf(x) = a^xevery real numbery>0y > 0
f−1(x)=log⁡axf^{-1}(x) = \log_a xx>0x > 0every real number

Watch for

  • Adding a constant to axa^x moves the inverse's restriction: f(x)=2x+5f(x) = 2^x + 5 has f−1f^{-1} defined only for x>5x > 5.
  • The graphs are mirror images in the line y=xy = x.
05

The Inverse of a Logarithmic Function

6 reference blocks

Read lesson ↗

The move

xx is stuck inside a logarithm, so the exponential frees it.

y=log⁡ax  ⟺  x=ayy = \log_a x \iff x = a^y

Method

  1. Write y=f(x)y = f(x).
  2. Make the logarithm stand alone: clear coefficients and constants first.
  3. Raise the base to both sides. It releases the whole argument.
  4. Undo what is left, then swap the letters.
FunctionInverse
f(x)=log⁡3xf(x) = \log_3 xf−1(x)=3xf^{-1}(x) = 3^x
f(x)=log⁡2x+1f(x) = \log_2 x + 1f−1(x)=2x−1f^{-1}(x) = 2^{x - 1}
f(x)=log⁡5(x−2)f(x) = \log_5(x - 2)f−1(x)=5x+2f^{-1}(x) = 5^x + 2
f(x)=2log⁡3xf(x) = 2\log_3 xf−1(x)=3x/2f^{-1}(x) = 3^{x/2}
f(x)=log⁡4(3x)f(x) = \log_4(3x)f−1(x)=4x3f^{-1}(x) = \dfrac{4^x}{3}

Stand alone first

23log⁡2x≠x2^{3\log_2 x} \ne x. Divide by the 33 before raising the base:

3log⁡2x=y  ⇒  log⁡2x=y3  ⇒  x=2y/33\log_2 x = y \;\Rightarrow\; \log_2 x = \frac{y}{3} \;\Rightarrow\; x = 2^{y/3}

The whole argument comes out

5log⁡5(x−2)=x−25^{\log_5(x - 2)} = x - 2. The bracket arrives intact; the −2-2 comes off afterwards.

Domain and range change places

domainrange
f(x)=log⁡axf(x) = \log_a xx>0x > 0every real number
f−1(x)=axf^{-1}(x) = a^xevery real numbery>0y > 0

Which way round

xx sits......so use
in an exponentthe logarithm
inside a logarithmthe exponential
06

Conditions on the Base and the Argument

5 reference blocks

Read lesson ↗

The three conditions

log⁡axneedsa>0,a≠1,x>0\log_a x \quad\text{needs}\quad a > 0, \quad a \ne 1, \quad x > 0

The value has no restriction. It may be negative, fractional, or zero.

Where each condition comes from

ConditionReason
a>0a > 0a negative base breaks between whole powers: (−4)1/2(-4)^{1/2} is not real
a≠1a \ne 1every power of 11 is 11, so 1y=x1^y = x has no single answer
x>0x > 0a positive base to any real power is positive, never 00 or negative

Reading conditions off an expression

One inequality per condition, then keep what they all allow.

ExpressionConditionsAllowed
log⁡3(x−2)\log_3(x - 2)x−2>0x - 2 > 0x>2x > 2
log⁡5(7−x)\log_5(7 - x)7−x>07 - x > 0x<7x < 7
log⁡2(x2−9)\log_2(x^2 - 9)x2−9>0x^2 - 9 > 0x<−3x < -3 or x>3x > 3
log⁡4(x2+1)\log_4(x^2 + 1)always trueevery real xx
log⁡x9\log_x 9x>0x > 0, x≠1x \ne 1x>0x > 0, x≠1x \ne 1
log⁡x−45\log_{x-4} 5x−4>0x - 4 > 0, x−4≠1x - 4 \ne 1x>4x > 4, x≠5x \ne 5

When the base contains x

Both base conditions apply, and the argument condition applies as well. Three inequalities.

log⁡x−1(6−2x):x>1,x≠2,x<3  ⇒  1<x<3,;x≠2\log_{x-1}(6 - 2x): \quad x > 1, \quad x \ne 2, \quad x < 3 \;\Rightarrow\; 1 < x < 3, ; x \ne 2

Traps

  • x=3x = 3 is not allowed in log⁡5(x−3)\log_5(x - 3). The argument must be strictly positive, not zero.
  • A negative xx is fine if the argument still comes out positive, as in log⁡2(x2−9)\log_2(x^2 - 9) at x=−4x = -4.
  • Not every logarithm restricts the domain. Check the argument before assuming it does.
07

The Four Basic Rules

5 reference blocks

Read lesson ↗

The four

log⁡a1=0\log_a 1 = 0 log⁡aa=1\log_a a = 1 log⁡aan=n\log_a a^n = n alog⁡ax=xa^{\log_a x} = x

The third contains the first two: set n=0n = 0 and n=1n = 1.

The method

Write the argument as a power of the base, then read the exponent off.

LogarithmAs a powerValue
log⁡232\log_2 32252^555
log⁡264\log_2 64262^666
log⁡3181\log_3 \dfrac{1}{81}3−43^{-4}−4-4
log⁡22\log_2 \sqrt{2}21/22^{1/2}12\dfrac{1}{2}
log⁡515\log_5 \dfrac{1}{\sqrt{5}}5−1/25^{-1/2}−12-\dfrac{1}{2}
log⁡41\log_4 1404^000
log⁡77\log_7 7717^111

Roots and fractions are not special cases:

an=a1/n,\sqrt[n]{a} = a^{1/n}, 1an=a−n\frac{1}{a^n} = a^{-n}

Cancelling

alog⁡ax=xa^{\log_a x} = x only when the bases match.

3log⁡37=73^{\log_3 7} = 7 but\text{but} 2log⁡37 simplifies to nothing2^{\log_3 7} \text{ simplifies to nothing}

When the argument is not a whole-number power

Go back to index form and put both sides on a common base.

log⁡48=y  ⇒  4y=8  ⇒  22y=23  ⇒  y=32\log_4 8 = y \;\Rightarrow\; 4^y = 8 \;\Rightarrow\; 2^{2y} = 2^3 \;\Rightarrow\; y = \frac{3}{2}

Traps

  • log⁡a1=0\log_a 1 = 0, not 11. This is the most-swapped pair with log⁡aa=1\log_a a = 1.
  • Different bases cannot be combined. Evaluate each term, then add.
  • 3log⁡34+1=3log⁡34⋅3=4⋅3=123^{\log_3 4 + 1} = 3^{\log_3 4} \cdot 3 = 4 \cdot 3 = 12. Split the exponent first.
08

When the Base Is Not Written

5 reference blocks

Read lesson ↗

The move

No base written means base 1010.

log⁡x=log⁡10x\log x = \log_{10} x

Read the exponent off

xx10n10^nlog⁡x\log x
100001000010410^444
1000100010310^333
10010010210^222
101010110^111
1110010^000
0.10.110−110^{-1}−1-1
0.010.0110−210^{-2}−2-2
0.0010.00110−310^{-3}−3-3

The four rules with the ten hidden

RuleExample
log⁡1=0\log 1 = 0log⁡1=0\log 1 = 0
log⁡10=1\log 10 = 1log⁡10=1\log 10 = 1
log⁡10n=n\log 10^n = nlog⁡106=6\log 10^6 = 6
10log⁡x=x10^{\log x} = x10log⁡7=710^{\log 7} = 7

Sanity check any answer

Trap the number between the powers of ten either side.

Becauselog⁡x\log x lies between
10<50<10010 < 50 < 10011 and 22
100<700<1000100 < 700 < 100022 and 33
1<5<101 < 5 < 1000 and 11
0.01<0.04<0.10.01 < 0.04 < 0.1−2-2 and −1-1

Watch out

  • Only log⁡\log hides a base. log⁡28\log_2 8 keeps its 22.
  • xx must still be positive: log⁡0\log 0 and log⁡(−5)\log(-5) have no value.
  • A number under 11 gives a negative answer, never an undefined one.
09

The Natural Logarithm

6 reference blocks

Read lesson ↗

The move

ln⁡\ln is a logarithm in base ee, where e≈2.71828e \approx 2.71828.

ln⁡x=log⁡ex\ln x = \log_e x

Three notations

WrittenBase
log⁡ax\log_a xaa, stated
log⁡x\log x1010, hidden
ln⁡x\ln xee, hidden

The four rules with a = e

RuleWhy
ln⁡1=0\ln 1 = 0e0=1e^0 = 1
ln⁡e=1\ln e = 1e1=ee^1 = e
ln⁡en=n\ln e^n = nthe exponent is the answer
eln⁡x=xe^{\ln x} = xthe two cancel

Read at sight

xxln⁡x\ln x
e7e^777
e2e^222
ee11
1100
e\sqrt{e}12\dfrac{1}{2}
e1/3e^{1/3}13\dfrac{1}{3}
1e\dfrac{1}{e}−1-1
1e5\dfrac{1}{e^5}−5-5

Method

  1. Write the argument as a power of ee.
  2. Read off the exponent.
  3. A root is a fractional power; a reciprocal is a negative one.

Watch out

  • ln⁡\ln has no ee written, but it is there. ln⁡e3=3\ln e^3 = 3, not 3e3e.
  • Domain unchanged: ln⁡0\ln 0 and ln⁡(−4)\ln(-4) have no value.
  • ln⁡x\ln x is negative for 0<x<10 < x < 1, not undefined.
  • ee never has to be turned into a decimal to answer these.
10

The Product Rule

7 reference blocks

Read lesson ↗

The rule

log⁡ax+log⁡ay=log⁡a(xy)\log_a x + \log_a y = \log_a(xy)

Same base only. Adding logarithms multiplies their arguments.

Why

A logarithm is an exponent, and exponents add when powers multiply.

am⋅an=am+na^m \cdot a^n = a^{m+n}

Worth knowing by sight

SumSingle logarithmValue
log⁡24+log⁡28\log_2 4 + \log_2 8log⁡232\log_2 3255
log⁡25+log⁡4\log 25 + \log 4log⁡100\log 10022
log⁡36+log⁡34.5\log_3 6 + \log_3 4.5log⁡327\log_3 2733
log⁡64+log⁡69\log_6 4 + \log_6 9log⁡636\log_6 3622
log⁡212+log⁡243\log_2 12 + \log_2 \dfrac{4}{3}log⁡216\log_2 1644

Neither term has to be a whole number. Only the product does.

Splitting, the other direction

Break the argument into factors so one of them is a power of the base.

log⁡240=log⁡2(8⋅5)=3+log⁡25\log_2 40 = \log_2(8 \cdot 5) = 3 + \log_2 5

The bases must match

ExpressionCombines?
log⁡53+log⁡57\log_5 3 + \log_5 7yes, log⁡521\log_5 21
log⁡4+log⁡25\log 4 + \log 25yes, both base 1010
ln⁡2+ln⁡6\ln 2 + \ln 6yes, both base ee
log⁡53+log⁡27\log_5 3 + \log_2 7no

Traps

log⁡ax+log⁡ay≠log⁡a(x+y)\log_a x + \log_a y \ne \log_a(x + y) log⁡ax⋅log⁡ay≠log⁡a(xy)\log_a x \cdot \log_a y \ne \log_a(xy)

Given-value questions

Build the argument from the numbers you were given, then convert the product into a sum.

log⁡a2=0.3,  log⁡a5=0.7  ⇒  log⁡a10=0.3+0.7=1\log_a 2 = 0.3,\; \log_a 5 = 0.7 \;\Rightarrow\; \log_a 10 = 0.3 + 0.7 = 1
11

The Quotient Rule

7 reference blocks

Read lesson ↗

The rule

log⁡ax−log⁡ay=log⁡axy\log_a x - \log_a y = \log_a \frac{x}{y}

Same base only. The first argument goes on top.

Why

Exponents subtract when powers divide.

aman=am−n\frac{a^m}{a^n} = a^{m-n}

The reciprocal shortcut

Put x=1x = 1 and use log⁡a1=0\log_a 1 = 0:

log⁡a1y=−log⁡ay\log_a \frac{1}{y} = -\log_a y

So log⁡218=−3\log_2 \dfrac{1}{8} = -3, log⁡319=−2\log_3 \dfrac{1}{9} = -2, ln⁡1e=−1\ln \dfrac{1}{e} = -1. This is why the whole curve between 00 and 11 sits below the axis.

Worth knowing by sight

ExpressionSingle logarithmValue
log⁡248−log⁡23\log_2 48 - \log_2 3log⁡216\log_2 1644
log⁡5000−log⁡5\log 5000 - \log 5log⁡1000\log 100033
ln⁡e7−ln⁡e4\ln e^7 - \ln e^4ln⁡e3\ln e^333
log⁡25−log⁡240\log_2 5 - \log_2 40log⁡218\log_2 \dfrac{1}{8}−3-3
log⁡220−log⁡25\log_2 20 - \log_2 5log⁡24\log_2 422

Both rules together

Sums go on top, differences go underneath.

log⁡a6+log⁡a5−log⁡a3=log⁡a6⋅53=log⁡a10\log_a 6 + \log_a 5 - \log_a 3 = \log_a \frac{6 \cdot 5}{3} = \log_a 10 log⁡64+log⁡627−log⁡618=log⁡610818=log⁡66=1\log_6 4 + \log_6 27 - \log_6 18 = \log_6 \frac{108}{18} = \log_6 6 = 1

Traps

log⁡ax−log⁡ay≠log⁡a(x−y)\log_a x - \log_a y \ne \log_a(x - y) log⁡axlog⁡ay≠log⁡axy\frac{\log_a x}{\log_a y} \ne \log_a \frac{x}{y}

Order matters: reversing the two terms flips the sign of the answer.

Given-value questions

log⁡a3=0.5,  log⁡a2=0.3  ⇒  log⁡a1.5=log⁡a32=0.5−0.3=0.2\log_a 3 = 0.5,\; \log_a 2 = 0.3 \;\Rightarrow\; \log_a 1.5 = \log_a \frac{3}{2} = 0.5 - 0.3 = 0.2
12

Swapping the Base and the Exponent

5 reference blocks

Read lesson ↗

The three

log⁡axm=mlog⁡ax\log_a x^m = m \log_a x log⁡anx=1nlog⁡ax\log_{a^n} x = \frac{1}{n} \log_a x log⁡anxm=mnlog⁡ax\log_{a^n} x^m = \frac{m}{n} \log_a x

Argument exponent multiplies. Base exponent divides.

Where each comes from

RuleDerivation
log⁡axm=mlog⁡ax\log_a x^m = m \log_a xx=ak⇒xm=akmx = a^k \Rightarrow x^m = a^{km}
log⁡anx=1nlog⁡ax\log_{a^n} x = \dfrac{1}{n} \log_a x(an)y=any=x⇒ny=log⁡ax(a^n)^y = a^{ny} = x \Rightarrow ny = \log_a x

The method

  1. Write the base and the argument as powers of one common number.
  2. Divide the argument exponent by the base exponent.
  3. Check by raising the base back up.
ExpressionAs powersValue
log⁡285\log_2 8^52152^{15} in the argument1515
log⁡394\log_3 9^4383^8 in the argument88
log⁡48\log_4 8log⁡2223\log_{2^2} 2^332\dfrac{3}{2}
log⁡927\log_9 27log⁡3233\log_{3^2} 3^332\dfrac{3}{2}
log⁡84\log_8 4log⁡2322\log_{2^3} 2^223\dfrac{2}{3}
log⁡832\log_8 32log⁡2325\log_{2^3} 2^553\dfrac{5}{3}
log⁡2781\log_{27} 81log⁡3334\log_{3^3} 3^443\dfrac{4}{3}
log⁡168\log_{16} 8log⁡2423\log_{2^4} 2^334\dfrac{3}{4}
log⁡93\log_9 \sqrt{3}log⁡3231/2\log_{3^2} 3^{1/2}14\dfrac{1}{4}

Bases below 1

A fractional base is a negative power, so the value turns negative.

ExpressionAs powersValue
log⁡1/28\log_{1/2} 8log⁡2−123\log_{2^{-1}} 2^3−3-3
log⁡1/39\log_{1/3} 9log⁡3−132\log_{3^{-1}} 3^2−2-2
log⁡1/48\log_{1/4} 8log⁡2−223\log_{2^{-2}} 2^3−32-\dfrac{3}{2}

Traps

  • log⁡axm\log_a x^m is not (log⁡ax)m(\log_a x)^m. Compare log⁡243=6\log_2 4^3 = 6 with (log⁡24)3=8(\log_2 4)^3 = 8.
  • The base exponent goes underneath: log⁡anx=1nlog⁡ax\log_{a^n} x = \dfrac{1}{n} \log_a x, never nlog⁡axn \log_a x.
  • Roots are fractional powers: log⁡4163=4/32=23\log_4 \sqrt[3]{16} = \dfrac{4/3}{2} = \dfrac{2}{3}.
  • The strict form is log⁡ax2=2log⁡a∣x∣\log_a x^2 = 2 \log_a |x|, because xx may be negative.
13

When a Logarithm Is the Exponent

6 reference blocks

Read lesson ↗

The three

alog⁡ax=xa^{\log_a x} = x amlog⁡ax=xma^{m \log_a x} = x^m alog⁡bc=clog⁡baa^{\log_b c} = c^{\log_b a}

The first needs matching bases. The second is the first with an outside power. The third trades the two ends when nothing matches.

The method

  1. Write the base of the power as a power of the base of the logarithm.
  2. Bring the new multiplier out as an outside power.
  3. Cancel the matching pair and raise what is left.
8log⁡25=23log⁡25=(2log⁡25)3=53=1258^{\log_2 5} = 2^{3 \log_2 5} = \left(2^{\log_2 5}\right)^3 = 5^3 = 125

Read at sight

ExpressionRewrittenValue
5log⁡595^{\log_5 9}already matched99
32log⁡343^{2 \log_3 4}424^21616
e2ln⁡3e^{2 \ln 3}323^299
4log⁡234^{\log_2 3}22log⁡232^{2 \log_2 3}99
9log⁡359^{\log_3 5}32log⁡353^{2 \log_3 5}2525
25log⁡5325^{\log_5 3}52log⁡535^{2 \log_5 3}99
8log⁡258^{\log_2 5}23log⁡252^{3 \log_2 5}125125
(19)log⁡32\left(\dfrac{1}{9}\right)^{\log_3 2}3−2log⁡323^{-2 \log_3 2}14\dfrac{1}{4}
2log⁡492^{\log_4 9}212log⁡292^{\frac{1}{2} \log_2 9}33

Extra terms in the exponent

Split the sum first, then cancel.

2log⁡25+3=2log⁡25⋅23=402^{\log_2 5 + 3} = 2^{\log_2 5} \cdot 2^3 = 40 5log⁡52−1=255^{\log_5 2 - 1} = \frac{2}{5}

Swapping the ends

alog⁡bc=clog⁡baa^{\log_b c} = c^{\log_b a} so\text{so} 81log⁡32=2log⁡381=24=1681^{\log_3 2} = 2^{\log_3 81} = 2^4 = 16

Traps

  • 2log⁡372^{\log_3 7} cancels to nothing. The bases share no common power here.
  • A negative exponent is a reciprocal, not a negative answer: 3−2log⁡32=2−2=143^{-2 \log_3 2} = 2^{-2} = \dfrac{1}{4}.
  • 2log⁡25+32^{\log_2 5 + 3} is 4040, not 88. The 33 multiplies, it does not vanish.
  • amlog⁡ax=xma^{m \log_a x} = x^m, never mxm x.
14

Changing the Base

6 reference blocks

Read lesson ↗

The rule

log⁡ax=log⁡bxlog⁡ba\log_a x = \frac{\log_b x}{\log_b a}

Argument on top, old base underneath. The new base bb is yours to choose.

Why

y=log⁡axy = \log_a x means ay=xa^y = x. Take log⁡b\log_b of both sides:

ylog⁡ba=log⁡bx  ⇒  y=log⁡bxlog⁡bay \log_b a = \log_b x \;\Rightarrow\; y = \frac{\log_b x}{\log_b a}

Choosing the new base

GoalChoose
use a calculatorb=10b = 10 or b=eb = e
get an exact valuea base both numbers are powers of
log⁡27=ln⁡7ln⁡2,\log_2 7 = \frac{\ln 7}{\ln 2}, log⁡832=log⁡232log⁡28=53,\log_8 32 = \frac{\log_2 32}{\log_2 8} = \frac{5}{3}, log⁡927=32\log_9 27 = \frac{3}{2}

The upside-down case

Put x=bx = b and use log⁡bb=1\log_b b = 1:

log⁡ab=1log⁡ba\log_a b = \frac{1}{\log_b a} ⟹\Longrightarrow log⁡ab⋅log⁡ba=1\log_a b \cdot \log_b a = 1

So log⁡53⋅log⁡35=1\log_5 3 \cdot \log_3 5 = 1, and if log⁡ab=4\log_a b = 4 then log⁡ba=14\log_b a = \dfrac{1}{4}. Reciprocal, never negative.

Chains collapse

Put every factor over one base and the middles cancel.

log⁡25⋅log⁡58=ln⁡5ln⁡2⋅ln⁡8ln⁡5=log⁡28=3\log_2 5 \cdot \log_5 8 = \frac{\ln 5}{\ln 2} \cdot \frac{\ln 8}{\ln 5} = \log_2 8 = 3 log⁡23⋅log⁡34⋅log⁡45⋅log⁡58=log⁡28=3\log_2 3 \cdot \log_3 4 \cdot \log_4 5 \cdot \log_5 8 = \log_2 8 = 3

A chain keeps only the first base and the last argument.

Traps

  • ln⁡3ln⁡7\dfrac{\ln 3}{\ln 7} is log⁡73\log_7 3, not log⁡37\log_3 7. Check which one is underneath.
  • log⁡axlog⁡ay\dfrac{\log_a x}{\log_a y} is not log⁡axy\log_a \dfrac{x}{y}. That is the quotient rule, a different thing.
15

Graphing Logarithmic Functions

6 reference blocks

Read lesson ↗

The shape

y=log⁡axy = \log_a x: domain x>0x > 0, range every real yy, vertical asymptote x=0x = 0.

BaseShape
a>1a > 1rises, slowly and forever
0<a<10 < a < 1falls, slowly and forever

The two are mirror images in the xx-axis, because log⁡1/ax=−log⁡ax\log_{1/a} x = -\log_a x.

Three points fix the curve

(1a,−1),\left(\frac{1}{a}, -1\right), (1,0),(1, 0), (a,1)(a, 1)

For y=log⁡2xy = \log_2 x: (12,−1)\left(\dfrac{1}{2}, -1\right), (1,0)(1, 0), (2,1)(2, 1). Plot them, follow the shape, done.

(1,0)(1, 0) is on every logarithm graph, whatever the base.

Reflection in y = x

y=axy = a^xy=log⁡axy = \log_a x
domainevery real xxx>0x > 0
rangey>0y > 0every real yy
asymptotehorizontal, y=0y = 0vertical, x=0x = 0
passes through(0,1)(0, 1)(1,0)(1, 0)

Every row is the row above with the coordinates swapped.

Shifts

y=log⁡a(x−h)+ky = \log_a(x - h) + k
  • asymptote x=hx = h, domain x>hx > h — the inside constant moves the wall
  • +k+k lifts the curve and leaves the wall alone

Method for a shifted graph

Take f(x)=log⁡2(x−3)+1f(x) = \log_2(x - 3) + 1:

  1. Wall where the argument is zero: x=3x = 3, so domain x>3x > 3
  2. Argument =1= 1 at x=4x = 4: f(4)=0+1=1f(4) = 0 + 1 = 1
  3. Argument =2= 2 at x=5x = 5: f(5)=1+1=2f(5) = 1 + 1 = 2
  4. Base above 11, so it rises from the wall through (4,1)(4, 1) and (5,2)(5, 2)

Traps

  • A negative height never means a negative xx. log⁡3x=−2\log_3 x = -2 gives x=19x = \dfrac{1}{9}, not −9-9.
  • Heights are negative exactly on 0<x<10 < x < 1.
  • The curve is unbounded below near the wall, but never crosses it.
  • log⁡2x\log_2 x gains one unit of height each time xx doubles.