Exponential Equations Explained: How to Solve Them with Logarithms

To solve an exponential equation, take the logarithm of both sides and use the power rule to bring the exponent down. For a^x = b, the formula is x = ln(b) / ln(a). For example, 2^x = 32 gives x = ln 32 / ln 2 = 5, and 2^x = 3 gives x ≈ 1.5850. This guide explains both methods — same base and logarithms — with worked examples you can follow.

An exponential equation is any equation where the unknown sits in the exponent: 2^x = 32, 5^x = 125, e^x = 20, or 3^(2x) = 81. These equations show up everywhere — compound interest, population growth, radioactive decay, half-life problems — because anything that grows or shrinks by a fixed percentage each step follows an exponential pattern. The good news is that every equation of the form a^x = b is solved by the same single idea: logarithms undo exponents. Learn it once and the whole family of problems opens up.

What Is an Exponential Equation?

An exponential equation is an equation in which the variable appears in the exponent. The base is a fixed number, and the exponent is what you are solving for.

Equation Base (a) Unknown Right side (b)
2^x = 32 2 x 32
5^x = 125 5 x 125
10^x = 1000 10 x 1000
e^x = 20 e (≈ 2.71828) x 20
4^(x+1) = 64 4 x + 1 64

Do not confuse an exponential equation with a power equation. In 2^x = 16 the unknown is the exponent, and logarithms solve it. In x^2 = 16 the unknown is the base, and square roots solve it. Mixing the two up is the most common source of errors in this topic.

Method 1: Rewrite With the Same Base

When both sides of the equation can be written as powers of the same base, the solution is immediate: equal bases mean equal exponents.

Worked example: 5^x = 125. Since 125 = 5 × 5 × 5 = 5^3, the equation becomes 5^x = 5^3. The bases are both 5, so the exponents must be equal: x = 3. Check: 5^3 = 125.

Worked example: 10^x = 1000. Since 1000 = 10^3, the equation becomes 10^x = 10^3, so x = 3. Check: 10^3 = 1000.

Worked example with an expression in the exponent: 4^(x+1) = 64. Since 64 = 4^3, the equation becomes 4^(x+1) = 4^3, so x + 1 = 3 and x = 2. Check: 4^(2+1) = 4^3 = 64.

Worked example: 3^(2x) = 81. Since 81 = 3^4, the equation becomes 3^(2x) = 3^4, so 2x = 4 and x = 2. Check: 3^(2 × 2) = 3^4 = 81.

This method is fast, but it only works when both sides can be expressed as powers of one common base. The moment they cannot — for example, 2^x = 3, where 3 is not a power of 2 — you need logarithms.

Method 2: Take Logarithms of Both Sides

Logarithms are the general method. They work for every equation of the form a^x = b, with no special structure needed.

Step 1: Take the natural logarithm of both sides

For a^x = b, write ln(a^x) = ln(b). You may use any logarithm base — natural log (ln), common log (log₁₀), or any other — because the change-of-base formula makes them all equivalent. Natural logs are the standard choice.

Step 2: Use the power rule to bring the exponent down

The power rule for logarithms says ln(a^x) = x · ln(a). Applying it gives:

x · ln(a) = ln(b)

This is the key step: the exponent x is no longer trapped inside a power. It is now an ordinary multiplier.

Step 3: Divide by ln(a)

x = ln(b) / ln(a)

That single formula solves every equation of the form a^x = b, as long as a > 0, a ≠ 1, and b > 0.

Worked example: 2^x = 3

Apply the formula: x = ln 3 / ln 2 = 1.0986 / 0.6931 ≈ 1.5850. The answer is not a whole number, and that is normal — most exponential equations have decimal answers.

Check by substitution: 2^1.5850 ≈ 3.0001, which confirms the answer to four decimal places. If you want the check done for you, Calcrio’s free exponential equation solver computes both sides of the check and shows the numbers.

Worked example: e^x = 20

When the base is e, the natural logarithm is the natural choice, and the formula simplifies: x = ln 20 ≈ 2.9957. Check: e^2.9957 ≈ 19.9994, which matches 20 to three decimal places.

Summary table: one formula, many answers

Equation Formula applied Answer
2^x = 32 x = ln 32 / ln 2 x = 5 (exact)
5^x = 125 x = ln 125 / ln 5 x = 3 (exact)
2^x = 3 x = ln 3 / ln 2 x ≈ 1.5850
e^x = 20 x = ln 20 x ≈ 2.9957
10^x = 1000 x = log₁₀ 1000 x = 3 (exact)

Which Logarithm Base Should You Use?

Any base works, because the change-of-base formula guarantees the same answer. In practice, choose the base that makes the numbers easiest:

  • Natural log (ln) — the default for algebra and calculus, and the right choice when the base is e.
  • Common log (log₁₀) — the easiest choice when the base is 10, since log₁₀(1000) = 3 by inspection.
  • Matching base — if the equation is 2^x = 32, log₂(32) = 5 directly, because 32 is a power of 2.

The formula x = log(b) / log(a) gives the same result for any logarithm base, so use whichever your calculator or your class prefers.

How to Solve Exponential Equations With x on Both Sides

Some equations put x in two places, such as 3^x = x^9. The logarithm method still applies, but it does not finish the job on its own. Taking natural logs gives x · ln 3 = 9 · ln x, which still has x on both sides.

For these equations, the practical approach is to find the roots numerically — scan for sign changes and refine by bisection — after using the structure of the numbers to spot any exact solution. For 3^x = x^9, the exact solution is x = 27 (since 27 = 3^3, both sides equal 7,625,597,484,987), and the numerical method finds the second solution, x ≈ 1.1508. The full step-by-step walkthrough is in our guide on how to solve 3^x = x^9, and you can solve exponential equations of this type with the free calculator, which finds both roots and verifies each one.

Exponential Equations in Real Life

Exponential equations are not just textbook exercises. They are the equations behind every growth and decay problem.

Compound interest. Money invested at a fixed rate grows exponentially: A = P(1 + r)^t. To find how long it takes for $1,000 at 5% annual interest to reach a target, you solve an exponential equation. After 10 years, the balance is 1000 × 1.05^10 = $1,628.89 — a calculation that requires raising 1.05 to the 10th power, the inverse of the same logarithm work.

Half-life. A radioactive sample decays by half every half-life. Starting with 100 g of a substance with a 5-year half-life, the amount after 10 years is 100 × (1/2)^2 = 25 g. Asking “how long until only 12.5 g remains?” is an exponential equation: (1/2)^t = 0.125, solved by logarithms to give t = 3 half-lives, or 15 years.

Population growth. A population growing at 2% per year doubles when 1.02^t = 2, which logarithms solve as t = ln 2 / ln 1.02 ≈ 35.0 years. This is the origin of the “rule of 70”: 70 divided by the growth rate gives the approximate doubling time.

Common Mistakes When Solving Exponential Equations

Mistake What goes wrong How to avoid it
Taking the log of only one side ln(2^x) = 32 is not a valid step Apply the logarithm to both sides
Forgetting the power rule ln(2^x) is x · ln 2, not (ln 2)^x Bring the exponent down as a multiplier
Dividing by ln(a) when a = 1 ln(1) = 0, so division is impossible Check that a > 0 and a ≠ 1 first
Rounding too early 2^x = 3 becomes x = 1.6, which fails the check Keep 4 decimal places: x ≈ 1.5850
Skipping the substitution check A wrong answer goes unnoticed Always compute both sides with your answer

How to Check Your Answer Every Time

The substitution check is the single most reliable habit in this topic. It takes ten seconds and it catches every error:

  1. Take your value of x and put it back into the original equation.
  2. Compute the left side with a calculator.
  3. Compute the right side.
  4. Compare. Equal numbers mean a correct answer; different numbers mean a mistake somewhere in the working.

For 2^x = 3 with x ≈ 1.5850, the left side is 2^1.5850 ≈ 3.0001 and the right side is 3 — a match. For e^x = 20 with x ≈ 2.9957, the left side is e^2.9957 ≈ 19.9994 and the right side is 20 — a match. A small difference in the last decimal place is normal rounding; a large difference means the answer is wrong.

Frequently Asked Questions

How do you solve exponential equations?

Take the logarithm of both sides, use the power rule ln(a^x) = x · ln(a) to bring the exponent down, then divide by ln(a). The formula is x = ln(b) / ln(a). For 2^x = 32, x = ln 32 / ln 2 = 5.

What is the easiest way to solve 2^x = 32?

Rewrite 32 as a power of 2: 32 = 2^5, so 2^x = 2^5 and x = 5. The same-base method is fastest when it works; otherwise use logarithms.

Can exponential equations have decimal answers?

Yes, very often. 2^x = 3 gives x ≈ 1.5850, and e^x = 20 gives x ≈ 2.9957. Only equations where b is an exact power of a give whole-number answers.

What logarithm do you use to solve exponential equations?

Any logarithm base gives the same answer. Natural log (ln) is the standard choice, common log (log₁₀) is easiest when the base is 10, and log base a is easiest when b is a power of a.

How do you solve exponential equations with x on both sides?

Take logs to get x · ln(a) = b · ln(x), then find the roots numerically, checking for an exact solution first. For 3^x = x^9, the solutions are x = 27 (exact) and x ≈ 1.1508.

Where are exponential equations used?

They model compound interest, population growth, radioactive decay, and half-life. For example, $1,000 at 5% annual interest becomes $1,628.89 after 10 years, and 100 g of a substance with a 5-year half-life becomes 25 g after 10 years.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top