Mathematics, mechanics and motility