How this calculation works
The candidate must make the original logarithm argument positive. Exponentiation makes that argument equal to a positive power of the base.
logᵦ(ax+d) = c implies x = (bᶜ−d)/aA worked example
log₂(3x+1)=4 gives 3x+1=16 and x=5.
Good to know
The base must be positive and different from 1.
Reference: OpenStax Algebra and Trigonometry (opens in a new tab) ↗
Convert the logarithm into an exponential statement
The default equation is log₂(3x + 1) = 4. By the definition of logarithm, the argument 3x + 1 must equal 2⁴ = 16. Subtracting one and dividing by three gives x = 5. Substitution returns log₂(16) = 4.
For an equation logᵦ(ax + d) = c, the same steps give ax + d = bᶜ and x = (bᶜ − d)/a. This conversion handles the linear argument first as one expression, avoiding a premature attempt to separate the logarithm of a sum.
Respect the logarithm domain and the slope requirement
A real logarithm needs a positive argument, a positive base and a base different from one. Since bᶜ is positive for an accepted base, the solved argument automatically satisfies positivity in exact arithmetic. Still, substituting the computed x into the original expression is a useful check when values are rounded.
The tool requires a nonzero linear slope because its solution formula divides by that slope. A zero slope would create a constant logarithmic statement with either all real solutions or none. The Single-base exponential equation calculator explores the inverse relationship from the other direction. The identity log(u + v) = log u + log v generally fails, so keep the full linear argument together when converting the equation.
A few questions, answered
Can the base be between zero and one?
Yes. A base such as 1/2 defines a valid real logarithm for positive arguments and uses the same exponential conversion.
Can the right-hand side be negative?
Yes. A negative value of c produces a positive reciprocal power bᶜ for the logarithm argument.