This page will document applications of the Lambert W function that are too short to comprise individual presentations on this website.
Definition of the Function
Solution of the Equation yx = xy
Solutions of Other Equations
This function is defined implicitly as the inverse of the nonlinear transcendental equation
Since the function inverts this relation, one can immediately write
The Lambert function has an infinite number of complex branches, like the complex natural logarithm that approximates it. The principal branch is designated .
Slight rearranging the defining equation,
it is clear that the following relation holds between different branches of the Lambert function:
This is analogous to how branches of the complex logarithm are related to one another.
An approximation to the function useful for numerical root finding is
This approximation becomes exact asymptotically, which can be seen by putting it into the defining equation and letting the independent variable grow,
where the last step follows from appyling l’Hôpital’s rule to the fraction.
Both the function and its inverse are supported in Math as fully complex functions.
This equation clearly has a trivial solution . It also has a solution in terms of powers of two:
There is additionally a solution that is not obvious. First take a logarithm of both sides of the equation,
then note the following inverse function value:
This means one can write
without much algebraic manipulation. The two continuous solutions look like this:
The portion in red comes from the principal branch of the Lambert function, while the portion in magenta requires the branch . The two solutions meet at where
on both of the branches involved.
Another way to represent the nonobvious solution is via a parametrization. Setting , the equation becomes
It is straightforward to insert this parametrization in the previous solution to verify that it is correct.
Other bases in the defining equation are handled rather easily:
A double exponentiated variable can be solved with an intermediate exponential :
A linear combination of a variable and its exponential can handled with an intermediate linear variable
The particular branch has not be specified in these solutions since any branch serves as a solution. This is because the dependent variable appears in entire functions. This is not true of the next equation.
Taking a logarithm of both sides of the following transcendental equation indicates that is is soluble by the Lambert function:
Numerical evaluation of this expression followed by substitution in the original equation indicates that it is not satisfied by just any branch. The necessary branch can be determined using the relation above between different branches:
Then the correct solution to the original equation is
with n as indicated.
Interated exponentiation is defined by the expression
whenever it converges: for real numbers that occurs for . The expression can be evaluated with the Lambert function by rearranging into the latter’s defining equation:
And here’s how this function looks on the specified interval, using the principal branch of the Lambert function:
Uploaded 2020.11.27 — Updated 2021.03.16 analyticphysics.com