Algebra · real student question

Solve log base 2 of x, plus log base 3 of x, equals 5.

Question

Solve for xx:

log2x+log3x=5\log_2 x+\log_3 x=5

Step-by-step solution

  1. Put both logarithms in the same base. Logs in different bases cannot be added directly, but change of base fixes that:

    log2x=lnxln2,log3x=lnxln3\log_2 x=\frac{\ln x}{\ln 2},\qquad \log_3 x=\frac{\ln x}{\ln 3}

    (Any common base would work; natural logs keep the notation short.)

  2. Substitute t=lnxt=\ln x to reveal a linear equation.

    tln2+tln3=5\frac{t}{\ln 2}+\frac{t}{\ln 3}=5

    The unknown appears only through tt, and only to the first power — the equation is linear, not logarithmic, once written this way.

  3. Factor tt out and combine the fractions.

    t(1ln2+1ln3)=5tln3+ln2ln2ln3=5t=5ln2ln3ln2+ln3t\left(\frac{1}{\ln 2}+\frac{1}{\ln 3}\right)=5\quad\Rightarrow\quad t\cdot\frac{\ln 3+\ln 2}{\ln 2\,\ln 3}=5\quad\Rightarrow\quad t=\frac{5\ln 2\,\ln 3}{\ln 2+\ln 3}

    Note ln2+ln3=ln6\ln 2+\ln 3=\ln 6, so equivalently t=5ln2ln3ln6t=\dfrac{5\ln 2\,\ln 3}{\ln 6}.

  4. Evaluate tt. With ln2=0.6931472\ln 2=0.6931472 and ln3=1.0986123\ln 3=1.0986123:

    ln2ln3=0.7615000,ln6=1.7917595,t=3.80750011.7917595=2.1250062\ln 2\,\ln 3=0.7615000,\qquad \ln 6=1.7917595,\qquad t=\frac{3.8075001}{1.7917595}=2.1250062

  5. Exponentiate to recover xx.

    x=et=e2.1250062=8.3729497x=e^{t}=e^{2.1250062}=8.3729497

    Since x>1x>1 and both logs are positive, this is consistent — and it must exceed 25/25.662^{5/2}\approx 5.66, because log2x\log_2x alone would need that much if log3x\log_3 x were zero.

  6. Verify, and reject the value 6.06. log28.3729497=3.0657\log_2 8.3729497=3.0657 and log38.3729497=1.9343\log_3 8.3729497=1.9343, summing to 5.00005.0000 ✓. By contrast x=6.06x=6.06 gives 2.5993+1.6400=4.23932.5993+1.6400=4.2393, nearly 0.760.76 short of 55, so it is not a solution.

Answer

x=exp ⁣(5ln2ln3ln2+ln3)8.3729x=\exp\!\left(\frac{5\ln 2\,\ln 3}{\ln 2+\ln 3}\right)\approx 8.3729

Need to solve a different problem like this? Open the solver →