Solve
Recognise the equation as autonomous. The independent variable does not appear explicitly — only and its derivatives do. For such equations the standard move is to make , not , the independent variable, which drops the order from two to one.
Substitute and use the chain rule in . Writing as a function of ,
The equation becomes the first-order separable equation
This identity is the entire technique; without it the substitution leaves an equation in three variables.
Separate and integrate to get the first integral. From :
This is a conserved quantity — the mechanical analogue is energy conservation for a particle in the potential . Taking the square root,
Separate a second time. The remaining equation is separable in and :
For the substitution turns the left side into , a standard form evaluating to
Invert to an explicit solution. Solving that logarithmic relation for collapses the algebra into a hyperbolic sine:
where absorbs . The degenerate case is simpler and worth quoting separately:
Verify both forms numerically. For , : a second-difference estimate of at gives against ✓, and at gives against ✓. For the branch with : at , and ✓. Both solutions blow up where the logarithm argument vanishes, which is genuine — the solution reaches infinity in finite .
Need to solve a different problem like this? Open the solver →