Let us assume there's a body with mass $m$ and velocity $v$, at a distance $r$ from another body of mass $M$. The velocity vector is perpendicular to the radial vector. With these values, how do we find the apogee and perigee of the elliptical orbit of the body?
The problem I'm facing here is that we can assume $r$ to be any distance for the ellipse, i.e., apogee $r_a = r$, or perigee $r_p = r$. So: $$v=\sqrt{2GM\left(\frac{1}{r}-\frac{1}{r_p + r_a}\right)}$$
Assuming $r=r_a$ we can solve for $r_p$ and vice versa.
Therefore, in each case, we find different values. But in reality, there is only one set of values for a body with tangential velocity $v$. So whats the concept here?