점 D \mathrm{D} D 에서 직선 B C \mathrm{BC} BC 에 내린 수선의 발을 H \mathrm{H} H 라 하면
□ A B C D \square \mathrm{ABCD} □ ABCD = B C ‾ × D H ‾ = 12 × D H ‾ \displaystyle = {\overline{\mathrm{BC}}} \times {\overline{\mathrm{DH}}} = 12 \times {\overline{\mathrm{DH}}} = BC × DH = 12 × DH = 120 = 120 = 120
D H ‾ = 10 \displaystyle {\overline{\mathrm{DH}}} = 10 DH = 10
사각형 A B C D \mathrm{ABCD} ABCD 가 평행사변형이므로
A D ‾ = B C ‾ \displaystyle {\overline{\mathrm{AD}}} = {\overline{\mathrm{BC}}} AD = BC , A B ‾ = D C ‾ \displaystyle {\overline{\mathrm{AB}}} = {\overline{\mathrm{DC}}} AB = DC
직각삼각형 D C H \mathrm{DCH} DCH 에서 피타고라스 정리에 의하여
C D ‾ 2 = C H ‾ 2 + D H ‾ 2 \displaystyle {\overline{\mathrm{CD}}} ^{2} = {\overline{\mathrm{CH}}} ^{2} + {\overline{\mathrm{DH}}} ^{2} CD 2 = CH 2 + DH 2 , ( 5 5 ) 2 = C H ‾ 2 + 10 2 \displaystyle \left( 5 \sqrt{5} \right) ^{2} = {\overline{\mathrm{CH}}} ^{2} + 10 ^{2} ( 5 5 ) 2 = CH 2 + 1 0 2
C H ‾ 2 \displaystyle {\overline{\mathrm{CH}}} ^{2} CH 2 = 125 − 100 = 25 = 125 - 100 = 25 = 125 − 100 = 25 , C H ‾ = 5 \displaystyle {\overline{\mathrm{CH}}} = 5 CH = 5
A E ‾ = 3 E D ‾ \displaystyle {\overline{\mathrm{AE}}} = 3 {\overline{\mathrm{ED}}} AE = 3 ED 이므로
A D ‾ \displaystyle {\overline{\mathrm{AD}}} AD = A E ‾ + E D ‾ \displaystyle = {\overline{\mathrm{AE}}} + {\overline{\mathrm{ED}}} = AE + ED = 3 E D ‾ + E D ‾ \displaystyle = 3 {\overline{\mathrm{ED}}} + {\overline{\mathrm{ED}}} = 3 ED + ED = 4 E D ‾ = 12 \displaystyle = 4 {\overline{\mathrm{ED}}} = 12 = 4 ED = 12
E D ‾ = 3 \displaystyle {\overline{\mathrm{ED}}} = 3 ED = 3
B F ‾ = E D ‾ \displaystyle {\overline{\mathrm{BF}}} = {\overline{\mathrm{ED}}} BF = ED 이므로 B F ‾ = 3 \displaystyle {\overline{\mathrm{BF}}} = 3 BF = 3
F H ‾ = F B ‾ + B C ‾ + C H ‾ = 3 + 12 + 5 = 20 \displaystyle {\overline{\mathrm{FH}}} = {\overline{\mathrm{FB}}} + {\overline{\mathrm{BC}}} + {\overline{\mathrm{CH}}} = 3 + 12 + 5 = 20 FH = FB + BC + CH = 3 + 12 + 5 = 20
직각삼각형 D F H \mathrm{DFH} DFH 에서 피타고라스 정리에 의하여
D F ‾ 2 = F H ‾ 2 + D H ‾ 2 = 20 2 + 10 2 = 500 \displaystyle {\overline{\mathrm{DF}}} ^{2} = {\overline{\mathrm{FH}}} ^{2} + {\overline{\mathrm{DH}}} ^{2} = 20 ^{2} + 10 ^{2} = 500 DF 2 = FH 2 + DH 2 = 2 0 2 + 1 0 2 = 500
D F ‾ = 10 5 \displaystyle {\overline{\mathrm{DF}}} = 10 \sqrt{5} DF = 10 5
선분 A B \mathrm{AB} AB 가 선분 D F \mathrm{DF} DF 와 만나는 점을 I \mathrm{I} I 라 하자.
A B ‾ ∥ E G ‾ \displaystyle {\overline{\mathrm{AB}}} \parallel {\overline{\mathrm{EG}}} AB ∥ EG 이므로 ∠ D E G = ∠ D A B \angle \mathrm{DE} \mathrm{G} \mathit{=} \angle \mathrm{DAB} ∠ DE G = ∠ DAB (동위각)이고,
A D ‾ ∥ F C ‾ \displaystyle {\overline{\mathrm{AD}}} \parallel {\overline{\mathrm{FC}}} AD ∥ FC 이므로 ∠ D A B = ∠ F B I \angle \mathrm{DAB} \mathit{=} \angle \mathrm{FBI} ∠ DAB = ∠ FBI (엇각)
그러므로 ∠ D E G = ∠ F B I \angle \mathrm{DE} \mathrm{G} \mathit{=} \angle \mathrm{FBI} ∠ DE G = ∠ FBI
삼각형 E G D {\mathrm{EGD}} EGD 와 삼각형 B I F {\mathrm{BIF}} BIF 에서
∠ D E G = ∠ F B I \angle \mathrm{DE} \mathrm{G} \mathit{=} \angle \mathrm{FBI} ∠ DE G = ∠ FBI , D E ‾ = F B ‾ = 3 \displaystyle \overline{{\mathrm{DE}}} = \overline{{\mathrm{FB}}} = 3 DE = FB = 3 , ∠ E D G = ∠ B F I \angle {\mathrm{EDG}} \mathit{=} \angle {\mathrm{BFI}} ∠ EDG = ∠ BFI (엇각)이므로 두 삼각형은 서로 합동이다.
삼각형 E G D {\mathrm{EGD}} EGD 와 삼각형 A I D {\mathrm{AID}} AID 에서 각 E D G {\mathrm{EDG}} EDG 는 공통이고, ∠ D G E = ∠ D I A \angle {\mathrm{DGE}} \mathit{=} \angle {\mathrm{DIA}} ∠ DGE = ∠ DIA (동위각)이므로 두 삼각형은 서로 닮음이다.
D E ‾ : D A ‾ = 3 : 12 = 1 : 4 \displaystyle {\overline{\mathrm{DE}}} : {\overline{\mathrm{DA}}} = 3 : 12 = 1 : 4 DE : DA = 3 : 12 = 1 : 4 이므로 삼각형 E G D {\mathrm{EGD}} EGD 와 삼각형 A I D {\mathrm{AID}} AID 의 닮음비는 1 : 4 1 : 4 1 : 4 이다.
F I ‾ = G D ‾ = x \displaystyle \overline{{\mathrm{FI}}} = \overline{{\mathrm{GD}}} = x FI = GD = x 라 하면 I D ‾ = 4 x \displaystyle \overline{{\mathrm{ID}}} = 4 x ID = 4 x 이므로
F D ‾ = F I ‾ + I D ‾ = 5 x = 10 5 \displaystyle {\overline{\mathrm{FD}}} = {\overline{\mathrm{FI}}} + {\overline{\mathrm{ID}}} = 5 x = 10 \sqrt{5} FD = FI + ID = 5 x = 10 5
x = 2 5 \displaystyle x = 2 \sqrt{5} x = 2 5 , 즉 F I ‾ = G D ‾ = 2 5 \displaystyle {\overline{\mathrm{FI}}} = {\overline{\mathrm{GD}}} = 2 \sqrt{5} FI = GD = 2 5
I B ‾ = E G ‾ = y \displaystyle {\overline{\mathrm{IB}}} = {\overline{\mathrm{EG}}} = y IB = EG = y 라 하면 A I ‾ = 4 y \displaystyle {\overline{\mathrm{AI}}} = 4 y AI = 4 y 이므로
A B ‾ = A I ‾ + I B ‾ = 5 y = 5 5 \displaystyle {\overline{\mathrm{AB}}} = {\overline{\mathrm{AI}}} + {\overline{\mathrm{IB}}} = 5 y = 5 \sqrt{5} AB = AI + IB = 5 y = 5 5
y = 5 \displaystyle y = \sqrt{5} y = 5 , 즉 I B ‾ = E G ‾ = 5 \displaystyle {\overline{\mathrm{IB}}} = {\overline{\mathrm{EG}}} = \sqrt{5} IB = EG = 5
점 G \mathrm{G} G 에서 선분 A D \mathrm{AD} AD 에 내린 수선의 발을 J \mathrm{J} J 라 하자.
G E ‾ ∥ C D ‾ \displaystyle {\overline{\mathrm{G} \mathrm{E}}} \parallel {\overline{\mathrm{CD}}} GE ∥ CD 이므로 ∠ J E G = ∠ A D C \angle {\mathrm{JEG}} \mathit{=} \angle {\mathrm{ADC}} ∠ JEG = ∠ ADC (동위각)이고,
A D ‾ ∥ C H ‾ \displaystyle {\overline{\mathrm{AD}}} \parallel {\overline{\mathrm{CH}}} AD ∥ CH 이므로 ∠ A D C = ∠ H C D \angle \mathrm{ADC} \mathit{=} \angle \mathrm{HCD} ∠ ADC = ∠ HCD (엇각)
그러므로 ∠ J E G = ∠ H C D \angle \mathrm{JEG} \mathit{=} \angle \mathrm{HCD} ∠ JEG = ∠ HCD
삼각형 G E J {\mathrm{G \mathrm{EJ}}} G EJ 와 삼각형 D C H {\mathrm{DCH}} DCH 에서 ∠ J E G = ∠ H C D \angle \mathrm{JEG} \mathit{=} \angle \mathrm{HCD} ∠ JEG = ∠ HCD
∠ G J E = ∠ D H C = 90 ∘ \angle {\mathrm{GJE}} \mathit{=} \angle {\mathrm{DHC}} \mathit{=} 90 ^\circ ∠ GJE = ∠ DHC = 9 0 ∘ 이므로 두 삼각형은 서로 닮음이다.
G E ‾ : D C ‾ = 5 : 5 5 = 1 : 5 \displaystyle {\overline{\mathrm{G} \mathrm{E}}} : {\overline{\mathrm{DC}}} = \sqrt{5} : 5 \sqrt{5} = 1 : 5 GE : DC = 5 : 5 5 = 1 : 5 이므로 삼각형 G E J \mathrm{G} \mathrm{EJ} G EJ 와 삼각형 D C H \mathrm{DCH} DCH 의 닮음비는 1 : 5 1 : 5 1 : 5 이다.
E J ‾ : C H ‾ = E J ‾ : 5 = 1 : 5 \displaystyle {\overline{\mathrm{EJ}}} : {\overline{\mathrm{CH}}} = {\overline{\mathrm{EJ}}} : 5 = 1 : 5 EJ : CH = EJ : 5 = 1 : 5 에서 E J ‾ = 1 \displaystyle {\overline{\mathrm{EJ}}} = 1 EJ = 1
G J ‾ : D H ‾ = G J ‾ : 10 = 1 : 5 \displaystyle {\overline{\mathrm{GJ}}} : {\overline{\mathrm{DH}}} = {\overline{\mathrm{GJ}}} : 10 = 1 : 5 GJ : DH = GJ : 10 = 1 : 5 에서 G J ‾ = 2 \displaystyle {\overline{\mathrm{GJ}}} = 2 GJ = 2
A J ‾ = A D ‾ − E D ‾ − J E ‾ = 12 − 3 − 1 = 8 \displaystyle {\overline{\mathrm{AJ}}} = {\overline{\mathrm{AD}}} - {\overline{\mathrm{ED}}} - {\overline{\mathrm{JE}}} = 12 - 3 - 1 = 8 AJ = AD − ED − JE = 12 − 3 − 1 = 8
직각삼각형 A G J \mathrm{AGJ} AGJ 에서 피타고라스 정리에 의하여
A G ‾ 2 = G J ‾ 2 + A J ‾ 2 = 2 2 + 8 2 = 68 \displaystyle {\overline{\mathrm{AG}}} ^{2} = {\overline{\mathrm{GJ}}} ^{2} + {\overline{\mathrm{AJ}}} ^{2} = 2 ^{2} + 8 ^{2} = 68 AG 2 = GJ 2 + AJ 2 = 2 2 + 8 2 = 68
A G ‾ = 2 17 \displaystyle {\overline{\mathrm{AG}}} = 2 \sqrt{17} AG = 2 17
점 A \mathrm{A} A 에서 선분 D F \mathrm{DF} DF 에 내린 수선의 발을 K \mathrm{K} K 라 하면 삼각형 A D K \mathrm{ADK} ADK 와 삼각형 D F H \mathrm{DFH} DFH 에서
∠ A D K = ∠ D F H \angle \mathrm{ADK} \mathit{=} \angle \mathrm{DFH} ∠ ADK = ∠ DFH (엇각), ∠ D K A = ∠ F H D = 90 ∘ \angle \mathrm{DKA} \mathit{=} \angle \mathrm{FHD} \mathit{=} 90 ^\circ ∠ DKA = ∠ FHD = 9 0 ∘ 이므로 두 삼각형은 서로 닮음이다.
A K ‾ : D H ‾ = A D ‾ : D F ‾ \displaystyle {\overline{\mathrm{AK}}} : {\overline{\mathrm{DH}}} = {\overline{\mathrm{AD}}} : {\overline{\mathrm{DF}}} AK : DH = AD : DF 에서 A K ‾ : 10 = 12 : 10 5 \displaystyle {\overline{\mathrm{AK}}} : 10 = 12 : 10 \sqrt{5} AK : 10 = 12 : 10 5 이므로
A K ‾ = 120 10 5 = 12 5 5 \displaystyle {\overline{\mathrm{AK}}} = \frac{120}{10 \sqrt{5}} = \frac{12 \sqrt{5}}{5} AK = 10 5 120 = 5 12 5
직각삼각형 A G K \mathrm{AGK} AGK 에서
sin ( ∠ A G K ) \sin \left( \angle \mathrm{AGK} \right) sin ( ∠ AGK ) = A K ‾ A G ‾ \displaystyle = \frac{{\overline{\mathrm{AK}}}}{{\overline{\mathrm{AG}}}} = AG AK = 12 5 5 × 1 2 17 \displaystyle = \frac{12 \sqrt{5}}{5} \times \frac{1}{2 \sqrt{17}} = 5 12 5 × 2 17 1
= 12 5 5 × 17 34 \displaystyle = \frac{12 \sqrt{5}}{5} \times \frac{\sqrt{17}}{34} = 5 12 5 × 34 17
= 6 85 85 \displaystyle = \frac{6}{85} \sqrt{85} = 85 6 85
∠ A G F = ∠ A G K \angle \mathrm{AGF} \mathit{=} \angle \mathrm{AGK} ∠ AGF = ∠ AGK 이므로 sin ( ∠ A G F ) = 6 85 85 \displaystyle \sin \left( \angle \mathrm{AGF} \right) = \frac{6}{85} \sqrt{85} sin ( ∠ AGF ) = 85 6 85
따라서 p = 85 p = 85 p = 85 , q = 6 q = 6 q = 6 에서 p + q = 91 p + q = 91 p + q = 91