Skip to main content
Mathovia

Algebra / Exponential & Logarithmic Functions

Solving Logarithmic Equations

To solve a logarithmic equation you get rid of the logarithm, and there are only two ways to do it: convert to exponential form, or match two logs of the same base and drop them. The one step that is easy to forget comes at the end — checking that every answer keeps each logarithm's argument positive.

Practice Problems
Written by
MPhil in Mathematics, Founder of Mathovia
Published

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

Logarithmic equations are the mirror image of exponential equations: there the unknown was trapped in an exponent and a logarithm set it free; here the unknown is trapped inside a logarithm and an exponential sets it free. They show up whenever a formula already contains a log — pH, decibels, the Richter scale, the time formulas from growth and decay — and you need to work backwards to the quantity inside.

log base b of M equals c means M equals b to the c; log base b of M equals log base b of N means M equals N
The two ways to remove a logarithm

The Two Tools

Every logarithmic equation is solved with one of these, often after some tidying up:

Form of the equationToolResult
convert to exponential form
one-to-one property

The tidying up is the logarithm rules: when there are several logs on one side, condense them into a single log first, so the equation matches one of the two forms above.

The Steps for Solving Log Equations

  1. Condense each side to a single logarithm (or a single log and a number) using the product, quotient and power rules.
  2. Remove the logarithm: convert to exponential form, or set the arguments equal.
  3. Solve the resulting equation — often linear, sometimes quadratic.
  4. Check every answer in the original equation. Any value that makes an argument zero or negative is extraneous and must be rejected.

Step 4 is not optional. Condensing can quietly enlarge the domain — needs , but is also defined for — so the algebra can produce answers the original equation never allowed.

Four steps for solving a logarithmic equation: condense, remove the log, solve, check the arguments
Condense, remove the log, solve — then always check

Type 1: A Logarithm Equal to a Number

Convert straight to exponential form. This is how to get rid of a logarithm when the other side is a constant:

Check: . The same move solves natural log equations, with as the base: gives , so .

Type 2: A Logarithm Equal to a Logarithm

If both sides are single logs with the same base, drop the logs and set the arguments equal:

Check: and , both positive.

Type 3: Several Logarithms — Condense First

When one side has two or more logs, combine them with the product or quotient rule before removing the log.

Then , so . Check: .

Example 1: Logarithmic Equations Examples

EquationAfter removing the logCandidatesTrue solution

In the last three rows the negative candidate is extraneous: it would put a negative number inside or .

Solving Exponential and Logarithmic Equations: Which Tool?

The unknown is…ExampleUndo it with
in an exponenta logarithm:
inside a logarithman exponential:
in an exponent with base :
inside base :

Each function is removed by applying its inverse — which is the whole reason logarithms and exponentials come as a pair.

Worked Example

Find the true solution of .

Step 1 — condense with the product rule:

Step 2 — convert to exponential form:

Step 3 — rearrange into a quadratic:

Step 4 — factor and solve:

Step 5 — check each candidate in the original equation. For , both arguments are positive:

For , the first term is , which is undefined. Reject it.

So the true solution is , and is extraneous.

The original left side, defined only for x greater than 5, meets y = 2 at x = 9; the condensed form has an extra branch for x less than 0 that meets y = 2 at the extraneous x = -4
Condensing added a branch for x < 0 — the source of the extraneous −4

Common Mistakes to Avoid

  • Skipping the check. Extraneous solutions are routine in logarithmic equations. Substitute every candidate into the original equation, not the condensed one.
  • Dropping logs that are not alone. does not give . Condense first: , so .
  • Converting with the wrong base. means , and means — not or .
  • Rejecting a negative answer automatically. A negative is only extraneous if it makes an argument non-positive. In , is valid, since .

Practice Problems

Work each one before opening the answer.

Problem 1. Solve .

Show answer

Step 1 — convert to exponential form:

Step 2 — solve and check:

Answer:

Problem 2. Solve to four decimal places.

Show answer

Step 1 — the base of is :

Step 2 — divide by :

Answer:

Problem 3. Solve .

Show answer

Step 1 — same base on both sides, so set the arguments equal:

Step 2 — check both arguments: and , both positive.

Answer:

Problem 4. Solve .

Show answer

Step 1 — condense and convert (base ):

Step 2 — solve the quadratic:

Step 3 — check: gives arguments and , both positive. gives , undefined.

Answer: ( is extraneous)

Problem 5. Solve .

Show answer

Step 1 — condense the left side with the quotient rule:

Step 2 — set the arguments equal and solve:

Step 3 — check: and .

Answer:

Problem 6. Solve .

Show answer

Step 1 — condense and convert:

Step 2 — solve the quadratic:

Step 3 — check: keeps both arguments positive; makes undefined.

Answer:

That completes the toolkit for this chapter: you can now evaluate, graph, rewrite and solve both exponential and logarithmic functions. For a review of where it all started, return to the exponential functions lesson or browse the full list of algebra lessons.

Frequently Asked Questions

How do you get rid of a logarithm in an equation?+

If the equation is , rewrite it in exponential form: . If it is , the one-to-one property lets you drop both logs: . For , the base is , so becomes .

What is an extraneous solution of a logarithmic equation?+

It is a value that satisfies the simplified equation but not the original, because it makes the argument of some logarithm zero or negative. It usually appears after condensing: leads to or , but is undefined, so only is a true solution.

How do you solve natural log equations?+

Exactly like any other logarithmic equation, with base . Isolate or condense the terms, then either exponentiate with or use . For , and .

Related lessons