Problem

Source: 2021 Thailand MO P8

Tags: geometry, power of a point, radical axis



Let $P$ be a point inside an acute triangle $ABC$. Let the lines $BP$ and $CP$ intersect the sides $AC$ and $AB$ at $D$ and $E$, respectively. Let the circles with diameters $BD$ and $CE$ intersect at points $S$ and $T$. Prove that if the points $A$, $S$, and $T$ are colinear, then $P$ lies on a median of $\triangle ABC$.