Algebra 2Exponential and Logarithmic Functions5 of 5
Exponential and Logarithmic Functions · 5

Solving Exponential and Logarithmic Equations

We need to solve equations where xx is trapped up in an exponent or inside a logarithm, and each situation has a way to get xx out.

1

Matching Bases

We start by solving exponential equations where both sides can be written with the same base:

2x=8,4x+1=8x,and32x=19\displaystyle \begin{aligned} \base{2}^{\expo{x}} &= \target{8}, \\ \base{4}^{\expo{x + 1}} &= \base{8}^{\expo{x}}, \quad \text{and} \\ \base{3}^{\expo{2x}} &= \target{\frac{1}{9}} \end{aligned}

For the fraction, remember that a power on the bottom rewrites as a negative exponent:

132\displaystyle \frac{1}{\base{3}^{\expo{2}}} =3−2\displaystyle = \base{3}^{\expo{-2}}
Solving Exponential Equations by Matching Bases
2x=8x=  ?4x+1=8xx=  ?32x=19x=  ?\displaystyle \begin{alignedat}{2} \base{2}^{\expo{x}} &= \target{8} &\qquad x &= \;? \\[8pt] \base{4}^{\expo{x + 1}} &= \base{8}^{\expo{x}} &\qquad x &= \;? \\[8pt] \base{3}^{\expo{2x}} &= \target{\frac{1}{9}} &\qquad x &= \;? \end{alignedat}
Text solution
For 2x=8\base{2}^{\expo{x}} = \target{8}, rewriting 8\target{8} as 23\base{2}^{\expo{3}} immediately gives 2x=23\base{2}^{\expo{x}} = \base{2}^{\expo{3}}, so x=3x = 3. Now for 4x+1=8x\base{4}^{\expo{x + 1}} = \base{8}^{\expo{x}}, where neither base is a whole-number power of the other:
Rewrite both bases as powers of 2\base{2} and multiply the exponentsReplacing 4\base{4} with 22\base{2}^{\expo{2}} and 8\base{8} with 23\base{2}^{\expo{3}} gives both sides the same base:
4x+1=8x(22)x+1=(23)x22(x+1)=23x\displaystyle \begin{aligned} \base{4}^{\expo{x + 1}} &= \base{8}^{\expo{x}} \\ (\base{2}^{\expo{2}})^{\expo{x + 1}} &= (\base{2}^{\expo{3}})^{\expo{x}} \\ \base{2}^{\expo{2(x + 1)}} &= \base{2}^{\expo{3x}} \end{aligned}
Set the exponents equal and solve for xxBecause the base 2\base{2} matches on both sides, the exponents must be equal, and the 2\expo{2} on the left multiplies the whole exponent x+1\expo{x + 1}:
2(x+1)=3x2x+2=3x2=x\displaystyle \begin{aligned} \expo{2(x + 1)} &= \expo{3x} \\ 2x + 2 &= 3x \\ 2 &= x \end{aligned}
So x=2x = 2 makes both sides of the equation equal to 6464.
Now for the fraction case, 32x=19\base{3}^{\expo{2x}} = \target{\frac{1}{9}}:
Rewrite 19\target{\frac{1}{9}} with a negative exponent and set the exponents equalWriting 19\target{\frac{1}{9}} as 3−2\base{3}^{\expo{-2}} matches the base 3\base{3} on the left so the exponents can be set equal:
32x=1932x=3−22x=−2x=−1\displaystyle \begin{aligned} \base{3}^{\expo{2x}} &= \target{\frac{1}{9}} \\ \base{3}^{\expo{2x}} &= \base{3}^{\expo{-2}} \\ \expo{2x} &= \expo{-2} \\ x &= -1 \end{aligned}

So x=−1x = -1 gives 3−2=19\base{3}^{\expo{-2}} = \target{\frac{1}{9}}.

2

Bringing Exponents Down with Logarithms

Matching bases with whole-number exponents does not work for an equation like

2x\displaystyle \base{2}^{\expo{x}} =10\displaystyle = \target{10}

Since 23=8\base{2}^{\expo{3}} = \target{8} and 24=16\base{2}^{\expo{4}} = \target{16}, x\expo{x} has to be a decimal a little above 3\expo{3}, roughly 3.3\expo{3.3}, and logarithms give us the exact value before rounding. We also want to solve equations with extra operations outside the power or with base e\base{e}:

3⋅5x−1+4\displaystyle \op{3 \cdot} \base{5}^{\expo{x - 1}} \op{+ 4} =25ande2x\displaystyle = 25 \qquad \text{and} \qquad \base{e}^{\expo{2x}} =9\displaystyle = \target{9}
Solving Exponential Equations with Logarithms
2x=10\htmlClass{lc-pink}{2}^{\htmlClass{lc-green}{x}} = \htmlClass{lc-blue}{10}
8\htmlClass{lc-blue}{8}
23=8\htmlClass{lc-pink}{2}^{\htmlClass{lc-green}{3}} = \htmlClass{lc-blue}{8}
×2\htmlClass{lc-pink}{\times 2}
16\htmlClass{lc-blue}{16}
24=16\htmlClass{lc-pink}{2}^{\htmlClass{lc-green}{4}} = \htmlClass{lc-blue}{16}
Text solution
Take the base-10\base{10} logarithm of both sides and bring xx to the frontUsing log⁡\op{\log} lets the power property bring the exponent down in front as multiplication so you can divide by log⁡(2)\op{\log}(\base{2}) on any calculator:
2x=10log⁡(2x)=log⁡(10)x⋅log⁡(2)=log⁡(10)x=log⁡(10)log⁡(2)≈3.3219\displaystyle \begin{aligned} \base{2}^{\expo{x}} &= \target{10} \\ \op{\log}(\base{2}^{\expo{x}}) &= \op{\log}(\target{10}) \\ \expo{x} \cdot \op{\log}(\base{2}) &= \op{\log}(\target{10}) \\ x &= \frac{\op{\log}(\target{10})}{\op{\log}(\base{2})} \approx 3.3219 \end{aligned}
So x=log⁡2(10)=log⁡(10)log⁡(2)≈3.3219x = \log_{\base{2}}(\target{10}) = \frac{\op{\log}(\target{10})}{\op{\log}(\base{2})} \approx 3.3219, right between 3\expo{3} and 4\expo{4}.
Now for 3⋅5x−1+4=25\op{3 \cdot} \base{5}^{\expo{x - 1}} \op{+ 4} = 25, where extra numbers sit outside the power:
Subtract 4\op{4} and divide by 3\op{3} to get 5x−1\base{5}^{\expo{x - 1}} by itselfOrder of operations applies the exponent to 5\base{5} before the multiplication by 3\op{3}, so you cannot multiply 3⋅53 \cdot 5 to get 15x−115^{x - 1}; undo the +4\op{+ 4} and the ⋅3\op{\cdot 3} first:
3⋅5x−1+4=253⋅5x−1=215x−1=7\displaystyle \begin{aligned} \op{3 \cdot} \base{5}^{\expo{x - 1}} \op{+ 4} &= 25 \\ \op{3 \cdot} \base{5}^{\expo{x - 1}} &= 21 \\ \base{5}^{\expo{x - 1}} &= \target{7} \end{aligned}
Take log⁡\op{\log} of both sides, bring x−1\expo{x - 1} to the front, and solve for xxOnce 5x−1\base{5}^{\expo{x - 1}} is alone, the power property brings the whole exponent down so we can divide by log⁡(5)\op{\log}(\base{5}) and add 1\op{1}:
log⁡(5x−1)=log⁡(7)(x−1)log⁡(5)=log⁡(7)x−1=log⁡(7)log⁡(5)x=log⁡(7)log⁡(5)+1\displaystyle \begin{aligned} \op{\log}(\base{5}^{\expo{x - 1}}) &= \op{\log}(\target{7}) \\ (\expo{x - 1})\op{\log}(\base{5}) &= \op{\log}(\target{7}) \\ \expo{x - 1} &= \frac{\op{\log}(\target{7})}{\op{\log}(\base{5})} \\ x &= \frac{\op{\log}(\target{7})}{\op{\log}(\base{5})} + 1 \end{aligned}
So x=log⁡(7)log⁡(5)+1x = \frac{\op{\log}(\target{7})}{\op{\log}(\base{5})} + 1 is the exact solution that makes the left side equal 2525.
Now for base e\base{e}, e2x=9\base{e}^{\expo{2x}} = \target{9}:
Take the natural logarithm ln⁡\op{\ln} of both sides and divide by 2\op{2}Because ln⁡\op{\ln} is log⁡e\op{\log}_{\base{e}}, it cancels the base e\base{e} directly without needing a fraction of two logarithms:
e2x=9ln⁡(e2x)=ln⁡(9)2x=ln⁡(9)x=ln⁡(9)2\displaystyle \begin{aligned} \base{e}^{\expo{2x}} &= \target{9} \\ \op{\ln}(\base{e}^{\expo{2x}}) &= \op{\ln}(\target{9}) \\ \expo{2x} &= \op{\ln}(\target{9}) \\ x &= \frac{\op{\ln}(\target{9})}{2} \end{aligned}

So x=ln⁡(9)2x = \frac{\op{\ln}(\target{9})}{2} undoes the base-e\base{e} exponent in one step.

When you solve 2x=k2^x = k on the graph of y=2x\target{y} = \base{2}^{\expo{x}}, the right side k\target{k} is the height the curve has to reach. The exponent x=log⁡2(k)\expo{x} = \log_{\base{2}}(\target{k}) is an integer when k\target{k} is an integer power of 2\base{2}. For any other positive k\target{k}, the exponent lies between two consecutive integers. When k\target{k} is 00 or negative, there is no solution because 2x\base{2}^{\expo{x}} never reaches 00 or below.

Every positive height gives exactly one exponent, an integer at integer powers of 2 and a noninteger everywhere in between, with no solution at zero or below.
3

Exponents on Both Sides with Different Bases

Next, we want to solve an equation where xx is in the exponent on both sides, and neither base can be written as a whole-number power of a shared smaller number:

3x+1\displaystyle \base{3}^{\expo{x + 1}} =5x\displaystyle = \base{5}^{\expo{x}}
1\htmlClass{lc-mute}{1}
10\htmlClass{lc-mute}{10}
20\htmlClass{lc-mute}{20}
30\htmlClass{lc-mute}{30}
40\htmlClass{lc-mute}{40}
x\htmlClass{lc-green}{x}
yy
y=3x+1\htmlClass{lc-blue}{y = 3^{x+1}}
y=5x\htmlClass{lc-violet}{y = 5^{x}}
(0, 3)\htmlClass{lc-blue}{(0,\ 3)}
(0, 1)\htmlClass{lc-violet}{(0,\ 1)}
3x+1=5x\htmlClass{lc-blue}{3^{x+1}} = \htmlClass{lc-violet}{5^{x}}
x≈2.15\htmlClass{lc-green}{x \approx 2.15}
Exponents on Both Sides with Different Bases
3x+1=5xx=  ?\displaystyle \begin{aligned} \base{3}^{\expo{x + 1}} &= \base{5}^{\expo{x}} \\[8pt] x &= \;? \end{aligned}
Text solution
Take log⁡\op{\log} of both sides and bring both exponents down in parenthesesKeeping parentheses around x+1\expo{x + 1} makes sure the entire exponent multiplies log⁡(3)\op{\log}(\base{3}):
3x+1=5xlog⁡(3x+1)=log⁡(5x)(x+1)log⁡(3)=xlog⁡(5)\displaystyle \begin{aligned} \base{3}^{\expo{x + 1}} &= \base{5}^{\expo{x}} \\ \op{\log}(\base{3}^{\expo{x + 1}}) &= \op{\log}(\base{5}^{\expo{x}}) \\ (\expo{x + 1})\op{\log}(\base{3}) &= \expo{x}\op{\log}(\base{5}) \end{aligned}
Distribute log⁡(3)\op{\log}(\base{3}) and move all x\expo{x} terms to one sideMultiplying out the left side and subtracting xlog⁡(3)\expo{x}\op{\log}(\base{3}) puts both terms with x\expo{x} on the right:
xlog⁡(3)+log⁡(3)=xlog⁡(5)log⁡(3)=xlog⁡(5)−xlog⁡(3)\displaystyle \begin{aligned} \expo{x}\op{\log}(\base{3}) + \op{\log}(\base{3}) &= \expo{x}\op{\log}(\base{5}) \\ \op{\log}(\base{3}) &= \expo{x}\op{\log}(\base{5}) \\ &\quad - \expo{x}\op{\log}(\base{3}) \end{aligned}
Factor out x\expo{x} and divide by log⁡(5)−log⁡(3)\op{\log}(\base{5}) - \op{\log}(\base{3})Factoring x\expo{x} out in front combines the two x\expo{x} terms into a single x\expo{x} multiplied by the number log⁡(5)−log⁡(3)\op{\log}(\base{5}) - \op{\log}(\base{3}):
log⁡(3)=x(log⁡(5)−log⁡(3))x=log⁡(3)log⁡(5)−log⁡(3)\displaystyle \begin{aligned} \op{\log}(\base{3}) &= \expo{x}\big(\op{\log}(\base{5}) - \op{\log}(\base{3})\big) \\ x &= \frac{\op{\log}(\base{3})}{\op{\log}(\base{5}) - \op{\log}(\base{3})} \end{aligned}

So x=log⁡(3)log⁡(5)−log⁡(3)x = \frac{\op{\log}(\base{3})}{\op{\log}(\base{5}) - \op{\log}(\base{3})} is the exact exponent where 5x\base{5}^{\expo{x}} catches up to 3x+1\base{3}^{\expo{x + 1}}.

4

Finding Time in Growth and Decay Models

In exponential growth and continuous decay models, the time t\expo{t} sits in the exponent:

y\displaystyle \target{y} =a(1+r)tandA\displaystyle = \start{a}{\base{(1 + r)}}^{\expo{t}} \qquad \text{and} \qquad \target{A} =Pert\displaystyle = \start{P}\base{e}^{\expo{rt}}

We want to find how long it takes $1000\$\start{1000} growing at 6%6\% per year (r=0.06r = 0.06) to double to $2000\$\target{2000}, and how long it takes a 50-gram\start{50}\text{-gram} radioactive sample decaying via A=50e−0.04t\target{A} = \start{50}\base{e}^{\expo{-0.04t}} (t\expo{t} in hours) to reach 15 grams\target{15}\text{ grams}.

Finding Time in Growth and Decay Models
y=a(1+r)t,r=6%\htmlClass{lc-blue}{y} = \htmlClass{lc-violet}{a}{\htmlClass{lc-pink}{(1 + r)}}^{\htmlClass{lc-green}{t}}, \quad r = 6\%
$1,000\htmlClass{lc-violet}{\$1{,}000}
$2,000\htmlClass{lc-blue}{\$2{,}000}
×2\htmlClass{lc-pink}{\times 2}
t=  ?\htmlClass{lc-green}{t = \;?}
years\htmlClass{lc-mute}{\text{years}}
Text solution
Divide by the starting amount $1000\$\start{1000} to get (1.06)t{\base{(1.06)}}^{\expo{t}} by itselfDividing both sides by 1000\start{1000} turns the left side into 2\target{2}, because the money doubled:
2000=1000(1.06)t2=(1.06)t\displaystyle \begin{aligned} \target{2000} &= \start{1000}{\base{(1.06)}}^{\expo{t}} \\ \target{2} &= {\base{(1.06)}}^{\expo{t}} \end{aligned}
Take log⁡\op{\log} of both sides and divide by log⁡(1.06)\op{\log}(\base{1.06})Bringing t\expo{t} down to the front lets us solve for the time directly:
log⁡(2)=t⋅log⁡(1.06)t=log⁡(2)log⁡(1.06)≈11.9 years\displaystyle \begin{aligned} \op{\log}(\target{2}) &= \expo{t} \cdot \op{\log}(\base{1.06}) \\ t &= \frac{\op{\log}(\target{2})}{\op{\log}(\base{1.06})} \approx 11.9\text{ years} \end{aligned}

So the money doubles in about 11.9 years11.9\text{ years}, no matter how many dollars you started with.

Now for the continuous decay from 50 grams\start{50}\text{ grams} down to 15 grams\target{15}\text{ grams}:

10\htmlClass{lc-mute}{10}
20\htmlClass{lc-mute}{20}
40\htmlClass{lc-mute}{40}
10\htmlClass{lc-mute}{10}
20\htmlClass{lc-mute}{20}
30\htmlClass{lc-mute}{30}
40\htmlClass{lc-mute}{40}
t hours\htmlClass{lc-green}{t}\ \htmlClass{lc-mute}{\text{hours}}
A\htmlClass{lc-blue}{A}
A=50e−0.04t\htmlClass{lc-blue}{A} = \htmlClass{lc-violet}{50}\htmlClass{lc-pink}{e}^{\htmlClass{lc-green}{-0.04t}}
(0, 50)\htmlClass{lc-violet}{(0,\ 50)}
A=15\htmlClass{lc-blue}{A = 15}
t≈30.1\htmlClass{lc-green}{t \approx 30.1}
15=50e−0.04t0.3=e−0.04tln⁡(0.3)=−0.04tt=ln⁡(0.3)−0.04≈30.1 hours\displaystyle \begin{aligned} \target{15} &= \start{50}\base{e}^{\expo{-0.04t}} \\ \target{0.3} &= \base{e}^{\expo{-0.04t}} \\ \op{\ln}(\target{0.3}) &= \expo{-0.04t} \\ t &= \frac{\op{\ln}(\target{0.3})}{-0.04} \approx 30.1\text{ hours} \end{aligned}

So 15 grams15\text{ grams} of the sample remain after about 30.1 hours30.1\text{ hours}.

Changing the starting amount a\start{a} stretches the growth curve y=a(1.06)t\target{y} = \start{a}{\base{(1.06)}}^{\expo{t}} and the doubled target line y=2a\target{y} = \target{2\start{a}} vertically by the exact same factor, so they still cross at t≈11.9 years\expo{t} \approx 11.9\text{ years}.

At a 6% growth rate, changing the starting amount scales the growth curve and the doubled amount together, so the money always doubles in about 11.9 years.
5

Solving Basic Logarithmic Equations

Now we solve the reverse kind of equation, where xx starts trapped inside a logarithm, either with one logarithm equal to a number or with matching logarithms on both sides:

log⁡3(2x−1)=4andlog⁡5(3x+2)=log⁡5(x+10)\displaystyle \begin{aligned} \log_{\base{3}}(\target{2x - 1}) &= \expo{4} \quad \text{and} \\ \log_{\base{5}}(\target{3x + 2}) &= \log_{\base{5}}(\target{x + 10}) \end{aligned}
Solving Basic Logarithmic Equations
log⁡3(2x−1)=4x=  ?log⁡5(3x+2)=log⁡5(x+10)x=  ?\displaystyle \begin{aligned} \log_{\base{3}}(\target{2x - 1}) &= \expo{4} \\ x &= \;? \\[16pt] \log_{\base{5}}(\target{3x + 2}) &= \log_{\base{5}}(\target{x + 10}) \\ x &= \;? \end{aligned}
Text solution
Rewrite the base-3\base{3} logarithm as a power of 3\base{3} and solve for xxRaising base 3\base{3} to the 4th\expo{4}\text{th} power undoes log⁡3\log_{\base{3}} and leaves the inside expression 2x−1\target{2x - 1}:
log⁡3(2x−1)=42x−1=342x−1=812x=82x=41\displaystyle \begin{aligned} \log_{\base{3}}(\target{2x - 1}) &= \expo{4} \\ \target{2x - 1} &= \base{3}^{\expo{4}} \\ \target{2x - 1} &= \target{81} \\ 2x &= 82 \\ x &= 41 \end{aligned}
So x=41x = 41 makes the inside equal to 81\target{81}, which is 34\base{3}^{\expo{4}}.
Now for a single base-5\base{5} logarithm on each side:
Set the expressions inside the matching logarithms equalBecause each side is a single log⁡5\log_{\base{5}}, the insides must be equal:
log⁡5(3x+2)=log⁡5(x+10)3x+2=x+102x=8x=4\displaystyle \begin{aligned} \log_{\base{5}}(\target{3x + 2}) &= \log_{\base{5}}(\target{x + 10}) \\ \target{3x + 2} &= \target{x + 10} \\ 2x &= 8 \\ x &= 4 \end{aligned}

So x=4x = 4 makes both sides equal to log⁡5(14)\log_{\base{5}}(\target{14}).

6

Combining Logarithms and Extraneous Solutions

When two logarithms are added or subtracted on the same side, such as

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

we first combine them into a single logarithm using the product or quotient property:

log⁡2(A)+log⁡2(B)=log⁡2(A⋅B)andlog⁡2(A)−log⁡2(B)=log⁡2 ⁣(AB)\displaystyle \begin{aligned} \log_{\base{2}}(\target{A}) + \log_{\base{2}}(\target{B}) &= \log_{\base{2}}(\target{A \cdot B}) \quad \text{and} \\ \log_{\base{2}}(\target{A}) - \log_{\base{2}}(\target{B}) &= \log_{\base{2}}\!\left(\frac{\target{A}}{\target{B}}\right) \end{aligned}
Combining Logarithms and Extraneous Solutions
log⁡2(x)+log⁡2(x−2)=3x=  ?\displaystyle \begin{aligned} \log_{\base{2}}(\target{x}) + \log_{\base{2}}(\target{x - 2}) &= \expo{3} \\[8pt] x &= \;? \end{aligned}
Text solution
Multiply the insides to combine the sum into a single logarithmUsing the product property combines both terms into one log⁡2\log_{\base{2}}:
log⁡2(x)+log⁡2(x−2)=3log⁡2(x(x−2))=3log⁡2(x2−2x)=3\displaystyle \begin{aligned} \log_{\base{2}}(\target{x}) + \log_{\base{2}}(\target{x - 2}) &= \expo{3} \\ \log_{\base{2}}\big(\target{x(x - 2)}\big) &= \expo{3} \\ \log_{\base{2}}(\target{x^2 - 2x}) &= \expo{3} \end{aligned}
Rewrite in exponential form and factor the quadraticRaising base 2\base{2} to the power 3\expo{3} undoes the logarithm and leaves a quadratic equation to factor:
x2−2x=23x2−2x=8x2−2x−8=0(x−4)(x+2)=0x=4orx=−2⏟extraneous solution\displaystyle \begin{aligned} \target{x^2 - 2x} &= \base{2}^{\expo{3}} \\ \target{x^2 - 2x} &= \target{8} \\ x^2 - 2x - 8 &= 0 \\ (x - 4)(x + 2) &= 0 \\ x = 4 \quad &\text{or} \quad \underbrace{x = -2}_{\text{extraneous solution}} \end{aligned}
Check both numbers in the original logarithmsBecause raising a positive base to any power is always positive, the inside of a logarithm can never be 00 or negative; plugging both values back into the original equation checks whether each inside stays positive:
For x=4:log⁡2(4)+log⁡2(4−2)=log⁡2(4)+log⁡2(2)=2+1=3For x=−2:log⁡2(−2)+log⁡2(−4)(undefined)\displaystyle \begin{aligned} &\text{For } x = 4: \\ &\quad \log_{\base{2}}(\target{4}) + \log_{\base{2}}(\target{4 - 2}) \\ &\quad = \log_{\base{2}}(\target{4}) + \log_{\base{2}}(\target{2}) \\ &\quad = \expo{2} + \expo{1} = 3 \\[6pt] &\text{For } x = -2: \\ &\quad \log_{\base{2}}(\target{-2}) + \log_{\base{2}}(\target{-4}) \\ &\quad \text{(undefined)} \end{aligned}

So x=4x = 4 is the only solution, while x=−2x = -2 is an extraneous solution because multiplying (−2)(−4)=+8(\target{-2})(\target{-4}) = \target{+8} hid the two negative signs inside the combined logarithm.

For x>2x > 2, the original sum y=log⁡2(x)+log⁡2(x−2)y = \log_{\base{2}}(\target{x}) + \log_{\base{2}}(\target{x - 2}) and the combined logarithm y=log⁡2(x(x−2))y = \log_{\base{2}}(\target{x(x - 2)}) have the exact same graph and cross y=3y = \expo{3} at x=4x = 4. For x<0x < 0, the original graph does not exist, while multiplying the two negative insides creates an extra left branch on the combined graph that crosses y=3y = \expo{3} at x=−2x = -2.

Combining two logs by multiplying their insides turns two negative inputs into a positive product, creating an extra branch with a false solution.

Key concepts

Solving any exponential or logarithmic equation comes down to picking the opposite operation that gets xx out. When xx is in the exponent, check first whether both sides are powers of the same smaller number, as in 4x+1=8x\base{4}^{\expo{x + 1}} = \base{8}^{\expo{x}}   ⟹  \implies 22(x+1)=23x\base{2}^{\expo{2(x + 1)}} = \base{2}^{\expo{3x}}; when they are, set the exponents equal right away instead of using logarithms. When you cannot readily rewrite both sides with the same base, get the base and its exponent by itself first (3⋅5x−1+4=25\op{3 \cdot} \base{5}^{\expo{x - 1}} \op{+ 4} = 25   ⟹  \implies 5x−1=7\base{5}^{\expo{x - 1}} = \target{7}), then take log⁡\op{\log} of both sides to bring the exponent to the front as multiplication, or take ln⁡\op{\ln} when the base is e\base{e} (e2x=9\base{e}^{\expo{2x}} = \target{9}   ⟹  \implies 2x=ln⁡(9)\expo{2x} = \op{\ln}(\target{9})). If xx ends up on both sides after bringing the exponents down, like (x+1)log⁡(3)=xlog⁡(5)(\expo{x + 1})\op{\log}(\base{3}) = \expo{x}\op{\log}(\base{5}), distribute the logs just like regular numbers, move all x\expo{x} terms to one side, and factor out x\expo{x}.

When xx starts inside a logarithm, look at how many logs are in the equation. If a single matching log already sits on each side (log⁡5(3x+2)=log⁡5(x+10)\log_{\base{5}}(\target{3x + 2}) = \log_{\base{5}}(\target{x + 10})), do not rewrite in exponential form; just set the insides equal (3x+2=x+10\target{3x + 2} = \target{x + 10}). If several logs are added or subtracted on one side, combine them into a single log first using log⁡b(A)+log⁡b(B)=log⁡b(A⋅B)\log_{\base{b}}(\target{A}) + \log_{\base{b}}(\target{B}) = \log_{\base{b}}(\target{A \cdot B}) or log⁡b(A)−log⁡b(B)=log⁡b(AB)\log_{\base{b}}(\target{A}) - \log_{\base{b}}(\target{B}) = \log_{\base{b}}(\tfrac{\target{A}}{\target{B}}), and then rewrite the single log in exponential form using baseother side=inside\base{\text{base}}^{\expo{\text{other side}}} = \target{\text{inside}} (log⁡3(2x−1)=4\log_{\base{3}}(\target{2x - 1}) = \expo{4}   ⟹  \implies 2x−1=34\target{2x - 1} = \base{3}^{\expo{4}}). Always finish any logarithmic equation with a quick check in the original logs and cross out any value that makes an inside 00 or negative.

7

Practice

1

Solve 5x−2=1255^{x - 2} = 125.

125125 as a power of 55 = ?

Rewrite 125\target{125} as 53\base{5}^{\expo{3}} to get 5x−2=53\base{5}^{\expo{x - 2}} = \base{5}^{\expo{3}}, so x−2=3\expo{x - 2} = \expo{3} (be careful not to subtract 22 from 33 when moving −2-2 across the equals sign, which gives x=1x = 1). Add 2\op{2} to both sides.
Answer: x=5x = 5
2

Solve 9x+2=27x9^{x + 2} = 27^x.

99 and 2727 are both powers of what smaller number?

Rewrite with base 3\base{3} as (32)x+2=(33)x(\base{3}^{\expo{2}})^{\expo{x + 2}} = (\base{3}^{\expo{3}})^{\expo{x}}, then distribute the 2\expo{2} across the entire exponent x+2\expo{x + 2} to get 2x+4=3x2x + 4 = 3x (forgetting to multiply the +2+ 2 by 22 leaves 2x+2=3x2x + 2 = 3x, which gives x=2x = 2). Subtract 2x\op{2x} from both sides.
Answer: x=4x = 4
3

Solve 23x+1=182^{3x + 1} = \frac{1}{8}.

8=238 = 2^3, so how do you write 18\frac{1}{8} as a power of 22?

Rewrite 18\target{\frac{1}{8}} as 2−3\base{2}^{\expo{-3}} so that 3x+1=−3\expo{3x + 1} = \expo{-3} (leaving off the negative sign on the exponent for the fraction writes 3x+1=33x + 1 = 3, which gives x=23x = \frac{2}{3}). Subtract 1\op{1} to get 3x=−43x = -4 and divide by 3\op{3}.
Answer: x=−43x = -\frac{4}{3}
4

Solve e3x=12e^{3x} = 12.

Which logarithm cancels base ee in one step?

Take ln⁡\op{\ln} of both sides to get 3x=ln⁡(12)\expo{3x} = \op{\ln}(\target{12}), then divide the entire ln⁡(12)\op{\ln}(\target{12}) by 3\op{3} (dividing 1212 by 33 inside the logarithm to write ln⁡(4)\ln(4) gives x≈1.3863x \approx 1.3863).
Answer: x=ln⁡(12)3≈0.8283x = \frac{\ln(12)}{3} \approx 0.8283
5

Solve 2⋅7x+1−5=132 \cdot 7^{x + 1} - 5 = 13.

What two operations sit outside 7x+17^{x + 1} and need to be undone before taking a logarithm?

Add 5\op{5} to get 2⋅7x+1=18\op{2 \cdot} \base{7}^{\expo{x + 1}} = 18, then divide by 2\op{2} to get 7x+1=9\base{7}^{\expo{x + 1}} = \target{9} by itself (multiplying 2⋅72 \cdot 7 first to write 14x+1=1814^{x + 1} = 18 goes against order of operations and gives log⁡(18)log⁡(14)−1≈0.0952\frac{\log(18)}{\log(14)} - 1 \approx 0.0952). Take log⁡\op{\log} of both sides to get (x+1)log⁡(7)=log⁡(9)(\expo{x + 1})\op{\log}(\base{7}) = \op{\log}(\target{9}), divide by log⁡(7)\op{\log}(\base{7}), and subtract 1\op{1}.
Answer: x=log⁡(9)log⁡(7)−1≈0.1292x = \frac{\log(9)}{\log(7)} - 1 \approx 0.1292
6

Solve 2x+3=7x2^{x + 3} = 7^x.

After bringing both exponents down with log⁡\log, which terms contain xx to move to one side?

Take log⁡\op{\log} of both sides to get (x+3)log⁡(2)=xlog⁡(7)(\expo{x + 3})\op{\log}(\base{2}) = \expo{x}\op{\log}(\base{7}) and distribute log⁡(2)\op{\log}(\base{2}) across both terms inside the parentheses to get xlog⁡(2)+3log⁡(2)=xlog⁡(7)\expo{x}\op{\log}(\base{2}) + \expo{3}\op{\log}(\base{2}) = \expo{x}\op{\log}(\base{7}) (leaving off parentheses around x+3x + 3 writes xlog⁡(2)+3=xlog⁡(7)x\log(2) + 3 = x\log(7), which gives 3log⁡(7)−log⁡(2)≈5.5140\frac{3}{\log(7) - \log(2)} \approx 5.5140). Subtract xlog⁡(2)\expo{x}\op{\log}(\base{2}) and factor out x\expo{x} to get 3log⁡(2)=x(log⁡(7)−log⁡(2))\expo{3}\op{\log}(\base{2}) = \expo{x}(\op{\log}(\base{7}) - \op{\log}(\base{2})).
Answer: x=3log⁡(2)log⁡(7)−log⁡(2)≈1.6599x = \frac{3\log(2)}{\log(7) - \log(2)} \approx 1.6599
7

You invest $500\$500 in an account that grows by 8%8\% per year according to y=500(1.08)ty = 500(1.08)^t, where tt is in years. How long will it take for the account to triple to $1500\$1500?

Set y=1500y = 1500; what do you divide by first to get (1.08)t(1.08)^t by itself?

Divide 1500=500(1.08)t\target{1500} = \start{500}{\base{(1.08)}}^{\expo{t}} by 500\start{500} to get 3=(1.08)t\target{3} = {\base{(1.08)}}^{\expo{t}}, then take log⁡\op{\log} of both sides so log⁡(3)=tlog⁡(1.08)\op{\log}(\target{3}) = \expo{t}\op{\log}(\base{1.08}) and divide log⁡(3)\op{\log}(\target{3}) by log⁡(1.08)\op{\log}(\base{1.08}) (dividing 33 by 1.081.08 inside a single logarithm as log⁡(31.08)\log(\tfrac{3}{1.08}) gives 0.4437 years0.4437\text{ years}).
Answer: t=log⁡(3)log⁡(1.08)≈14.3 yearst = \frac{\log(3)}{\log(1.08)} \approx 14.3\text{ years}
8

An 80-gram80\text{-gram} sample of a radioactive substance decays continuously according to A=80e−0.05tA = 80e^{-0.05t}, where tt is in hours. How long will it take until 20 grams20\text{ grams} remain?

Set A=20A = 20 and get e−0.05te^{-0.05t} by itself first; what fraction of the sample is left?

Divide 20=80e−0.05t\target{20} = \start{80}\base{e}^{\expo{-0.05t}} by 80\start{80} to get 0.25=e−0.05t\target{0.25} = \base{e}^{\expo{-0.05t}} (dividing 8080 by 2020 the wrong way around gives 4=e−0.05t4 = e^{-0.05t}, which produces a negative time of −27.7 hours-27.7\text{ hours}). Take ln⁡\op{\ln} of both sides to get ln⁡(0.25)=−0.05t\op{\ln}(\target{0.25}) = \expo{-0.05t} and divide by −0.05\op{-0.05}.
Answer: t=ln⁡(0.25)−0.05≈27.7 hourst = \frac{\ln(0.25)}{-0.05} \approx 27.7\text{ hours}
9

Solve log⁡4(3x+1)=2\log_4(3x + 1) = 2.

In exponential form, what is the base and what is the exponent?

Rewrite the logarithm using baseother side=inside\base{\text{base}}^{\expo{\text{other side}}} = \target{\text{inside}} to get 3x+1=42=16\target{3x + 1} = \base{4}^{\expo{2}} = \target{16} (multiplying 4⋅2=84 \cdot 2 = 8 instead of squaring 42=164^2 = 16 gives 3x+1=83x + 1 = 8, or x=73x = \frac{7}{3}). Subtract 1\op{1} to get 3x=153x = 15 and divide by 3\op{3}.
Answer: x=5x = 5
10

Solve log⁡6(4x−3)=log⁡6(x+9)\log_6(4x - 3) = \log_6(x + 9).

With a single log⁡6\log_6 on each side, what has to be true about their insides?

Set the insides equal to get 4x−3=x+9\target{4x - 3} = \target{x + 9}, then subtract x\op{x} and add 3\op{3} to get 3x=123x = 12 (moving x\op{x} across the equals sign without changing its sign gives 4x+x=9+34x + x = 9 + 3, so 5x=125x = 12, or x=125x = \frac{12}{5}). Checking x=4x = 4 in the original logs gives log⁡6(13)\log_{\base{6}}(\target{13}) on both sides.
Answer: x=4x = 4
11

Solve log⁡2(x+6)−log⁡2(x−1)=3\log_2(x + 6) - \log_2(x - 1) = 3.

What does a minus sign between two logarithms do to their insides when you combine them?

Combine the difference into a single logarithm using the quotient property, log⁡2 ⁣(x+6x−1)=3\log_{\base{2}}\!\left(\frac{\target{x + 6}}{\target{x - 1}}\right) = \expo{3}, and rewrite in exponential form as x+6x−1=23=8\frac{\target{x + 6}}{\target{x - 1}} = \base{2}^{\expo{3}} = \target{8} (dropping the logs without combining first writes (x+6)−(x−1)=8(x + 6) - (x - 1) = 8, which simplifies to 7=87 = 8). Multiply both sides by x−1\op{x - 1} to get x+6=8x−8x + 6 = 8x - 8, so 14=7x14 = 7x, and check that x=2x = 2 keeps both original insides positive.
Answer: x=2x = 2
12

Solve log⁡3(x)+log⁡3(x−6)=3\log_3(x) + \log_3(x - 6) = 3.

Combine into one log⁡3\log_3 first; after solving the quadratic, what must be true about xx and x−6x - 6 in the original equation?

Combine using the product property into log⁡3(x(x−6))=3\log_{\base{3}}(\target{x(x - 6)}) = \expo{3} and rewrite in exponential form as x2−6x=33=27\target{x^2 - 6x} = \base{3}^{\expo{3}} = \target{27}, so x2−6x−27=0x^2 - 6x - 27 = 0 and (x−9)(x+3)=0(x - 9)(x + 3) = 0. Plugging both numbers into the original logs shows x=−3x = -3 gives log⁡3(−3)\log_{\base{3}}(\target{-3}) and log⁡3(−9)\log_{\base{3}}(\target{-9}) (forgetting to check in the original logs keeps both solutions and gives the wrong answer x=9,−3x = 9, -3). Cross out x=−3x = -3.
Answer: x=9 (x = 9\text{ (}x = -3 is extraneous)\text{ is extraneous)}