L + 2W = 100
A = LW
Find, from the first equation, one variable in terms of the other. L = 100-2W. Substitute that into the area equation.
A = (100-2W)W =
100W - 2W^2)
Use the first derivative to find the maximum possible area.
A' = 100 - 4W = 0
4W = 100 so W = 25
With these problems the value found when setting the derivative = to 0 us the max or min. But you can verify using the first derivative test.
0 <= W <= 50, so the ranges to check are 0 to 50 and 50 t0 100
W=1 is in the first range. Plug into the first derivative. 100- 4 = 96 which is positive.
w=50 is in the second range. 100-4(50) is negative.
The first derivative is positive before W=25 and negative after, so W=25 is a max.
L + 2(25) = 100 so L = 100-50 = 50.