Say a particle in one dimension experiences acceleration inversely proportional to the square of displacement. What is its displacement as a function of time?
$$ a=\frac{d^2x}{dt^2}=\frac{k}{x^2} \\ \text{a second-order nonlinear differential equation, apparently} $$
For context, the particle could be gravitationally attracted to a fixed mass $m$, in which $k$ would be $Gm$, where $G$ is the gravitational constant.
I can’t seem to find a solution to this apparently simple problem. Is $x(t)$ very complex? What about $v(t)$, or $a(t)$? Which of these can be expressed simply in terms of $t$?
P.S. It seems that the particle’s acceleration would be infinite when $x=0$, but only for an infinitesimal instant. Does that mean the velocity spikes to infinity, or does it reach a maximum?