This is “Solving Exponential and Logarithmic Equations”, section 7.5 from the book Advanced Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

7.5 Solving Exponential and Logarithmic Equations

Learning Objectives

  1. Solve exponential equations.
  2. Use the change of base formula to approximate logarithms.
  3. Solve logarithmic equations.

Solving Exponential Equations

An exponential equationAn equation which includes a variable as an exponent. 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 functionsGiven b>0 and b1 we have bx=by if and only if x=y.:

bx=byifandonlyifx=y

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

Example 1

Solve: 32x1=27.

Solution:

Begin by writing 27 as a power of 3.

32x1=2732x1=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=32x=4x=2

Answer: 2

Example 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

Try this! Solve: 252x+3=125.

Answer: 34

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.

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 logarithmsGiven b>0 and b1 where x,y>0 we have logbx=logby if and only if x=y. follows:

logbx=logbyifandonlyifx=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=log12One-to-onepropertyoflogarithmsxlog3=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.

3^2.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 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))/(2*log(5))1.1045

Answer: log5+log72log51.1045

Example 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=ylogbalogbxlogba=y

Replace y into the original function and we have the very important change of base formulalogax=logbxlogba; we can write any base-a logarithm in terms of base-b logarithms using this formula.:

logax=logbxlogba

We can use this to approximate log310 as follows.

log310=log10log32.0959orlog310=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 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

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

Answer: log5log23log20.4406

Solving Logarithmic Equations

A logarithmic equationAn equation that involves a logarithm with a variable argument. 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 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

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.

Try this! Solve: ln(x215)ln(2x)=0.

Answer: 5

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=0x=1Because100=1.logx=0.5x=?logx=1x=10Because101=10.

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

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=10^0.53.1623

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

log3.16235

Example 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 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

    log2(x2)+log2(x3)=1log2(12)+log2(13)=1log2(1)+log2(2)=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 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)=1log(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

Try this! Solve: log2(x)+log2(x1)=1.

Answer: 2

Example 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.

Topic Exercises

    Part A: Solving Exponential Equations

      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

      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

      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

      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

      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. log263

    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.

    Part B: Solving Logarithmic Equations

      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

      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)

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

    1. f(x)=log(x+3)1

    2. f(x)=log(x2)+1

    3. f(x)=log2(3x)4

    4. f(x)=log3(x+4)3

    5. f(x)=ln(2x+5)6

    6. f(x)=ln(x+1)+2

      Find the inverse of the following functions.

    1. f(x)=log2(x+5)

    2. f(x)=4+log3x

    3. f(x)=log(x+2)3

    4. f(x)=ln(x4)+1

    5. f(x)=ln(9x2)+5

    6. f(x)=log6(2x+7)1

    7. g(x)=e3x

    8. g(x)=102x

    9. g(x)=2x+3

    10. g(x)=32x+5

    11. g(x)=10x+43

    12. g(x)=e2x1+1

      Solve.

    1. log(9x+5)=1+log(x5)

    2. 2+log2(x2+1)=log213

    3. e5x2e3x=0

    4. 3x211=70

    5. 23x5=0

    6. log7(x+1)+log7(x1)=1

    7. ln(4x1)1=lnx

    8. log(20x+1)=logx+2

    9. 31+e2x=2
    10. 2e3x=4

    11. 2e3x=e4x+1

    12. 2logx+logx1=0

    13. 3logx=log(x2)+2logx

    14. 2ln3+lnx2=ln(x2+1)

    15. In chemistry, pH is a measure of acidity and is given by the formula pH=log(H+), 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=10log(I/1012) 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.

    Part C: Discussion Board

  1. Research and discuss the history and use of the slide rule.

  2. Research and discuss real-world applications involving logarithms.

Answers

  1. 4

  2. 3

  3. 65

  4. 38

  5. 16

  6. ±12

  7. −2, 1

  8. 12, 3

  9. log5log31.465

  10. log3log21.585

  11. 3log5+log13log54.594
  12. log25log72log72.322
  13. Ø

  14. 3+ln522.305
  15. 1log63log60.095
  16. ln1330.855
  17. ln31.099

  18. ±log2log5±0.656

  19. ln2270.026

  20. ln20.693

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

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

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

  24. 1

  25. log3

  26. 0, ln2

  27. 2.32

  28. −0.25

  29. −3.32

  30. 1.16

  31. Approximately 31 days

  1. 10

  2. 35

  3. −2

  4. 12, 3

  5. 1

  6. 13

  7. −5

  8. ±3

  9. ±2

  10. 13

  11. 8

  12. 2

  13. ee1
  14. 9

  15. 1+5

  16. Ø

  17. x-intercept: (7,0); y-intercept: (0,log31)

  18. x-intercept: (163,0); y-intercept: None

  19. x-intercept: (e652,0); y-intercept: (0,ln56)

  20. f1(x)=2x5

  21. f1(x)=10x+32

  22. f1(x)=ex5+29
  23. g1(x)=lnx3
  24. g1(x)=log2x3

  25. g1(x)=log(x+3)4

  26. 55

  27. 1

  28. log253
  29. 14e

  30. ln(1/2)2
  31. ln21

  32. Ø

  33. 104 moles per liter

  1. Answer may vary