V = x · y²
2 x + y = 3
y = 3 - 2 x
V = x · ( 3 - 2 x )² = x · ( 9 - 12 x + 4 x² ) = 9 x - 12 x² + 4 x³
V ` = 9 - 24 x + 12 x² = 3 ( 4 x² - 8 x + 3 ) = 3 ( 4 x² - 6 x - 2 x + 3 ) =
= 3 [ 2 x ( 2 x - 3 ) - ( 2 x - 3 ) ] = 3 ( 2 x - 3 ) ( 2 x - 1 )
The largest volume is when: V ` = 0, so:
2 x - 3 = 0
2 x = 3
x = 1.5 ( which is incorrect, because : y = 0 )
or: 2 x - 1 = 0
2 x = 1
x = 0.5, y = 3 - 2 · 0.5 = 3 - 1 = 2
V max = 0.5 · 2² = 0.5 · 4 = 2 ft³