Step-by-step math solver
Exponential equations
Solve exponential equations such as 2^(x + 1) = 16 and 9^x − 4·3^x + 3 = 0 by rewriting both sides with the same base, taking logarithms of both sides, or substituting t = aˣ; equations with base e are covered too.
Free, no sign-in. The solver runs in your browser and does not send your problem to the server.
Method
- Same base: for a > 0 and a ≠ 1, aᶠ⁽ˣ⁾ = aᵍ⁽ˣ⁾ exactly when f(x) = g(x).
- If the bases cannot be matched, take logarithms: aᶠ⁽ˣ⁾ = b with b > 0 gives f(x) = logₐb.
- With base e, use the natural logarithm: eᶠ⁽ˣ⁾ = b gives f(x) = ln b.
- Substitution: in 9ˣ − 4·3ˣ + 3 = 0 let t = 3ˣ (t > 0), which gives t² − 4t + 3 = 0; keep only positive t, then find x.
Worked examples
2^(x + 1) = 16
Write both sides with the same base 2
2^(x + 1) = 2⁴
The bases are equal, so the exponents are equal
x + 1 = 4
Move the terms with x to the left and the numbers to the right (changing signs)
x = 4 − 1
x = 3
Conclusion
x = 3
Solution set: S = {3}
Result
x = 3
Solution set: S = {3}
Open in the solver
3^(2x − 1) = 27
Write both sides with the same base 3
3^(2x − 1) = 3³
The bases are equal, so the exponents are equal
2x − 1 = 3
Move the terms with x to the left and the numbers to the right (changing signs)
2x = 3 + 1
2x = 4
Divide both sides by 2
x = 4/2 = 2
Conclusion
x = 2
Solution set: S = {2}
Result
x = 2
Solution set: S = {2}
Open in the solver
9^x − 4·3^x + 3 = 0
Let t = 3^(x), with t > 0, and rewrite the equation in t
t = 3^(x) > 0
t² − 4t + 3 = 0
Identify the coefficients
a = 1; b = −4; c = 3
Compute the discriminant Δ = b² − 4ac
Δ = (−4)² − 4 · 1 · 3 = 4
Since Δ > 0, the equation has two distinct solutions
√Δ = √4 = 2
t₁ = (−b + √Δ)/(2a) = 3
t₂ = (−b − √Δ)/(2a) = 1
Check against the domain
t > 0
t = 1 meets the condition (accepted)
t = 3 meets the condition (accepted)
Back to x
3^(x) = 1 ⇔ x = 0
3^(x) = 3 ⇔ x = 1
Conclusion
x = 0
x = 1
Solution set: S = {0; 1}
Result
x = 0
x = 1
Solution set: S = {0; 1}
Open in the solver
e^(2x − 1) = 5
Take the logarithm to base e of both sides
2x − 1 = ln(5)
x = (ln(5) + 1)/2 ≈ 1.304719
Conclusion
x = (ln(5) + 1)/2 ≈ 1.30472
Solution set: S ≈ {1.30472}
Result
x = (ln(5) + 1)/2 ≈ 1.30472
Solution set: S ≈ {1.30472}
Open in the solver
Practice problems
Work it out on paper first, then tap to see the step-by-step solution.
Not supported yet
- Equations that mix powers of different bases that cannot be matched are not solved yet, for example 4ˣ + 6ˣ = 2·9ˣ.
- Equations with x both in an exponent and outside it are not solved yet, for example 2ˣ = x + 1.
For these, open Chat with the Tutor skill from the solver (sign-in required, uses credit like a normal chat).