
Sam S.
asked 02/11/22I need to solve e^(kx)=kx-c for x where k and c are constants
I need to solve the expression e^(kx)=kx-c for x. Is it possible?
1 Expert Answer

Luke J. answered 02/11/22
Experienced High School through College STEM Tutor
Given:
exp( kx ) = ekx = kx - c
Find:
x ( k, c ) = ?
Assume:
The student have knowledge or will search the internet for knowledge on the topic of:
The Lambert W function (a.k.a. the product log)
Solution:
To avoid writing kx a bunch of times, I will make this substitution:
u = kx
Thus, the problem becomes:
exp( u ) = u - c
So I'm going to utilize an algebra "trick" to do something to the power of the e:
exp( c ) exp( u - c ) = u - c
That trick was "adding zero" which will leave the function ultimately unchanged. You can check it will rules of exponents
You will then want to get the exp( u - c ) to the other side of the equation like so:
exp( c ) = ( u - c ) exp[ - ( u - c ) ]
Now, for the necessity of what will be needed to solve for u, I will multiply both sides by -1 to get:
- exp( c ) = - ( u - c ) exp[ - ( u - c ) ]
Now to introduce the Lambert W function/product log:
To solve:
y ey = x for y: W( y ey ) = W( x ) y = W( x )
It should be noted the lambert W function has 2 branches because it can only be implicitly graphed since for some x-values, 2 y-values can exist. So be careful if you use the Lambert W function going forward.
So, taking the Lambert W function of both sides leads to:
W[ - ( u - c ) e-( u - c ) ] = W( -ec ) = - ( u - c )
u - c = - W( -ec )
u = c - W( -ec )
Finally, re-inputting kx = u
kx = c - W( -ec )
∴ x = [ c - W( -ec ) ] / k
An interesting fact of the Lambert W function is that its inputs can NOT be less than - e-1
y = W( x ) where x ≥ - e-1
This restricts the solution for x in this problem that c can NOT be greater than -1.
So, real solutions will exist so long as:
c and k are within the set of all real numbers and c ≤ -1 and k can be any value within the set of all real numbers:
- ∞ < c ≤ -1
- ∞ < k < ∞
I hope this helps! Message me in the comments with any questions, comments, or concerns about how I did the above work! Let it be known that my knowledge of the Lamber W function/product log is pretty limited since I've taught myself most of the mechanics of this function.
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Douglas B.
Not generally. I would recommend first establishing for what values of k and c you will have a real solution. For example, if k = 1 and c > 0, there are no real solutions.02/11/22