Differential equationsof the form R[over ̈]=-kR^{γ}, with a positive constant k and real parameter γ, are fundamental in describing phenomena such as the spherical gravitational collapse (γ=-2), the implosion of cavitation bubbles (γ=-4), and the orbital decay in binary black holes (γ=-7). While explicit elemental solutions exist for select integer values of γ, more comprehensive solutions encompassing larger subsets of γ have been independently developed in hydrostatics (see Lane-Emden equation) and hydrodynamics (see Rayleigh-Plesset equation). I here present a universal explicit solution for all real γ, invoking the beta distribution. Although standard numerical ordinary differential equationsolvers can readily evaluate more general second-order differential equations, this explicit solution reveals a hidden connection between collapse motions and probability theory that enables further analytical manipulations, it conceptually unifies distinct fields, and it offers insights into symmetry properties, thereby enhancing our understanding of these pervasive differential equations.