[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 3 KB, 39x40, dee.png [View same] [iqdb] [saucenao] [google]
10574070 No.10574070 [Reply] [Original]

How would you solve x from

sinx + x = 1

besides trial-and-error?

>> No.10574080
File: 45 KB, 666x667, 1540542373595.jpg [View same] [iqdb] [saucenao] [google]
10574080

>>10574070
Use Newton's method and iterate to get the precision you need.
People who have issues with numerical methods don't get far.

>> No.10574084 [DELETED] 
File: 128 KB, 495x375, 1551975805771.jpg [View same] [iqdb] [saucenao] [google]
10574084

>>10574070
>>10574080
Alternatively, just Taylor expand sin(x), add x and subtract 1. Then evaluate at zero. Probably better that Newton's method.

>> No.10574092

>>10574070
I'd go to this link: https://www.wolframalpha.com/input/?i=sin(x)+%2B+x+%3D+1

>> No.10574095

>>10574070
Dealt with this one recently (solving Kepler's equation for eccentric anomaly).

1=x+sinx
x=1-sinx
x=1-sin(1-sinx)
x=1-sin(1-sin(1-sin(1-sin(.....

And so on. You can have Excel do it just by circular references and get a numerical solution. Close enough for my purposes, anyway.

>> No.10574096

>>10574080
Newton's method is trial and error in essence.
I don't have problems with numerical methods, my question is just if there is anything else. It is a simple expression, after all.

>> No.10574100
File: 631 KB, 2048x1650, 1549181859141.jpg [View same] [iqdb] [saucenao] [google]
10574100

>>10574096
It's more sophisticated that straight trail and error. I actually don't know if there's any other way. Bump for an answer.

>> No.10574110

>>10574100
It's more sophisticated, but he's right in that it boils down to guess and check. There are several other ways of finding a numerical solution, but they're all roughly similar - different processes that can get you an answer arbitrarily close to the true value, but as far as I know there is no know closed-form solution to this problem.

>> No.10574134

>>10574070
https://en.wikipedia.org/wiki/Lagrange_inversion_theorem

>> No.10574139

>>10574110
>but as far as I know there is no know closed-form solution to this problem
No, because 1 isn't special as an angle, such as a rational multiple of pi.

>> No.10574141

>>10574134
This is the closest to a closed-form you can get.

>> No.10574149

>>10574070
Take the MacLaurin extension thingy a couple of terms and do an approximation

>> No.10575551

>>10574149
this.

>> No.10575616

>>10574096
>>10574110
Neither trial&error nor guess-n-check converge to a result,
whereas the Newton-Raphson algorithm usually does.

>> No.10575632

>>10574070
After you factor the x you end up with x = 1/(sin + 1)

>> No.10575640

>>10575632
b8

>> No.10575677

"Closed form" is a state of mind.

Just assign a symbol as being the solution to the equation, and you're done.

Better yet, assign a function f(y)=x, where sinx+x=y. Then the solution is just f(1).

>> No.10575686

>>10574100
>Amphibian expert Jodi Rowley, a senior lecturer in biological sciences at the University of New South Wales, threw further light on the story, pointing out on Twitter that the male cane toads were in fact trying to mate with the python.
wtf

>> No.10575691

sin x = x for small angles x.
Therefore we have x + x = 1.
x=1/2

>> No.10575695

>>10575640
Baited

>> No.10575759

>>10574080
this

>> No.10575764

>>10575691
unfortunately 1/2 is not a small angle

>> No.10575778

>>10574070
take derivative of both sides and use that additional information to solve the original

>> No.10575783

i would plot graphs for 1-x and sinx and try to calculate approx values of x where the two curves meet. i am also dumb.

>> No.10575791

>>10575783
or just graph y=sinx+x and y=1 and find intersection

>> No.10575795

>>10575677
sin doesnt have a closed form either

>> No.10575796 [DELETED] 

>>10574070
x=0

>> No.10575814

>>10575795
Exactly. But if a solution could be written down in terms of trigonometric functions, or their inverses (or logarithms, or square roots, etc.) everyone would be perfectly happy accepting that as "closed form", because of some arbitrary distinction.

>> No.10575941 [DELETED] 

>>10575778
cos x = 0
x = 1/2

interesting.