Marden's Theorem and the Ellipse Inside a Triangle
Put a triangle in the complex plane, differentiate a cubic, and the roots land on the foci of a special ellipse.
Key takeaways
- Every triangle contains one ellipse that touches each side exactly at its midpoint, called the Steiner inellipse.
- If the triangle's vertices are the roots of a cubic, the roots of the derivative are the foci of that ellipse.
- The root of the second derivative is the triangle's centroid, which is also the center of the ellipse.
- An equilateral triangle gives a repeated derivative root, and the ellipse becomes the incircle.
Marden's theorem connects a triangle, an ellipse and a derivative. Place the triangle's corners in the complex plane and build the cubic polynomial whose roots are those three numbers. The two roots of its derivative are the foci of the ellipse that touches all three sides at their midpoints.
So a routine algebra step, differentiating and solving a quadratic, locates two points with a purely geometric meaning. Here you will meet the ellipse, work a clean example and follow a short proof.
The tools you need
A complex number x + yi can be read as the point (x, y) in the plane, where i² = −1. Adding complex numbers adds points like arrows. Multiplying by a complex number stretches by its length and turns by its angle. Complex numbers as a proof tool covers this dictionary in more detail.
An ellipse is the set of points whose distances to two fixed points, the foci, add up to a constant. You can draw one with two pins and a loop of string.
For polynomials, the only calculus needed is the power rule: the derivative of zⁿ is n × z to the power n − 1. A root is a value of z that makes the polynomial zero.
The ellipse that kisses the midpoints
Start with an equilateral triangle. Its inscribed circle touches each side at the midpoint. Now apply a linear stretch or shear, a so-called affine map, which turns the equilateral triangle into any triangle you like.
Affine maps keep straight lines straight, keep midpoints as midpoints and keep tangency. They turn circles into ellipses. So every triangle has an inscribed ellipse touching the three side midpoints. It is called the Steiner inellipse, and among all ellipses that fit inside the triangle it has the largest area.
Its center is the centroid, the meeting point of the medians, because affine maps preserve centroids too. Its area is always π/(3√3), or about 0.605, times the area of the triangle.
Statement of the theorem
Let the vertices be complex numbers z₁, z₂ and z₃, not all on one line. Define:
p(z) = (z − z₁)(z − z₂)(z − z₃) Marden's theorem says that the two roots of p′(z) are the foci of the Steiner inellipse. There is a second layer as well. The single root of the second derivative p″(z) is (z₁ + z₂ + z₃)/3, the centroid. It is also the midpoint of the two roots of p′, exactly as the center of an ellipse should be.
Do not mix this statement up with a different, more naive idea, that the roots of p′ might be familiar triangle centers. In a scalene triangle neither focus is the incenter, the circumcenter or the orthocenter. They are a pair of points that treat the three vertices evenly, because the polynomial does not care in which order you list its roots.
That evenness is a useful sanity check. Relabeling the corners leaves p unchanged, so whatever p′ locates must be a property of the triangle itself. Moving or rotating the whole triangle moves the roots of p′ along with it, for the same reason.
A worked example
Take the vertices (−3, 0), (3, 0) and (0, 6), that is, the numbers −3, 3 and 6i.
p(z) = (z² − 9)(z − 6i)
= z³ − 6i z² − 9z + 54i
p′(z) = 3z² − 12i z − 9
= 3(z² − 4i z − 3)
= 3(z − i)(z − 3i) The foci are i and 3i, the points (0, 1) and (0, 3). Their midpoint is (0, 2), which is indeed the centroid.
Now check the ellipse. It is centered at (0, 2) and touches the base at its midpoint (0, 0), so its vertical semi-axis is 2. Each focus is 1 unit from the center. The horizontal semi-axis is √(2² − 1²) = √3. Its equation is x²/3 + (y − 2)²/4 = 1.
The midpoint (1.5, 3) of the right side gives 2.25/3 + 1/4 = 1, so it is on the curve. The slope of the ellipse there works out to −2, the same as the slope of the side from (3, 0) to (0, 6). The curve touches the side as promised.
A short proof
Shift the triangle so its centroid is at 0. Let ω be the complex cube root of 1 given by −1/2 + (√3/2)i. The numbers 1, ω and ω² form an equilateral triangle. Any triangle centered at 0 can be written with two complex constants u and v:
z for w in {1, ω, ω²}: z = u·w + v·w̄ Here w̄ is the conjugate of w, its mirror image in the real axis. The rule z = uw + v w̄ is an affine map, so it sends the incircle of the equilateral triangle to the Steiner inellipse of yours.
First find the polynomial. Using (u + v)³ = u³ + v³ + 3uv(u + v), and the same identity with u and v multiplied by ω and ω², each vertex is a root of:
p(z) = z³ − 3uv·z − (u³ + v³)
p′(z) = 3z² − 3uv
roots of p′: z = ±√(uv) Finding the ellipse's foci
The incircle of the equilateral triangle has radius 1/2, so its points are (1/2) times a unit number e with |e| = 1. Their images are (u e + v ē)/2.
As e goes around the unit circle, one term turns one way and the other turns the opposite way. When the two arrows line up, the distance from 0 is greatest: (|u| + |v|)/2. When they oppose, it is least: the difference of |u| and |v|, divided by 2. These are the semi-axes.
The distance from center to focus satisfies:
f² = [(|u| + |v|)/2]² − [(|u| − |v|)/2]² = |u|·|v|
f = √|uv| The arrows line up in the direction halfway between the angles of u and v, which is the angle of √(uv). So the foci are ±√(uv), exactly the roots of p′. That completes the proof.
In the example, shifting by the centroid 2i gives u = (2 + √3)i and v = (2 − √3)i. Then uv = −1 and the foci are ±i from the center.
Reading the proof again
Three ideas carried the argument, and each is worth separating out.
- Any triangle centered at 0 is a combination of an equilateral triangle running counterclockwise, scaled by u, and its mirror image, scaled by v. This is a three-point version of splitting a signal into rotating components.
- The cube root identity turns those vertices into roots of a cubic with no z² term. The missing term is exactly the statement that the centroid is at 0.
- An ellipse is what you get by adding two arrows that spin in opposite directions at the same rate.
The coefficient of z in p is e = z₁z₂ + z₂z₃ + z₃z₁ when the centroid is at 0. The derivative is 3z² + e, so the foci are ±√(−e/3). You can therefore find them from any list of centered vertices without ever computing u and v.
Check this with the example. The centered vertices are 4i, −3 − 2i and 3 − 2i. Their pairwise products add to 3, so e = 3 and the foci are ±√(−1) = ±i, matching the earlier answer.
What happens in special cases
If the triangle is equilateral, one of u or v is zero. Then p′ has a double root at the centroid, the two foci merge and the ellipse is the incircle.
If the triangle is isosceles, the foci lie either on the axis of symmetry or on a line perpendicular to it, depending on whether the apex angle is smaller or larger than 60°. If the three roots are collinear, the triangle is flat and no inellipse exists, though the derivative roots still lie on the segment.
That last remark is part of a wider fact called the Gauss-Lucas theorem: for any nonconstant polynomial, the roots of the derivative lie within the smallest convex polygon containing the roots of the polynomial. Marden's theorem sharpens this for cubics by saying exactly where inside.
Credit and further directions
Morris Marden included the result in his work on the geometry of polynomials and pointed back to earlier sources, notably Jörg Siebeck in the nineteenth century. The mathematician Dan Kalman helped popularize it under Marden's name.
There are generalizations. If the factors of p carry positive weights, written as exponents, the roots of the corresponding logarithmic derivative are foci of an ellipse touching the sides at points that divide them in ratios set by the weights.
You can also view the proof as an instance of a favorite strategy: solve the symmetric case, then carry it over with a linear map. The same idea underlies proofs about ellipses made by squashing a circle.
Try it yourself
Choose vertices −3, 3 and ih for several heights h. The derivative is 3z² − 2ih z − 9, with roots (ih ± √(27 − h²))/3. For h below 3√3 the foci sit side by side. At h = 3√3 they merge, since the triangle is equilateral. Above it they stack vertically, as in the worked case h = 6.