Natural Log (ln) Calculator

Evaluate ln, solve equations with ln and e^x, and convert between log and ln
ln(45)
Solve e^(2x) = 15
Solve ln(x - 3) = 2
Solve ln(x) + ln(x - 3) = ln(10)

ln Is Just log Base e

The natural logarithm is the logarithm with base e2.718281828e \approx 2.718281828:

lnx=logex,lnx=y    ey=x\ln x = \log_e x, \qquad \ln x = y \iff e^{\,y} = x

So lne=1\ln e = 1, ln1=0\ln 1 = 0, and lne5=5\ln e^{5} = 5. Nothing about the rules is special — ee is simply an unusually convenient base, because the function exe^{x} is its own derivative. That is why continuous growth, radioactive decay, compound interest and half-lives all come out in ln\ln rather than log\log.

The two functions are inverses, and that is the property you use constantly:

ln(ex)=xandelnx=x(x>0)\ln(e^{x}) = x \qquad \text{and} \qquad e^{\ln x} = x \quad (x > 0)

Applying ln\ln to both sides of an equation is how you pull a variable down out of an exponent — the single most common reason to reach for it.

The domain is x>0x > 0: ln0\ln 0 and ln(2)\ln(-2) do not exist over the real numbers.

On a calculator the exe^{x} function normally sits directly above the ln\ln key, which is a useful physical reminder that the two undo each other.

Solving Equations with ln and e

Variable in the exponent. Take ln\ln of both sides and use ln(ex)=x\ln(e^{x}) = x:

e2x=152x=ln15x=12ln15e^{2x} = 15 \quad \Rightarrow \quad 2x = \ln 15 \quad \Rightarrow \quad x = \tfrac{1}{2}\ln 15

For a base that is not ee, the power rule does the same job: 3x=203^{x} = 20 becomes xln3=ln20x\ln 3 = \ln 20.

Variable inside a log. Exponentiate both sides — apply ee to undo ln\ln:

ln(x3)=2x3=e2x=3+e2\ln(x - 3) = 2 \quad \Rightarrow \quad x - 3 = e^{2} \quad \Rightarrow \quad x = 3 + e^{2}

Several logs. Combine them into a single one with the product, quotient and power rules, then drop the logs from both sides: if lnA=lnB\ln A = \ln B then A=BA = B.

Always check the domain at the end. Every solution must keep every original log argument strictly positive. Combining logs can manufacture solutions the original equation never had.

Common Mistakes to Avoid

  • Skipping the domain check. Combining lnx+ln(x3)\ln x + \ln(x-3) produces a quadratic with two roots, and typically one of them makes an argument negative and must be rejected.
  • Writing ln(A+B)=lnA+lnB\ln(A + B) = \ln A + \ln B. The sum rule works on a product inside the log, never on an addition.
  • Cancelling the ln from only one side. From lnx=2\ln x = 2 you get x=e2x = e^{2}, not x=2x = 2.
  • Confusing lnx2\ln x^{2} with (lnx)2(\ln x)^{2}. The first equals 2lnx2\ln x. The second is a square, and the power rule does not touch it.
  • Treating ln20ln3\dfrac{\ln 20}{\ln 3} as ln ⁣(203)\ln\!\left(\frac{20}{3}\right). The first is log3202.727\log_3 20 \approx 2.727. The second is about 1.8971.897.
  • Reaching for log\log when the base is ee. Either works if you stay consistent, but ln\ln removes an ee in one step.

示例题目

Step 1: Take the natural log of both sides: ln(e2x)=ln15\ln(e^{2x}) = \ln 15.
Step 2: The left side collapses because ln\ln and ee are inverses: 2x=ln152x = \ln 15.
Step 3: ln152.70805\ln 15 \approx 2.70805.
Step 4: Divide by 2: x1.35403x \approx 1.35403.
Step 5: Check: e2(1.35403)=e2.7080515e^{2(1.35403)} = e^{2.70805} \approx 15
Answer: x=12ln151.3540x = \tfrac{1}{2}\ln 15 \approx 1.3540

Step 1: Exponentiate both sides with base ee: eln(x3)=e2e^{\ln(x-3)} = e^{2}.
Step 2: The left side simplifies to the argument: x3=e2x - 3 = e^{2}.
Step 3: e27.38906e^{2} \approx 7.38906, so x3+7.38906=10.38906x \approx 3 + 7.38906 = 10.38906.
Step 4: Domain check: the original log requires x3>0x - 3 > 0, that is x>3x > 3, and 10.389>310.389 > 3
Answer: x=3+e210.389x = 3 + e^{2} \approx 10.389

Step 1: Combine the left side with the product rule: ln[x(x3)]=ln10\ln[x(x-3)] = \ln 10.
Step 2: Both sides are a single ln, so the arguments are equal: x(x3)=10x(x - 3) = 10.
Step 3: Expand and set to zero: x23x10=0x^{2} - 3x - 10 = 0.
Step 4: Factor: (x5)(x+2)=0(x - 5)(x + 2) = 0, giving x=5x = 5 or x=2x = -2.
Step 5: Domain check: the original equation needs x>0x > 0 and x3>0x - 3 > 0, so x>3x > 3. Reject x=2x = -2.
Step 6: Verify x=5x = 5: ln5+ln2=ln(52)=ln10\ln 5 + \ln 2 = \ln(5 \cdot 2) = \ln 10
Answer: x=5x = 5 (the root x=2x = -2 is extraneous)

常见问题

The ln key computes the natural logarithm, the logarithm with base e, where e is about 2.71828. Pressing ln on 45 returns roughly 3.8067, which is the power you would raise e to in order to get 45.

Only the base. The log key uses base 10 while ln uses base e, so they differ by a constant factor: ln x equals log x times 2.302585. All the logarithm rules apply identically to both, and either one can solve the same equation.

Not over the real numbers. No real power of e produces zero or a negative value, so both lie outside the domain and a calculator returns an error. If solving an equation hands you such a value, it is an extraneous root created by combining logs and must be discarded.

Divide the natural log by ln 10, or equivalently multiply the base-10 log by 2.302585. So log 45 equals ln 45 divided by 2.302585, which is about 1.6532. This is just the change-of-base formula written with e as the working base.

相关求解器

相关学习指南

免费试用 AI-Math

任何数学问题都能获得分步解答。拍照上传或输入问题即可。

开始解题