THE WHOLE UNIT · ONE REFERENCE
Logarithms
Cheat sheet.
The key rules, formulas and reminders from all 15 topics, gathered into reference cards.
Key formulas, conditions and traps · Read down each column.
Definition
f(x)=ax, with a>0 and a=1.
The base is fixed; the variable is the power. That is the whole difference from x3.
| Expression | Base | Power |
|---|
| x3 | varies | fixed |
| 3x | fixed | varies |
Three points and one line
| Point | Why |
|---|
| (−1,a1) | a negative power is a reciprocal |
| (0,1) | a0=1, for every base |
| (1,a) | a1=a |
Asymptote: the x-axis, y=0. The curve approaches it and never meets it.
Domain and range
Domain: every real number. Range: y>0.
Definition
logax=y⟺ay=x, with a>0, a=1 and x>0.
Out loud: logax is the power that turns a into x.
What is allowed
| Part | Condition | Why |
|---|
| base a | a>0, a=1 | as for the exponential it inverts |
| argument x | x>0 | no power of a positive base is 0 or negative |
| answer y | anything | a logarithm may be negative or fractional |
The move
x is stuck in an exponent, so the logarithm frees it.
y=ax⟺x=logay
Watch for
- Adding a constant to ax moves the inverse's restriction: f(x)=2x+5 has f−1 defined only for x>5.
- The graphs are mirror images in the line y=x.
The move
x is stuck inside a logarithm, so the exponential frees it.
y=logax⟺x=ayThe three conditions
logaxneedsa>0,a=1,x>0
The value has no restriction. It may be negative, fractional, or zero.
Traps
- x=3 is not allowed in log5(x−3). The argument must be strictly positive, not zero.
- A negative x is fine if the argument still comes out positive, as in log2(x2−9) at x=−4.
- Not every logarithm restricts the domain. Check the argument before assuming it does.
The four
loga1=0
logaa=1
logaan=n
alogax=x
The third contains the first two: set n=0 and n=1.
Traps
- loga1=0, not 1. This is the most-swapped pair with logaa=1.
- Different bases cannot be combined. Evaluate each term, then add.
- 3log34+1=3log34⋅3=4⋅3=12. Split the exponent first.
The move
No base written means base 10.
logx=log10x
Watch out
- Only log hides a base. log28 keeps its 2.
- x must still be positive: log0 and log(−5) have no value.
- A number under 1 gives a negative answer, never an undefined one.
The move
ln is a logarithm in base e, where e≈2.71828.
lnx=logex
Watch out
- ln has no e written, but it is there. lne3=3, not 3e.
- Domain unchanged: ln0 and ln(−4) have no value.
- lnx is negative for 0<x<1, not undefined.
- e never has to be turned into a decimal to answer these.
The rule
logax+logay=loga(xy)
Same base only. Adding logarithms multiplies their arguments.
Traps
logax+logay=loga(x+y)
logax⋅logay=loga(xy)The rule
logax−logay=logayx
Same base only. The first argument goes on top.
Traps
logax−logay=loga(x−y)
logaylogax=logayx
Order matters: reversing the two terms flips the sign of the answer.
The three
logaxm=mlogax
loganx=n1logax
loganxm=nmlogax
Argument exponent multiplies. Base exponent divides.
Traps
- logaxm is not (logax)m. Compare log243=6 with (log24)3=8.
- The base exponent goes underneath: loganx=n1logax, never nlogax.
- Roots are fractional powers: log4316=24/3=32.
- The strict form is logax2=2loga∣x∣, because x may be negative.
The three
alogax=x
amlogax=xm
alogbc=clogba
The first needs matching bases. The second is the first with an outside power. The third trades the two ends when nothing matches.
Traps
- 2log37 cancels to nothing. The bases share no common power here.
- A negative exponent is a reciprocal, not a negative answer: 3−2log32=2−2=41.
- 2log25+3 is 40, not 8. The 3 multiplies, it does not vanish.
- amlogax=xm, never mx.
The rule
logax=logbalogbx
Argument on top, old base underneath. The new base b is yours to choose.
Traps
- ln7ln3 is log73, not log37. Check which one is underneath.
- logaylogax is not logayx. That is the quotient rule, a different thing.
The shape
y=logax: domain x>0, range every real y, vertical asymptote x=0.
| Base | Shape |
|---|
| a>1 | rises, slowly and forever |
| 0<a<1 | falls, slowly and forever |
The two are mirror images in the x-axis, because log1/ax=−logax.
Traps
- A negative height never means a negative x. log3x=−2 gives x=91, not −9.
- Heights are negative exactly on 0<x<1.
- The curve is unbounded below near the wall, but never crosses it.
- log2x gains one unit of height each time x doubles.
01Defining the Exponential Function
5 reference blocks
Read lesson ↗Definition
f(x)=ax, with a>0 and a=1.
The base is fixed; the variable is the power. That is the whole difference from x3.
| Expression | Base | Power |
|---|
| x3 | varies | fixed |
| 3x | fixed | varies |
Why the two conditions
| Condition | What it prevents |
|---|
| a>0 | a1/2=a has no real value for a negative base |
| a=1 | 1x=1 is a flat line, with no inverse |
The rules of indices, unchanged
ax⋅ay=ax+y, ayax=ax−y, (ax)y=axy
a0=1, and a−x=ax1 - a negative power is a reciprocal, never a negative value.
What the graph does
| Fact | Consequence |
|---|
| ax>0 always | the curve never touches the x-axis |
| a0=1 | every exponential passes through (0,1) |
| a>1 | growth: climbs without limit |
| 0<a<1 | decay: falls towards 0 |
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.
Three points and one line
| Point | Why |
|---|
| (−1,a1) | a negative power is a reciprocal |
| (0,1) | a0=1, for every base |
| (1,a) | a1=a |
Asymptote: the x-axis, y=0. The curve approaches it and never meets it.
Which shape
| Base | Shape |
|---|
| a>1 | growth: rises left to right |
| 0<a<1 | decay: falls left to right |
Domain and range
Domain: every real number. Range: y>0.
Two things that move it
| Change | Effect |
|---|
| (a1)x=a−x | reflection in the y-axis - decay is growth mirrored |
| ax+k | every point lifts by k, and the asymptote goes to y=k |
Definition
logax=y⟺ay=x, with a>0, a=1 and x>0.
Out loud: logax is the power that turns a into x.
| Index form | Logarithm form |
|---|
| 34=81 | log381=4 |
| 2−3=81 | log281=−3 |
| 91/2=3 | log93=21 |
The base stays the base. Only the other two change places.
Free values
loga1=0 and logaa=1, for every allowed base.
What is allowed
| Part | Condition | Why |
|---|
| base a | a>0, a=1 | as for the exponential it inverts |
| argument x | x>0 | no power of a positive base is 0 or negative |
| answer y | anything | a logarithm may be negative or fractional |
Undoing
loga(ax)=x and alogax=x. The graphs are mirror images in y=x.
04The Inverse of an Exponential Function
5 reference blocks
Read lesson ↗The move
x is stuck in an exponent, so the logarithm frees it.
y=ax⟺x=logay
Method
- Write y=f(x).
- Peel off everything outside the power first.
- Take loga of both sides. It releases the whole exponent.
- Undo what is left, then swap the letters.
| Function | Inverse |
|---|
| f(x)=2x | f−1(x)=log2x |
| f(x)=2x+5 | f−1(x)=log2(x−5) |
| f(x)=3⋅2x | f−1(x)=log23x |
| f(x)=2x−1 | f−1(x)=log2x+1 |
| f(x)=52x | f−1(x)=2log5x |
The whole exponent comes out
log2(23x+1)=3x+1, not 3x. Take the exponent out in one piece, then unpick it.
Domain and range change places
| domain | range |
|---|
| f(x)=ax | every real number | y>0 |
| f−1(x)=logax | x>0 | every real number |
Watch for
- Adding a constant to ax moves the inverse's restriction: f(x)=2x+5 has f−1 defined only for x>5.
- The graphs are mirror images in the line y=x.
05The Inverse of a Logarithmic Function
6 reference blocks
Read lesson ↗The move
x is stuck inside a logarithm, so the exponential frees it.
y=logax⟺x=ay
Method
- Write y=f(x).
- Make the logarithm stand alone: clear coefficients and constants first.
- Raise the base to both sides. It releases the whole argument.
- Undo what is left, then swap the letters.
| Function | Inverse |
|---|
| f(x)=log3x | f−1(x)=3x |
| f(x)=log2x+1 | f−1(x)=2x−1 |
| f(x)=log5(x−2) | f−1(x)=5x+2 |
| f(x)=2log3x | f−1(x)=3x/2 |
| f(x)=log4(3x) | f−1(x)=34x |
Stand alone first
23log2x=x. Divide by the 3 before raising the base:
3log2x=y⇒log2x=3y⇒x=2y/3
The whole argument comes out
5log5(x−2)=x−2. The bracket arrives intact; the −2 comes off afterwards.
Domain and range change places
| domain | range |
|---|
| f(x)=logax | x>0 | every real number |
| f−1(x)=ax | every real number | y>0 |
Which way round
| x sits... | ...so use |
|---|
| in an exponent | the logarithm |
| inside a logarithm | the exponential |
06Conditions on the Base and the Argument
5 reference blocks
Read lesson ↗The three conditions
logaxneedsa>0,a=1,x>0
The value has no restriction. It may be negative, fractional, or zero.
Where each condition comes from
| Condition | Reason |
|---|
| a>0 | a negative base breaks between whole powers: (−4)1/2 is not real |
| a=1 | every power of 1 is 1, so 1y=x has no single answer |
| x>0 | a positive base to any real power is positive, never 0 or negative |
Reading conditions off an expression
One inequality per condition, then keep what they all allow.
| Expression | Conditions | Allowed |
|---|
| log3(x−2) | x−2>0 | x>2 |
| log5(7−x) | 7−x>0 | x<7 |
| log2(x2−9) | x2−9>0 | x<−3 or x>3 |
| log4(x2+1) | always true | every real x |
| logx9 | x>0, x=1 | x>0, x=1 |
| logx−45 | x−4>0, x−4=1 | x>4, x=5 |
When the base contains x
Both base conditions apply, and the argument condition applies as well. Three inequalities.
logx−1(6−2x):x>1,x=2,x<3⇒1<x<3,;x=2
Traps
- x=3 is not allowed in log5(x−3). The argument must be strictly positive, not zero.
- A negative x is fine if the argument still comes out positive, as in log2(x2−9) at x=−4.
- Not every logarithm restricts the domain. Check the argument before assuming it does.
The four
loga1=0
logaa=1
logaan=n
alogax=x
The third contains the first two: set n=0 and n=1.
The method
Write the argument as a power of the base, then read the exponent off.
| Logarithm | As a power | Value |
|---|
| log232 | 25 | 5 |
| log264 | 26 | 6 |
| log3811 | 3−4 | −4 |
| log22 | 21/2 | 21 |
| log551 | 5−1/2 | −21 |
| log41 | 40 | 0 |
| log77 | 71 | 1 |
Roots and fractions are not special cases:
na=a1/n,
an1=a−n
Cancelling
alogax=x only when the bases match.
3log37=7
but
2log37 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.
log48=y⇒4y=8⇒22y=23⇒y=23
Traps
- loga1=0, not 1. This is the most-swapped pair with logaa=1.
- Different bases cannot be combined. Evaluate each term, then add.
- 3log34+1=3log34⋅3=4⋅3=12. Split the exponent first.
The move
No base written means base 10.
logx=log10x
Read the exponent off
| x | 10n | logx |
|---|
| 10000 | 104 | 4 |
| 1000 | 103 | 3 |
| 100 | 102 | 2 |
| 10 | 101 | 1 |
| 1 | 100 | 0 |
| 0.1 | 10−1 | −1 |
| 0.01 | 10−2 | −2 |
| 0.001 | 10−3 | −3 |
The four rules with the ten hidden
| Rule | Example |
|---|
| log1=0 | log1=0 |
| log10=1 | log10=1 |
| log10n=n | log106=6 |
| 10logx=x | 10log7=7 |
Sanity check any answer
Trap the number between the powers of ten either side.
| Because | logx lies between |
|---|
| 10<50<100 | 1 and 2 |
| 100<700<1000 | 2 and 3 |
| 1<5<10 | 0 and 1 |
| 0.01<0.04<0.1 | −2 and −1 |
Watch out
- Only log hides a base. log28 keeps its 2.
- x must still be positive: log0 and log(−5) have no value.
- A number under 1 gives a negative answer, never an undefined one.
The move
ln is a logarithm in base e, where e≈2.71828.
lnx=logex
Three notations
| Written | Base |
|---|
| logax | a, stated |
| logx | 10, hidden |
| lnx | e, hidden |
The four rules with a = e
| Rule | Why |
|---|
| ln1=0 | e0=1 |
| lne=1 | e1=e |
| lnen=n | the exponent is the answer |
| elnx=x | the two cancel |
Read at sight
| x | lnx |
|---|
| e7 | 7 |
| e2 | 2 |
| e | 1 |
| 1 | 0 |
| e | 21 |
| e1/3 | 31 |
| e1 | −1 |
| e51 | −5 |
Method
- Write the argument as a power of e.
- Read off the exponent.
- A root is a fractional power; a reciprocal is a negative one.
Watch out
- ln has no e written, but it is there. lne3=3, not 3e.
- Domain unchanged: ln0 and ln(−4) have no value.
- lnx is negative for 0<x<1, not undefined.
- e never has to be turned into a decimal to answer these.
The rule
logax+logay=loga(xy)
Same base only. Adding logarithms multiplies their arguments.
Why
A logarithm is an exponent, and exponents add when powers multiply.
am⋅an=am+n
Worth knowing by sight
| Sum | Single logarithm | Value |
|---|
| log24+log28 | log232 | 5 |
| log25+log4 | log100 | 2 |
| log36+log34.5 | log327 | 3 |
| log64+log69 | log636 | 2 |
| log212+log234 | log216 | 4 |
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.
log240=log2(8⋅5)=3+log25
The bases must match
| Expression | Combines? |
|---|
| log53+log57 | yes, log521 |
| log4+log25 | yes, both base 10 |
| ln2+ln6 | yes, both base e |
| log53+log27 | no |
Traps
logax+logay=loga(x+y)
logax⋅logay=loga(xy)
Given-value questions
Build the argument from the numbers you were given, then convert the product into a sum.
loga2=0.3,loga5=0.7⇒loga10=0.3+0.7=1The rule
logax−logay=logayx
Same base only. The first argument goes on top.
Why
Exponents subtract when powers divide.
anam=am−n
The reciprocal shortcut
Put x=1 and use loga1=0:
logay1=−logay
So log281=−3, log391=−2, lne1=−1. This is why the whole curve between 0 and 1 sits below the axis.
Worth knowing by sight
| Expression | Single logarithm | Value |
|---|
| log248−log23 | log216 | 4 |
| log5000−log5 | log1000 | 3 |
| lne7−lne4 | lne3 | 3 |
| log25−log240 | log281 | −3 |
| log220−log25 | log24 | 2 |
Both rules together
Sums go on top, differences go underneath.
loga6+loga5−loga3=loga36⋅5=loga10
log64+log627−log618=log618108=log66=1
Traps
logax−logay=loga(x−y)
logaylogax=logayx
Order matters: reversing the two terms flips the sign of the answer.
Given-value questions
loga3=0.5,loga2=0.3⇒loga1.5=loga23=0.5−0.3=0.2 12Swapping the Base and the Exponent
5 reference blocks
Read lesson ↗The three
logaxm=mlogax
loganx=n1logax
loganxm=nmlogax
Argument exponent multiplies. Base exponent divides.
Where each comes from
| Rule | Derivation |
|---|
| logaxm=mlogax | x=ak⇒xm=akm |
| loganx=n1logax | (an)y=any=x⇒ny=logax |
The method
- Write the base and the argument as powers of one common number.
- Divide the argument exponent by the base exponent.
- Check by raising the base back up.
| Expression | As powers | Value |
|---|
| log285 | 215 in the argument | 15 |
| log394 | 38 in the argument | 8 |
| log48 | log2223 | 23 |
| log927 | log3233 | 23 |
| log84 | log2322 | 32 |
| log832 | log2325 | 35 |
| log2781 | log3334 | 34 |
| log168 | log2423 | 43 |
| log93 | log3231/2 | 41 |
Bases below 1
A fractional base is a negative power, so the value turns negative.
| Expression | As powers | Value |
|---|
| log1/28 | log2−123 | −3 |
| log1/39 | log3−132 | −2 |
| log1/48 | log2−223 | −23 |
Traps
- logaxm is not (logax)m. Compare log243=6 with (log24)3=8.
- The base exponent goes underneath: loganx=n1logax, never nlogax.
- Roots are fractional powers: log4316=24/3=32.
- The strict form is logax2=2loga∣x∣, because x may be negative.
13When a Logarithm Is the Exponent
6 reference blocks
Read lesson ↗The three
alogax=x
amlogax=xm
alogbc=clogba
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
- Write the base of the power as a power of the base of the logarithm.
- Bring the new multiplier out as an outside power.
- Cancel the matching pair and raise what is left.
8log25=23log25=(2log25)3=53=125
Read at sight
| Expression | Rewritten | Value |
|---|
| 5log59 | already matched | 9 |
| 32log34 | 42 | 16 |
| e2ln3 | 32 | 9 |
| 4log23 | 22log23 | 9 |
| 9log35 | 32log35 | 25 |
| 25log53 | 52log53 | 9 |
| 8log25 | 23log25 | 125 |
| (91)log32 | 3−2log32 | 41 |
| 2log49 | 221log29 | 3 |
Split the sum first, then cancel.
2log25+3=2log25⋅23=40
5log52−1=52
Swapping the ends
alogbc=clogba
so
81log32=2log381=24=16
Traps
- 2log37 cancels to nothing. The bases share no common power here.
- A negative exponent is a reciprocal, not a negative answer: 3−2log32=2−2=41.
- 2log25+3 is 40, not 8. The 3 multiplies, it does not vanish.
- amlogax=xm, never mx.
The rule
logax=logbalogbx
Argument on top, old base underneath. The new base b is yours to choose.
Why
y=logax means ay=x. Take logb of both sides:
ylogba=logbx⇒y=logbalogbx
Choosing the new base
| Goal | Choose |
|---|
| use a calculator | b=10 or b=e |
| get an exact value | a base both numbers are powers of |
log27=ln2ln7,
log832=log28log232=35,
log927=23
The upside-down case
Put x=b and use logbb=1:
logab=logba1
⟹
logab⋅logba=1
So log53⋅log35=1, and if logab=4 then logba=41. Reciprocal, never negative.
Chains collapse
Put every factor over one base and the middles cancel.
log25⋅log58=ln2ln5⋅ln5ln8=log28=3
log23⋅log34⋅log45⋅log58=log28=3
A chain keeps only the first base and the last argument.
Traps
- ln7ln3 is log73, not log37. Check which one is underneath.
- logaylogax is not logayx. That is the quotient rule, a different thing.
The shape
y=logax: domain x>0, range every real y, vertical asymptote x=0.
| Base | Shape |
|---|
| a>1 | rises, slowly and forever |
| 0<a<1 | falls, slowly and forever |
The two are mirror images in the x-axis, because log1/ax=−logax.
Three points fix the curve
(a1,−1),
(1,0),
(a,1)
For y=log2x: (21,−1), (1,0), (2,1). Plot them, follow the shape, done.
(1,0) is on every logarithm graph, whatever the base.
Reflection in y = x
| y=ax | y=logax |
|---|
| domain | every real x | x>0 |
| range | y>0 | every real y |
| asymptote | horizontal, y=0 | vertical, x=0 |
| passes through | (0,1) | (1,0) |
Every row is the row above with the coordinates swapped.
Shifts
y=loga(x−h)+k
- asymptote x=h, domain x>h — the inside constant moves the wall
- +k lifts the curve and leaves the wall alone
Method for a shifted graph
Take f(x)=log2(x−3)+1:
- Wall where the argument is zero: x=3, so domain x>3
- Argument =1 at x=4: f(4)=0+1=1
- Argument =2 at x=5: f(5)=1+1=2
- Base above 1, so it rises from the wall through (4,1) and (5,2)
Traps
- A negative height never means a negative x. log3x=−2 gives x=91, not −9.
- Heights are negative exactly on 0<x<1.
- The curve is unbounded below near the wall, but never crosses it.
- log2x gains one unit of height each time x doubles.