In △ABC with side lengths AB=13,BC=14, and CA=15, let M be the midpoint of BC. Let P be the point on the circumcircle of △ABC such that M is on AP. There exists a unique point Q on segment AM such that ∠PBQ=∠PCQ. Then AQ can be written as nm, where m and n are relatively prime positive integers. Find m+n.
Your answer
Integer from 0 to 999
Show solution
Solution
Place B=(0,0),C=(14,0),A=(5,12), so M=(7,0) and AM=4+144=237. By power of the point M in the circumcircle, MA⋅MP=MB⋅MC=49, so MP=23749 and extending A→M by that length gives P=(74567,−37147). The direction of BP is proportional to (27,−14), and the direction of CP is proportional to −(67,42).
Write Q=(5+2t,12−12t) for t∈(0,1), so that AQ=t⋅AM. Using tanθ=u⋅v∣u×v∣ for the angle between rays, tan∠PBQ=222t−33394−296t,tan∠PCQ=370t+991182−888t, and the second numerator is exactly 3(394−296t). Setting the two tangents equal cancels this common factor and leaves 370t+99=3(222t−33), so 296t=198 and t=14899.
Then AQ=14899⋅237=14899148=14899, and since gcd(99,148)=1, the answer is 99+148=247.