The right triangle that just got up and left

Geometry Level 3

A right triangle with a perimeter of 60 units has an altitude (to the hypotenuse) of length 12 units. Find the sum of the lengths of the two (non-hypotenuse) legs of this triangle.


The answer is 35.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

8 solutions

Let the two legs of the triangle have lengths a a and b b . Then the hypotenuse has length a 2 + b 2 \sqrt{a^{2} + b^{2}} , and the area can be expressed as both 1 2 a b \dfrac{1}{2}ab and as one-half the product of the length of the hypotenuse and the altitude to it, i.e., 1 2 a 2 + b 2 12 = 6 a 2 + b 2 \dfrac{1}{2}\sqrt{a^{2} + b^{2}}*12 = 6\sqrt{a^{2} + b^{2}} . Equating these two area expressions yields that a b = 12 a 2 + b 2 ab = 12\sqrt{a^{2} + b^{2}} .

Now the perimeter is a + b + a 2 + b 2 = 60 a + b + \sqrt{a^{2} + b^{2}} = 60 , and so

a + b = 60 a 2 + b 2 a 2 + 2 a b + b 2 = 3600 + ( a 2 + b 2 ) 120 a 2 + b 2 a + b = 60 - \sqrt{a^{2} + b^{2}} \Longrightarrow a^{2} + 2ab + b^{2} = 3600 + (a^{2} + b^{2}) - 120\sqrt{a^{2} + b^{2}}

2 a b + 120 a 2 + b 2 = 3600 2 12 a 2 + b 2 + 120 a 2 + b 2 = 3600 \Longrightarrow 2ab + 120\sqrt{a^{2} + b^{2}} = 3600 \Longrightarrow 2*12\sqrt{a^{2} + b^{2}} + 120\sqrt{a^{2} + b^{2}} = 3600

144 a 2 + b 2 = 3600 a 2 + b 2 = 25. \Longrightarrow 144\sqrt{a^{2} + b^{2}} = 3600 \Longrightarrow \sqrt{a^{2} + b^{2}} = 25.

Thus a + b = 60 25 = 35 a + b = 60 - 25 = \boxed{35} .

(Note that as a b = 12 25 = 300 b = 300 a ab = 12*25 = 300 \Longrightarrow b = \dfrac{300}{a} we have that

a + 300 a = 35 a 2 35 a + 300 = ( a 15 ) ( a 20 ) = 0 a + \dfrac{300}{a} = 35 \Longrightarrow a^{2} - 35a + 300 = (a - 15)(a - 20) = 0 ,

and so the two legs have lengths 15 15 and 20 20 .)

Thanks. However hard I tried, I was not able to solve the two expression by myself. ! !

Niranjan Khanderia - 5 years, 2 months ago
Peter Macgregor
Feb 15, 2019

Let's call the hypotenuse H and the sum of the other two sides S. It is this S = a + b S=a+b which we want to find.

From the information on the perimeter we can see that

S + H = 60 ( 1 ) S+H=60 \dots(1)

Now let's work out the area of the triangle in two ways. We can take the hypotenuse to be the base and then the height is 12, or we can take the base to b and the height to be a. The area must come out to be the same in both cases, so we get (cancelling the factor of 1 2 \frac{1}{2} )

a b = 12 H ( 2 ) ab=12H \dots (2)

Now let us find the square of our desired quantity, and simplify it using Pythagoras's theorem

S 2 = ( a + b ) 2 = a 2 + b 2 + 2 a b = H 2 + 2 a b S^2=(a+b)^2=a^2+b^2+2ab=H^2+2ab

Now using equations (1) and (2) we can write this as

S 2 = ( 60 S ) 2 + 24 ( 60 S ) S^2=(60-S)^2+24(60-S)

When you expand the square bracket on the right hand side the terms in S 2 S^2 conveniently cancel to leave an easy linear equation to find

S = 35 \boxed{S=35}

Chew-Seong Cheong
Feb 16, 2019

Let the right triangle described be A B C ABC , with B C BC be the hypotenuse and A D AD the altitude to B C BC . Let the length of B C = x BC=x and the smallest angle A C B = θ \angle ACB = \theta . Then

A B + B C + C A = 60 x sin θ + x + x cos θ = 60 x ( 1 + sin θ + cos θ ) = 60 . . . ( 1 ) \begin{aligned} AB + BC + CA & = 60 \\ x \sin \theta + x + x \cos \theta & = 60 \\ x \left(1 + \sin \theta + \cos \theta \right) & = 60 & ...(1) \end{aligned}

Consider A C D \triangle ACD , we note that

C A cos θ = A D x sin θ cos θ = 12 x = 12 sin θ cos θ . . . ( 2 ) \begin{aligned} CA \cos \theta & = AD \\ x \sin \theta \cos \theta & = 12 \\ \implies x & = \frac {12}{\sin \theta \cos \theta} & ...(2) \end{aligned}

Substituting in ( 1 ) (1) ,

12 sin θ cos θ ( 1 + sin θ + cos θ ) = 60 sin θ + cos θ = 5 sin θ cos θ 1 Squaring both sides sin 2 θ + 2 sin θ cos θ + cos 2 θ = 25 sin 2 θ cos 2 θ 10 sin θ cos θ + 1 25 sin 2 θ cos 2 θ 12 sin θ cos θ = 0 sin ( 2 θ ) ( 25 4 sin ( 2 θ ) 6 ) = 0 sin ( 2 θ ) = 24 25 Since sin ( 2 θ ) > 0 2 tan θ 1 + tan 2 θ = 24 25 Using the half-angle tangent substitution 12 tan 2 θ 25 tan θ + 12 = 0 ( 4 tan θ 3 ) ( 3 tan θ 4 ) = 0 tan θ = 3 4 Since θ is the smallest angle. \begin{aligned} \frac {12}{\sin \theta \cos \theta} (1+\sin \theta + \cos \theta) & = 60 \\ \sin \theta + \cos \theta & = 5 \sin \theta \cos \theta - 1 & \small \color{#3D99F6} \text{Squaring both sides} \\ \sin^2 \theta + 2 \sin \theta \cos \theta + \cos^2 \theta & = 25 \sin^2 \theta \cos^2 \theta - 10 \sin \theta \cos \theta + 1 \\ 25 \sin^2 \theta \cos^2 \theta - 12 \sin \theta \cos \theta & = 0 \\ \sin (2\theta) \left(\frac {25}4 \sin (2\theta) - 6\right) & = 0 \\ \implies \color{#3D99F6} \sin (2 \theta) & = \frac {24}{25} & \small \color{#3D99F6} \text{Since }\sin (2\theta) > 0 \\ \color{#3D99F6} \frac {2\tan \theta}{1+\tan^2 \theta} & = \frac {24}{25} & \small \color{#3D99F6} \text{Using the half-angle tangent substitution} \\ 12 \tan^2 \theta - 25 \tan \theta + 12 & = 0 \\ (4\tan \theta - 3)(3\tan \theta - 4) & = 0 \\ \implies \tan \theta & = \frac 34 & \small \color{#3D99F6} \text{Since }\theta \text{ is the smallest angle.} \end{aligned}

Implying that sin θ = 3 5 \sin \theta = \frac 35 and cos θ = 4 5 \cos \theta = \frac 45 . Now the sum of lengths of the two legs A B + C A AB + CA = 12 cos θ + 12 sin θ = \dfrac {12}{\cos \theta} + \dfrac {12}{\sin \theta} = 15 + 20 = 35 = 15 + 20 = \boxed{35} .

Hosam Hajjir
Feb 15, 2019

Let A B C \triangle ABC be right at vertex B B . Let θ = C \theta = \angle C . Then

c = b sin θ c = b \sin \theta and a = b cos θ a = b \cos \theta . Further, the altitude h h onto the the hypotenuse b b is given by

h = 12 = a sin θ = b sin θ cos θ ( 1 ) h = 12 = a \sin \theta = b \sin \theta \cos \theta \hspace{12pt} (1)

Now, the perimeter is 60 60 , so

b ( 1 + cos θ + sin θ ) = 60 ( 2 ) b (1 + \cos \theta + \sin \theta ) = 60 \hspace{12pt} (2)

Pluggin equation (1) into (2), and simplifying and re-arranging , we get

( 1 + cos θ + sin θ ) = 5 sin θ cos θ ( 3 ) (1 + \cos \theta + \sin \theta ) = 5 \sin \theta \cos \theta \hspace{12pt} (3)

Noting that cos θ + sin θ = 2 cos ( θ π 4 ) \cos \theta + \sin \theta = \sqrt{2} \cos( \theta - \frac{\pi}{4} ) and that,

sin θ cos θ = 1 2 sin ( 2 θ ) = 1 2 cos ( 2 ( θ π 4 ) ) \sin \theta \cos \theta = \frac{1}{2} \sin(2 \theta) = \frac{1}{2} \cos( 2 (\theta - \frac{\pi}{4} ) ) , equation (3) becomes,

1 + 2 cos v = 5 2 cos 2 v = 5 2 ( 2 cos 2 v 1 ) ( 4 ) 1 + \sqrt{2} \cos v = \frac{5}{2} \cos 2 v = \frac{5}{2} (2 \cos^2 v - 1 ) \hspace{12pt} (4)

where v = θ π 4 v = \theta - \frac{\pi}{4} . Simplifying equation (4), one obtains,

10 cos 2 v 2 2 cos v 7 = 0 10 \cos^2 v - 2 \sqrt{2} \cos v - 7 = 0

Solving using the quadratic formula,

cos v = 1 20 ( 2 2 ± 288 ) = 1 10 ( 2 ± 6 2 ) \cos v = \frac{1}{20} ( 2 \sqrt{2} \pm \sqrt{ 288 } ) = \frac{1}{10} ( \sqrt{2} \pm 6 \sqrt{2} )

So that, the two possible values of cos v \cos v are 7 10 2 \frac{7}{10} \sqrt{2} and 1 2 - \dfrac{1}{\sqrt{2} } .

By inspection, the second of these values is extraneous and can be safely ignored. This leaves the first value of 7 10 2 \frac{7}{10} \sqrt{2} .

There are two values for the angle v v with this cosine. Using a standard scientific calculator, these two values are v = 8.130102354 1 v = 8.1301023541^{\circ}

and v = 8.130102354 1 v = - 8.1301023541^{\circ} . This implies that the two values of θ \theta are θ = 4 5 8.130102354 1 = 36.869897645 9 \theta = 45^{\circ} - 8.1301023541^{\circ} = 36.8698976459^{\circ}

and θ = 4 5 + 8.130102354 1 = 53.130102354 1 \theta = 45^{\circ} + 8.1301023541^{\circ} = 53.1301023541^{\circ} . These are the two possible values for the angle θ \theta , and as can be seen they are

complementary. These famous angels have the values for the sine and cosine of 3 5 \frac{3}{5} and 4 5 \frac{4}{5} and vice-versa.

Now we're ready to calculate the hypotenuse, b = 12 sin θ cos θ = 25 b = \dfrac{12}{\sin \theta \cos \theta } = 25 .

Hence, a + c = b ( cos θ + sin θ ) = 25 ( 3 5 + 4 5 ) = 35 a + c = b ( \cos \theta + \sin \theta ) = 25 ( \frac{3}{5} + \frac{4}{5} )= \boxed{35} .

Rab Gani
May 30, 2018

Let the sides of the triangle are a,b, and 60 – (a+b) Pythagoras law : a^2+ b^2= [60 – (a+b)]^2, ab – 60(a+b) + 1800 = 0, By similarity: b/12 = [60 –(a+b)]/a, ab = 12[60 – (a+b)], Substitute ab,to the first equation, a+b = 35.

Edwin Gray
Feb 16, 2019

area is given by(1/2)ab and (1/2)(12)(c), so ab = 12c. . Since P = 60, a + b = 60 -c. Squaring, a^2 + 2ab + b^2 = 3600 - 120c + c^2.. Substituting 2ab = 24c, and from the Pythagorean Theorem, a^2 + b^2 = c^2, we have: a^2 + b^2 = 3600 - 144c + c^2, or c^2 = 3600 - 144c + c^2, and 144c = 3600, c = 25. Then a + b = 60 - c =35.

Kris Hauchecorne
Feb 15, 2019

The hypothenusa is the diameter of a circle that circumscribes the triangle:

2R cos(t) + 2R sin(t) + 2R = 60

2R cos(t)sin(t) = 12

squaring the first and combining the two equations gives R = 25/2

sin(2t) = 2sin(t)cos(t) = 24/25

I determined t from that and A+B = 2R (cos(t) + sin( t)) = 35

"Since P=60, the perimeter of this right triangle is an integer, the sides must also be integral."
Above was the bases of my solution. It is a wrong assumption. so I have deleted my solution.
Thanks to Brian Charlesworth . See his comment given below. [link text]

Thanks for posting your solution. Variety is always welcome. :)

One thing I would note is that while the perimeter is integral, the side lengths may not necessarily be integral. For example, if I had made the perimeter 80 80 , the side lengths (via my method) would have come out to 520 23 + 40 31 23 \dfrac{520}{23} + \dfrac{40\sqrt{31}}{23} and 520 23 40 31 23 \dfrac{520}{23} - \dfrac{40\sqrt{31}}{23} . With h = 12 h = 12 any perimeter value in excess of 24 ( 2 + 1 ) 57.94 24(\sqrt{2} + 1) \approx 57.94 will yield a valid right triangle, but only for a perimeter of 60 60 will all the side lengths be integral, which is interesting in itself. This link discusses Pythagorean triples with integer altitude values h h .

A quick short-cut solution to my problem, (making the assumption that the sides are integer valued), is to gather all the Pythagorean triples with one side having length 12 12 and then splice them together in pairs to get another Pythagorean triple with perimeter 60 60 . The list is

( 5 , 12 , 13 ) , ( 9 , 12 , 15 ) , ( 12 , 16 , 20 ) (5,12,13), (9,12,15), (12,16,20) and ( 12 , 35 , 37 ) (12,35,37) .

Playing around with these yields a single solution: backing the ( 9 , 12 , 15 ) (9,12,15) and ( 12 , 16 , 20 ) (12,16,20) triangles onto one another to create the ( 15 , 20 , 25 ) (15,20,25) solution triangle.

Brian Charlesworth - 5 years, 2 months ago

Log in to reply

Thanks a lot. I never knew the fact you gave with example. I also went through the article. I am deleting my solution.

Niranjan Khanderia - 5 years, 2 months ago

Log in to reply

I liked the intuition behind your solution, and it would work well if it was given that the sides were also of integral length. It made me wonder about right triangles with integer perimeters, side lengths and altitudes, which ultimately led me to the link. One question always leads to another. :)

Brian Charlesworth - 5 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...