A right triangle has a perimeter of 30 and the sum of the squares of the sides is 338. Find the length of the shortest side.
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.
VERy nice solution.
The problem does not specify that the solution is over the integers or even positive values. But, in fact, the only non-complex solution of: Solve [ x + y + z = 3 0 ∧ x 2 + y 2 + z 2 = 3 3 8 ∧ x 2 + y 2 = z 2 , { x , y , z } ] where the third constraint comes from the right triangle specification gives the ( 5 , 1 2 , 1 3 ) solution.
The full solution set is { { x → 5 . , y → 1 2 . , z → 1 3 . } , { x → 1 2 . , y → 5 . , z → 1 3 . } , { x → 2 1 . 5 − 1 9 . 4 3 5 8 i , y → 2 1 . 5 + 1 9 . 4 3 5 8 i , z → − 1 3 . } , { x → 2 1 . 5 + 1 9 . 4 3 5 8 i , y → 2 1 . 5 − 1 9 . 4 3 5 8 i , z → − 1 3 . } }
If the right triangle constraint is removed, then there is a smaller solution: 3 2 ( 1 5 − 5 7 ) or about 4 . 9 6 6 7 7 7 0 4 3 1 5 .
Problem Loading...
Note Loading...
Set Loading...
Let the two legs be a and b , and the hypotenuse be c . By pythagorean theorem , we have
c 2 = a 2 + b 2
Thus,
a 2 + b 2 + c 2 = 3 3 8
c 2 + c 2 = 3 3 8
2 c 2 = 3 3 8
c 2 = 1 6 9
c = 1 3
From a + b + c = 3 0 ,
a = 3 0 − b − c
a = 3 0 − b − 1 3
a = 1 7 − b
Substituting, we get
a 2 + b 2 + c 2 = 3 3 8
( 1 7 − b ) 2 + b 2 + 1 6 9 = 3 3 8
2 8 9 − 3 4 b + b 2 + b 2 + 1 6 9 = 3 3 8
b 2 − 1 7 b + 6 0 = 0
( b − 1 2 ) ( b − 5 ) = 0
b − 1 2 = 0
b = 1 2
b − 5 = 0
b = 5
Therefore, b can either be 1 2 or 5 . Accordingly, a can be either 1 2 or 5 .
Thus, the length of the smallest side is 5 .
Conclusion: The right triangle is 5 − 1 2 − 1 3 right triangle.