Analyse the differential equation
finding a first integral, and give the small-angle approximate solution.
Identify the equation and why it resists the usual methods. Written as , this is the undamped pendulum equation with . It is nonlinear because of , so characteristic roots, undetermined coefficients and Laplace transforms all fail — there is no closed-form elementary solution to find.
Multiply by x' to create an exact derivative. This is the standard trick for :
Recognise both sides as time derivatives: , and since , the right side is .
Integrate to get the conserved energy. Combining and integrating once:
This first integral is the total energy: is kinetic and is potential. It reduces a second-order equation to a first-order one.
Separate variables and meet the elliptic integral. Solving for :
so
This integral is not elementary — it is an incomplete elliptic integral of the first kind. That is the honest answer for the exact solution: implicit, not explicit.
Linearise for small angles. For , , so the equation becomes
a simple harmonic oscillator. Its characteristic equation gives , hence
Extract the physical constants. Since , the angular frequency is
giving a period . Note the linear period is amplitude-independent, whereas the true nonlinear period grows with amplitude — the single most important difference the approximation hides.
Verify both results numerically. Integrating the exact nonlinear equation with fourth-order Runge-Kutta from , for two million steps, the energy drifts by less than from its initial value ✓, confirming the first integral. And the linear solution with , satisfies at to nine decimals ✓.
Need to solve a different problem like this? Open the solver →