There is another approach. Following it will give x as a function of v, but it has the same issue as described by Ray in post (#6).
It goes like this:
Using the chain rule express the acceleration ##\ a\ ## as:
##\displaystyle \frac{dv}{dt} = \frac{dv}{dx} \, \frac{dx}{dt} ##
##\displaystyle = v\, \frac{dv}{dx} \ \quad ## because ##\ \displaystyle \frac{dx}{dt}= v ##
So we have: ##\displaystyle \ a = v \, \frac{dv}{dx} \, . ##
With acceleration as a function of ##\ t\,, ## this would not be of much use. However, as it turns out, differentiating the velocity ( given as a function of ##\ t \ ## by the function ##\ f(t)\ ## ) gives a result for acceleration, which together with the expression for velocity can be manipulated to give acceleration in terms of velocity together with some constants. To be specific, one obtains the following.
##\displaystyle a = g - \frac{b}{m} v \quad \quad ## ( a familiar looking result )
So far my few attempts obtaining an expression for position ##\ x\ ## in terms of velocity ##\ v\ ## have given me results which appear to me have inconsistencies. However, the form of the results tend to confirm that the velocity function in the form of ##\ k(x) \ ## does involve the Lambert W function.