Let ABCDE be a convex pentagon with AB=14,BC=7,CD=24,DE=13,EA=26, and ∠B=∠E=60∘. For each point X in the plane, define f(X)=AX+BX+CX+DX+EX. The least possible value of f(X) can be expressed as m+np, where m and n are positive integers and p is not divisible by the square of any prime. Find m+n+p.
Your answer
Integer from 0 to 999
Show solution
Solution
In triangle ABC, the law of cosines with ∠B=60∘ gives AC2=142+72−14⋅7=147, so AC=73; since 72+147=142, the angle at C is right and ∠BAC=30∘. Likewise AD=133, with a right angle at D and ∠DAE=30∘. In triangle ACD with CD=24,cos∠CADsin∠CAD=2⋅73⋅133147+507−576=71,=743.
Split f(X)=(BX+EX)+(AX+CX+DX)≥BE+T, where T is the minimum of AX+CX+DX. Since ∠BAE=30∘+∠CAD+30∘, we get cos∠BAE=21⋅71−23⋅743=−1411, so BE2=142+262+2⋅14⋅26⋅1411=1444 and BE=38. All angles of triangle ACD are less than 120∘, so T is attained at its Fermat point; erecting an equilateral triangle ACP on side AC away from D, the standard rotation argument gives T=PD, and since ∠PAD=60∘+∠CAD also has cosine −1411,T2=147+507+2⋅73⋅133⋅1411=1083,T=193.
Both bounds are tight simultaneously: let F be the Fermat point of ACD, so ∠AFC=∠AFD=120∘. Since ∠AFC+∠ABC=180∘, point F lies on the circumcircle of ABC, whence ∠AFB=∠ACB=90∘; similarly F lies on the circumcircle of AED and ∠AFE=∠ADE=90∘. Thus ∠BFE=180∘, so F lies on segment BE and f(F)=BE+T=38+193. The answer is m+n+p=38+19+3=60.