The problem asked for the volume of a pyramid given the lengths of its six sides. “Pyramid”, by the way, was supposed to mean this thing:

.

Let’s start with the simpler problem of finding the area of a triangle given the lengths of its sides. Triangles look like this:

.

The area is given by:

.

Let the base of the triangle in the above figure be . By definition of the sine function,

with the height of the triangle.

Plugging in these values of the base and height, we get

.

The law of cosines provides the missing information on .

.

Solving for and plugging into the area formula, we get

.

The internet informs me that this result is known as “Heron’s Formula”. I don’t know who Heron was, but I’m guessing a Babylonian with a long thin neck, webbed feet, and a predilection towards fish.

The dimensions are correct – they’re . Also, and enter into the formula symmetrically.

You can only form a triangle if the shortest side is greater than difference of the other two. That is, any two sides added together need to be longer than the third side. Imagine that isn’t true for some . We can’t form a triangle with little sticks of those lengths, but we can blindly plug the numbers into the formula. Imagine the sides are listed in increasing length. Then let

.

Substituting into Heron’s Formula gives

.

If , we get an imaginary area.

The partial derivative of the area with respect to is

.

This is zero when

,

so that a right triangle will not change its area if you make the hypotenuse slightly shorter or longer. If you lengthen one of the shorter legs of any triangle, you always increase the area. If you lengthen the longest leg, you increase the area of an acute triangle and decrease the area of an obtuse triangle.

Imagine the perimeter of the triangle is fixed, so that

.

We want to maximize the area. The derivative of the area with respect to is now

.

The restriction of constant perimeter means

.

If the area is extremized, the derivative with respect to the length of any side should be zero, no matter which of the other two sides I chose to shorten to compensate. So first I let

,

then

.

The algebra then yields

which is true only for

.

So an equilateral triangle encloses the greatest area for a given perimeter, as you would expect.

The volume of the pyramid is given by

.

The factor of can be verified with a bit of calculus. Imagine calculating the volume by integrating over slices parallel to the base. Here’s a picture from Wikipedia. It’s only a little bit relevant, but then again I include these visual aids not so much to help you understand the problem as to mock the blind.

At a given height beneath the tip of the pyramid, the width and height of the triangle with both be proportional to , meaning the area is proportional to . Then the volume of the pyramid is

.

We know the area of the base because we got it from a Sumerian avian a few paragraphs ago. Now we just need the height. It’s not pretty, but here’s a way to do it.

Look down on the pyramid from above, like this:

.

Call those three edges that go from the base to the tip and . What we’re looking at in the picture is not their true lengths, since they really pop up out of the screen. Instead, we see their projected lengths, and . ( is shorter than . The capital is the length projected into the plane of the base, while the lower case is the true length.)

Each of these sides and projected sides, along with the altitude of the pyramid, form a right triangle. (Take the altitude to be the segment from the tip to the base, and perpendicular to the base. Since it’s perpendicular to the base, it must be perpendicular to the projected sides in the base, and therefore forms right triangles with them.) The Pythagorean theorem now gives three relations between the height and the lengths of the sides and their projections.

.

.

.

The outside edges of that figure are the lengths of the sides of the base, and . If you imagine forms a triangle with and , with and , and with and , we can start using the law of cosines again. Letting be the angle between and , etc., we get

.

.

.

Finally,

.

That gives seven equations for seven unknowns . Solving for and plugging into the volume formula, along with the area of the base gives (eventually),

.

Actually, I just got that from Wikipedia. The algebra was too nasty. I lose.

May 29, 2012 at 4:16 pm

Which article is that from?

June 1, 2012 at 4:40 pm

http://en.wikipedia.org/wiki/Tetrahedron