Loading [MathJax]/jax/element/mml/optable/Latin1Supplement.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

7.5: Solving Exponential and Logarithmic Equations

  • Anonymous
  • LibreTexts

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives

  • Solve exponential equations.
  • Use the change of base formula to approximate logarithms.
  • Solve logarithmic equations.

Solving Exponential Equations

An exponential equation15 is an equation that includes a variable as one of its exponents. In this section we describe two methods for solving exponential equations. First, recall that exponential functions defined by f(x)=bx where b>0 and b1, are one-to-one; each value in the range corresponds to exactly one element in the domain. Therefore, f(x)=f(y) implies x=y. The converse is true because f is a function. This leads to the very important one-to-one property of exponential functions16:

bx=by if and only if x=y

Use this property to solve special exponential equations where each side can be written in terms of the same base.

Example 7.5.1:

Solve 32x1=27.

Solution

Begin by writing 27 as a power of 3.

32x1=27
32x1=33

Next apply the one-to-one property of exponential functions. In other words, set the exponents equal to each other and then simplify.

2x1=3
2x=4
x=2

Answer:

2

Example 7.5.2:

Solve: 1613x=2.

Solution

Begin by writing 16 as a power of 2 and then apply the power rule for exponents.

1613x=2(24)13x=224(13x)=21

Now that the bases are the same we can set the exponents equal to each other and simplify.

4(13x)=1412x=112x=3x=312=14

Answer:

14

Exercise 7.5.1

Solve: 252x+3=125.

Answer

34

www.youtube.com/v/yU_tJg6Unnc

In many cases we will not be able to equate the bases. For this reason we develop a second method for solving exponential equations. Consider the following equations:

32=93?=1233=27

We can see that the solution to 3x=12 should be somewhere between 2 and 3. A graphical interpretation follows.

e840befd49bc2563c82fbeffe65c4a6d.png
Figure 7.5.1

To solve this we make use of fact that logarithms are one-to-one functions. Given x,y>0 the one-to-one property of logarithms17 follows:

logbx=logby if and only if x=y

This property, as well as the properties of the logarithm, allows us to solve exponential equations. For example, to solve 3x=12 apply the common logarithm to both sides and then use the properties of the logarithm to isolate the variable.

3x=12log3x=log12Onetoonepropertyoflogarithmsxlog3=log12Powerruleforlogarithmsx=log12log3

Approximating to four decimal places on a calculator.

x=log(12)/log(3)2.2619

An answer between 2 and 3 is what we expected. Certainly we can check by raising 3 to this power to verify that we obtain a good approximation of 12.

32.261812

Note that we are not multiplying both sides by “log”; we are applying the one-to-one property of logarithmic functions — which is often expressed as “taking the log of both sides.” The general steps for solving exponential equations are outlined in the following example.

Example 7.5.3:

Solve: 52x1+2=9.

Solution

Step 1: Isolate the exponential expression.

52x1+2=952x1=7

Step 2: Take the logarithm of both sides. In this case, we will take the common logarithm of both sides so that we can approximate our result on a calculator.

log52x1=log7

Step 3: Apply the power rule for logarithms and then solve.

log52x1=log7(2x1)log5=log7Distribute.2xlog5log5=log72xlog5=log5+log7x=log5+log72log5

This is an irrational number which can be approximated using a calculator. Take care to group the numerator and the product in the denominator when entering this into your calculator. To do this, make use of the parenthesis buttons ( and ) :

x=(log5+log(7))/(2log(5))1.1045

Answer:

log5+log72log51.1045

Example 7.5.4:

Solve: e5x+3=1.

Solution

The exponential function is already isolated and the base is e. Therefore, we choose to apply the natural logarithm to both sides.

e5x+3=1lne5x+3=ln1

Apply the power rule for logarithms and then simplify.

lne5x+3=ln1(5x+3)lne=ln1Recalllne=1andln1=0.(5x+3)1=05x+3=0x=35

Answer:

35

On most calculators there are only two logarithm buttons, the common logarithm LOG and the natural logarithm LN. If we want to approximate log310 we have to somehow change this base to 10 or e. The idea begins by rewriting the logarithmic function y=logax, in exponential form.

logax=yx=ay

Here x>0 and so we can apply the one-to-one property of logarithms. Apply the logarithm base b to both sides of the function in exponential form.

x=aylogbx=logbay

And then solve for y.

logbx=ylogba
logbxlogba=y

Replace y into the original function and we have the very important change of base formula18:

logax=logbxlogba

We can use this to approximate log310 as follows.

log310=log10log32.0959 or log310=ln10ln32.0959

Notice that the result is independent of the choice of base. In words, we can approximate the logarithm of any given base on a calculator by dividing the logarithm of the argument by the logarithm of that given base.

Example 7.5.5:

Approximate log7120 the nearest hundredth.

Solution

Apply the change of base formula and use a calculator.

log7120=log120log7

On a calculator,

log(120)/log(7)2.46

Answer:

2.46

Exercise 7.5.2

Solve: 23x+14=1. Give the exact and approximate answer rounded to four decimal places.

Answer

log5log23log20.4406

www.youtube.com/v/kQf1-cEQUg8

Solving Logarithmic Equations

A logarithmic equation19 is an equation that involves a logarithm with a variable argument. Some logarithmic equations can be solved using the one-to-one property of logarithms. This is true when a single logarithm with the same base can be obtained on both sides of the equal sign.

Example 7.5.6:

Solve: log2(2x5)log2(x2)=0.

Solution

We can obtain two equal logarithms base 2 by adding log2(x2) to both sides of the equation.

log2(2x5)log2(x2)=0log2(2x5)=log2(x2)

Here the bases are the same and so we can apply the one-to-one property and set the arguments equal to each other.

log2(2x5)=log2(x2)2x5=x2x=3

Checking x=3 in the original equation:

log2(2(3)5)=log2((3)2)log21=log210=0

Answer:

3

When solving logarithmic equations the check is very important because extraneous solutions can be obtained. The properties of the logarithm only apply for values in the domain of the given logarithm. And when working with variable arguments, such as log(x2), the value of x is not known until the end of this process. The logarithmic expression log(x2) is only defined for values x>2.

Example 7.5.7:

Solve: log(3x4)=log(x2).

Solution

Apply the one-to-one property of logarithms (set the arguments equal to each other) and then solve for x.

log(3x4)=log(x2)3x4=x22x=2x=1

When performing the check we encounter a logarithm of a negative number:

log(x2)=log(12)=log(1)Undefined

Try this on a calculator, what does it say? Here x=1 is not in the domain of log(x2). Therefore our only possible solution is extraneous and we conclude that there are no solutions to this equation.

Answer

No solution, .

Caution: Solving logarithmic equations sometimes leads to extraneous solutions — we must check our answers.

Exercise 7.5.3

Solve: ln(x215)ln(2x)=0.

Answer

5

www.youtube.com/v/-kBkk-q2pNs

In many cases we will not be able to obtain two equal logarithms. To solve such equations we make use of the definition of the logarithm. If b>0, where b1, then logbx=y implies that by=x. Consider the following common logarithmic equations (base 10),

logx=0⟹=1Because1010=1.logx=0.5⟹=?logx=1⟹=10Because101=10.

We can see that the solution to logx=0.5 will be somewhere between 1 and 10. A graphical interpretation follows.

9d92e28c6a92ce9f4f32bcb4e6e228d4.png
Figure 7.5.2

To find x we can apply the definition as follows.

log10x=0.5100.5=x

This can be approximated using a calculator,

x=100.5=100.53.1623

An answer between 1 and 10 is what we expected. Check this on a calculator.

log3.16235

Example 7.5.8:

Solve: log3(2x5)=2.

Solution

Apply the definition of the logarithm.

log3(2x5)=22x5=32

Solve the resulting equation.

2x5=92x=14x=7

Check.

log3(2(7)5)?=2log3(9)=2

Answer:

7

In order to apply the definition, we will need to rewrite logarithmic expressions as a single logarithm with coefficient 1. The general steps for solving logarithmic equations are outlined in the following example.

Example 7.5.9:

Solve: log2(x2)+log2(x3)=1.

Solution

Step 1: Write all logarithmic expressions as a single logarithm with coefficient 1. In this case, apply the product rule for logarithms.

log2(x2)+log2(x3)=1log2[(x2)(x3)]=1

Step 2: Use the definition and rewrite the logarithm in exponential form,

log2[(x2)(x3)]=1(x2)(x3)=21

Step 3: Solve the resulting equation. Here we can solve by factoring.

(x2)(x3)=2x25x+6=2x25x+4=0(x4)(x1)=0x4=0orx1=0x=4x=1

Step 4: Check. This step is required.

Check x=4 Check x=1
log2(x2)+log2(x3)=1log2(42)+log2(43)=1log2(2)+log2(1)=11+0=1 \(\begin{aligned}\log _{2}(x-2)+\log _{2}(x-3)&=1 \\ \log _{2}(\color{Cerulean}{1}\color{black}{-}2)+\log _{2}(\color{Cerulean}{1}\color{black}{-}3)&=1 \\ \log _{2}(-1)+\log _{2}(-2)&=1\\N/A&\neq1\:\:\color{red}{}\end{aligned}\)
Table 7.5.1

In this example, x=1 is not in the domain of the given logarithmic expression and is extraneous. The only solution is x=4.

Answer:

4

Example 7.5.10:

Solve: log(x+15)1=log(x+6)

Solution

Begin by writing all logarithmic expressions on one side and constants on the other.

log(x+15)1=log(x+6)log(x+15)log(x+6)=1

Apply the quotient rule for logarithms as a means to obtain a single logarithm with coefficient 1.

log(x+15)log(x+6)=1
log(x+15x+6)=1

This is a common logarithm; therefore use 10 as the base when applying the definition.

x+15x+6=101x+15=10(x+6)x+15=10x+609x=45x=5

Check.

log(x+15)1=log(x+6)log(5+15)1=log(5+6)log101=log111=00=0

Answer:

5

Exercise 7.5.4

Solve: log2(x)+log2(x1)=1.

Answer

2

www.youtube.com/v/Lzwh1jkj-EY

Example 7.5.11:

Find the inverse: f(x)=log2(3x4).

Solution

Begin by replacing the function notation f(x) with y.

f(x)=log2(3x4)y=log2(3x4)

Interchange x and y and then solve for y.

x=log2(3y4)3y4=2x3y=2x+4y=2x+43

The resulting function is the inverse of f. Present the answer using function notation.

Answer:

f1(x)=2x+43

Key Takeaways

  • If each side of an exponential equation can be expressed using the same base, then equate the exponents and solve.
  • To solve a general exponential equation, first isolate the exponential expression and then apply the appropriate logarithm to both sides. This allows us to use the properties of logarithms to solve for the variable.
  • The change of base formula allows us to use a calculator to calculate logarithms. The logarithm of a number is equal to the common logarithm of the number divided by the common logarithm of the given base.
  • If a single logarithm with the same base can be isolated on each side of an equation, then equate the arguments and solve.
  • To solve a general logarithmic equation, first isolate the logarithm with coefficient 1 and then apply the definition. Solve the resulting equation.
  • The steps for solving logarithmic equations sometimes produce extraneous solutions. Therefore, the check is required.

Exercise 7.5.5

Solve using the one-to-one property of exponential functions.

  1. 3x=81
  2. 2x=16
  3. 5x1=25
  4. 3x+4=27
  5. 25x2=16
  6. 23x+7=8
  7. 812x+1=3
  8. 643x2=2
  9. 923x27=0
  10. 815x32=0
  11. 16x22=0
  12. 4x2164=0
  13. 9x(x+1)=81
  14. 4x(2x+5)=64
  15. 100x2107x3=0
  16. e3(3x21)e=0
Answer

1. 4

3. 3

5. 65

7. 38

9. 16

11. ±12

13. 2,1

15. 12,3

Exercise 7.5.6

Solve. Give the exact answer and the approximate answer rounded to the nearest thousandth.

  1. 3x=5
  2. 7x=2
  3. 4x=9
  4. 2x=10
  5. 5x3=13
  6. 3x+5=17
  7. 72x+5=2
  8. 35x9=11
  9. 54x+3+6=4
  10. 107x12=1
  11. e2x35=0
  12. e5x+110=0
  13. 63x+13=7
  14. 8109x+2=9
  15. 15e3x=2
  16. 7+e4x+1=10
  17. 79ex=4
  18. 36ex=0
  19. 5x2=2
  20. 32x2x=1
  21. 100e27x=50
  22. 6e12x=2
  23. 31+ex=1
  24. 21+3ex=1
Answer

1. log5log31.465

3. log3log21.585

5. 3log5+log13log54.594

7. log25log72log72.322

9.

11. 3+ln522.305

13. 1log63log60.095

15. ln1330.855

17. ln31.099

19. ±log2log5±0.656

21. ln2270.026

23. ln20.693

Exercise 7.5.7

Find the x- and y-intercepts of the given function.

  1. f(x)=3x+14
  2. f(x)=23x11
  3. f(x)=10x+1+2
  4. f(x)=104x5
  5. f(x)=ex2+1
  6. f(x)=ex+44
Answer

1. x-intercept: (2log2log3log3,0); y-intercept: (0,1)

3. x-intercept: None; y-intercept: (0,12)

5. x-intercept: None; y-intercept: (0,1+e2e2)

Exercise 7.5.8

Use a u-substitution to solve the following.

  1. 32x3x6=0 Hint: Let u=3x
  2. 22x+2x20=0
  3. 102x+10x12=0
  4. 102x10x30=0
  5. e2x3ex+2=0
  6. e2x8ex+15=0
Answer

1. 1

3. log3

5. 0,ln2

Exercise 7.5.9

Use the change of base formula to approximate the following to the nearest hundredth.

  1. log25
  2. log37
  3. log5(23)
  4. log7(15)
  5. log1/210
  6. log2/330
  7. log25
  8. log236
  9. If left unchecked, a new strain of flu virus can spread from a single person to others very quickly. The number of people affected can be modeled using the formula P(t)=e0.22t, where t represents the number of days the virus is allowed to spread unchecked. Estimate the number of days it will take 1,000 people to become infected.
  10. The population of a certain small town is growing according to the function P(t)=12,500(1.02)t, where t represents time in years since the last census. Use the function to determine number of years it will take the population to grow to 25,000 people.
Answer

1. 2.32

3. 0.25

5. 3.32

7. 1.16

9. Approximately 31 days

Exercise 7.5.10

Solve using the one-to-one property of logarithms.

  1. log5(2x+4)=log5(3x6)
  2. log4(7x)=log4(5x+14)
  3. log2(x2)log2(6x5)=0
  4. ln(2x1)=ln(3x)
  5. log(x+5)log(2x+7)=0
  6. ln(x2+4x)=2ln(x+1)
  7. log32+2log3x=log3(7x3)
  8. 2logxlog36=0
  9. ln(x+3)+ln(x+1)=ln8
  10. log5(x2)+log5(x5)=log510
Answer

1. 10

3. 35

5. 2

7. 12,3

9. 1

Exercise 7.5.11

Solve.

  1. log2(3x7)=5
  2. log3(2x+1)=2
  3. log(2x+20)=1
  4. log4(3x+5)=12
  5. log3x2=2
  6. log(x2+3x+10)=1
  7. ln(x21)=0
  8. log5(x2+20)2=0
  9. log2(x5)+log2(x9)=5
  10. log2(x+5)+log2(x+1)=5
  11. log4x+log4(x6)=2
  12. log6x+log6(2x1)=2
  13. log3(2x+5)log3(x1)=2
  14. log2(x+1)log2(x2)=4
  15. lnxln(x1)=1
  16. ln(2x+1)lnx=2
  17. 2log3x=2+log3(2x9)
  18. 2log2x=3+log2(x2)
  19. log2(x2)=2log2x
  20. log2(x+3)+log2(x+1)1=0
  21. logxlog(x+1)=1
  22. log2(x+2)+log2(1x)=1+log2(x+1)
Answer

1. 13

3. 5

5. ±3

7. ±2

9. 13

11. 8

13. 2

15. ee1

17. 9

19. 1±5

21. Ø

Exercise \PageIndex{12}

Find the x- and y-intercepts of the given function.

  1. f(x)=\log (x+3)-1
  2. f(x)=\log (x-2)+1
  3. f(x)=\log _{2}(3 x)-4
  4. f(x)=\log _{3}(x+4)-3
  5. f(x)=\ln (2 x+5)-6
  6. f(x)=\ln (x+1)+2
Answer

1. x-intercept: (7, 0); y-intercept: (0, \log 3-1)

3. x-intercept: (\frac{16}{3}, 0); y-intercept: None

5. x-intercept: \left(\frac{e^{6}-5}{2}, 0\right); y-intercept: (0, \ln 5-6)

Exercise \PageIndex{13}

Find the inverse of the following functions.

  1. f(x)=\log _{2}(x+5)
  2. f(x)=4+\log _{3} x
  3. f(x)=\log (x+2)-3
  4. f(x)=\ln (x-4)+1
  5. f(x)=\ln (9 x-2)+5
  6. f(x)=\log _{6}(2 x+7)-1
  7. g(x)=e^{3 x}
  8. g(x)=10^{-2 x}
  9. g(x)=2^{x+3}
  10. g(x)=3^{2 x}+5
  11. g(x)=10^{x+4}-3
  12. g(x)=e^{2 x-1}+1
Answer

1. f^{-1}(x)=2^{x}-5

3. f^{-1}(x)=10^{x+3}-2

5. f^{-1}(x)=\frac{e^{x-5}+2}{9}

7. g^{-1}(x)=\frac{\ln x}{3}

9. g^{-1}(x)=\log _{2} x-3

11. g^{-1}(x)=\log (x+3)-4

Exercise \PageIndex{14}

Solve.

  1. \log (9 x+5)=1+\log (x-5)
  2. 2+\log _{2}\left(x^{2}+1\right)=\log _{2} 13
  3. e^{5 x-2}-e^{3 x}=0
  4. 3^{x^{2}}-11=70
  5. 2^{3 x}-5=0
  6. \log _{7}(x+1)+\log _{7}(x-1)=1
  7. \ln (4 x-1)-1=\ln x
  8. \log (20 x+1)=\log x+2
  9. \frac{3}{1+e^{2 x}}=2
  10. 2 e^{-3 x}=4
  11. 2 e^{3 x}=e^{4 x+1}
  12. 2 \log x+\log x-1=0
  13. 3 \log x=\log (x-2)+2 \log x
  14. 2 \ln 3+\ln x^{2}=\ln \left(x^{2}+1\right)
  15. In chemistry, pH is a measure of acidity and is given by the formula \mathrm{pH}=-\log \left(H^{+}\right), where H^{+} is the hydrogen ion concentration (measured in moles of hydrogen per liter of solution.) Determine the hydrogen ion concentration if the pH of a solution is 4.
  16. The volume of sound, L in decibels (dB), is given by the formula L=10 \log \left(I / 10^{-12}\right) where I represents the intensity of the sound in watts per square meter. Determine the intensity of an alarm that emits 120 dB of sound.
Answer

1. 55

3. 1

5. \frac{\log _{2} 5}{3}

7. \frac{1}{4-e}

9. \frac{\ln (1 / 2)}{2}

11. \ln 2-1

13. \emptyset

15. 10^{-4} moles per liter

Exercise \PageIndex{15}

  1. Research and discuss the history and use of the slide rule.
  2. Research and discuss real-world applications involving logarithms.
Answer

1. Answer may vary

Footnotes

15An equation which includes a variable as an exponent.

16Given b > 0 and b ≠ 1 we have b^{x} = b^{y} if and only if x = y.

17Given b > 0 and b ≠ 1 where x, y > 0 we have log_{b}x = log_{b}y if and only if x = y.

18\log _{a} x=\frac{\log _{b} x}{\log _{b} a}; we can write any base-a logarithm in terms of base-b logarithms using this formula.

19An equation that involves a logarithm with a variable argument.


This page titled 7.5: Solving Exponential and Logarithmic Equations is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Anonymous via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?