General Aptitude

Mensuration and geometry

Part 1 of 6 · 17 min

Triangles, Pythagoras and similar triangles

The concept

Start with something familiar

A painter leans a 13 m ladder against a wall, with its foot 5 m from the wall. How high up the wall does it reach?
The wall, the ground and the ladder make a triangle with a square corner where the wall meets the ground. You can't measure the height directly, but you don't need to: in a right-angled triangle, two sides always fix the third. Here the answer is exactly 12 m.
Triangles are the building block of all of geometry. Every flat shape with straight sides can be cut into triangles, so if you're at home with triangles, the rest of this lesson is easy.

Idea 1: a triangle is half a rectangle, so area is half base times height

Draw a rectangle with corners at (0,0)(0, 0), (8,0)(8, 0), (8,5)(8, 5) and (0,5)(0, 5). Its area is 8×5=408 \times 5 = 40. The diagonal from (0,0)(0, 0) to (8,5)(8, 5) cuts it into two identical triangles, so each has area 20, which is half of base × height.
It works for any triangle, not just right-angled ones. Take the triangle with corners (0,0)(0, 0), (8,0)(8, 0) and (3,5)(3, 5). Drop a vertical line from the top corner (3,5)(3, 5) to (3,0)(3, 0). That splits it into two right triangles, and each one's area is 12×\dfrac{1}{2} \times base ×\times height:
PieceBaseHeightArea
Left357.5
Right5512.5
Whole8520
The whole triangle again has area 12×8×5=20\dfrac{1}{2} \times 8 \times 5 = 20. Where the top corner sits along the line doesn't matter, only how high it is.
Key idea
Area of a triangle =12×base×height= \dfrac{1}{2} \times \text{base} \times \text{height}, where the height is measured at right angles to the base.
Example
A triangle has base 10 cm and height 6 cm. Find its area.
12×10×6=30\dfrac{1}{2} \times 10 \times 6 = 30 cm².

Idea 2: in a right triangle, the square on the longest side equals the other two squares added

Call the two sides at the right angle aa and bb, and the longest side, opposite the right angle, cc (the hypotenuse). Then:a2+b2=c2a^2 + b^2 = c^2Why? Picture a big square of side a+ba + b. Inside it, place four copies of the triangle so their hypotenuses form a tilted square in the middle. The big square's area is (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2. The four triangles take 4×12ab=2ab4 \times \dfrac{1}{2}ab = 2ab. What's left, the tilted square, is c2c^2. So c2=a2+b2c^2 = a^2 + b^2.
A few whole-number sets come up again and again. Learn them, and their multiples:
aabbcc
345
51213
81517
72425
Example
The ladder: hypotenuse 13 m, foot 5 m from the wall. How high does it reach?
h2=132−52=169−25=144h^2 = 13^2 - 5^2 = 169 - 25 = 144, so h=12h = 12 m. It's the 5, 12, 13 set.
Picture it
16925

The squares on the two short sides, 9 and 16, together make the square on the longest side, 25.

The same rule gives the distance between two points. From (1,2)(1, 2) to (7,10)(7, 10) you move 6 across and 8 up, so the straight distance is 62+82=100=10\sqrt{6^2 + 8^2} = \sqrt{100} = 10.

Idea 3: when you only know the sides, use Heron's formula

Sometimes you know all three sides but no height. Heron's formula gives the area directly. First find the half-perimeter ss:s=a+b+c2Area=s(s−a)(s−b)(s−c)\begin{aligned} s &= \frac{a + b + c}{2} \\ \text{Area} &= \sqrt{s(s - a)(s - b)(s - c)} \end{aligned}
Example
A triangle has sides 13, 14 and 15 cm. Find its area.
s=13+14+152=21s = \dfrac{13 + 14 + 15}{2} = 21. Area =21×8×7×6=7056=84= \sqrt{21 \times 8 \times 7 \times 6} = \sqrt{7056} = 84 cm².
An equilateral triangle (all sides aa) has its own shortcut. Its height splits the base in half, so by Idea 2 the height is a2−(a2)2=32a\sqrt{a^2 - \left(\dfrac{a}{2}\right)^2} = \dfrac{\sqrt{3}}{2}a. Then Idea 1 gives:Area of equilateral triangle=34a2\text{Area of equilateral triangle} = \frac{\sqrt{3}}{4}a^2
Example
Find the area of an equilateral triangle with side 6 cm.
34×36=93≈15.59\dfrac{\sqrt{3}}{4} \times 36 = 9\sqrt{3} \approx 15.59 cm². Its height is 33≈5.203\sqrt{3} \approx 5.20 cm.

Idea 4: triangles with the same angles have sides in the same ratio

Two triangles are similar when their angles match. Then one is just a scaled copy of the other, so every pair of matching sides is in the same ratio.
The classic case is shadows. At the same time of day, the sun's rays hit a pole and a tower at the same angle. Each object, its shadow and the ray make a right triangle, and the two triangles have the same angles.
HeightShadow
Pole6 m4 m
Towerhh30 m
h30=64  ⇒  h=45 m\frac{h}{30} = \frac{6}{4} \;\Rightarrow\; h = 45 \text{ m}
Key idea
In similar triangles, matching sides are in the same ratio: a1a2=b1b2=c1c2\dfrac{a_1}{a_2} = \dfrac{b_1}{b_2} = \dfrac{c_1}{c_2}.
The other classic case: in triangle ABCABC, a line DEDE is drawn parallel to BCBC, with DD on ABAB and EE on ACAC. The small triangle ADEADE has the same angles as ABCABC, so it's similar.
Example
In triangle ABCABC, DE∥BCDE \parallel BC, AD=4AD = 4, DB=6DB = 6 and BC=15BC = 15. Find DEDE.
The matching sides are ADAD and ABAB, where AB=4+6=10AB = 4 + 6 = 10. So DE15=410\dfrac{DE}{15} = \dfrac{4}{10} and DE=6DE = 6.

Idea 5: the sides alone tell you the triangle's shape

Two quick tests save a lot of time.
Can it be a triangle at all? Any two sides must add to more than the third. With 3, 4 and 8, the two short sides add to only 7, so they can't reach across 8.
Is it right, acute or obtuse? Compare the square of the longest side cc with a2+b2a^2 + b^2:
If c2c^2 is...The largest angle is
equal to a2+b2a^2 + b^290°90°, a right triangle
less than a2+b2a^2 + b^2under 90°90°, acute
more than a2+b2a^2 + b^2over 90°90°, obtuse
Example
Sides 5, 7 and 9. What kind of triangle?
5+7>95 + 7 > 9, so it is a triangle. 92=819^2 = 81 and 52+72=745^2 + 7^2 = 74. Since 81>7481 > 74, it's obtuse.

Idea 6: heights and distances use two special right triangles

Looking up from the ground at a tower's top, your line of sight makes the angle of elevation θ\theta with the ground, and tan⁡θ=hd\tan\theta = \dfrac{h}{d} (height over distance to the foot). Looking down from the top, the angle of depression is the same angle.
GATE uses 30°30°, 45°45° and 60°60°, from half a square (sides 1:1:21 : 1 : \sqrt{2}) and half an equilateral triangle (sides 1:3:21 : \sqrt{3} : 2, shortest facing 30°30°).
θ\thetatan⁡θ\tan\thetaHeight
30°30°13\dfrac{1}{\sqrt{3}}d3\dfrac{d}{\sqrt{3}}
45°45°11dd
60°60°3\sqrt{3}3 d\sqrt{3}\,d
Key idea
tan⁡θ=heightdistance\tan\theta = \dfrac{\text{height}}{\text{distance}}: equal at 45°45°, height 3\sqrt{3} times distance at 60°60°, distance 3\sqrt{3} times height at 30°30°.
Example
From 30 m away, the top of a tower is at 60°60°. How far back must you walk to see it at 30°30°?
h=303h = 30\sqrt{3} m. At 30°30° the distance is 3h=90\sqrt{3}h = 90 m, so walk back 90−30=6090 - 30 = 60 m.

How to spot which idea you need

The question says...Use
base and height, or coordinatesIdea 1: 12bh\dfrac{1}{2}bh
right angle, ladder, distance between pointsIdea 2: Pythagoras
three sides, no height; equilateralIdea 3: Heron, 34a2\dfrac{\sqrt{3}}{4}a^2
shadows, parallel line inside a triangleIdea 4: similar triangles
"can these be sides", "obtuse or acute"Idea 5: compare sides
angle of elevation or depressionIdea 6: tan⁡30°,45°,60°\tan 30°, 45°, 60°

Worked example 1warm-up

A right triangle has its two shorter sides 9 cm and 12 cm. Find its hypotenuse, area and perimeter.
Solution
Step 1. HypotenuseIdea 2: it's the 3, 4, 5 set times 3
c=92+122=81+144=225=15c = \sqrt{9^2 + 12^2} = \sqrt{81 + 144} = \sqrt{225} = 15 cm.
Step 2. AreaIdea 1
The two shorter sides are base and height: 12×9×12=54\dfrac{1}{2} \times 9 \times 12 = 54 cm².
Step 3. Perimeter
9+12+15=369 + 12 + 15 = 36 cm.
Step 4. CheckIdea 3
Heron: s=18s = 18, area =18×9×6×3=2916=54= \sqrt{18 \times 9 \times 6 \times 3} = \sqrt{2916} = 54.

Worked example 2GATE level

A right triangle has hypotenuse 26 cm and one side 10 cm. Find the length of the perpendicular from the right-angle corner to the hypotenuse.
Solution
Step 1. The missing sideIdea 2: the 5, 12, 13 set times 2
262−102=676−100=576=24\sqrt{26^2 - 10^2} = \sqrt{676 - 100} = \sqrt{576} = 24 cm.
Step 2. Area using the two shorter sidesIdea 1
12×10×24=120\dfrac{1}{2} \times 10 \times 24 = 120 cm².
Step 3. Area using the hypotenuse as baseIdea 1 again, with a different base
The same triangle, so 12×26×h=120\dfrac{1}{2} \times 26 \times h = 120.
Step 4. Solve
h=24026=12013≈9.23h = \dfrac{240}{26} = \dfrac{120}{13} \approx 9.23 cm.
Step 5. Check
The height must be shorter than both of the shorter sides, 10 and 24. 9.23<109.23 < 10.

All the equations at a glance

IdeaEquation
Area12×base×height\dfrac{1}{2} \times \text{base} \times \text{height}
Pythagorasa2+b2=c2a^2 + b^2 = c^2
Herons(s−a)(s−b)(s−c)\sqrt{s(s-a)(s-b)(s-c)}, s=a+b+c2s = \dfrac{a+b+c}{2}
Equilateralarea 34a2\dfrac{\sqrt{3}}{4}a^2, height 32a\dfrac{\sqrt{3}}{2}a
Similar trianglesa1a2=b1b2\dfrac{a_1}{a_2} = \dfrac{b_1}{b_2}
Shape testc2c^2 vs a2+b2a^2 + b^2; a+b>ca + b > c