Algebra 2Exponential and Logarithmic Functions3 of 5
Exponential and Logarithmic Functions · 3

Logarithms and Logarithmic Functions

When an unknown is up in an exponent, division and roots can't get it down, so we need an operation that solves for the exponent.

1

What Is a Logarithm?

A logarithm gives an exponent. We write log⁡b(x)=y\log_{\base{b}}(\target{x}) = \steps{y} when by=x\base{b}^{\steps{y}} = \target{x}, with b>0\base{b} > 0 and b≠1\base{b} \neq 1. We can think of y\steps{y} as the number of multiplication steps from 1\start{1} to x\target{x}, including negative and fractional steps.

In 23=8\base{2}^{\steps{3}} = \target{8}, the exponent 3\steps{3} counts three steps of multiplying by 2\base{2} starting from 1\start{1}:

1→×22→×24→×28\displaystyle \start{1} \xrightarrow{\base{\times 2}} \target{2} \xrightarrow{\base{\times 2}} \target{4} \xrightarrow{\base{\times 2}} \target{8}

When we know we are multiplying by 2\base{2} and the target is 10\target{10}, we need a way to write the exact number of steps that reaches 10\target{10}:

2?\displaystyle \base{2}^? =10\displaystyle = \target{10}
What Is a Logarithm?
2?=10\htmlClass{lc-pink}{2}^{?} = \htmlClass{lc-blue}{10}
1\htmlClass{lc-violet}{1}
×2\htmlClass{lc-pink}{\times 2}
2\htmlClass{lc-blue}{2}
×2\htmlClass{lc-pink}{\times 2}
4\htmlClass{lc-blue}{4}
×2\htmlClass{lc-pink}{\times 2}
8\htmlClass{lc-blue}{8}
×2\htmlClass{lc-pink}{\times 2}
16\htmlClass{lc-blue}{16}

Exponential form and logarithmic form state the exact same relationship, just solving for a different number:

2⏟base3⏞steps=8⏟target⟺log⁡2⏟base(8⏟target)=3⏟steps\displaystyle \begin{aligned} \base{\underbrace{2}_{\text{base}}}{}^{\steps{\overbrace{3}^{\scriptstyle\text{steps}}}} &= \target{\underbrace{8}_{\text{target}}} \\[1.9em] \Longleftrightarrow \quad \log_{\base{\underbrace{2}_{\scriptstyle\text{base}}}}(\target{\underbrace{8}_{\text{target}}}) &= \steps{\underbrace{3}_{\text{steps}}} \end{aligned}

Read log⁡2(8)\log_{\base{2}}(\target{8}) as the question it asks: "Starting at 1\start{1}, how many steps of multiplying by 2\base{2} does it take to reach 8\target{8}?"

2

Evaluating Logarithms by Counting Steps

Now let's evaluate logarithms directly, including when the target is 11, a fraction, a root of the base, or a negative number:

log⁡2(1)=?,log⁡2(18)=?,log⁡9(3)=?,log⁡2(−4)=?\displaystyle \begin{aligned} \log_{\base{2}}(\target{1}) &= {?}, &\qquad \log_{\base{2}}(\target{\tfrac{1}{8}}) &= {?}, \\ \log_{\base{9}}(\target{3}) &= {?}, &\qquad \log_{\base{2}}(\target{-4}) &= {?} \end{aligned}
Evaluating Logarithms by Counting Steps
log⁡3(9)\displaystyle \log_{\base{3}}(\target{9}) =  ?\displaystyle = \;?
Text solution
Stay at the starting number 1\start{1}Since we always start multiplying from 1\start{1}, reaching 1\target{1} takes 0\steps{0} steps for any base.
log⁡2(1)\displaystyle \log_{\base{2}}(\target{1}) =0\displaystyle = \steps{0}
Step backward by dividing to reach a fractionDividing 1\start{1} by 2\base{2} three times gives 18\target{\frac{1}{8}}, which counts as 3\steps{3} backward steps.
log⁡2(18)\displaystyle \log_{\base{2}}\left(\target{\frac{1}{8}}\right) =−3\displaystyle = \steps{-3}
Take a fraction of a step to stop at a rootBecause 3×3=9\target{3} \times \target{3} = \base{9}, multiplying by 3\target{3} is half a step of multiplying by 9\base{9}.
log⁡9(3)\displaystyle \log_{\base{9}}(\target{3}) =log⁡9(91/2)\displaystyle = \log_{\base{9}}\left(\base{9}^{\steps{1/2}}\right) =12\displaystyle = \steps{\frac{1}{2}}
Check whether the target can be reached from 1\start{1}Repeatedly multiplying or dividing 1\start{1} by 2\base{2} stays positive and never reaches 0\target{0} or becomes negative.
log⁡2(0) is undefined,log⁡2(−4) is undefined\displaystyle \begin{aligned} &\log_{\base{2}}(\target{0}) \text{ is undefined}, \\ &\log_{\base{2}}(\target{-4}) \text{ is undefined} \end{aligned}

Notice the difference between a negative output and a negative input: a negative answer like log⁡2(18)=−3\log_{\base{2}}\left(\target{\frac{1}{8}}\right) = \steps{-3} just means we divided to get a fraction between 00 and 11, whereas a negative number inside the logarithm is undefined.

Along the number line, targets to the right of 1\start{1} take positive ×2\base{\times 2} steps, fractions between 00 and 11 take negative ÷2\base{\div 2} steps, and 00 and negative numbers can never be reached.

Starting at 1, a base-2 log counts how many times you double to reach numbers above 1 or halve to reach fractions between 0 and 1, while 0 and negative numbers can never be reached.
3

Common and Natural Logarithms

Base 10\base{10} (from our decimal system) and base e≈2.718\base{e} \approx 2.718 (from continuous growth) come up so often that they have their own shorthand without a written base:

log⁡(x)=log⁡10(x)⏟common logarithmln⁡(x)=log⁡e(x)⏟natural logarithm\displaystyle \begin{aligned} &\underbrace{\log(\target{x}) = \log_{\base{10}}(\target{x})}_{\text{common logarithm}} \\[0.6em] &\underbrace{\ln(\target{x}) = \log_{\base{e}}(\target{x})}_{\text{natural logarithm}} \end{aligned}
Common and Natural Logarithms
LOG\text{LOG}
LN\text{LN}
log⁡2\log_{\htmlClass{lc-pink}{2}}
log⁡3\log_{\htmlClass{lc-pink}{3}}
log⁡9\log_{\htmlClass{lc-pink}{9}}
Text solution
To find log⁡(1000)\log(1000) and log⁡(0.01)\log(0.01):
Count steps of 10\base{10} by counting zerosMultiplying 1\start{1} by 10\base{10} three times reaches 1000\target{1000}.
log⁡(1000)\displaystyle \log(\target{1000}) =log⁡10(1000)\displaystyle = \log_{\base{10}}(\target{1000}) =3\displaystyle = \steps{3}
Turn decimals into fractions of 10\base{10}Dividing 1\start{1} by 10\base{10} twice gives 1100\target{\frac{1}{100}}, or 0.01\target{0.01}.
log⁡(0.01)\displaystyle \log(\target{0.01}) =log⁡10(1100)\displaystyle = \log_{\base{10}}\left(\target{\frac{1}{100}}\right) =−2\displaystyle = \steps{-2}

Whenever you see log⁡(x)\log(\target{x}) with no base written at the bottom, the base is 10\base{10}; whenever you see ln⁡(x)\ln(\target{x}), treat it like any other logarithm, with base e\base{e}.

4

How Exponents and Logarithms Undo Each Other

Next, we want to simplify expressions where an exponent and a logarithm are put together:

log⁡2(25)=?,log⁡3(9x)=?,2log⁡2(10)=?\displaystyle \begin{aligned} \log_{\base{2}}(\base{2}^{\steps{5}}) &= {?}, \\ \log_{\base{3}}(\base{9}^{\steps{x}}) &= {?}, \\ \base{2}^{\log_{\base{2}}(\target{10})} &= {?} \end{aligned}
How Exponents and Logarithms Undo Each Other
log⁡2(25)=  ?2log⁡2(10)=  ?\displaystyle \begin{aligned} \log_{\base{2}}(\base{2}^{\steps{5}}) &= \;? \\[8pt] \base{2}^{\log_{\base{2}}(\target{10})} &= \;? \end{aligned}

When the base of the logarithm and the base of the exponent match, they undo each other in either order:

log⁡b(bx)=xblog⁡b(x)=xln⁡(ex)=xeln⁡(x)=x\displaystyle \begin{aligned} \log_{\base{b}}(\base{b}^{\steps{x}}) &= \steps{x} & \qquad \base{b}^{\log_{\base{b}}(\target{x})} &= \target{x} \\ \ln(\base{e}^{\steps{x}}) &= \steps{x} & \qquad \base{e}^{\ln(\target{x})} &= \target{x} \end{aligned}

When the bases don't match right away, rewrite the inner base before canceling.

Text solution
Rewrite 9\base{9} as a power of the logarithm's base 3\base{3}Since 9=32\base{9} = \base{3}^{\steps{2}}, each step of multiplying by 9\base{9} is two steps of multiplying by 3\base{3}.
log⁡3(9x)=log⁡3((32)x)=log⁡3(32x)\displaystyle \begin{aligned} \log_{\base{3}}(\base{9}^{\steps{x}}) &= \log_{\base{3}}\left((\base{3}^{\steps{2}})^{\steps{x}}\right) \\ &= \log_{\base{3}}(\base{3}^{\steps{2x}}) \end{aligned}
Cancel the matching base 3\base{3} and log⁡3\log_{\base{3}}Counting the base-3\base{3} steps in 32x\base{3}^{\steps{2x}} leaves the exponent 2x\steps{2x}.
log⁡3(32x)\displaystyle \log_{\base{3}}(\base{3}^{\steps{2x}}) =2x\displaystyle = \steps{2x}
5

Finding Inverses of Exponential and Logarithmic Functions

Because exponentials and logarithms undo each other, we can find the inverse function f−1(x)\oper{f^{-1}}(x) for functions like

f(x)=2x−3+4andf(x)=ln⁡(x+5)−1\displaystyle \begin{aligned} f(x) &= \base{2}^{\steps{x - 3}} \oper{+ 4} \quad \text{and} \\ f(x) &= \ln(\target{x + 5}) \oper{- 1} \end{aligned}
Finding Inverses of Exponential and Logarithmic Functions
f(x)=2x−3+4f−1(x)=  ?f(x)=ln⁡(x+5)−1f−1(x)=  ?\displaystyle \begin{aligned} f(x) &= \base{2}^{\steps{x - 3}} \oper{+ 4} \\ \oper{f^{-1}}(x) &= \;? \\[12pt] f(x) &= \ln(\target{x + 5}) \oper{- 1} \\ \oper{f^{-1}}(x) &= \;? \end{aligned}

First, here are the steps for the exponential function f(x)=2x−3+4f(x) = \base{2}^{\steps{x - 3}} \oper{+ 4}.

Text solution
Swap xx and yy and isolate the exponential termSubtract 4\oper{4} from both sides so 2y−3\base{2}^{\steps{y - 3}} is by itself.
x=2y−3+4  ⟹  x−4=2y−3\displaystyle \begin{aligned} x &= \base{2}^{\steps{y - 3}} \oper{+ 4} \\ \implies \target{x - 4} &= \base{2}^{\steps{y - 3}} \end{aligned}
Undo base 2\base{2} with log⁡2\log_{\base{2}}Rewrite in logarithmic form to bring y−3\steps{y - 3} down out of the exponent.
log⁡2(x−4)\displaystyle \log_{\base{2}}(\target{x - 4}) =y−3\displaystyle = \steps{y - 3}
Finish solving for yyAdd 3\oper{3} outside the logarithm.
f−1(x)\displaystyle \oper{f^{-1}}(x) =log⁡2(x−4)+3\displaystyle = \log_{\base{2}}(\target{x - 4}) \oper{+ 3}

Now the other direction, starting from the logarithmic function f(x)=ln⁡(x+5)−1f(x) = \ln(\target{x + 5}) \oper{- 1}.

Text solution
Swap xx and yy and isolate the logarithmAdd 1\oper{1} to both sides so ln⁡(y+5)\ln(\target{y + 5}) is by itself.
x=ln⁡(y+5)−1  ⟹  x+1=ln⁡(y+5)\displaystyle \begin{aligned} x &= \ln(\target{y + 5}) \oper{- 1} \\ \implies \steps{x + 1} &= \ln(\target{y + 5}) \end{aligned}
Undo ln⁡\ln with base e\base{e}Make both sides exponents on e\base{e} to undo the natural log and leave y+5\target{y + 5}.
ex+1\displaystyle \base{e}^{\steps{x + 1}} =eln⁡(y+5)\displaystyle = \base{e}^{\ln(\target{y + 5})} =y+5\displaystyle = \target{y + 5}
Finish solving for yySubtract 5\oper{5} outside the exponential term.
f−1(x)\displaystyle \oper{f^{-1}}(x) =ex+1−5\displaystyle = \base{e}^{\steps{x + 1}} \oper{- 5}
6

Graphs of Logarithmic Functions

To graph y=log⁡2(x)\logcurve{y = \log_{\base{2}}(x)} and y=log⁡1/2(x)\othercurve{y = \log_{\base{1/2}}(x)}, we use the fact that y=log⁡b(x)\logcurve{y = \log_{\base{b}}(x)} is the inverse of y=bxy = \base{b}^x: its graph is the reflection of y=bxy = \base{b}^x across the line y=xy = x, swapping every point (x,y)(x, y) to (y,x)(y, x).

Graphs of Logarithmic Functions
xx
yy
y=log⁡2(x)\htmlClass{lc-blue}{y = \log_{\htmlClass{lc-pink}{2}}(x)}
y=2x\htmlClass{lc-violet}{y = \htmlClass{lc-pink}{2}^x}
y=x\htmlClass{lc-mute}{y = x}
xx
yy
y=x\htmlClass{lc-mute}{y = x}
y=2x\htmlClass{lc-mute}{y = 2^x}
y=0\htmlClass{lc-mute}{y = 0}
y=log⁡2(x)\htmlClass{lc-blue}{y = \log_{\htmlClass{lc-pink}{2}}(x)}
x=0x = 0
(12,−1)\htmlClass{lc-blue}{(\tfrac{1}{2}, -1)}
(1,0)\htmlClass{lc-blue}{(1, 0)}
(2,1)\htmlClass{lc-blue}{(2, 1)}
(4,2)\htmlClass{lc-blue}{(4, 2)}
xx
yy
y=log⁡1/2(x)\htmlClass{lc-violet}{y = \log_{\htmlClass{lc-pink}{1/2}}(x)}
x=0x = 0
(14,2)\htmlClass{lc-violet}{(\tfrac{1}{4}, 2)}
(12,1)\htmlClass{lc-violet}{(\tfrac{1}{2}, 1)}
(1,0)\htmlClass{lc-violet}{(1, 0)}
(2,−1)\htmlClass{lc-violet}{(2, -1)}
(4,−2)\htmlClass{lc-violet}{(4, -2)}
Text solution
Find the vertical asymptote, domain, and rangeThe inputs must be positive, so the domain is x>0\domain{x > 0}. As xx approaches 00 from the right, log⁡2(x)\logcurve{\log_{\base{2}}(x)} decreases without bound and log⁡1/2(x)\othercurve{\log_{\base{1/2}}(x)} increases without bound, giving both graphs the vertical asymptote x=0x = 0. Every real exponent gives a positive target, so both logarithms can have any real output.
Vertical asymptote x=0,domain x>0,range (−∞,∞)\displaystyle \begin{aligned} &\text{Vertical asymptote } x = 0, \\ &\text{domain } \domain{x > 0}, \\ &\text{range } \heights{(-\infty, \infty)} \end{aligned}
Plot 00 steps and 11 step for y=log⁡2(x)\logcurve{y = \log_{\base{2}}(x)}Taking 00 steps gives (1,0)\logcurve{(1, 0)}, one forward step doubles xx to (2,1)\logcurve{(2, 1)}, and one backward step halves xx to (12,−1)\logcurve{\left(\frac{1}{2}, -1\right)}, so the curve rises from left to right.
log⁡2(12)=−1,log⁡2(1)=0,log⁡2(2)=1\displaystyle \begin{aligned} \log_{\base{2}}\left(\target{\frac{1}{2}}\right) &= -1, \\ \log_{\base{2}}(\target{1}) &= 0, \\ \log_{\base{2}}(\target{2}) &= 1 \end{aligned}
Plot 00 steps and 11 step for y=log⁡1/2(x)\othercurve{y = \log_{\base{1/2}}(x)}When each step multiplies by 12\base{\frac{1}{2}}, one forward step gives (12,1)\othercurve{\left(\frac{1}{2}, 1\right)} and one backward step gives (2,−1)\othercurve{(2, -1)}, flipping the curve across the xx-axis so it falls from left to right.
log⁡1/2(12)=1,log⁡1/2(1)=0,log⁡1/2(2)=−1\displaystyle \begin{aligned} \log_{\base{1/2}}\left(\target{\frac{1}{2}}\right) &= 1, \\ \log_{\base{1/2}}(\target{1}) &= 0, \\ \log_{\base{1/2}}(\target{2}) &= -1 \end{aligned}

Because y=log⁡b(x)\logcurve{y = \log_{\base{b}}(x)} and y=bxy = \base{b}^x are reflections across y=xy = x, the logarithm always passes through (1,0)\logcurve{(1, 0)} with vertical asymptote x=0x = 0. When b>1\base{b} > 1, the 11-step point (b,1)\logcurve{(\base{b}, 1)} is to the right of (1,0)\logcurve{(1, 0)} and the curve rises. When 0<b<10 < \base{b} < 1, that point is to the left of (1,0)\logcurve{(1, 0)} and the curve falls. In particular, y=log⁡1/2(x)\othercurve{y = \log_{\base{1/2}}(x)} is the reflection of y=log⁡2(x)\logcurve{y = \log_{\base{2}}(x)} across the xx-axis.

For every allowed base, the logarithm graph is the reflection of the exponential graph across y=xy = x. It passes through (1,0)\logcurve{(1, 0)} and has vertical asymptote x=0x = 0, rising for b>1\base{b} > 1 and falling for 0<b<10 < \base{b} < 1.
7

Graphing Shifted Logarithmic Functions

When a logarithmic function is shifted horizontally and vertically, like

y\displaystyle y =log⁡2(x−3)+1\displaystyle = \log_{\base{2}}(\target{x - \anchor{3}}) + \anchor{1}

we sketch the graph by finding where the inside of the logarithm equals 00, 11, and the base.

Graphing Shifted Logarithmic Functions
xx
yy
y=log⁡2(x−3)+1y = \log_{\htmlClass{lc-pink}{2}}(\htmlClass{lc-blue}{x - \htmlClass{lc-violet}{3}}) \htmlClass{lc-violet}{+ 1}
y=log⁡2(x)\htmlClass{lc-mute}{y = \log_2(x)}
xx
yy
y=log⁡2(x−3)+1y = \log_{\htmlClass{lc-pink}{2}}(\htmlClass{lc-blue}{x - \htmlClass{lc-violet}{3}}) \htmlClass{lc-violet}{+ 1}
x=3x = 3
(4,1)\htmlClass{lc-violet}{(4, 1)}
(5,2)\htmlClass{lc-blue}{(5, 2)}
Text solution
Set the inside equal to 00 for the vertical asymptoteThe inside of the logarithm cannot reach x−3=0\target{x - 3} = 0, which shifts the vertical asymptote to x=3x = 3 and makes the domain x>3\domain{x > 3} (with range (−∞,∞)\heights{(-\infty, \infty)}).
x−3=0  ⟹  x=3(domain x>3)\displaystyle \begin{aligned} \target{x - 3} &= 0 \implies x = 3 \\ &\quad (\text{domain } \domain{x > 3}) \end{aligned}
Set the inside equal to 11 for the 00-step pointAt x=4x = 4, the inside is 11, so log⁡2(x−3)=0\log_{\base{2}}(\target{x - 3}) = 0 and we get the point (4,1)\anchor{(4, 1)}.
x−3=1  ⟹  x=4,y=log⁡2(1)+1=0+1=1\displaystyle \begin{aligned} \target{x - 3} &= 1 \implies x = 4, \\ y &= \log_{\base{2}}(\target{1}) + 1 = 0 + 1 = 1 \end{aligned}
Set the inside equal to the base 2\base{2} for the 11-step pointAt x=5x = 5, the inside is 2\base{2}, so log⁡2(x−3)=1\log_{\base{2}}(\target{x - 3}) = 1 and we get the point (5,2)\logcurve{(5, 2)}.
x−3=2  ⟹  x=5,y=log⁡2(2)+1=1+1=2\displaystyle \begin{aligned} \target{x - 3} &= \base{2} \implies x = 5, \\ y &= \log_{\base{2}}(\target{2}) + 1 = 1 + 1 = 2 \end{aligned}

In y=log⁡2(x−h)+ky = \log_{\base{2}}(\target{x - \anchor{h}}) + \anchor{k}, shifting up or down by k\anchor{k} doesn't change the vertical asymptote x=hx = \anchor{h} or the domain x>h\domain{x > h}. Shifting left or right by h\anchor{h} moves the asymptote and the 00-step point (h+1,k)\anchor{(h + 1, k)} together, so (h+1,k)\anchor{(h + 1, k)} always stays 11 unit to the right of the asymptote.

Shifting a log graph up or down slides the curve along the same vertical asymptote and keeps the domain the same, while shifting it left or right moves the asymptote, the domain boundary, and the anchor point together. The anchor point stays one unit to the right of the asymptote.

Key concepts

Everything with logarithms comes back to counting multiplication steps from 1\start{1}: by=x\base{b}^{\steps{y}} = \target{x} and log⁡b(x)=y\log_{\base{b}}(\target{x}) = \steps{y} say the same thing (23\base{2}^{\steps{3}} == 8⟺log⁡2(8)\target{8} \Longleftrightarrow \log_{\base{2}}(\target{8}) == 3\steps{3}), with log⁡(x)\log(\target{x}) for base 10\base{10} and ln⁡(x)\ln(\target{x}) for base e\base{e}. When evaluating log⁡b(x)\log_{\base{b}}(\target{x}), compare the target x\target{x} to 1\start{1} and b\base{b}: staying at 1\start{1} is 0\steps{0} steps (log⁡2(1)=0\log_{\base{2}}(\target{1}) = \steps{0}), fractions between 00 and 11 take negative division steps when the base is greater than 11 (log⁡2(18)=−3\log_{\base{2}}(\target{\tfrac{1}{8}}) = \steps{-3}), roots take fractional steps (log⁡9(3)=12\log_{\base{9}}(\target{3}) = \steps{\tfrac{1}{2}}), and if the inside is 00 or negative, stop right away because the logarithm is undefined (log⁡2(0)\log_{\base{2}}(\target{0}) and log⁡2(−4)\log_{\base{2}}(\target{-4})).

When an exponential and a logarithm have the same base, they cancel in both orders: log⁡b(bx)=x\log_{\base{b}}(\base{b}^{\steps{x}}) = \steps{x} and blog⁡b(x)=x\base{b}^{\log_{\base{b}}(\target{x})} = \target{x} (and ln⁡(ex)=x\ln(\base{e}^{\steps{x}}) = \steps{x}, eln⁡(x)=x\base{e}^{\ln(\target{x})} = \target{x}). Don't cancel if the bases don't match yet. Rewrite the number as a power of the logarithm's base first (log⁡3(9x)=log⁡3(32x)=2x\log_{\base{3}}(\base{9}^{\steps{x}}) = \log_{\base{3}}(\base{3}^{\steps{2x}}) = \steps{2x}). In the same way, when finding an inverse, don't apply a logarithm or exponential right away if there is a number added or subtracted outside; isolate the exponential or logarithmic term first (x=2y−3+4x = \base{2}^{\steps{y - 3}} \oper{+ 4}   ⟹  x−4=2y−3\implies \target{x - 4} = \base{2}^{\steps{y - 3}}   ⟹  y=log⁡2(x−4)+3\implies y = \log_{\base{2}}(\target{x - 4}) \oper{+ 3}).

On a graph, y=log⁡b(x)\logcurve{y = \log_{\base{b}}(x)} reflects y=bxy = \base{b}^x across y=xy = x, rising from left to right when b>1\base{b} > 1 and falling when 0<b<10 < \base{b} < 1. To graph any shifted logarithm like y=log⁡2(x−3)+1y = \log_{\base{2}}(\target{x - \anchor{3}}) + \anchor{1}, set the inside equal to 00 for the vertical asymptote (x=3x = 3, domain x>3\domain{x > 3}, range (−∞,∞)\heights{(-\infty, \infty)}), equal to 11 for the 00-step point ((4,1)\anchor{(4, 1)}), and equal to the base for the 11-step point ((5,2)\logcurve{(5, 2)}).

8

Practice

1

Rewrite 43=644^3 = 64 in logarithmic form, and rewrite log⁡5(1)=0\log_5(1) = 0 in exponential form.

The base of the power stays the base of the logarithm, and the logarithm always equals the exponent (the step count).

For 43=64\base{4}^{\steps{3}} = \target{64}, the base is 4\base{4}, the target is 64\target{64}, and the step count is 3\steps{3} (swapping the target and the exponent gives the wrong equation log⁡4(3)=64\log_4(3) = 64). For log⁡5(1)=0\log_{\base{5}}(\target{1}) = \steps{0}, the base is 5\base{5}, the exponent is 0\steps{0}, and the result is 1\target{1} (using 11 as the base gives 10=51^0 = 5 or 15=01^5 = 0).
log⁡4(64)\displaystyle \log_4(64) =3 and 50\displaystyle = 3 \text{ and } 5^0 =1\displaystyle = 1
2

Evaluate log⁡3(127)\log_3\left(\frac{1}{27}\right).

Starting at 11, how many times do you divide by 33 to reach 127\frac{1}{27}?

Since 33=27\base{3}^{\steps{3}} = 27, dividing 1\start{1} by 3\base{3} three times gives 127\target{\frac{1}{27}}, which is 3\steps{3} backward steps (forgetting the negative sign when dividing to get a fraction gives 33, and dividing 2727 by 33 and then attaching a negative sign instead of counting multiplication steps gives −9-9).
−3\displaystyle -3
3

Evaluate log⁡(0.001)\log(0.001).

Write 0.0010.001 as a fraction with a power of the unwritten base 1010.

Because log⁡\log means log⁡10\log_{\base{10}} and 0.001=11000\target{0.001} = \target{\frac{1}{1000}}, we divide 1\start{1} by 10\base{10} three times (counting only the two zeros after the decimal point instead of three decimal places gives −2-2, and leaving off the negative sign for division gives 33).
−3\displaystyle -3
4

Evaluate log⁡25(5)\log_{25}(5).

One full step of multiplying by 2525 reaches 2525. What fraction of a step stops at 55?

Since 5×5=25\target{5} \times \target{5} = \base{25}, or 251/2=5\base{25}^{\steps{1/2}} = \target{5}, reaching 5\target{5} takes half a step of multiplying by 25\base{25} (counting how many 55s multiply to 2525 instead gives 22, and mistaking a smaller target for a backward step gives −12-\frac{1}{2} or −2-2).
12\displaystyle \frac{1}{2}
5

Evaluate log⁡4(−16)\log_4(-16).

Starting at 11 and multiplying or dividing by 44, can the result ever become negative?

Multiplying or dividing 1\start{1} by 4\base{4} always stays positive and can never reach a negative number (pulling the negative sign out front gives −2-2, and confusing 42=164^2 = 16 with −16-16 gives 22).
Undefined\displaystyle \text{Undefined}
6

Simplify ln⁡(e4x−1)+10log⁡(6)\ln\left(e^{4x - 1}\right) + 10^{\log(6)}.

Find the base of ln⁡\ln in the first term and the unwritten base of log⁡\log in the second term.

In the first term, ln⁡\ln and base e\base{e} undo each other to leave 4x−1\steps{4x - 1}; in the second term, base 10\base{10} and log⁡10\log_{\base{10}} undo each other to leave 6\target{6} (multiplying 10×610 \times 6 to get 6060, or dropping the −1-1 to get 4x+64x + 6, are common mistakes):
(4x−1)+6\displaystyle (\steps{4x - 1}) + \target{6} =4x+5\displaystyle = 4x + 5
7

Simplify log⁡2(8x+1)\log_2\left(8^{x + 1}\right).

Rewrite 88 as a power of 22 before canceling the logarithm.

Since 8=23\base{8} = \base{2}^{\steps{3}}, we rewrite 8x+1\base{8}^{\steps{x + 1}} in base 2\base{2} so the bases match (canceling log⁡2\log_2 with 88 directly gives x+1x + 1, and forgetting to distribute the 33 to the +1+1 in 3(x+1)3(x + 1) gives 3x+13x + 1):
log⁡2((23)x+1)=log⁡2(23x+3)=3x+3\displaystyle \begin{aligned} \log_{\base{2}}\left((\base{2}^{\steps{3}})^{\steps{x + 1}}\right) &= \log_{\base{2}}\left(\base{2}^{\steps{3x + 3}}\right) \\ &= 3x + 3 \end{aligned}
8

Find the inverse function of f(x)=3x+2−5f(x) = 3^{x + 2} - 5.

After swapping xx and yy, which number must move to the other side before you apply log⁡3\log_3?

Swap xx and yy to get x=3y+2−5x = \base{3}^{\steps{y + 2}} \oper{- 5}, add 5\oper{5} to isolate 3y+2\base{3}^{\steps{y + 2}}, and then apply log⁡3\log_{\base{3}} (putting +5+5 outside the logarithm instead gives log⁡3(x)+5−2=log⁡3(x)+3\log_3(x) + 5 - 2 = \log_3(x) + 3, and forgetting to undo +2+2 by subtracting gives log⁡3(x+5)+2\log_3(x + 5) + 2):
x+5=3y+2  ⟹  y+2=log⁡3(x+5)  ⟹  f−1(x)=log⁡3(x+5)−2\displaystyle \begin{aligned} \target{x + 5} &= \base{3}^{\steps{y + 2}} \\ \implies \steps{y + 2} &= \log_{\base{3}}(\target{x + 5}) \\ \implies f^{-1}(x) &= \log_3(x + 5) - 2 \end{aligned}
9

Find the inverse function of f(x)=ln⁡(x−4)+2f(x) = \ln(x - 4) + 2.

After swapping xx and yy, isolate ln⁡(y−4)\ln(y - 4) first. What base undoes ln⁡\ln?

Swap xx and yy to get x=ln⁡(y−4)+2x = \ln(\target{y - 4}) \oper{+ 2}, subtract 2\oper{2} first to isolate ln⁡(y−4)\ln(\target{y - 4}), and then use base e\base{e} (using ex−2e^x - 2 in place of ex−2e^{x - 2} gives ex−2+4=ex+2e^x - 2 + 4 = e^x + 2, and putting +4+4 up in the exponent instead of outside gives ex+2e^{x + 2}):
x−2=ln⁡(y−4)  ⟹  ex−2=y−4  ⟹  f−1(x)=ex−2+4\displaystyle \begin{aligned} \steps{x - 2} &= \ln(\target{y - 4}) \\ \implies \base{e}^{\steps{x - 2}} &= \target{y - 4} \\ \implies f^{-1}(x) &= e^{x - 2} + 4 \end{aligned}
10

For the graph of y=log⁡1/3(x)y = \log_{1/3}(x), give the vertical asymptote, the xx-intercept, the values of yy at x=19x = \frac{1}{9} and x=3x = 3, and whether the graph rises or falls from left to right.

Each forward step multiplies by 13\frac{1}{3}. Does reaching 19\frac{1}{9} from 11 take forward (positive) or backward (negative) steps?

The inside is x\target{x}, so the vertical asymptote is x=0x = 0 and 0\steps{0} steps gives the xx-intercept (1,0)\anchor{(1, 0)}. Multiplying 1\start{1} by 13\base{\frac{1}{3}} twice reaches 19\target{\frac{1}{9}} (y=2y = \steps{2}), while dividing 1\start{1} by 13\base{\frac{1}{3}} once reaches 3\target{3} (y=−1y = \steps{-1}), so the graph falls as you move right (treating base 13\frac{1}{3} like base 33 flips the signs to y=−2y = -2 at x=19x = \frac{1}{9}, y=1y = 1 at x=3x = 3, and a rising graph).
Vertical asymptote x=0; x-intercept (1,0); y=2 at x=19 and y=−1 at x=3; falls from left to right\displaystyle \begin{aligned} &\text{Vertical asymptote } x = 0; \text{ } x\text{-intercept } (1, 0); \\ &\text{ } y = 2 \text{ at } x = \frac{1}{9} \text{ and } y = -1 \text{ at } x = 3; \\ &\text{ falls from left to right} \end{aligned}
11

For the graph of y=log⁡3(x+2)−4y = \log_3(x + 2) - 4, find the vertical asymptote, the domain, the range, the point where the inside equals 11, and the point where the inside equals the base.

Set the inside x+2x + 2 equal to 00, then 11, then 33.

Setting x+2=0\target{x + 2} = 0 gives the vertical asymptote x=−2x = -2 and domain x>−2\domain{x > -2} (misreading the sign of x+2x + 2 puts the asymptote at x=2x = 2, which shifts the two points to (3,−4)(3, -4) and (5,−3)(5, -3)). Setting x+2=1\target{x + 2} = 1 gives x=−1x = -1 and y=log⁡3(1)−4=0−4=−4y = \log_{\base{3}}(\target{1}) - 4 = 0 - 4 = -4. Setting x+2=3\target{x + 2} = \base{3} gives x=1x = 1 and y=log⁡3(3)−4=1−4=−3y = \log_{\base{3}}(\target{3}) - 4 = 1 - 4 = -3 (evaluating log⁡3(3)\log_3(3) as 00 instead of 11 leaves y=−4y = -4).
Vertical asymptote x=−2; domain x>−2; range (−∞,∞); inside equals 1 at (−1,−4); inside equals the base at (1,−3)\displaystyle \begin{aligned} &\text{Vertical asymptote } x = -2; \text{ domain } x > -2; \\ &\text{ range } (-\infty, \infty); \text{ inside equals } 1 \text{ at } (-1, -4); \\ &\text{ inside equals the base at } (1, -3) \end{aligned}