Let AO meet BC at D. Since
∠DAC=∠BAD=21∠BAC=∠ACD,
we have DA=DC. Consider △OCA and △OCD. By considering their areas, we find that
ODAO=[OCD][OCA]=CD×d(O,CD)AC×d(O,AC)=CDAC.
The last equality holds since d(O,AC)=d(O,CD) is the A-exradius. Now, applying Menelaus' theorem to △ACD, we obtain
PCDP×MACM×ODAO=1.
Using CM=MA and ODAO=CDAC=ADAC, this becomes
PCPD=ACAD.
By the angle bisector theorem, we know that AP bisects ∠DAC. Therefore, we get
∠BAP=∠BAD+∠DAP=∠ACP+∠PAC=∠APB.
Thus, AB=BP.
