Let us consider a small pebble moving toward a gravitating mass . We assume that the velocity of the pebble at infinity is and its impact parameter is . The closest approach of the pebble to , can be related to impact parameter via

hence

If the radius of the gravitating mass is , then pebbles whose closest approach is smaller then the radius will collide with the gravitating mass. The maximum impact parameters for which a pebble will collide with the gravitating mass is

where is the escape velocity. The cross section for collision is therefore

We can now write an equation for the mass accretion rate

where is the density of the ambient medium. If matter does not compress, then the mass can be related to the radius through

Although this equation can be solved analytically, we prefer to focus on two limiting cases. In the first case, we assume the escape velocity is much smaller than the typical velocity of the pebbles . In this case the equation can simplified to

and the solution is

So the radius increases linearly with time.

In the other limit, the escape velocity is much larger then the velocities of the pebbles . In this case the equation can be simplified to

and the solution is

so the radius (and mass) diverge at a finite time.