Far from the planet, the magnitude of angular momentum per unit mass is the magnitude of the cross product of position vector and velocity. The perpendicular distance from the incoming asymptote is the impact parameter , soChoose at closest approach. The general solution of the differential equation in a, with , isThe specific orbital energy isAt infinity , giving . Thus the hyperbolic orbit hasA different zero of polar angle simply replaces by .
The incoming and outgoing asymptotes have radial directions and , where and . The incoming velocity points opposite its radial direction, so the deflection angle between incoming and outgoing velocities is . HencePutting gives