Solving Logarithmic Equations & Inequalities (College Board AP® Precalculus): Study Guide

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Logarithmic equations & inequalities

How do I solve a logarithmic equation?

  • A logarithmic equation is an equation that involves one or more logarithmic expressions containing the variable

    • E.g. space log subscript 3 x equals 5 space or space ln left parenthesis x plus 2 right parenthesis plus ln left parenthesis x minus 1 right parenthesis equals ln 10 space

  • The key tool for solving logarithmic equations is the inverse relationship between logarithmic and exponential functions

    • log subscript b x equals c space left right double arrow space x equals b to the power of c

      • this includes the case with base e:

        • ln x equals c space left right double arrow space x equals e to the power of c

    • This allows you to convert a logarithmic expression into an exponential one

  • Method 1: Converting directly to exponential form

    • If the equation has a single logarithmic expression equal to a constant

      • then you can convert using the definition of a logarithm

    • E.g. to solve space log subscript 5 x equals 3

      • Rewrite in exponential form: space x equals 5 cubed equals 125

    • E.g. to solve space ln left parenthesis x plus 3 right parenthesis equals 2

      • Rewrite: space x plus 3 equals e squared

      • Solve: space x equals e squared minus 3

  • Method 2: Using the one-to-one property

    • If two logarithmic expressions with the same base are equal

      • their arguments must be equal

    • I.e. if log subscript b A equals log subscript b B, then A equals B

      • provided A > 0 and B > 0

    • E.g. to solve space log subscript 10 left parenthesis x squared minus 3 right parenthesis equals log subscript 10 left parenthesis 2 x right parenthesis

      • Set the arguments equal: space x squared minus 3 equals 2 x

      • Rearrange: space x squared minus 2 x minus 3 equals 0

      • Factor: space left parenthesis x minus 3 right parenthesis left parenthesis x plus 1 right parenthesis equals 0

      • So x equals 3 or x equals negative 1

    • After solving in this way, check for extraneous solutions (i.e. invalid solutions)

      • This is discussed below

  • Method 3: Combining logarithms first, then solving

    • If the equation has multiple logarithmic terms

      • you can use the properties of logarithms to combine them into a single logarithm, then solve

    • The key properties used are:

      • Product property: space log subscript b left parenthesis x y right parenthesis equals log subscript b x plus log subscript b y

      • Quotient property: space log subscript b blank open parentheses x over y close parentheses equals log subscript b x minus log subscript b y

      • Power property: space log subscript b left parenthesis x to the power of n right parenthesis equals n log subscript b x

    • E.g. to solve space log subscript 10 left parenthesis x minus 1 right parenthesis plus log subscript 10 left parenthesis x plus 3 right parenthesis equals log subscript 10 left parenthesis x plus 9 right parenthesis

      • Use the product property on the left-hand side

        • \log_{10}((x - 1)(x + 3)) = \log_{10}(x + 9)

      • Apply the one-to-one property

        • left parenthesis x minus 1 right parenthesis left parenthesis x plus 3 right parenthesis equals x plus 9

      • Expand and simplify

        • x squared plus 2 x minus 3 equals x plus 9

        • giving space x squared plus x minus 12 equals 0

      • Factor

        • left parenthesis x plus 4 right parenthesis left parenthesis x minus 3 right parenthesis equals 0

      • So x equals negative 4 or x equals 3

    • After solving in this way, check for extraneous solutions (i.e. invalid solutions)

      • This is discussed below

Examiner Tips and Tricks

When combining logarithms using the product or quotient property, remember that you can only do this when the logarithms have the same base!

Examiner Tips and Tricks

On non-calculator questions, you are expected to find solutions as exact values.

  • E.g. giving an answer in terms of e, rather than as a decimal approximation

On calculator questions, decimal approximations are often expected.

  • Make sure to give answers correct to three decimal places

Why do logarithmic equations produce extraneous solutions?

  • Logarithmic equations frequently produce extraneous solutions

    • these are values that satisfy the algebraic equation

    • but are not valid in the original logarithmic equation

  • This happens because logarithms are only defined for positive arguments

    • I.e. space log subscript b x is only defined when x greater than 0

    • So the domain of any logarithmic expression restricts which values of x are valid as solutions

  • You must always check your solutions against the domain of the original equation

    • Substitute each solution back into every logarithmic expression in the original equation

    • If any argument becomes zero or negative, that solution is extraneous and must be rejected

  • E.g. the equation space log subscript 10 left parenthesis x minus 1 right parenthesis plus log subscript 10 left parenthesis x plus 3 right parenthesis equals log subscript 10 left parenthesis x plus 9 right parenthesis space was solved above to find x equals negative 4 or x equals 3

    • For x equals 3

      • \log_{10}(2) + \log_{10}(6) = \log_{10}(12)

      • all arguments (2, 6 and 12) are positive, so x equals 3 is valid

    • For x equals negative 4

      • log subscript 10 left parenthesis negative 5 right parenthesis plus log subscript 10 left parenthesis negative 1 right parenthesis equals log subscript 10 left parenthesis 5 right parenthesis

      • log subscript 10 left parenthesis negative 5 right parenthesis and log subscript 10 left parenthesis negative 1 right parenthesis are both undefined

      • so x = -4 is extraneous

    • The only valid solution is x = 3

  • Extraneous solutions can also arise from contextual limitations in applied problems

    • E.g. if the variable represents a physical quantity like time or concentration, additional constraints on what values those quantities might take may apply

Examiner Tips and Tricks

Always check for extraneous solutions.

  • With logarithmic equations, this is even more important than with exponential equations

  • The domain restriction (argument must be positive) very commonly eliminates one or more algebraic solutions

What about equations involving a coefficient in front of a logarithm?

  • The power property of logarithms means that a coefficient in front of a logarithm can be interpreted as an exponent inside the logarithm

    • space n log subscript b x equals log subscript b left parenthesis x to the power of n right parenthesis

  • Using this to solve a logarithmic equation can affect the number of solutions found

    • And some of those solutions might be extraneous

  • E.g. consider the equation space 2 log subscript 3 x equals 4

  • One way to solve it is to divide both sides by 2 first

    • This gives log subscript 3 x equals 2

      • so x equals 3 squared equals 9

  • Another approach is to use the power property first

    • This gives log subscript 3 left parenthesis x squared right parenthesis equals 4

      • so x squared equals 3 to the power of 4 equals 81

      • giving x equals 9 or x equals negative 9

    • Note that x equals negative 9 is a valid solution to log subscript 3 left parenthesis x squared right parenthesis equals 4

      • because left parenthesis negative 9 right parenthesis squared equals 81 greater than 0

  • However, the two approaches give different solutions because

    • log subscript 3 x is only defined for x greater than 0

    • while log subscript 3 left parenthesis x squared right parenthesis is defined for all x not equal to 0

  • To be valid a solution must satisfy the equation as given in the question

    • So in this case only x equals 9 is a valid solution

    • because the original equation contains log subscript 3 x, not log subscript 3 left parenthesis x squared right parenthesis

Examiner Tips and Tricks

When using the power property to combine or simplify logarithms, pay attention to whether the original equation uses n log subscript b x or log subscript b left parenthesis x to the power of n right parenthesis.

  • These have different domains

  • and this distinction has appeared on the exam

How do I solve logarithmic inequalities?

  • Logarithmic inequalities are solved using similar techniques to logarithmic equations

  • A key principle here is that a logarithmic function is either always increasing or always decreasing

    • This depends on the value of the base b

      • If bold italic b bold greater than bold 1, the logarithmic function log subscript b x is increasing

      • If bold 0 bold less than bold italic b bold less than bold 1, the logarithmic function log subscript b x is decreasing

  • This means that if x equals p is the solution to log subscript b x equals k

    • then for everywhere on one side of space p

      • log subscript b x greater than k is true

    • and for everywhere on the other side of space p

      • log subscript b x less than k is true

    • log subscript b x being increasing or decreasing will tell you which side is which

  • E.g. to solve ln left parenthesis x minus 1 right parenthesis greater than 3

    • Start by solving as an equation space ln left parenthesis x minus 1 right parenthesis equals 3

      • rewrite in exponential form: space x minus 1 equals e cubed

    • e greater than 1 so ln open parentheses x minus 1 close parentheses equals log subscript e open parentheses x minus 1 close parentheses is an increasing function

      • That means space ln open parentheses x minus 1 close parentheses greater than 3 space for space x minus 1 greater than e cubed

    • Add 1 to both sides for the final solution

      • x greater than 1 plus e cubed

  • You must also ensure that all arguments remain positive throughout the solution

    • The domain restriction (that the argument inside a logarithm must be greater than 0) acts as an additional constraint that must be combined with the inequality solution

    • In the above example

      • x greater than 1 plus e cubed space space rightwards double arrow space space x minus 1 greater than e cubed greater than 0

      • so the solution is valid

Examiner Tips and Tricks

On free response questions, always show your work step by step.

  • The scoring guidelines generally require supporting work to earn full credit

Worked Example

The function g is given by

g left parenthesis x right parenthesis equals 3 log subscript 4 x

Solve g left parenthesis x right parenthesis equals 6 for values of x in the domain of g. Show the work that leads to your answer.

Answer:

Set g left parenthesis x right parenthesis equals 6

3\log_{4} x = 6

Divide both sides by 3

\log_{4} x = 2

Convert to exponential form

x = 4^{2} = 16

Since x equals 16 greater than 0, this is in the domain of g

x = 16

Worked Example

Consider the functions space f and g given by space f left parenthesis x right parenthesis equals ln left parenthesis x plus 2 right parenthesis plus ln left parenthesis x minus 1 right parenthesis and g left parenthesis x right parenthesis equals ln left parenthesis 5 x minus 2 right parenthesis. In the xy-plane, what are all x-coordinates of the points of intersection of the graphs of space f and g?

(A) space x equals 4 only

(B) space x equals 0 and x = 4

(C) space x equals negative 4 and x = 0

(D) space x equals 0 only

Answer:

The x-coordinates of any intersection points will the solutions to the equation space f left parenthesis x right parenthesis equals g left parenthesis x right parenthesis

ln left parenthesis x plus 2 right parenthesis plus ln left parenthesis x minus 1 right parenthesis equals ln left parenthesis 5 x minus 2 right parenthesis

Use the product property on the left side

ln left parenthesis left parenthesis x plus 2 right parenthesis left parenthesis x minus 1 right parenthesis right parenthesis equals ln left parenthesis 5 x minus 2 right parenthesis

Apply the one-to-one property (if \ln A = \ln B then A = B)

left parenthesis x plus 2 right parenthesis left parenthesis x minus 1 right parenthesis equals 5 x minus 2

Expand the left side

x squared plus x minus 2 equals 5 x minus 2

Simplify

table row cell x squared plus x minus 5 x minus 2 plus 2 end cell equals 0 row cell x squared minus 4 x end cell equals 0 end table

Factor and solve

x(x - 4) = 0

x = 0 or x = 4

Now check for extraneous solutions by verifying the domain of the original equation

  • Every logarithmic argument must be positive.

For x equals 4:
x plus 2 equals 6 greater than 0
x minus 1 equals 3 greater than 0
5 x minus 2 equals 18 greater than 0
All positive, so valid

For x equals 0:
x plus 2 equals 2 greater than 0
x minus 1 equals negative 1 less than 0
5 x minus 2 equals negative 2 less than 0
Two are negative, so not valid

For x = 0, ln open parentheses x minus 1 close parentheses and ln open parentheses 5 x minus 2 close parentheses are not defined

Therefore the only valid solution to the equation is x = 4

(A) space x equals 4 only

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Maths Content Creator

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.