Maths & numbers

Logarithmic equation with a linear argument calculator

Solve for the variable inside a logarithm by converting to an exponential equation.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

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.

THE FORMULAlogᵦ(ax+d) = c implies x = (bᶜ−d)/a

A 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.

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.

The logarithmic equation converts into a linear equation with argument sixteenlog₂(3x + 1) = 43x + 1 = 16x = (16 − 1)/3 = 5
log₂(3x + 1) = 4 means 3x + 1 = 2⁴. The resulting x = 5 keeps the logarithm argument positive.

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.

Find your calculator

Start typing to explore the library.