Suppose you have a fixed length of wire and want to bend it into a triangle. Which triangle encloses the largest possible area?
It is natural to guess that the answer is the equilateral triangle. But why? This is a beautiful example of how a geometric optimization problem can be turned into a multivariable calculus problem and solved using Lagrange multipliers.
Setting up the problem
Let the side lengths of the triangle be
Suppose the perimeter is fixed and equal to . Thus,
We want to determine which values of , , and produce the largest possible area.
Heron’s formula
Let
be the semiperimeter. Heron’s formula can be written in squared form as
Because the perimeter is fixed, is also fixed. Moreover, maximizing is equivalent to maximizing . So this form of Heron’s formula is particularly convenient for our problem.
A useful change of variables
Introduce three new variables:
The triangle inequalities imply that , , and are positive.
Adding the three equations gives
Since
we obtain the simple constraint
Heron’s formula now becomes
Since is fixed, maximizing the area is equivalent to maximizing
subject to
The original geometry problem has therefore become a simple question: among three positive numbers with a fixed sum, when is their product largest?
Using Lagrange multipliers
Define
and let the constraint function be
At a constrained maximum, the gradients of and must be parallel:
We have
and
Therefore, the Lagrange multiplier equations are
Thus,
Since , , and are positive, these equations imply
Their sum is , so
Returning to the triangle
Recall that
Since , we obtain
Because the perimeter is , each side must therefore have length
Therefore, the triangle of maximum area is the equilateral triangle.
What is the maximum area?
For an equilateral triangle with side length , the area is
Therefore,
Why this argument is interesting
We started with a geometric question about triangles. Heron’s formula converted the area problem into an algebraic one. A simple change of variables then transformed it into the problem of maximizing the product of three positive numbers whose sum is fixed.
Lagrange multipliers reveal the symmetry automatically: at the maximum, the three variables must be equal. Translating that condition back into geometry tells us that the three sides of the triangle must also be equal.
This is one of the appealing features of multivariable calculus: a geometric statement that seems intuitively obvious emerges naturally from an optimization calculation.
Conclusion: Among all triangles with a fixed perimeter, the equilateral triangle has the largest area.
For another surprising connection between equilateral-triangle geometry and a classical geometric object, see The Steiner Inellipse and a Surprising Area Characterization .
The equilateral triangle is distinguished by its symmetry. In three dimensions, the regular tetrahedron has similar geometric elegance. Explore its face areas, volume, and a three-dimensional Pythagorean theorem in The Geometry of a Tetrahedron .