All courses › Mathematics R1 › Largest product and value

Largest product and value

Two positive numbers with a fixed sum have the largest product when they are equal. You write one number as xx and the other as the sum minus xx, and differentiate the product. The same idea applies to a function on a closed interval: check both where the derivative is zero and at the endpoints. The largest of these numbers is the maximum, and the smallest is the minimum.

P(x)=x(S−x)P(x) = x(S - x)product with a fixed sum
x=S/2x = S/2the numbers are equal

Symbols

SSthe fixed sum
PPthe product

Example

The sum 1212 gives P(x)=x(12−x)P(x) = x(12 - x) and x=6x = 6. The product is 3636. On [0,10][0, 10], f(x)=−x2+6xf(x) = -x^2 + 6x has maximum f(3)=9f(3) = 9.

On a closed interval the largest value can lie at an endpoint even if the derivative is not zero there.
Practise optimisation for free →

← A box from a sheet · Speed along a path →

Part of Mathematics R1: Optimisation.