Population range expansions, with mathematical applications to interacting systems and ancient human genetics