2

I was wondering how I might go about finding the roots of this equation? Can it only be done using root approximation methods like newton's method?

2 Answers2

4

This is a transcendental equation which does not show any closed form solution and, then, numerical methods are required.

Considering the problem of the first and second positive roots, I cannot resist the pleasure to show once more the beautiful approximation $$\sin(x) \simeq \frac{16 (\pi -x) x}{5 \pi ^2-4 (\pi -x) x}\qquad (0\leq x\leq\pi)$$ whcih was proposed, more than 1400 years ago, by Mahabhaskariya of Bhaskara I, a seventh-century Indian mathematician (see here).

If we use it, the problem reduces to $$16 x^3-4(4 \pi -1) x^2-4 \pi x+5 \pi ^2=0$$ Using Cardano's method, it is easy to show that there are three real roots and that one of them is negative. For sure, the analytical expressions are quite ugly but perfectly workable. The numerical values are $$x_1=1.11495\qquad x_2=2.77389$$ while the exact solutions, obtained using Newton method, are$$x_1=1.11416\qquad x_2=2.77260$$

As Henry commented, the next roots appear to be closer and closer to $n\pi$. As he proposed to do it, use Taylor expansions around $x=n\pi$. This will give $$\sin (x)-\frac{1}{x}=-\frac{1}{\pi n}+(x-\pi n) \left(\frac{1}{\pi ^2 n^2}+(-1)^n\right)+O\left((x-\pi n)^2\right)$$ from which $$x_n\approx\frac{\pi n \left(\pi ^2 (-1)^n n^2+2\right)}{\pi ^2 (-1)^n n^2+1}\tag 1$$ Just for illustration purposes, I wrote down the values generated using $(1)$ and the exact solutions obtained using Newton method. $$\left( \begin{array}{cc} n & \text{from } (1) & \text{Newton} \\ 1 & 2.78740 & 2.77260\\ 2 & 6.43841 & 6.43912\\ 3 & 9.31747 & 9.31724\\ 4 & 12.6454 & 12.6455\\ 5 & 15.6440 & 15.6440\\ 6 & 18.9025 & 18.9025\\ 7 & 21.9456 & 21.9456\\ 8 & 25.1725 & 25.1725\\ 9 & 28.2389 & 28.2389 \end{array} \right)$$

Just for the fun, using $(1)$ $$x_{1000}=3141.5929718996\color{red}{472} $$ while Newton would lead to $$x_{1000}=3141.5929718996\color{red}{525}$$

1

The answer is no. You need some sort of numerical method (fixed point iteration, perhaps).

  • ah I see. Mathematics you are a fickle mistress... Thank you Sean! – user373763 Oct 05 '16 at 15:33
  • 3
    Would you mind elaborating on how you know the answer is no? I believe you, but there are some transcendental equations we can solve, like $\sin(x) = x$. – Jason DeVito - on hiatus Oct 05 '16 at 15:36
  • I'll be honest, I really don't quite know why. I'm a grad student, yes, but I'm really still learning this stuff. I know this is one equation that can't quite be solved with pen and paper. – Sean Roberson Oct 05 '16 at 15:38
  • @JasonDeVito: really ? How is that solved ? –  Oct 06 '16 at 09:27
  • 1
    "I know this is one equation that can't quite be solved with pen and paper." But that's exactly it. How can you "know" this equation can't be solved analytically if you don't know of a proof? In mathematics there is no knowledge without proofs. –  Oct 06 '16 at 09:28
  • @Yves: Perhaps I'm using the word "solve" too loosely: I mean that the full (real) solution set is expressible in terms of "nice" values of elementary functions. (Of course, it's just ${0}$). So, what I guess I am really saying is two things. One, it is easy to verify that $x = 0$ is a solution, and two, it's not too hard to show that it's the only real solution. For example, one can argue that $\sin(x) < x$ for positive $x$ by noting that $\sin(x)/x$ measures a ratio of line segment length to arc length in a unit circle, so is automatically smaller than $1$ when $x$ is positive. – Jason DeVito - on hiatus Oct 06 '16 at 20:23
  • @Yves: (continued). On the other hand, I would be surprised to discover solutions to the original equation $\sin(x) - \frac{1}{x} = 0$ can be expressed in terms of "nice" values of elementary functions. – Jason DeVito - on hiatus Oct 06 '16 at 20:27
  • @JasonDeVito: In that sense I agree with you. I was also thinking of complex solutions, for which I don't think there are closed formulas. –  Oct 06 '16 at 21:20