过A做AD垂直与BC
AP^2=AD^2+DP^2
AB=AD^2+BD^2
AP^2-AB^2=AD^2+DP^2-AD^2-BD^2
=DP^2-BD^2
=(DP+BD)(DP-BD)
=BP*CP (BD=CD,三点共线)