In triangle ABC, angle C is a right angle and the altitude from C meets AB at D. The lengths of the sides of △ABC are integers, BD=293, and cosB=m/n, where m and n are relatively prime positive integers. Find m+n.
解析
Solution 1
Since △ABC∼△CBD, we have ABBC=BC293⟹BC2=293AB. It follows that 292∣BC and 29∣AB, so BC and AB are in the form 292x and 29x2, respectively, where x is an integer.
By the Pythagorean Theorem, we find that AC2+BC2=AB2⟹(292x)2+AC2=(29x2)2, so 29x∣AC. Letting y=AC/29x, we obtain after dividing through by (29x)2, 292=x2−y2=(x−y)(x+y). As x,y∈Z, the pairs of factors of 292 are (1,292)(29,29); clearly y=29xAC=0, so x−y=1,x+y=292. Then, x=21+292=421.
Thus, cosB=ABBC=29x2292x=42129, and m+n=450.
Solution 2
We will solve for cosB using △CBD, which gives us cosB=BC293. By the Pythagorean Theorem on △CBD, we have BC2−DC2=(BC+DC)(BC−DC)=296. Trying out factors of 296, we can either guess and check or just guess to find that BC+DC=294 and BC−DC=292 (The other pairs give answers over 999). Adding these, we have 2BC=294+292 and BC293=292(292+1)2∗293=84258=42129, and our answer is 450.
Solution 3
Using similar right triangles, we identify that CD=AD⋅BD. Let AD be 29⋅k2, to avoid too many radicals, getting CD=k⋅292. Next we know that AC=AB⋅AD and that BC=AB⋅BD. Applying the logic with the established values of k, we get AC=29k⋅292+k2 and BC=292⋅292+k2. Next we look to the integer requirement. Since k is both outside and inside square roots, we know it must be an integer to keep all sides as integers. Let y be 292+k2, thus 292=y2−k2, and 292=(y+k)(y−k). Since 29 is prime, and k cannot be zero, we find k=420 and y=421 as the smallest integers satisfying this quadratic Diophantine equation. Then, since cosB = 292+k229. Plugging in we get cosB=42129, thus our answer is 450.