Skip to content
Theorem

A product with a fixed sum is largest when the factors are equal

Algebra • Expressions • Maximum and Minimum Values

Formula

Among pairs of non-negative numbers with a fixed sum , the product is greatest when and falls away as the two move apart; over the integers with odd the maximum is attained at the two nearest integers and , which tie.

How to use it

  1. 1Check first that the two factors really do have a constant sum, for instance and .
  2. 2For integers with an odd sum, expect a tie between the two middle values rather than a single winner.
  3. 3Read backwards, the same statement gives the least sum for a fixed product.

Worked example

Two positive integers add to . What is their greatest possible product?

Step-by-step

  1. 1
    The product is , a pair with fixed sum .

    Why: Write the pair in terms of a single variable.

  2. 2
    is odd, so the nearest available pair is and .

    Why: The exact maximum at is not open to integers.

  3. 3

Answer

Watch out

It applies only when the sum is fixed; with a fixed difference the product grows without bound. When the integer sum is odd the maximum is a genuine tie at two values, and reporting only one of them is the usual error.

Also known as

AM-GM for two numbers, maximise a product with fixed sum, product largest when factors equal

Appears in past papers

2019 (II)

2018 (II)

2017 (I)

2016 (II)