Vector PA* vector PB=PA*PB*sin∠APB
In this formula, only the sine value tends to the minimum, because the point O is also on M, so when the point P is on O,
The minimum value is 0.