How do you find the right triangle of maximum area if the sum of the lengths of the legs is 5?

1 Answer
Jun 7, 2015

Call x and y the 2 legs.

Area of the right triangle: s = (x.y)/2s=x.y2

Given: x + y = 5 --> y = 5 - x

Then, s = x/2(5 - x) = -(1/2)(x^2 - 5x)s=x2(5x)=(12)(x25x)

s maximum when the derivative s' = 0 -> 2x - 5 = 0 --> x = 5/2x=52.

The area is max when both legs are equals. x = y = 5/2x=y=52

s max = (1/2)(5/2)(5/2) = 25/8

Check:

When x = 2, y = 3, the area is s = (2(3))/2 = 3
When x = 1, and y = 4, the area is s = (1/2)(4) = 2