This is my first post. I'm not a mathematician, just an electronics engineer who loves mathematics. In one of my projects, I arrived at the following function:
$$V\left(\varphi\right)=\frac{A\sqrt{\pi-\varphi+\sin{\varphi\cos{\varphi}}}}{\sqrt{2\pi}}$$
The project requires $V\left(\varphi\right)$ to be inverted, to obtain angle $\varphi$ (unknown), from a voltage $V$ (known). $V\left(\varphi\right)$ is continuous and strictly monotonic (descending), so an inverse mapping should exist. I tried to invert it symbolically, but couldn't arrive at a closed-form solution for $\varphi\left(V\right)$. By "closed-form solution" I mean a formula that takes me directly (algebraically) from $V$ to $\varphi$. I ended up using MATLAB to compute it numerically, and the project was successfully completed. That was 11 years ago (in 2009).
Recently, that inversion problem resurfaced. Out of pure curiosity, I asked my cousin (a mathematician) to attempt to symbolically invert the above function, but he also couldn't do it, and couldn't even give me an answer as to the existence of such solution. So, my questions are the following:
- Does a closed-form expression for $\varphi\left(V\right)$ exist?
- If the answer to (1) is YES, can someone provide that function, or point me to a method for deriving it?
- If the answer to (1) is NO, what is the formal reason for it? Is there a way to show/prove that such solution does not exist?
This is not a homework question, and the associated practical problem has already been solved numerically. This post was made out of pure curiosity about the invertibility of functions of the form of $V\left(\varphi\right)$. Many thanks to all for your replies.
Adding some graphics, in order to better illustrate the problem.
The following figure shows how the function we're looking for, $\varphi\left(V\right)$, looks like. Notice that there appears to be no symmetry in this function. The values of $\varphi$ lie in the interval $[0,\pi]$, while the values of $V\left(\varphi\right)$ lie in the interval $[0,\frac {A} {\sqrt2}]$.
Based on the comment by @user2661923, the problem can be reduced to the inversion of function $k=x-\sin(x)$. In this case, the values of both $x$ and $k$ lie in the interval $[0,2\pi]$. The following figure shows a plot of the inverse of $k=x-\sin(x)$, together with a plot of the function itself (dashed line). Plotting them both on the same graph is useful, since they both have the same range for their independent and dependent variables. It can be observed that now there is a clear symmetry of this function at the point $(\pi,\pi)$, thanks to the removal of the square root term. This means that we only need to deal with the interval $[0,\pi]$, and use symmetry on that result to obtain the other half ($[\pi,2\pi]$).


First of all, many thanks to all who replied with answers and comments. I've decided not to mark any of the provided answers as "accepted", since my questions were not really answered, but rather, approximations of the inverse of $V\left(\varphi\right)$ were provided. The answer by @PaulSinclair was, perhaps, the most relevant of all in attempting to answer my questions.
Shortly after posting here, I also posted the same questions to another relevant Stack Exchange community, MathOverflow, where I received the answers I was looking for, albeit not in the clarity I was hoping for (which may actually be impossible, due to the difficulty of the problem). Referring to the answers of my post at MathOverflow, what follows is a summary of the results I obtained.
Question — Does a closed-form expression for $\varphi\left(V\right)$ exist?
Answer — No, it does not exist (but see below).
Question — What is the formal reason for it? Is there a way to show/prove that such solution does not exist?
Answer — As shown in the comment by @user2661923, and by Pietro Majer at MathOverflow, the problem can be reduced to the inversion of function $k=x-\sin(x)$. Rob Corless at MathOverflow notes that this function exactly matches Kepler's Equation, $M=E-e \sin(E)$, where $e=1$. Rob Corless also adds that it is believed that Kepler's equation does not have any closed-form solution (let alone an elementary solution).
Piyush Grover at MathOverflow comments that "Kepler's equation is one of the most studied equations in the history of science. If there was a closed-form solution, it would have been found by now. There are papers about its approximations appearing to this day!"
Furthermore, the MathOverFlow accepted answer by Timothy Chow mentions that the question of whether the inverse of $k=x-\sin(x)$ has a closed-form solution may be answered by investigating if there can exist a solution that lies in a so-called Liouvillian extension of $\mathbb{C}(x)$, the field of rational functions of $x$ with complex coefficients. This includes any function that can be obtained via a finite number of applications of addition, subtraction, multiplication, division, taking $n$th roots, exponentiation, taking logarithms, and since we're working over the complex numbers, trigonometric functions and their inverses are included as well.
Timothy Chow expands further, providing a relevant theorem and several sources that support the above argument, and concludes by providing a source, in which it is mentioned that Liouville himself already knew that the solution to Kepler's equation (i.e., the solution to our problem) is not Liouvillian (i.e., there is no closed-form solution, as defined above).
Although I have not yet managed to fully decipher all the results provided, probably due to my lack of experience and knowledge in such advanced topics of mathematics—I'm not a mathematician, but an electronics engineer—I believe we now have sufficiently strong evidence to support the answer to my first question above, i.e., that there is no closed-form expression for $\varphi\left(V\right)$.
Approximations of the inverse of $k=x-\sin(x)$, and of $\varphi\left(V\right)$.
Among the answers I received here in Mathematics Stack Exchange, of particular interest and practical significance are those of @ClaudeLeibovici, who computed approximations of the inverse of $k=x-\sin(x)$ using a variety of methods, as listed below:
You can refer to his specific answers for more details on each approach. I have evaluated all of his methods, and have found them to be of good to excellent accuracy, and extremely useful in practical applications, as they effectively provide closed-forms for very accurate approximations of $\varphi\left(V\right)$, enabling it to be evaluated in real-time by an embedded, microcontroller-based system, for example.
The figure below shows the errors of each approximation, for the reduced problem of inverting $k=x-\sin(x)$ (top plots), and for the complete solution to the practical problem, i.e., the computation of $\varphi\left(V\right)$ (bottom plots). Please refer to the comments I've made to each of Claude's answers, for some finer points regarding the implementation of each method.