News for hackers. Stuff that matters.
Re:After centuries, a seemingly simple math problem gets an ... by ojnabieoot on Thursday December 10, 2020 @06:27PM (#25380201)
One of my favorite classic examples is... a pendulum!

Typically we view pendulums as “simple harmonic oscillators” - basically equivalent to a mass on a spring, only going left-to-right rather than up-to-down.

But this is only an approximation. The differential equation for a simple harmonic oscillator is

x’’ = ax

which has a simple solution - sum of a sine and a cosine, aka a wave. (Here x’’ = second derivative of x with respect to time, or acceleration)

But the equation of motion for a real pendulum (from a free body diagram) is much more complicated and has no exact solution:

x’’ = sin(x)

It’s a very strange function whose second derivative is equal to the sine of the original function, and can’t be expressed in ordinary means. Any high school physics student can derive this equation of motion from Newton’s laws, but you need the assumption sin(x) ~ x to make any progress finding a solution.

Re:After centuries, a seemingly simple math problem gets an ... by themeiguoren on Thursday December 10, 2020 @11:14PM (#25382206)
I remember a take-home physics test in high school where there was a pendulum problem and I spent a full day trying to prove that x’’= ax is generally met by a trigonometric function. I eventually gave up, and was very surprised when I got full marks for saying to simply assume it (though the rest of the test suffered by my being stuck for so long). Besides the exponential formulation of sin and cos, I’m honestly not sure if that’s a unique answer to this day. Does anyone know?
Re:After centuries, a seemingly simple math problem gets an ... by kitty_kritter on Friday December 11, 2020 @02:06AM (#25383197)
Nope, that's pretty much all there is.

The space of all differentiable linear functions is a vector space, and the derivative is a linear operator on that space (so functions and derivatives follow most of the same rules as vectors and matrices). If D is the derivative operator and x is a function of t, the equation x''=x can be written as D^2 * x = x, or 0 = (D^2 - I)x = (D + I)(D - I)x. The dimension of the kernel of (D - I) is 1, and so is the dimension of the kernel of (D + I). So the space of solutions to the original problem has dimension 0, 1, or 2. But you can find two solutions, namely cos(i * t) and sin(i * t). Those solutions are linearly independent, so they span 2 dimensions. So all solutions are going to be of the form A * cos(i * t) + B * sin(i * t). The case for x''=ax is similar.

Re:After centuries, a seemingly simple math problem gets an ... by blt on Friday December 11, 2020 @06:58PM (#25393435)
I agree with the main idea of your argument, but how can it be set in the "space of all differentiable linear functions" when trigonometric functions aren't linear? I think the argument would hold on the space of real analytic functions. Maybe that is more restrictive than necessary.
Re:After centuries, a seemingly simple math problem gets an ... by kitty_kritter on Friday December 11, 2020 @09:33PM (#25394799)
Ah yes that was a slip up. You're right, it should read the "space of all differentiable functions," or maybe "all complex differentiable functions" for extra precision.
Re:After centuries, a seemingly simple math problem gets an ... by Fronzie on Friday December 11, 2020 @01:40AM (#25383052)
There is an exact solution for the pendulum problem: https://www.researchgate.net/publication/39575612_Exact_solu...

I haven't studied it well enough to say more than that about it.

Re:After centuries, a seemingly simple math problem gets an ... by ojnabieoot on Friday December 11, 2020 @07:23AM (#25384958)
Thanks - I wasn’t actually aware of this but I meant to write “elementary” rather than “exact” so I’m glad you brought this up. I had supposed there was probably some incantation of special functions that solved the equation :)

It’s been a long time since I’ve studied ODEs and mathematical physics but this solution seems easier than I had guessed (in the sense that it’s accessible to advanced undergrads instead of specialists).

Re:After centuries, a seemingly simple math problem gets an ... by leephillips on Friday December 11, 2020 @08:42AM (#25385595)
Weird paper. Eq. 32 is supposed to be an approximation to eq. 31, but they are the same equation.