HexMathv1.0.4

Inverse natural log calculator

This inverse natural log calculator undoes a natural log, or a common log, to solve for x. Type an equation such as ln x = 3 or scan it. HexMath rewrites it as a power of e or of 10 and returns x as an exact power, with a decimal value when you need one and each step shown.

Loading math input...

What this page covers

  • The inverse of the natural log: if ln⁡x=k\ln x = k, then x=ekx = e^k.
  • The inverse of the common log: if log⁡x=k\log x = k, then x=10kx = 10^k.
  • Equations where the logarithm holds an expression, such as ln⁡(2x−1)=4\ln(2x - 1) = 4, with exact and decimal answers.
  • Not covered here: logarithms in other bases (see the log base 2 calculator, or type the problem into the solver), and equations with several logarithms, which you can still type and try.

How to enter the problem

  • Type it or paste it. Write ln for the natural log and log for base 10, for example ln(2x - 1) = 4.
  • Scan it. Fit the one problem in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked examples

Example 1: Solve ln x = 3.

Problem

Solve ln⁡x=3\displaystyle \ln x = 3.

Answer

Verified

The answer is

x=e3≈20.09x = e^3 \approx 20.09

Explanation

  1. Read the base
    ln⁡\ln is the logarithm with base ee, so the equation says log⁡ex=3\log_e x = 3.
  2. Rewrite in exponential form
    log⁡ex=3\log_e x = 3 means x=e3x = e^3.
  3. Approximate
    e≈2.71828e \approx 2.71828, so e3≈20.09e^3 \approx 20.09.
  4. Check
    ln⁡20.09≈3.000\ln 20.09 \approx 3.000, and x=e3x = e^3 is positive, so it is in the domain of ln⁡\ln.

Example 2: Solve ln(2x - 1) = 4.

Problem

Solve ln⁡(2x−1)=4\displaystyle \ln(2x - 1) = 4.

Answer

Verified

The answer is

x=e4+12x = \frac{e^{4} + 1}{2}

Explanation

  1. Undo the natural log
    Raise ee to both sides
    2x−1=e42x - 1 = e^4
  2. Solve the linear equation
    2x=e4+12x = e^4 + 1, so x=e4+12x = \frac{e^4 + 1}{2}.
  3. Check the domain
    2x−1=e42x - 1 = e^4 is positive, so the logarithm is defined. As a decimal, x≈27.80x \approx 27.80.

Example 3: Find x if ln x = 1.5, to 4 decimal places.

Problem

Find x\displaystyle x if ln⁡x=1.5\displaystyle \ln x = 1.5, to 4 decimal places.

Answer

Verified

The answer is

x=e1.5≈4.4817x = e^{1.5} \approx 4.4817

Explanation

  1. Undo the natural log
    x=e1.5x = e^{1.5}
  2. Evaluate
    e1.5=4.48168…e^{1.5} = 4.48168\ldots, which rounds to 4.48174.4817.

Common mistakes

  • Multiplying instead of raising to a power: ln⁡x=3\ln x = 3 gives x=e3x = e^3, not x=3ex = 3e.
  • Taking 1÷ln⁡31 \div \ln 3 as the inverse. The inverse of the logarithm is the exponential, not the reciprocal.
  • Using ee when the equation uses base-10 log. log⁡x=−2\log x = -2 gives 10−210^{-2}, not e−2e^{-2}.

Checks, assumptions and limits

  • Check by hand: put the answer back in. ln⁡(e3)=3\ln(e^3) = 3, so x=e3x = e^3 fits.
  • A logarithm is defined only for positive inputs. Any answer that makes the inside of the log zero or negative is rejected.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

The exponential function. If ln x equals a number k, then x equals e to the power k.

Yes. Ask for a decimal, or say how many decimal places you want, and the answer is rounded at the last step.

Yes. Write log for base 10. The inverse is then 10 to the power of the right side.

Those are outside this page, which undoes one logarithm. You can still type the equation and try, or first combine the terms with the condense logarithms calculator.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath