Section 6.10 in Matter and Interactions (4th edition)
Gravitational systems are particularly interesting because there are so many examples of such systems. The formation of our universe from immense galactic structures to solar systems with planets and moons, and even the orbits of asteroids and comets are all examples of gravitational systems. In these notes, you will read about a particular gravitational phenomenon: how a small object can escape the gravitational bounds of a much more massive object. This object must move with at least the escape speed.
Consider trying to throw a rock with a speed $v$ away from an airless planet. There's three possible outcomes:
The final outcome defines the escape speed ($v_{esc}$).
Consider a planet of mass $M$ and radius $R$. A small object of mass $m$ is thrown with a speed equal to the escape speed for the planet. What is this speed? First, you define a system.
The initial and final states are well-defined because you know the condition for escape.
The Energy Principle tells you that the energy of this system is conserved. Moreover, you know from the final state where $r\rightarrow \infty$ and $v\rightarrow 0$ that both the final potential and final kinetic energies are zero. Hence, the total energy of the system must be zero.
$$\Delta E_{sys} = W_{surr} = 0 \longrightarrow E_{sys,f} = E_{sys,i}$$
$$K_f + U_f = K_i + U_i = 0$$
So the you can use the initial kinetic and potential energy here because they are both nonzero,
$$K_i + U_i = \dfrac{1}{2}mv^2_{esc} -G\dfrac{Mm}{R} = 0 \longrightarrow \dfrac{1}{2}mv^2_{esc} = G\dfrac{Mm}{R}$$
Solving for $v_{esc}$, you find:
$$v_{esc} = \sqrt{\dfrac{2GM}{R}}$$
This speed defines the minimum speed needed to leave the planet and never return under the gravitational interaction between the object and the planet. Reminder that this speed term utilizes the SI unit of m/s. Notice that this speed doesn't depend on the mass of the launched object (so long as it is much less than the planet).