Text this: Flyby-induced displacement effect: An analytic solution