Maximize xy Subject to x² + xy + y² = 1
At a glance
- 1. Use a square inequality
Since (x − y)² ≥ 0, we have x² + y² ≥ 2xy.
- 2. Apply the constraint
Substitute the constraint to get 1 ≥ 3xy, so xy ≤ 1/3.
- 3. Check equality
Equality requires x = y; the constraint then gives x = y = ±1/√3.
- 4. Verify the maximum
Both equality cases are feasible, so the upper bound is attained.
Interpreting the constraint as , you can find the maximum of with a one-line inequality. The key is to use a square that is always nonnegative, then check when equality occurs.
A direct proof of the maximum
For every pair of real numbers and ,
Expanding and rearranging gives
Now use the constraint to replace with :
Therefore,
This proves that no feasible pair can give a value larger than . To show that this bound is the actual maximum, find a feasible pair that reaches it. Equality in the square inequality holds when . Substituting into the constraint gives , so
At either point, . Thus the maximum is , attained at both points.
Check the equality cases
For the positive choice, , the constraint evaluates to
and the objective is . For the negative choice, , the squared terms are still each and the product is still , so this point also satisfies the constraint and reaches the bound.
The two points matter: the objective depends on the product, so changing both signs leaves unchanged. The constraint also remains satisfied because its three terms are all unchanged when both variables change sign.
Lagrange multiplier check
The inequality proves the global upper bound directly. You can also check the possible extrema with Lagrange multipliers. Let and . At a constrained stationary point,
so
Subtracting the second equation from the first gives . There are two cases. If , the constraint gives and . If , the first equation implies ; the constraint then gives , , and .
The constraint describes a closed, bounded ellipse, so the objective has a largest and a smallest value on it. The multiplier check finds the maximum and the minimum . It also shows why the points with opposite signs, although they give a product with larger absolute value, are not the maximum.
Common mistakes
- Choosing the product with the largest absolute value. The question asks for the largest value, not the largest magnitude. The value is smaller than .
- Dropping the term in the constraint. The equation is not ; it is .
- Checking only one equality point. Both and attain the maximum.
- Stopping after finding an upper bound. A bound alone does not prove it is the maximum. You must also show that a feasible pair attains it.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.