Text this: The optimal pursuit problem reduced to an infinite system of differential equations