Nirmion
ヘルプ ツールを探す

SPECIAL FUNCTIONS / INVERSE EXPONENTIAL PRODUCT

Lambert W Principal Branch Calculator

Solve w exp(w) = x on the principal real branch and expose the numerical residual.

  • 01 Calculated in this tab
  • 02 Values stay in this browser tab
  • 03 Use boundary

Conversion input

Known value

Filter by unit name, symbol, or code. Your current selections remain available.

Preparing the calculator...

METHOD / WORKED EXAMPLE

Verify the inverse by rebuilding the original input

Lambert W reverses the combined operation w exp(w), not the exponential alone. The residual makes the numerical root auditable and the branch label prevents two real solutions from being silently conflated.

WORKED DEFAULT

Check the calculation with the default inputs

For x = 1, the principal solution is approximately 0.5671432904. Substitution gives 0.5671432904 x exp(0.5671432904), which returns 1 within floating-point residual.

  1. Set the inverse equationw exp(w) = 1
  2. Iterate on W0w = 0.5671432904...
  3. Back-substitutew exp(w) = 1 within residual

READ THE RESULT

Interpret the output in context

A small residual supports numerical convergence for the entered equation. It does not prove another branch was evaluated or guarantee arbitrary-precision digits beyond JavaScript number accuracy.

ASSUMPTIONS AND LIMITS

Know where the model stops

  • x is real and at least -1/e.
  • The requested solution is the principal branch W0.
  • Standard double-precision arithmetic is sufficient for the intended use.

Only W0 is returned. Inputs between -1/e and zero also have a second real W-1 solution that this page deliberately does not calculate.

COMMON QUESTIONS

Lambert W Principal Branch Calculator FAQs

Why is the real-domain boundary equal to -1/e?

The product w exp(w) reaches its real minimum at w = -1, where the value is -1/e. Below that input there is no real solution. At the branch point both real branches meet at -1. Between -1/e and zero, W0 and W-1 are different real solutions, so the branch must be stated explicitly.

Does the calculator return the W-1 branch?

No. This page returns only W0, the principal real branch. For x between -1/e and zero, the decreasing branch W-1 is also real and is at or below -1. Using W0 where a model requires W-1 can change the result substantially. Choose a branch from the underlying equation and domain, not from whichever value looks convenient.

How should I judge the displayed residual?

The residual is the absolute difference between the entered x and W exp(W) reconstructed from the numerical answer. A value near floating-point scale indicates the equation was solved consistently. It is not an uncertainty estimate for measured inputs, and displayed decimal agreement does not create more precision than the source data or JavaScript arithmetic supports.

Use boundary

Calculation path

Use a branch-aware starting value and Halley's method to solve w exp(w) - x = 0, stopping when successive values converge at floating-point precision.

Calculation path

Find w such that w x exp(w) = x on the principal real branch.