COMPOSITE GEOMETRY WORKSHEETS

Checking a triangle altitude recovered from its side-based area

Three side lengths fix a triangle's area, and the area fixes the altitude to any chosen side. This guide recovers the altitude of the 13, 14, 15 triangle and shows how the other altitudes follow.

From sides to altitude

A triangle's altitude is the perpendicular distance from one vertex to the line containing the opposite side. It is the height you need in the familiar formula area equals base times height over two, but when you are given only the three side lengths, the height is not shown. The way out is to compute the area from the sides first and then solve the area formula for the height. This guide takes a scalene triangle with sides 13, 14 and 15, finds its area with the Triangle Calculator and then recovers one altitude with the Triangle Area Calculator as a cross-check. A scalene triangle has three unequal sides, so it has three different altitudes, one for each side taken as the base. Which altitude you want depends on which side you treat as the base.

Computing the area from the sides

The Triangle Calculator uses Heron's formula, attributed to Hero of Alexandria in the first century. First find the semi-perimeter s, which is half the sum of the sides: 13 plus 14 plus 15 is 42, so s is 21. The area is the square root of s times s minus a times s minus b times s minus c. Here that is the square root of 21 times 8 times 7 times 6. Multiplying gives 21 times 8, which is 168, times 7, which is 1,176, times 6, which is 7,056. The square root of 7,056 is 84, since 84 times 84 is 7,056. So the area is 84 square units and the perimeter is 42 units. The calculator reports the same values. It also returns the three angles, which are not needed for the altitude.

Solving for the height

Area equals base times height divided by 2, so height equals 2 times area divided by base. Choose side 14 as the base. Twice the area is 168, and 168 divided by 14 is 12. The altitude to the side of length 14 is 12 units. The Triangle Area Calculator confirms the pair: base 14 and height 12 give 14 times 12 divided by 2, which is 84. The triangle is notable because the area, the semi-perimeter and this altitude are all whole numbers, which is why it appears in textbooks. The altitude splits the base of 14 into two pieces. The left piece is the square root of 13 squared minus 12 squared, or 5, and the right piece is the square root of 15 squared minus 12 squared, or 9. Together 5 plus 9 is 14, as it must be.

The other two altitudes

Taking side 15 as the base gives a height of 168 divided by 15, which is 11.2. Taking side 13 as the base gives 168 divided by 13, about 12.923. The Triangle Area Calculator verifies the 15 case: base 15 and height 11.2 give 15 times 11.2 divided by 2, which is 84. The altitudes order opposite to the sides: the longest side, 15, has the shortest altitude, 11.2, and the shortest side, 13, has the longest altitude, about 12.92. This follows from the fixed area. A longer base needs a smaller height to give the same product. Each altitude is a different measurement of the same triangle, so substituting one side with another side's altitude changes the question and gives the wrong area.

Why an altitude is rarely one of the sides

A common slip is to assume the altitude equals one of the side lengths. In an acute scalene triangle like this one, every altitude is shorter than the two sides that meet at its vertex, because the altitude is the shortest path from the vertex to the opposite line. The altitude of 12 is shorter than both 13 and 15, the sides meeting at that vertex. Only in a right triangle does a leg act as an altitude, to the other leg taken as the base. For instance, the triangle with sides 7, 24 and 25 is right-angled, and taking leg 24 as base, the height is leg 7. Its area is 7 times 24 over 2, or 84, the same as the 13, 14, 15 triangle by coincidence, and its semi-perimeter is 28, so Heron's formula gives the square root of 28 times 21 times 4 times 3, which is the square root of 7,056, again 84.

The altitude to the hypotenuse

The 7, 24, 25 triangle gives a second illustration of the formula. Taking the hypotenuse 25 as the base, the altitude is 2 times 84 divided by 25, which is 6.72. This is shorter than either leg, as the geometry requires. The Triangle Calculator returns the area 84 and a perimeter of 56 for the sides 7, 24 and 25. The altitude to the hypotenuse has a handy property: it equals the product of the legs divided by the hypotenuse, 7 times 24 over 25, which is 168 over 25, the same 6.72. That agreement shows the two routes, via Heron's formula or via the legs, give the same answer. Choosing the route with less arithmetic is a good habit when the triangle has a right angle.

An isosceles check

For a different illustrative triangle, take sides 5, 5 and 6. The semi-perimeter is 8, and the area is the square root of 8 times 3 times 3 times 2, which is the square root of 144, or 12. The perimeter is 16. With the base of 6, the altitude is 2 times 12 over 6, which is 4. The Triangle Area Calculator confirms it: base 6 and height 4 give an area of 12. Here the altitude splits the base into two equal halves of 3, forming right triangles with sides 3, 4 and 5. For the two equal sides taken as bases, the altitude is 24 divided by 5, which is 4.8. An isosceles triangle therefore has only two distinct altitudes, while a scalene one has three, which is what this guide's title refers to.

Valid triangles only

Heron's formula applies only if the three lengths can form a triangle, meaning each side is shorter than the sum of the other two. Sides 3, 4 and 8 fail because 3 plus 4 is only 7, less than 8. In that case the product under the square root is negative, and no real area exists. When the sum of two sides equals the third exactly, as with 3, 4 and 7, the triangle is degenerate: it collapses into a line and the area is zero. Before recovering an altitude, check the triangle inequality for all three combinations. Measured lengths that are nearly degenerate also make the area very sensitive to small errors, since the factors in Heron's formula involve differences between nearly equal numbers. A quick feasibility test for 13, 14 and 15 is that the two shorter sides add to 27, which exceeds 15 comfortably, so the triangle is far from degenerate. Compare sides 13, 14 and 27, where 13 plus 14 equals 27 exactly. The Triangle Calculator rejects such input with a message that the sum of any two sides must exceed the third, so a flat triangle never reaches the area step.

Precision and rounding in measured sides

In the example the sides are exact integers, so the area and the altitudes are exact. Real measurements are not. If the sides were rounded to the nearest centimeter, the area could differ by a small amount and the altitude with it. For a triangle that is close to flat, the effect is larger. Report the altitude with a precision that matches the inputs: if the sides are known to the nearest whole unit, an altitude of 12.923 is better written as about 12.9. Keep extra digits during the calculation and round only at the end. The altitude described here is also the altitude of an ideal planar triangle. It does not account for material thickness, a curved surface or the layout tolerances of a construction project, and a drawing or an on-site survey should supply those.

Why the side-based formula can beat angles

There are other ways to reach the altitude, such as finding an angle with the law of cosines and then using the sine. For this triangle, the angle between sides 14 and 15 is opposite side 13, so its cosine is (14 squared plus 15 squared minus 13 squared) divided by 2 times 14 times 15, which is (196 plus 225 minus 169) over 420, or 252 over 420, which is 0.6. The sine is then 0.8, and the altitude to side 14 equals the other side at that corner times the sine: 15 times 0.8 is 12, matching the area route. Heron's formula needs only the side lengths and no trigonometric functions, so it avoids rounding from angles and is easy to check by hand.

Using the altitude in practice

Altitudes matter wherever a height is needed but only edges can be measured. A surveyor with three measured distances between stakes can compute the perpendicular distance from one stake to the line through the other two. A woodworker who has a triangular gusset with three known edges can find how far a brace must stand from the long edge. A roof section with known rafter and ridge lengths has a vertical rise that follows from the same formula. In each case the measurements are of ideal straight lines, and the altitude is the shortest distance to the opposite line. Real work adds thickness, tolerance and allowance for joints, so the computed height is a starting dimension rather than a cut list. Verify it against the physical layout before cutting or setting anything.

Reproduce the checks

Side-based area

Open the Triangle Calculator and enter:

Side a
13
Side b
14
Side c
15

Expected output:

area

84

perimeter

42

The complete side triple fixes area.

Recovered altitude check

Open the Triangle area calculator and enter:

Base
14
Perpendicular height
12

Expected output:

Triangle area

84

The perpendicular height matches the chosen base.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks