The typical approach is to start by showing that the specific angular momentum [itex]\vec h = \vec r \times \vec v[/itex] and the eccentricity vector [itex]\vec e = \vec v \times \vec h / \mu - \hat r[/itex] are constants of motion, where [itex]\mu=GM[/itex].
That [itex]\vec h[/itex] is constant is a direct consequence of central motion, any kind of central motion. That the eccentricity vector is constant is only true for inverse square law central motion, [itex]\vec a = -\mu/r^2 \hat r[/itex].
To show that the eccentricity vector is constant, look at the time derivative of [itex]\vec v \times \vec h[/itex]:
[tex]\begin{aligned}<br />
\frac{d}{dt}(\vec v \times \vec h)<br />
&= \frac{d\vec v}{dt}\times h \\<br />
&= -\frac{\mu}{r^2}\hat r \times \vec h \\<br />
&= -\frac{\mu h}{r^2} \hat r \times \hat h \\<br />
&= \mu\dot{\theta}\hat{\theta} \\<br />
&= \mu\frac{d\hat r}{dt}<br />
\end{aligned}[/tex]
The penultimate step relies upon [itex]h=r^2\dot{\theta}[/itex] and [itex]\hat h \times \hat r = \hat{\theta}[/itex]. The final step relies upon the definition of the circular unit vectors [itex]\hat r[/itex] and [itex]\hat{\theta}[/itex].
From the above, [itex]d/dt(\vec v \times \vec h) = \mu d/dt(\hat r)[/itex], or [itex]d/dt(\vec v \times \vec h - \mu\hat r) = 0[/itex]. Thus [itex]\mu\vec e = \vec v \times \vec h - \mu\hat r[/itex] is a constant of motion.
Now we're at the point where we can take the inner product with the position vector.
[tex]\begin{aligned}<br />
\mu\vec e \cdot \vec r<br />
&= (\vec v \times \vec h)\cdot \vec r - \mu \hat r \cdot \vec r \\<br />
&= (\vec r \times \vec v)\cdot \vec h - \mu r \\<br />
&= h^2 - \mu r<br />
\end{aligned}[/tex]
Another way to express the above inner product is in terms of the magnitudes of the two vectors and the angle f between them: [itex]\mu\vec e \cdot \vec r = \mu e r \cos f[/itex]. Equating these approaches yields
[tex]\mu e r \cos f = h^2 - \mu r[/tex]
from which
[tex]r = \frac{h^2/\mu}{1+e\cos f}[/tex]
Defining [itex]p=h^2/\mu[/itex] yields [itex]r=p/(1+e\cos f)[/itex], which is the equation of a conic section with semi latus rectum p, eccentricity e, and the origin at one of the foci.