The equation $x\sin x=a$ can be computed numerically, but are there methods to solve it algebraically?
Note: A similar equation in that form, $xe^x=a$ can be solved using lambert W function.
The equation $x\sin x=a$ can be computed numerically, but are there methods to solve it algebraically?
Note: A similar equation in that form, $xe^x=a$ can be solved using lambert W function.
I think there are two things that shouldn't be confused here.
First there is the notion of algebraic functions, which can be defined as roots of polynomials with rational coefficients.
But this is a very limited set of functions, for instance $\exp,\ln, \sin,...$ would not be considered.
If we consider the problem $f(x)=a$ for $a\in\mathbb Q$ for a certain function $f$, we can wonder whether $x$ should be an algebraic number or not.
The explicit form would be to find an algebraic function $\phi$ such that $x=\phi(a)$.
The implicit form would be to find a polynomial $P$ with rational coefficients such that $P(x)=a$ (at least for some $a$).
[Simply Beautiful Art just addressed this very question in his answer].
And then, there is the different problem of finding a closed formula for $x=f^{-1}(a)$ in term of an algebraic combination of known functions (meaning using $+,-,\times,/$ and powers to a rational).
But this statement is quite fuzzy, since it all depends of your initial set of so-called known functions. Does it includes $\ln,\exp$, does it includes trig functions, reciprocal of trig functions, etc...
Before Lambert W function was invented, there was no closed formula according to this rule for $xe^x=a$. So if I define today the Ziomek function $Z$ such that $Z(a)$ is solution of $x\sin(x)=a$, now I have a closed formula for $x$.
Of course, it only becomes to be interesting when this $Z$ function can be used for other kind of equations, if we can find interesting properties for it, if we can develop it in power series, or find algorithms to compute it quickly and accurately, or if it simply has any kind of theoretic interest.
This is the reason why our limited set of known functions has been extended to erf, Bessel, Gamma, polylogs and other creatures there were initially not even considered.
If $x=f(a)$ is solved for $a\in\mathbb Q$ and $f(a)$ is continuous, then $x=f(a)$ for $a\notin\mathbb Q$.
Next, we see that if $a\ne0,a\in\mathbb Q$, then $x$ is not algebraic. If $x$ were algebraic, then $\sin(x)$ would be transcendental, and thus $x\sin(x)$ would be transcendental, a contradiction to $x\sin(x)=a\in\mathbb Q$.
Likewise, we show that $x$ is not a rational multiple of $\pi$. If it were, then $\sin(x)$ would be algebraic, but then $x\sin(x)$ would be transcendental.
I believe that more or less covers the basis of what is algebraically solvable, excluding the Lambert W function. One is able to solve it using the Lambert W function though.
$$x\sin(x)=\Im(xe^{ix})=a\implies xe^{ix}=b+ai$$
$$\implies x=\frac1iW_k(bi-a)$$
But this holds only if $x$ is real, which occurs when $W_k(bi-a)$ is imaginary, where $W_k$ is the multi-valued Lambert W function. Likely put, there is probably no closed form solution for $b$, unless someone's discovered a way to dissect the Lambert W function into real and imaginary parts, something I have yet to see.
Solving for $b$ is as hard as solving for $x\cos(x)=b$, literally...