Logarithmic Equation Calculator

Solve an equation with logarithms of x, and reject answers that do not check.

An equation in x with one = sign.

Try

Result

You enteredlog⁡3(2x+1)=2\log_{3}\left(2x + 1\right) = 2

x=4\displaystyle x = 4

Decimal

x=4\displaystyle x = 4
Show the work
  1. Definition of a logarithm

    Write the equation in exponential form: the argument of the logarithm equals the base raised to the number on the right.

    Using log⁡bx=y  ⟺  by=x\log_b x = y \iff b^y = x

    2x+1=32=9\begin{aligned} 2x + 1 &= 3^{2} \\ &= 9 \end{aligned}
  2. Solve the linear equation

    Collect the terms in xx on one side and divide by the coefficient of xx.

    2x+1=9⇒x=4\begin{gathered} 2x + 1 = 9 \\ \Rightarrow \\ x = 4 \end{gathered}
  3. Check each solution

    A logarithm needs a positive argument. Every argument is positive for this value, so it is kept.

    x=4:2x+1=9>0\begin{gathered} x = 4: \\ 2x + 1 = 9 > 0 \end{gathered}
  4. Result

    This value keeps every logarithm defined, so the solution is x=4x = 4.

Worked examples