SAT/ACT MathExponential and Other Functions6 of 7
Exponential and Other Functions · 6

Logarithms

Serves: ACT · Ends on: solving logarithmic equations with extraneous solutions and matching shifted logarithm graphs

When an unknown sits up in the exponent, like 2x=10\base{2}^{\count{x}} = \inside{10}, division and roots can't bring it down. We need a way to ask how many times we multiply by 2\base{2} to reach 10\inside{10}.

1

What a logarithm asks

What a logarithm asks
23=8\base{2}^{\count{3}} = \inside{8}
2323=\vphantom{2^{3}}\base{2}^{\count{3}} =
233=8\vphantom{2^{3}}{}^{\count{3}} = \inside{8}
232\vphantom{2^{3}}\base{2}
23=8\vphantom{2^{3}}= \inside{8}

A logarithm asks for the missing exponent that turns the base into the target:

log⁡b⏟base ⁣(a⏟target)\displaystyle \log_{\base{\underbrace{b}_{\text{base}}}}\!(\inside{\underbrace{a}_{\text{target}}}) =x⏟step count⟺bx\displaystyle = \count{\underbrace{x}_{\text{step count}}} \quad \Longleftrightarrow \quad \base{b}^{\count{x}} =a\displaystyle = \inside{a}

When the target isn't a whole-number power of the base, find the powers of the base just below and just above the target. The logarithm lies between their exponents:

33=27and34=8127<40<813<log⁡3(40)<4\displaystyle \begin{aligned} \base{3}^{\count{3}} &= \inside{27} \quad \text{and} \quad \base{3}^{\count{4}} = \inside{81} \\ \inside{27} &< \inside{40} < \inside{81} \\ \count{3} &< \log_{\base{3}}(\inside{40}) < \count{4} \end{aligned}

So log⁡3(40)\log_{\base{3}}(\inside{40}) lies between 3\count{3} and 4\count{4}.

2

Zero, negative, and fractional logs

Counting whole multiplications works for numbers like 81\inside{81}, but a question can also ask for log⁡2(1)\log_{\base{2}}(\start{1}), log⁡2 ⁣(18)\log_{\base{2}}\!\left(\inside{\frac{1}{8}}\right), or log⁡9(3)\log_{\base{9}}(\inside{3}), where the step count isn't a positive whole number.

Zero, negative, and fractional logs
log⁡2 ⁣(18)log⁡2(1)=??\displaystyle {\hphantom{\log_{\base{2}}\!\left(\inside{\tfrac{1}{8}}\right)}\mathllap{\log_{\base{2}}(\start{1})} = \mathrlap{\mathord{?}}\hphantom{\mathord{?}}}
log⁡2 ⁣(18)log⁡2 ⁣(18)=??\displaystyle {\hphantom{\log_{\base{2}}\!\left(\inside{\tfrac{1}{8}}\right)}\mathllap{\log_{\base{2}}\!\left(\inside{\tfrac{1}{8}}\right)} = \mathrlap{\mathord{?}}\hphantom{\mathord{?}}}
log⁡2 ⁣(18)log⁡9(3)=??\displaystyle {\hphantom{\log_{\base{2}}\!\left(\inside{\tfrac{1}{8}}\right)}\mathllap{\log_{\base{9}}(\inside{3})} = \mathrlap{\mathord{?}}\hphantom{\mathord{?}}}

Every count starts at 1\start{1}. Staying at 1\start{1} takes 0\count{0} steps, reaching the base itself takes 1\count{1} step, and dividing by the base to reach a fraction like 18\inside{\frac{1}{8}} counts as steps backward, so the count is negative:

log⁡b(1)=0log⁡b(b)=1log⁡2 ⁣(18)=−3\displaystyle \begin{aligned} \log_{\base{b}}(\start{1}) &= \count{0} \\ \log_{\base{b}}(\inside{b}) &= \count{1} \\ \log_{\base{2}}\!\left(\inside{\frac{1}{8}}\right) &= \count{-3} \end{aligned}

When a target above 11 is smaller than the base, one full step of the base overshoots it, so we only take a fraction of a step:

1\start{1}
120\vphantom{\dfrac{1}{2}}\count{0}
×9\base{\times 9}
9\inside{9}
121\vphantom{\dfrac{1}{2}}\count{1}
×3\base{\times 3}
3\inside{3}
×3\base{\times 3}
1212\vphantom{\dfrac{1}{2}}\count{\dfrac{1}{2}}
91/2=3(half of a ×9 step)log⁡9(3)=12\displaystyle \begin{aligned} \base{9}^{\count{1/2}} &= \inside{3} &&\text{(half of a } \base{{\times} 9} \text{ step)} \\ \log_{\base{9}}(\inside{3}) &= \count{\frac{1}{2}} \end{aligned}

To solve a basic logarithmic equation like log⁡4(x)=3\log_{\base{4}}(\inside{x}) = \count{3}, write the step count 3\count{3} as the exponent on the base 4\base{4}:

log⁡4(x)=3x=43(put exponent 3 on base 4)x=64\displaystyle \begin{aligned} \log_{\base{4}}(\inside{x}) &= \count{3} \\ \inside{x} &= \base{4}^{\count{3}} \\ &\text{(put exponent } \count{3} \text{ on base } \base{4}\text{)} \\ \inside{x} &= \sol{64} \end{aligned}

Don't mix up the inside and the output. A logarithm's output can be 0\count{0} or negative. But multiplying or dividing 1\start{1} by the base never gets you to 00 or a negative number, so the inside of a logarithm must always be positive (inside>0\inside{\text{inside}} > 0).

Starting from 1\start{1}, each ×2\base{\times 2} step to the right doubles the number and adds 1\count{1} to log⁡2(x)\log_{\base{2}}(\inside{x}). Each ÷2\base{\div 2} step to the left halves the number. These steps squeeze infinitely many negative counts into the gap between 00 and 1\start{1}, and they never reach 00 or the shaded region x≤0x \le 0.

Log base 2 counts how many times you double 1 to reach a number; each halving counts as a step back, and halving never gets you to 0 or below.
3

Plain log⁡\log, natural ln⁡\ln, and inverses

Two bases show up so often that they're written without a subscript. Also, any base and its own logarithm undo each other.

Plain log, natural log, and inverses
log⁡(1,000)log⁡(1,000)=??\displaystyle {\hphantom{\log(\inside{1{,}000})}\mathllap{\log(\inside{1{,}000})} = \mathrlap{\mathord{?}}\hphantom{\mathord{?}}}
log⁡(1,000)ln⁡(e5)=??\displaystyle {\hphantom{\log(\inside{1{,}000})}\mathllap{\ln(\base{e}^{\count{5}})} = \mathrlap{\mathord{?}}\hphantom{\mathord{?}}}
log⁡(1,000)2log⁡2(7)=??\displaystyle {\hphantom{\log(\inside{1{,}000})}\mathllap{\base{2}^{\log_{\base{2}}(\inside{7})}} = \mathrlap{\mathord{?}}\hphantom{\mathord{?}}}

Plain log⁡\log means base 10\base{10}, and natural log (ln⁡\ln) means base e≈2.718\base{e} \approx 2.718:

log⁡(x)=log⁡10(x)ln⁡(x)=log⁡e(x)\displaystyle \begin{aligned} \log(\inside{x}) &= \log_{\base{10}}(\inside{x}) \\ \ln(\inside{x}) &= \log_{\base{e}}(\inside{x}) \end{aligned}

Raising a base to a power and taking the base-b\base{b} logarithm of the result do opposite jobs, so they cancel in either order:

log⁡b(bx)=xblog⁡b(x)=x(x>0)\displaystyle \begin{aligned} \log_{\base{b}}(\base{b}^{\count{x}}) &= \count{x} \\ \base{b}^{\log_{\base{b}}(\inside{x})} &= \inside{x} \quad (\inside{x} > 0) \end{aligned}
4

The three log rules

Sometimes a number in front of the log gets in the way of cancelling, like 23log⁡2(5)\base{2}^{\count{3}\log_{\base{2}}(\inside{5})}, or two separate logarithms won't simplify on their own, like log⁡6(9)+log⁡6(4)\log_{\base{6}}(\inside{9}) + \log_{\base{6}}(\inside{4}). Because logarithms count multiplied factors, we have three rules for splitting and combining them.

The three log rules
log⁡2(8×16)\displaystyle \log_{\base{2}}(\inside{8} \times \inside{16}) =?\displaystyle = \mathord{?}

For any positive A\inside{A} and B\inside{B}:

log⁡b(A⋅B)=log⁡b(A)+log⁡b(B)(multiplying adds counts)log⁡b ⁣(AB)=log⁡b(A)−log⁡b(B)(dividing subtracts counts)log⁡b(Ak)=k⋅log⁡b(A)(an exponent multipliesthe count)\displaystyle \begin{aligned} \log_{\base{b}}(\inside{A} \cdot \inside{B}) &= \log_{\base{b}}(\inside{A}) + \log_{\base{b}}(\inside{B}) \\ &\text{(multiplying adds counts)} \\[1.2ex] \log_{\base{b}}\!\left(\frac{\inside{A}}{\inside{B}}\right) &= \log_{\base{b}}(\inside{A}) - \log_{\base{b}}(\inside{B}) \\ &\text{(dividing subtracts counts)} \\[1.2ex] \log_{\base{b}}(\inside{A}^{\count{k}}) &= \count{k} \cdot \log_{\base{b}}(\inside{A}) \\ &\text{(an exponent multiplies} \\ &\text{the count)} \end{aligned}

Logs count multiplications, so adding or subtracting inside a log gives the rules nothing to split: no rule breaks log⁡b(A+B)\log_{\base{b}}(\inside{A + B}) or log⁡b(A−B)\log_{\base{b}}(\inside{A - B}) apart.

Running the rules in reverse handles expressions that look stuck. First, when a number multiplies a log in an exponent, tuck it inside as a power so the base and the log sit right next to each other:

23log⁡2(5)=2log⁡2(53)(tuck 3 inside as an exponent)=2log⁡2(125)=125(cancel 2 and log⁡2)\displaystyle \begin{aligned} \base{2}^{\count{3}\log_{\base{2}}(\inside{5})} &= \base{2}^{\log_{\base{2}}(\inside{5}^{\count{3}})} \\ &\text{(tuck } \count{3} \text{ inside as an exponent)} \\ &= \base{2}^{\log_{\base{2}}(\inside{125})} \\ &= \inside{125} \\ &\text{(cancel } \base{2} \text{ and } {\log_{\base{2}}}\text{)} \end{aligned}

Second, when separate logs in the same base each give awkward decimals, merge them into one log:

log⁡6(9)+log⁡6(4)=log⁡6(9×4)(multiply insides)=log⁡6(36)=2(since 62=36)\displaystyle \begin{aligned} \log_{\base{6}}(\inside{9}) + \log_{\base{6}}(\inside{4}) &= \log_{\base{6}}(\inside{9} \times \inside{4}) \\ &\text{(multiply insides)} \\ &= \log_{\base{6}}(\inside{36}) \\ &= \count{2} \\ &\text{(since } \base{6}^{\count{2}} = \inside{36}\text{)} \end{aligned}
5

Expanding and condensing logs

Now let's use those rules when a question puts variables, roots, and fractions inside a logarithm, or gives letters like p\count{p} and q\count{q} for known logs and asks us to rewrite a new log in terms of them.

Expanding and condensing logs
log⁡ ⁣(x3 yz4 w2)\displaystyle \log\!\left(\frac{\inside{x}^{\count{3}}\,\inside{\sqrt{y}}}{\inside{z}^{\count{4}}\,\inside{w}^{\count{2}}}\right) =?\displaystyle = \mathord{?}

Expand log⁡ ⁣(x3yz4w2)\log\!\left(\frac{\inside{x}^{\count{3}}\inside{\sqrt{y}}}{\inside{z}^{\count{4}} \inside{w}^{\count{2}}}\right).

Text solution
Split factors by top and bottomEvery factor in the numerator gets a plus, and every factor in the denominator gets its own minus.
log⁡ ⁣(x3yz4w2)=log⁡(x3)+log⁡(y)−log⁡(z4)−log⁡(w2)\displaystyle \begin{aligned} &\log\!\left(\frac{\inside{x}^{\count{3}}\inside{\sqrt{y}}}{\inside{z}^{\count{4}} \inside{w}^{\count{2}}}\right) \\ &= \log(\inside{x}^{\count{3}}) + \log(\inside{\sqrt{y}}) \\ &\quad - \log(\inside{z}^{\count{4}}) - \log(\inside{w}^{\count{2}}) \end{aligned}
Rewrite roots and pull exponents in frontWriting y\inside{\sqrt{y}} as y1/2\inside{y}^{\count{1/2}} lets every exponent move down in front of its log as a multiplier.
=3log⁡(x)+12log⁡(y)−4log⁡(z)−2log⁡(w)\displaystyle \begin{aligned} &= \count{3}\log(\inside{x}) + \count{\tfrac{1}{2}}\log(\inside{y}) \\ &\quad - \count{4}\log(\inside{z}) - \count{2}\log(\inside{w}) \end{aligned}

Condensing runs those two moves backward: tuck every front multiplier in as an exponent first, then put added pieces in the numerator and subtracted pieces in the denominator of one logarithm.

When a problem defines log⁡b(2)=p\log_{\base{b}}(\inside{2}) = \count{p} and log⁡b(3)=q\log_{\base{b}}(\inside{3}) = \count{q}, break the target number into factors of 2\inside{2}, 3\inside{3}, and any powers of b\base{b} itself (remembering log⁡b(b2)=2\log_{\base{b}}(\base{b}^{\count{2}}) = \count{2}):

log⁡b(12)=log⁡b(22⋅3)(factor 12 into 2s and 3s)=2log⁡b(2)+log⁡b(3)(expand and pullexponent down)=2p+q(substitute p and q)\displaystyle \begin{aligned} \log_{\base{b}}(\inside{12}) &= \log_{\base{b}}(\inside{2}^{\count{2}} \cdot \inside{3}) \\ &\text{(factor } \inside{12} \text{ into } \inside{2}\text{s and } \inside{3}\text{s)} \\ &= \count{2}\log_{\base{b}}(\inside{2}) + \log_{\base{b}}(\inside{3}) \\ &\text{(expand and pull} \\ &\text{exponent down)} \\ &= \count{2p} + \count{q} \\ &\text{(substitute } \count{p} \text{ and } \count{q}\text{)} \end{aligned}
6

Changing the base

What if we meet a single log like log⁡4(32)\log_{\base{4}}(\inside{32}) or log⁡7(15)\log_{\base{7}}(\inside{15}) where the target isn't a whole-number power of the base? Measure both the target and the old base in the same new base, and any logarithm turns into a division we can do.

Changing the base
log⁡4(32)=?\log_{\base{4}}(\inside{32}) = \mathord{?}
1\start{1}
0\count{0}
×4\base{\times 4}
4\inside{4}
1\count{1}
×4\base{\times 4}
16\inside{16}
2\count{2}
×4\base{\times 4}
64\inside{64}
3\count{3}

Divide the log of the target by the log of the old base. The old base sits down low in log⁡b\log_{\base{b}}, so its log goes on the bottom:

log⁡b(a)\displaystyle \log_{\base{b}}(\inside{a}) =log⁡c(a)log⁡c(b)\displaystyle = \frac{\log_{\base{c}}(\inside{a})}{\log_{\base{c}}(\base{b})} =log⁡(a)log⁡(b)\displaystyle = \frac{\log(\inside{a})}{\log(\base{b})} =ln⁡(a)ln⁡(b)\displaystyle = \frac{\ln(\inside{a})}{\ln(\base{b})}

When both numbers are powers of the same base, like 4\base{4} and 32\inside{32} on the ×2\base{\times 2} track, measuring both in base 2\base{2} gives the exact fraction without a calculator:

log⁡4(32)=log⁡2(32)log⁡2(4)(measure both in base 2)=52\displaystyle \begin{aligned} \log_{\base{4}}(\inside{32}) &= \frac{\log_{\base{2}}(\inside{32})}{\log_{\base{2}}(\base{4})} \\ &\text{(measure both in base } \base{2}\text{)} \\ &= \count{\frac{5}{2}} \end{aligned}

Don't mix up division inside one log with dividing two separate logs:

log⁡ ⁣(157)=log⁡(15)−log⁡(7)whereaslog⁡(15)log⁡(7)=log⁡7(15)\displaystyle \begin{aligned} \log\!\left(\inside{\frac{15}{7}}\right) &= \log(\inside{15}) - \log(\inside{7}) \\ \text{whereas} \quad \frac{\log(\inside{15})}{\log(\base{7})} &= \log_{\base{7}}(\inside{15}) \end{aligned}
7

Solving exponential equations

Now we can solve equations where x\count{x} sits in the exponent, starting by checking whether we even need a logarithm.

Solving exponential equations
9x9x=2727\displaystyle {\hphantom{\base{9}^{\count{x}}}\mathllap{\base{9}^{\count{x}}} = \mathrlap{\inside{27}}\hphantom{\inside{27}}}
9xx=?27\displaystyle {\hphantom{\base{9}^{\count{x}}}\mathllap{x} = \mathrlap{\mathord{?}}\hphantom{\inside{27}}}

When both sides are powers of the same smaller base, rewrite both in that base and set the exponents equal:

9x=2732x=33(rewrite both in base 3)2x=3(equate exponents)x=32\displaystyle \begin{aligned} \base{9}^{\count{x}} &= \inside{27} \\ \base{3}^{\count{2x}} &= \base{3}^{\count{3}} &&\text{(rewrite both in base } \base{3}\text{)} \\ \count{2x} &= \count{3} &&\text{(equate exponents)} \\ x &= \sol{\frac{3}{2}} \end{aligned}

When the two sides don't share a common base, solve 3⋅5x−1=423 \cdot \base{5}^{\count{x - 1}} = 42 by isolating the power first.

Text solution
Divide out the number in frontDivide both sides by 33 first. Don't multiply 3×53 \times 5 into 15x−115^{x - 1}: the exponent x−1\count{x - 1} belongs only to the 5\base{5}.
5x−1\displaystyle \base{5}^{\count{x - 1}} =14\displaystyle = \inside{14}
Rewrite the exponent as a logarithmSince 5\base{5} raised to the power x−1\count{x - 1} gives 14\inside{14}, the exponent x−1\count{x - 1} is exactly what log⁡5(14)\log_{\base{5}}(\inside{14}) asks for.
x−1\displaystyle \count{x - 1} =log⁡5(14)\displaystyle = \log_{\base{5}}(\inside{14})
Isolate xx and match the answer choicesAdd 11 to both sides, and use change of base if the answer choices use plain log⁡\log.
x=1+log⁡5(14)=1+log⁡(14)log⁡(5)\displaystyle \begin{aligned} x &= \sol{1 + \log_5(14)} \\ &= \sol{1 + \frac{\log(14)}{\log(5)}} \end{aligned}

For base-e\base{e} equations like e2x=10\base{e}^{\count{2x}} = \inside{10}, rewriting as 2x=ln⁡(10)\count{2x} = \ln(\inside{10}) gives x=ln⁡(10)2x = \sol{\frac{\ln(10)}{2}}. You can't divide the 10\inside{10} inside the log by 22 to get ln⁡(5)\ln(5), but answer choices often tuck 12\count{\frac{1}{2}} inside as a square root:

ln⁡(10)2=12ln⁡(10)=ln⁡ ⁣(101/2)(tuck 12 inside as an exponent)=ln⁡(10)\displaystyle \begin{aligned} \frac{\ln(\inside{10})}{2} &= \count{\tfrac{1}{2}}\ln(\inside{10}) \\ &= \ln\!\left(\inside{10}^{\count{1/2}}\right) \\ &\text{(tuck } \count{\tfrac{1}{2}} \text{ inside as an exponent)} \\ &= \ln(\inside{\sqrt{10}}) \end{aligned}
8

Solving logarithmic equations

When x\inside{x} sits inside one or more logarithms, we combine the logs into one so we can undo it, and then check that our algebra didn't add an answer that makes one of the original logs undefined.

Solving logarithmic equations
log⁡3(2x+1)log⁡3(2x+1)=22\displaystyle {\hphantom{\log_{\base{3}}(\inside{2x + 1})}\mathllap{\log_{\base{3}}(\inside{2x + 1})} = \mathrlap{\count{2}}\hphantom{\count{2}}}
log⁡3(2x+1)x=?2\displaystyle {\hphantom{\log_{\base{3}}(\inside{2x + 1})}\mathllap{x} = \mathrlap{\mathord{?}}\hphantom{\count{2}}}

Solve log⁡2(x)+log⁡2(x−2)=3\log_{\base{2}}(\inside{x}) + \log_{\base{2}}(\inside{x - 2}) = \count{3}.

Text solution
Combine the left side into one logAdding two base-2\base{2} logs means multiplying their insides, so the left side becomes a single logarithm.
log⁡2 ⁣(x(x−2))\displaystyle \log_{\base{2}}\!\bigl(\inside{x(x - 2)}\bigr) =3\displaystyle = \count{3}
Rewrite in exponential form and factorThree 2\base{2}s multiplied make 8\inside{8}, turning the equation into a quadratic we can set equal to 00 and factor.
x(x−2)=8(since 23=8)x2−2x−8=0(x−4)(x+2)=0⟹x=4   or   x=−2\displaystyle \begin{aligned} \inside{x(x - 2)} &= \inside{8} \\ &\text{(since } \base{2}^{\count{3}} = \inside{8}\text{)} \\ x^2 - 2x - 8 &= 0 \\ (x - 4)(x + 2) &= 0 \\ \Longrightarrow \quad x &= \sol{4} \;\text{ or }\; x = \sol{-2} \end{aligned}
Check each root inside every original logPlugging x=−2x = -2 into log⁡2(x)\log_{\base{2}}(\inside{x}) and log⁡2(x−2)\log_{\base{2}}(\inside{x - 2}) gives negative insides, so x=−2x = -2 is extraneous and only x=4x = \sol{4} works.
x\displaystyle x =4 only\displaystyle = \sol{4} \text{ only}

When an equation sets one log equal to another log in the same base, set their insides equal and run the same check on the original logs:

log⁡5(x2−4)=log⁡5(3x)x2−4=3x(equate insides)x2−3x−4=0(x−4)(x+1)=0⟹x=4   or   x=−1\displaystyle \begin{aligned} \log_{\base{5}}(\inside{x^2 - 4}) &= \log_{\base{5}}(\inside{3x}) \\ \inside{x^2 - 4} &= \inside{3x} \\ &\text{(equate insides)} \\ x^2 - 3x - 4 &= 0 \\ (x - 4)(x + 1) &= 0 \\ \Longrightarrow \quad x &= \sol{4} \;\text{ or }\; \cancel{x = -1} \end{aligned}

At x=−1x = -1, both insides equal −3\inside{-3}, so only x=4x = \sol{4} survives. Notice it's the sign of each inside that matters, not the sign of xx itself. In log⁡2(5−x)\log_{\base{2}}(\inside{5 - x}), x=−3x = -3 gives log⁡2(8)\log_{\base{2}}(\inside{8}), which is completely valid.

9

Logarithm graphs and domains

Finally, let's see what the multiplication track looks like as a graph, and match a shifted equation like y=log⁡2(x−3)+1y = \log_{\base{2}}(\inside{x - 3}) + \count{1} to its curve and domain.

Logarithm graphs and domains
181\vphantom{\tfrac{1}{8}}\start{1}
0\count{0}
×2\base{\times 2}
182\vphantom{\tfrac{1}{8}}\inside{2}
1\count{1}
×2\base{\times 2}
184\vphantom{\tfrac{1}{8}}\inside{4}
2\count{2}
×2\base{\times 2}
188\vphantom{\tfrac{1}{8}}\inside{8}
3\count{3}
÷2\base{\div 2}
1812\vphantom{\tfrac{1}{8}}\inside{\tfrac{1}{2}}
−1\count{-1}
÷2\base{\div 2}
1814\vphantom{\tfrac{1}{8}}\inside{\tfrac{1}{4}}
−2\count{-2}
÷2\base{\div 2}
1818\vphantom{\tfrac{1}{8}}\inside{\tfrac{1}{8}}
−3\count{-3}
xx
yy
y=log⁡2(x)y = \log_{\base{2}}(\inside{x})
xx
yy
y=log⁡2(x)y = \log_{\base{2}}(\inside{x})
x=0x = 0
(14, −2)(\inside{\tfrac{1}{4}},\, \count{-2})
(12, −1)(\inside{\tfrac{1}{2}},\, \count{-1})
(1, 0)(\start{1},\, \count{0})
(2, 1)(\inside{2},\, \count{1})
(4, 2)(\inside{4},\, \count{2})
(8, 3)(\inside{8},\, \count{3})

Find the vertical asymptote, domain, and an easy point on y=log⁡2(x−3)+1y = \log_{\base{2}}(\inside{x - 3}) + \count{1}.

Text solution
Set the inside equal to 00, then greater than 00The vertical asymptote sits where the inside equals 00, and the domain is every xx that keeps the inside positive.
x−3=0  ⟹  x=3 (vertical asymptote),x−3>0  ⟹  x>3 (domain)\displaystyle \begin{aligned} \inside{x - 3} &= 0 \;\Longrightarrow\; x = 3 \\ &\text{ (vertical asymptote)}, \\[1ex] \inside{x - 3} &> 0 \;\Longrightarrow\; \sol{x > 3} \\ &\text{ (domain)} \end{aligned}
Set the inside equal to 1\start{1} to find an easy pointMaking x−3\inside{x - 3} equal 1\start{1} turns the logarithm into log⁡2(1)=0\log_{\base{2}}(\start{1}) = \count{0}, giving an exact point on the curve right away.
x−3=1  ⟹  x=4y=log⁡2(1)+1=1⟹(4,1)\displaystyle \begin{aligned} \inside{x - 3} &= \start{1} \;\Longrightarrow\; x = 4 \\ y &= \log_{\base{2}}(\start{1}) + \count{1} \\ &= 1 \quad \Longrightarrow \quad \start{(4, 1)} \end{aligned}

In the family y=log⁡2(x−h)+ky = \log_{\base{2}}(\inside{x - h}) + \count{k}, changing h\inside{h} slides the vertical asymptote x=hx = h and the domain x>h\sol{x > h} left or right. The asymptote always stays 11 unit to the left of the point (h+1,k)\start{(h + 1, k)}, where the inside equals 1\start{1}. Changing k\count{k} moves the curve up or down, but the asymptote and the domain stay put.

Interactive c2

Key concepts

Every logarithm question comes back to one reading: log⁡b(a)\log_{\base{b}}(\inside{a}) is the number of ×b\base{\times b} steps from 1\start{1} to a\inside{a}. Staying at 1\start{1} takes 0\count{0} steps (log⁡b(1)=0\log_{\base{b}}(\start{1}) = \count{0}). Unit fractions step backward into negatives (log⁡2(18)=−3\log_{\base{2}}\bigl(\inside{\tfrac{1}{8}}\bigr) = \count{-3}). A target smaller than one step of the base takes a fractional step (log⁡9(3)=12\log_{\base{9}}(\inside{3}) = \count{\tfrac{1}{2}}). A target between two powers sits between their step counts (33<40<34\base{3}^{\count{3}} < \inside{40} < \base{3}^{\count{4}}   ⟹  \implies 3<log⁡3(40)<4\count{3} < \log_{\base{3}}(\inside{40}) < \count{4}). If the base is awkward, change it: divide using a shared base or plain log⁡\log, with the old base's log on the bottom: log⁡b(a)=log⁡(a)log⁡(b)\log_{\base{b}}(\inside{a}) = \frac{\log(\inside{a})}{\log(\base{b})}.

With positive inputs, multiplying inside a log adds counts (log⁡b(AB)=log⁡b(A)+log⁡b(B)\log_{\base{b}}(\inside{AB}) = \log_{\base{b}}(\inside{A}) + \log_{\base{b}}(\inside{B})), and dividing subtracts every factor in the denominator (log⁡b(AB)=log⁡b(A)−log⁡b(B)\log_{\base{b}}\bigl(\tfrac{\inside{A}}{\inside{B}}\bigr) = \log_{\base{b}}(\inside{A}) - \log_{\base{b}}(\inside{B})). Exponents move out front (log⁡b(Ak)=klog⁡b(A)\log_{\base{b}}(\inside{A}^{\count{k}}) = \count{k}\log_{\base{b}}(\inside{A})). But no rule splits log⁡b(A+B)\log_{\base{b}}(\inside{A + B}). Before cancelling a base and its log, tuck any front multiplier back inside as an exponent (23log⁡2(5)=2log⁡2(53)=125\base{2}^{\count{3}\log_{\base{2}}(\inside{5})} = \base{2}^{\log_{\base{2}}(\inside{5}^{\count{3}})} = \inside{125}).

To solve an exponential equation, check for a shared base before reaching for logs: 9x=27\base{9}^{\count{x}} = \inside{27} turns straight into 32x=33\base{3}^{\count{2x}} = \base{3}^{\count{3}} with no log needed. If the bases can't match, isolate the power first, then rewrite the exponent as a log (5x−1=14\base{5}^{\count{x - 1}} = \inside{14}   ⟹  \implies x−1=log⁡5(14)\count{x - 1} = \log_{\base{5}}(\inside{14})). To solve a logarithmic equation, condense to one log before rewriting (log⁡2(x)+log⁡2(x−2)=3\log_{\base{2}}(\inside{x}) + \log_{\base{2}}(\inside{x - 2}) = \count{3}   ⟹  \implies log⁡2(x(x−2))=3\log_{\base{2}}(\inside{x(x - 2)}) = \count{3}). Then test every root inside every original log to make sure each inside stays positive. On a graph y=log⁡b(inside)+ky = \log_{\base{b}}(\inside{\text{inside}}) + \count{k}, inside=0\inside{\text{inside}} = 0 marks the vertical asymptote, inside>0\inside{\text{inside}} > 0 gives the domain, and inside=1\inside{\text{inside}} = \start{1} gives an easy point where the log equals 0\count{0}.

10

Practice

1

Between which two consecutive integers does log⁡4(90)\log_4(90) lie?

Multiply 4\base{4}s step by step (41,42,…\base{4}^{\count{1}}, \base{4}^{\count{2}}, \dots). Which two powers of 4\base{4} sit on either side of 90\inside{90}?

log⁡4(90)\log_{\base{4}}(\inside{90}) asks how many 4\base{4}s multiply to reach 90\inside{90} (dividing 90÷4=22.590 \div 4 = 22.5 gives Choice D). Count powers of 4\base{4}:
43=64and44=25664<90<2563<log⁡4(90)<4\displaystyle \begin{aligned} \base{4}^{\count{3}} &= \inside{64} \quad \text{and} \quad \base{4}^{\count{4}} = \inside{256} \\ \inside{64} &< \inside{90} < \inside{256} \\ \count{3} &< \log_{\base{4}}(\inside{90}) < \count{4} \end{aligned}
Answer: B) 3 and 4
2

What is the value of log⁡27(13)\log_{27}\bigl(\tfrac{1}{3}\bigr)?

First ask what fraction of a ×27\base{\times 27} step stops at 3\inside{3}, then check what flipping 3\inside{3} into 13\inside{\frac{1}{3}} does to the sign.

One full step of the base multiplies by 27\base{27}. Because 3×3×3=27\base{3} \times \base{3} \times \base{3} = \base{27}, stopping at 3\inside{3} covers 13\count{\frac{1}{3}} of a ×27\base{\times 27} step: 271/3=3\base{27}^{\count{1/3}} = \inside{3} (counting how many 33s make 2727 swaps the base and the target and leads to −3-3, Choice B). Since 13\inside{\frac{1}{3}} is below 11, the steps go backward, so the sign is negative (forgetting the negative gives Choice D):
27−1/3\displaystyle \base{27}^{\count{-1/3}} =13⟹log⁡27 ⁣(13)\displaystyle = \inside{\frac{1}{3}} \quad \Longrightarrow \quad \log_{\base{27}}\!\left(\inside{\frac{1}{3}}\right) =−13\displaystyle = \count{-\frac{1}{3}}
Answer: C) -1/3
3

What is the value of log⁡12(9)+log⁡12(16)\log_{12}(9) + \log_{12}(16)?

Neither 9\inside{9} nor 16\inside{16} is a whole-number power of 12\base{12} on its own. What happens when you add two logs with the same base?

Adding two logs in base 12\base{12} multiplies their insides (adding 9+16=259 + 16 = 25 and dividing by 1212 gives Choice B):
log⁡12(9)+log⁡12(16)=log⁡12(9×16)=log⁡12(144)\displaystyle \begin{aligned} \log_{\base{12}}(\inside{9}) + \log_{\base{12}}(\inside{16}) &= \log_{\base{12}}(\inside{9} \times \inside{16}) \\ &= \log_{\base{12}}(\inside{144}) \end{aligned}
Count powers of 12\base{12} to reach 144\inside{144} rather than dividing 144÷12=12144 \div 12 = 12 (Choice D): since 122=144\base{12}^{\count{2}} = \inside{144}, log⁡12(144)=2\log_{\base{12}}(\inside{144}) = \count{2}.
Answer: A) 2
4

What is the value of 102log⁡(6)10^{2 \log(6)}?

Plain log⁡\log has base 10\base{10}, so 10\base{10} and log⁡\log undo each other. What needs to move out of the way first?

You can't cancel 10\base{10} and log⁡\log while the 2\count{2} sits in front (cancelling early and multiplying 2×62 \times 6 gives 1212, Choice A). Tuck the 2\count{2} inside as an exponent on 6\inside{6} first:
102log⁡(6)=10log⁡(62)=10log⁡(36)=36\displaystyle \begin{aligned} \base{10}^{\count{2}\log(\inside{6})} &= \base{10}^{\log(\inside{6}^{\count{2}})} \\ &= \base{10}^{\log(\inside{36})} \\ &= \inside{36} \end{aligned}
Answer: B) 36
5

If 8x−1=168^{x - 1} = 16, what is the value of xx?

Before reaching for a logarithm, check whether 8\base{8} and 16\inside{16} are powers of the same smaller base.

Both 8=23\base{8} = \base{2}^{\count{3}} and 16=24\inside{16} = \base{2}^{\count{4}} are powers of 2\base{2}:
(23)x−1=2423(x−1)=243(x−1)=4\displaystyle \begin{aligned} \left(\base{2}^{\count{3}}\right)^{\count{x - 1}} &= \base{2}^{\count{4}} \\ \base{2}^{\count{3(x - 1)}} &= \base{2}^{\count{4}} \\ \count{3(x - 1)} &= \count{4} \end{aligned}
Multiply the 3\count{3} by both terms of x−1\count{x - 1} (writing 3x−1=43x - 1 = 4 forgets to multiply the −1-1 by 33 and gives 53\frac{5}{3}, Choice A):
3x−3=43x=7x=73\displaystyle \begin{aligned} 3x - 3 &= 4 \\ 3x &= 7 \\ x &= \sol{\frac{7}{3}} \end{aligned}
Desmos: On the online test, graph `y = 8^(x - 1)` and `y = 16`, and read the xx-coordinate where they cross. They cross once, at about x=2.333x = \sol{2.333}. That decimal is rounded; the exact value is 73\sol{\frac{7}{3}}. Rewriting in base 2\base{2} by hand is faster and gives the exact fraction directly.
Answer: C) 7/3
6

For all positive numbers x,y,zx, y, z, and ww, which expression is equivalent to log⁡ ⁣(x4yz3w2)\log\!\left(\frac{x^4\sqrt{y}}{z^3 w^2}\right)?

Give each piece a ++ or −- based on whether it sits on top or on the bottom, and rewrite y\inside{\sqrt{y}} with a fractional exponent.

Factors on top get a plus, and both factors in the denominator get a minus. The whole denominator z3w2\inside{z}^{\count{3}} \inside{w}^{\count{2}} divides, so w2\inside{w}^{\count{2}} gets a minus too (giving it a plus leads to Choice A):
log⁡(x4)+log⁡(y)−log⁡(z3)−log⁡(w2)\displaystyle \begin{aligned} &\log(\inside{x}^{\count{4}}) + \log(\inside{\sqrt{y}}) \\ &\quad - \log(\inside{z}^{\count{3}}) - \log(\inside{w}^{\count{2}}) \end{aligned}
Since y=y1/2\inside{\sqrt{y}} = \inside{y}^{\count{1/2}} (not y2y^2, which gives Choice B), bring each exponent down in front:
4log⁡(x)+12log⁡(y)−3log⁡(z)−2log⁡(w)\displaystyle \begin{aligned} &\count{4}\log(\inside{x}) + \count{\tfrac{1}{2}}\log(\inside{y}) \\ &\quad - \count{3}\log(\inside{z}) - \count{2}\log(\inside{w}) \end{aligned}
Answer: C) 4 log(x) + (1/2) log(y) - 3 log(z) - 2 log(w)
7

Given that b>0b > 0, b≠1b \ne 1, log⁡b(2)=p\log_b(2) = p, and log⁡b(3)=q\log_b(3) = q, which expression represents log⁡b(18b3)\log_b\bigl(\tfrac{18}{b^3}\bigr) in terms of pp and qq?

Factor 18\inside{18} into 2\inside{2}s and 3\inside{3}s, split the fraction, and simplify log⁡b(b3)\log_b(b^3) to a number.

Factor 18=2⋅9=2⋅32\inside{18} = \inside{2} \cdot \inside{9} = \inside{2} \cdot \inside{3}^{\count{2}} (writing 22⋅32^2 \cdot 3, which is 1212, swaps the coefficients into 2p+q−32p + q - 3, Choice B). Expand the fraction:
log⁡b ⁣(2⋅32b3)=log⁡b(2)+2log⁡b(3)−log⁡b(b3)\displaystyle \begin{aligned} \log_{\base{b}}\!\left(\frac{\inside{2} \cdot \inside{3}^{\count{2}}}{\base{b}^{\count{3}}}\right) &= \log_{\base{b}}(\inside{2}) + \count{2}\log_{\base{b}}(\inside{3}) \\ &\quad - \log_{\base{b}}(\base{b}^{\count{3}}) \end{aligned}
Since three b\base{b}'s multiply to make b3\base{b}^{\count{3}}, log⁡b(b3)=3\log_{\base{b}}(\base{b}^{\count{3}}) = \count{3} (keeping the bb and writing 3b3b gives Choice C):
=p+2q−3\displaystyle = \count{p} + \count{2q} - \count{3}
Answer: A) p + 2q - 3
8

If 2⋅6x−3=222 \cdot 6^{x - 3} = 22, which expression gives the exact value of xx?

Divide out the 22 in front of 6x−3\base{6}^{\count{x - 3}} before rewriting the exponent as a logarithm.

Divide both sides by 22 first. Multiplying 2⋅62 \cdot 6 into 12x−3=2212^{x - 3} = 22 gives Choice A:
6x−3\displaystyle \base{6}^{\count{x - 3}} =11\displaystyle = \inside{11}
Rewrite the exponent as a base-6\base{6} logarithm, then use change of base with the base 6\base{6} on the bottom (flipping the fraction gives Choice B, and turning log⁡(11)log⁡(6)\frac{\log(\inside{11})}{\log(\base{6})} into log⁡(116)\log\bigl(\tfrac{11}{6}\bigr) gives Choice C):
x−3=log⁡6(11)x−3=log⁡(11)log⁡(6)x=3+log⁡(11)log⁡(6)\displaystyle \begin{aligned} \count{x - 3} &= \log_{\base{6}}(\inside{11}) \\ \count{x - 3} &= \frac{\log(\inside{11})}{\log(\base{6})} \\ x &= \sol{3 + \frac{\log(11)}{\log(6)}} \end{aligned}
Answer: D) 3 + log(11) / log(6)
9

If e2x+3=17e^{2x} + 3 = 17, what is the exact value of xx?

Isolate e2x\base{e}^{\count{2x}} first, rewrite with ln⁡\ln, and watch how a 12\count{\frac{1}{2}} in front of a log moves inside.

Subtract 33 to isolate the power, then rewrite the exponent using natural log:
e2x=142x=ln⁡(14)x=ln⁡(14)2\displaystyle \begin{aligned} \base{e}^{\count{2x}} &= \inside{14} \\ \count{2x} &= \ln(\inside{14}) \\ x &= \sol{\frac{\ln(14)}{2}} \end{aligned}
Don't divide the 14\inside{14} inside the log by 22 to get ln⁡(7)\ln(7) (Choice A). Instead, rewrite dividing by 22 as multiplying by 12\count{\frac{1}{2}}, and tuck 12\count{\frac{1}{2}} inside as an exponent:
x=12ln⁡(14)=ln⁡ ⁣(141/2)=ln⁡(14)\displaystyle \begin{aligned} x &= \count{\tfrac{1}{2}}\ln(\inside{14}) \\ &= \ln\!\left(\inside{14}^{\count{1/2}}\right) \\ &= \ln(\inside{\sqrt{14}}) \end{aligned}
Answer: B) ln(√14)
10

In the standard (x,y)(x, y) coordinate plane, the graph of which function has a vertical asymptote at x=−2{x = -2}, lies entirely to the right of x=−2{x = -2}, and passes through the point (−1,3)(-1, 3)?

Which inside expression equals 00 when x=−2x = -2, and what does the logarithm part equal when x=−1x = -1?

The vertical asymptote is where the inside equals 00, and the domain x>−2\sol{x > -2} means x+2>0\inside{x + 2} > 0, so the inside must be x+2\inside{x + 2} (using x−2x - 2 puts the asymptote at x=2x = 2, Choice B). Now plug in x=−1x = -1:
log⁡5(−1+2)\displaystyle \log_{\base{5}}(\inside{-1 + 2}) =log⁡5(1)\displaystyle = \log_{\base{5}}(\start{1}) =0\displaystyle = \count{0}
Since the log equals 0\count{0} at x=−1x = -1 (thinking log⁡5(1)=1\log_5(1) = 1 gives +2+ 2 in Choice C), getting y=3y = 3 means adding 3\count{3} outside: y=log⁡5(x+2)+3y = \log_{\base{5}}(\inside{x + 2}) + \count{3}.
Answer: A) y = log₅(x + 2) + 3
11

What are all real solutions to the equation log⁡2(x)+log⁡2(x−6)=4{\log_2(x)} + {\log_2(x - 6)} = 4?

Condense the left side into a single log before rewriting in exponential form, and don't stop as soon as the quadratic factors.

Merge the sum into one base-2\base{2} log first (dropping the logs and solving x+(x−6)=16x + (x - 6) = 16 gives 1111, Choice D):
log⁡2 ⁣(x(x−6))=4x(x−6)=24x2−6x−16=0(x−8)(x+2)=0⟹x=8   or   x=−2\displaystyle \begin{aligned} \log_{\base{2}}\!\bigl(\inside{x(x - 6)}\bigr) &= \count{4} \\ \inside{x(x - 6)} &= \base{2}^{\count{4}} \\ x^2 - 6x - 16 &= 0 \\ (x - 8)(x + 2) &= 0 \\ \Longrightarrow \quad x &= \sol{8} \;\text{ or }\; x = \sol{-2} \end{aligned}
Don't pick −2-2 and 88 yet (Choice A). Test both in the original logs. At x=−2x = -2, log⁡2(−2)\log_{\base{2}}(\inside{-2}) and log⁡2(−8)\log_{\base{2}}(\inside{-8}) have negative insides, so −2-2 is extraneous. At x=8x = \sol{8}, log⁡2(8)+log⁡2(2)=3+1=4\log_{\base{2}}(\inside{8}) + \log_{\base{2}}(\inside{2}) = \count{3} + \count{1} = \count{4}, which works.
Desmos: On the online test, graph `y = log_2(x) + log_2(x - 6)` and `y = 4`, and read where they cross. The left side only exists where both original insides are positive (x>6\sol{x > 6}), so the curve starts just right of x=6x = 6 and the only crossing is at (8,4)(\sol{8}, 4). Both routes take about the same time, and the graph leaves out the extraneous root on its own.
Answer: C) 8 only
12

What are all real solutions to the equation log⁡13(x2−x−7)=log⁡13(5−2x){\log_{13}(x^2 - x - 7)} = {\log_{13}(5 - 2x)}?

Set the two insides equal to solve the quadratic, then test each root inside 5−2x\inside{5 - 2x}. Don't judge a root by its own sign.

With one base-13\base{13} log on each side, set the insides equal:
x2−x−7=5−2xx2+x−12=0(x+4)(x−3)=0⟹x=−4   or   x=3\displaystyle \begin{aligned} \inside{x^2 - x - 7} &= \inside{5 - 2x} \\ x^2 + x - 12 &= 0 \\ (x + 4)(x - 3) &= 0 \\ \Longrightarrow \quad x &= \sol{-4} \;\text{ or }\; x = \sol{3} \end{aligned}
Check both roots inside the original logs rather than keeping both (Choice C) or automatically throwing out the negative number −4-4 (Choice B):
At x=3x = 3: 5−2(3)=−1<0\inside{5 - 2(3)} = \inside{-1} < 0, making log⁡13(−1)\log_{\base{13}}(\inside{-1}) undefined, so reject x=3x = 3.
At x=−4x = \sol{-4}: 5−2(−4)=13>0\inside{5 - 2(-4)} = \inside{13} > 0 and (−4)2−(−4)−7=13>0\inside{(-4)^2 - (-4) - 7} = \inside{13} > 0, giving log⁡13(13)=log⁡13(13)\log_{\base{13}}(\inside{13}) = \log_{\base{13}}(\inside{13}), which is valid.
Desmos: Graph `y = log_13(x^2 - x - 7)` and `y = log_13(5 - 2x)`, look on both sides of the yy-axis, and read where they cross. The curves cross only at (−4,1)(\sol{-4}, 1), and neither curve exists at x=3x = 3, where both insides are −1\inside{-1}. Factoring by hand is slightly faster than typing both logs, but graphing is a good check against throwing out the valid negative root.
Answer: A) -4 only