Logarithmic Equations

Learn to solve logarithmic equations by converting to exponential form, the key skill for finding unknown values hidden inside logarithms.

logax=b    x=ab\log_a x = b \implies x = a^b

Solve a problem with Logarithmic Equations

Type the problem. The solver will use Logarithmic Equations where Logarithmic Equations is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Logarithmic Equations takes
aa
bb
xx
Logarithmic Equations
SymbolMeaning
aaThe base of the logarithm; it must be positive and not equal to 1, or the logarithm is undefined.
bbThe result of the logarithm (the exponent); it can be any real number, positive, negative, or zero.
xxThe argument of the logarithm (the value we're taking the log of); it must always be positive, or the logarithm does not exist.

When to use it

When you need to solve for the value inside a logarithm or find what exponent gives a particular result.

Level

Usually taught in: Algebra II

Worked examples

1. Solve a simple logarithmic equation

Problem

Solve log3x=2\log_3 x = 2 for xx.
  1. log3x=2\log_3 x = 2

    We start with the logarithmic equation in the form logax=b\log_a x = b.

  2. x=32x = 3^2

    Convert to exponential form by using the definition: the base a=3a = 3 becomes the base of the power, and the result b=2b = 2 becomes the exponent.

  3. x=9x = 9

    Compute 32=3×3=93^2 = 3 \times 3 = 9.

Answer: x=9x = 9

We converted the logarithmic equation directly to exponential form using the definition. This is the standard method for all logarithmic equations: logax=b\log_a x = b always means ab=xa^b = x. Once converted, it becomes a simple computation.

2. Solve a logarithmic equation with an expression inside

Problem

Solve log2(3x1)=4\log_2 (3x - 1) = 4 for xx.
  1. log2(3x1)=4\log_2 (3x - 1) = 4

    We have a logarithmic equation where the argument is the expression 3x13x - 1.

  2. 3x1=243x - 1 = 2^4

    Convert to exponential form: the base is 2, the exponent is 4, and the entire argument 3x13x - 1 equals the result.

  3. 3x1=163x - 1 = 16

    Compute 24=2×2×2×2=162^4 = 2 \times 2 \times 2 \times 2 = 16.

  4. 3x=173x = 17

    Add 1 to both sides to isolate the term containing xx.

  5. x=173x = \frac{17}{3}

    Divide both sides by 3 to solve for xx.

Answer: x=173x = \frac{17}{3}

After converting to exponential form, this becomes a regular linear equation that we solve using basic algebra. The key was not trying to simplify the logarithm directly, but converting immediately to expose the structure of the equation.

3. Word problem: data tier on a wireless phone plan

Problem

A wireless phone plan includes a base monthly fee of $30\$30 and data usage tier determined by a promotional calculation. The company states that the gigabytes included satisfies log2(GB+1)=5\log_2 (GB + 1) = 5. How many gigabytes are included in this plan?
  1. log2(GB+1)=5\log_2 (GB + 1) = 5

    The logarithmic equation is given, where the base is 2 and the exponent (the result) is 5.

  2. GB+1=25GB + 1 = 2^5

    Convert to exponential form: the base 2 raised to the 5th power equals the argument GB+1GB + 1.

  3. GB+1=32GB + 1 = 32

    Compute 25=2×2×2×2×2=322^5 = 2 \times 2 \times 2 \times 2 \times 2 = 32.

  4. GB=31GB = 31

    Subtract 1 from both sides to isolate GBGB.

Answer: The plan includes 31 gigabytes\text{The plan includes } 31 \text{ gigabytes}

This real-world scenario uses a logarithmic formula to define the data tier. By converting to exponential form and applying algebra, we found that the plan provides 31 gigabytes. The $30 base fee was given for context but does not affect this logarithmic calculation.

Common mistakes

Where Logarithmic Equations usually goes wrong
Answer came out wrong
Writing log28=x\log_2 8 = x as 8x=28^x = 2 instead of 2x=82^x = 8.
Always remember: the base of the logarithm becomes the base of the exponential power. So logax=b\log_a x = b converts to ab=xa^b = x, never the other way around.
Solving log3(2x)=2\log_3 (2x) = 2 as 2x=22x = 2, giving x=1x = 1.
After converting, you have 2x=92x = 9, so x=4.5x = 4.5. The coefficient inside the logarithm is part of the argument; you must include it when you convert.
Finding x=8x = -8 from log2x=3\log_2 x = -3 and reporting this as the final answer without checking.
After solving, verify that your answer satisfies the domain restriction: x>0x > 0. For this equation, the correct answer is x=23=18x = 2^{-3} = \frac{1}{8}, which is positive.
The mistakeWhy it is wrongThe fix
Writing log28=x\log_2 8 = x as 8x=28^x = 2 instead of 2x=82^x = 8.Students sometimes swap the base and the argument when converting to exponential form, getting the relationship backwards.Always remember: the base of the logarithm becomes the base of the exponential power. So logax=b\log_a x = b converts to ab=xa^b = x, never the other way around.
Solving log3(2x)=2\log_3 (2x) = 2 as 2x=22x = 2, giving x=1x = 1.Students forget that when converting to exponential form, the entire argument becomes the result: we get 32=2x3^2 = 2x, not 32=23^2 = 2 with something extra.After converting, you have 2x=92x = 9, so x=4.5x = 4.5. The coefficient inside the logarithm is part of the argument; you must include it when you convert.
Finding x=8x = -8 from log2x=3\log_2 x = -3 and reporting this as the final answer without checking.The argument of a logarithm must always be positive in the real numbers. A negative result violates the domain requirement and is not a valid solution.After solving, verify that your answer satisfies the domain restriction: x>0x > 0. For this equation, the correct answer is x=23=18x = 2^{-3} = \frac{1}{8}, which is positive.

Tips and when to use something else

  • Always convert logarithmic equations to exponential form immediately — this turns an unfamiliar logarithm into a familiar algebra problem you already know how to solve.
  • After finding your answer, substitute it back into the original equation to check your work, and verify that the argument of the logarithm is positive and the base is valid (positive and not 1).
  • If you encounter a complex logarithmic equation, try using properties of logarithms like loga(xy)=logax+logay\log_a (xy) = \log_a x + \log_a y or switching to exponential functions to simplify before converting.
  • Exponential equations and logarithmic equations are inverse operations — if you get stuck, try rewriting the problem in the other form to gain clarity.

Frequently asked questions

How do logarithmic equations differ from exponential equations?
An exponential equation has the variable in the exponent, like 2x=82^x = 8. A logarithmic equation has the variable inside the logarithm, like log2x=3\log_2 x = 3. They are inverses of each other: solving a logarithmic equation often means converting it to exponential form.
Why do we have to convert to exponential form?
Logarithms are defined by the relationship logax=b    ab=x\log_a x = b \iff a^b = x. Converting lets you use exponential form, which is simpler to solve with basic algebra. Once you convert, it becomes a straightforward equation.
Can the argument of a logarithm ever be zero or negative?
No. Logarithms are only defined for positive arguments. If you solve an equation and get x0x \le 0, your answer is not valid for the original equation. Always check that your solution satisfies x>0x > 0 before finalizing.
What if the base is a fraction or decimal?
The same conversion method applies. For example, log0.5x=2\log_{0.5} x = 2 converts to (0.5)2=x(0.5)^2 = x, giving x=0.25x = 0.25. Fractions and decimals between 0 and 1 are valid bases as long as they are not equal to 1.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18