Sides, Angles, and Shortest Distances

Watch the video explainer

Learning goals

  • Compare sides and opposite angles within the same triangle
  • Justify side and angle ordering using an exterior angle and indirect proof
  • Identify the hypotenuse and explain why it is the longest side
  • Determine the shortest segment from a point to a line

Match each angle to its opposite side

The side opposite an angle is the side that does not touch the angle’s vertex. In triangle ABCABC, side BCBC is opposite angle AA. Side ACAC is opposite angle BB, and side ABAB is opposite angle CC.

Here ABAB without a bar denotes the length of segment ABAB. Angle sizes are their measures, such as m∠ABCm\angle ABC. We compare lengths with lengths and angle measures with angle measures.

In the diagram, angle BB measures 80∘80^\circ and angle CC measures 40∘40^\circ. The side facing BB looks longer than the side facing CC. Rotating the paper would change neither the angles nor that comparison. The two proofs below show why the comparison must hold.

Match angles with the sides across from themA is above base BC. The given angle labels are 80 degrees at B and 40 degrees at C. The labeled dashed red side AC faces B. The labeled solid blue side AB faces C.ABC80°40°ABAC
Opposite means across from the vertex. The labels are givens; the apparent side lengths are not evidence.

All triangles in this lesson have three noncollinear vertices. A flat arrangement of points is not a triangle here.

Check your understanding

In triangle KLMKLM, angle LL is larger than angle MM. Which sides are opposite those angles, in that order?

Answer choices

An exterior angle is larger

An exterior angle is larger than either of its remote interior angles, the two interior angles away from its vertex. For example, remote angles of 43∘43^\circ and 62∘62^\circ give an exterior angle of

43∘+62∘=105∘.43^\circ+62^\circ=105^\circ.

Their sum is greater than each positive part. This is the inequality consequence of the exterior angle theorem.

Locate the remote interior anglesA is above BC. B, C, and D are collinear in that order. The remote interior wedges at A and B are shaded; their equal shading identifies their role, not equal measures. The side AC meets extension CD, forming exterior angle ACD.ABCD
B, C, and D lie in that order on a line. Shading identifies the remote interior angles at A and B; it does not mark them equal.

In general, the exterior angle theorem gives

m∠ACD=m∠CAB+m∠ABC.m\angle ACD=m\angle CAB+m\angle ABC.

Both remote interior angles have positive measure, so

m∠ACD>m∠CAB.m\angle ACD>m\angle CAB.

Also,

m∠ACD>m∠ABC.m\angle ACD>m\angle ABC.

The adjacent interior angle at CC is not one of the remote angles. An exterior angle need not be larger than that adjacent angle.

Why a longer side faces a larger angle

A longer side in a triangle faces a larger angle. We can prove this by cutting the longer side to make an isosceles triangle.

A longer side has a larger opposite angle#

First follow the construction with numbers. Let DD lie between AA and CC, and make ADAD equal to ABAB. Imagine an instance where angle ABDABD is 70∘70^\circ and angle DBCDBC is 25∘25^\circ.

Make an isosceles triangle inside the original triangleA, D, and C lie in that order, with D closer to C than to A. AB and AD have matching ticks. Dashed BD splits the angle at B into the given 70-degree angle ABD and 25-degree angle DBC.ABDC70°25°
The cutoff AD matches AB. BD divides angle ABC, and DA extends DC through D. The numbers illustrate one instance, not additional assumptions in the general proof.

The equal sides in triangle ABDABD make its base angles equal. Thus angle BDABDA also measures 70∘70^\circ.

Angle BDABDA is exterior to triangle BDCBDC. Its remote angles at BB and CC add to 70∘70^\circ, so

m∠BCD=70∘−25∘.m\angle BCD=70^\circ-25^\circ.

Therefore,

m∠BCD=45∘.m\angle BCD=45^\circ.

The full angle at BB combines the two parts:

m∠ABC=70∘+25∘.m\angle ABC=70^\circ+25^\circ.

Thus angle ABCABC measures 95∘95^\circ, greater than angle ACBACB, which measures 45∘45^\circ. The larger side ACAC faces the larger angle.

Now let ABCABC be any triangle with

AC>AB.AC>AB.

Choose DD on segment ACAC so that

AD=AB.AD=AB.

This point lies strictly between AA and CC: the positive length ABAB is less than ACAC. Join BB to DD. The diagram below keeps only the general construction.

Track the cutoff constructionA, D, and C lie in that order on a horizontal line, with D closer to C than to A. Equal ticks mark AB and AD. BD is a dashed auxiliary segment. No angle measures or derived comparisons are marked.ABDC
The general construction keeps only the chosen equality and incidence. D is not assumed to be a midpoint.

Triangle ABDABD is isosceles, so

m∠ABD=m∠BDA.m\angle ABD=m\angle BDA.

Since ray DADA extends ray DCDC through DD, angle BDABDA is exterior to triangle BDCBDC. The exterior angle inequality gives

m∠BDA>m∠BCD.m\angle BDA>m\angle BCD.

Because DD lies between AA and CC, segment BDBD lies inside angle ABCABC, so the full angle is greater than its part:

m∠ABC>m∠ABD.m\angle ABC>m\angle ABD.

The comparisons connect in this order:

m∠ABC>m∠ABD,m∠ABD=m∠BDA,m∠BDA>m∠BCD,m∠BCD=m∠ACB.\begin{aligned} m\angle ABC&>m\angle ABD,\\ m\angle ABD&=m\angle BDA,\\ m\angle BDA&>m\angle BCD,\\ m\angle BCD&=m\angle ACB. \end{aligned}

The last equality holds because rays CACA and CDCD coincide. Therefore,

m∠ABC>m∠ACB.m\angle ABC>m\angle ACB.

Neither the isosceles step nor the exterior angle inequality needed the special numbers 7070 and 2525. The argument works for every positive difference between the two side lengths.

Reverse the argument

A larger angle also faces a longer side.

A larger angle has a longer opposite side#

For a numerical test, suppose angle BB is 75∘75^\circ and angle CC is 45∘45^\circ. Could ACAC and ABAB be equal? That would force the two angles to be equal. Could ACAC be shorter? The result just proved would force angle BB to be smaller. Both alternatives contradict the given measures.

Suppose

m∠ABC>m∠ACB.m\angle ABC>m\angle ACB.

We use indirect proof: rule out the alternatives to the desired comparison.

If ACAC equaled ABAB, the isosceles base angles at BB and CC would be equal. That contradicts the given strict inequality.

If ACAC were less than ABAB, the longer-side result would make angle ACBACB greater than angle ABCABC. That also contradicts the given.

Equality and the reverse inequality have both failed. The remaining possibility is

AC>AB.AC>AB.

The numerical test used 7575 and 4545, but the two contradictions depend only on which angle is larger.

The two results apply within the same triangle: compare the sides by comparing their opposite angles, or compare the angles by comparing their opposite sides. Equal sides and equal opposite angles remain the equality case from the isosceles theorems.

Check your understanding

Triangle ABCABC has

AC>AB.AC>AB.

In the cutoff proof, DD lies on ACAC with

AD=AB.AD=AB.

Which fact connects the equal base angles of triangle ABDABD to angle CC?

Answer choices

Check your understanding

Triangle ABCABC has angle BB larger than angle CC. In an indirect proof, suppose

AC=AB.AC=AB.

Why does this contradict the given angle comparison?

Answer choices

Put comparisons in order

Worked example 1 Rank three sides

Problem. Triangle PQRPQR has angle PP of 48∘48^\circ, angle QQ of 67∘67^\circ, and angle RR of 65∘65^\circ. List its sides from shortest to longest.

Read the opposite-side correspondenceP is above base QR. Each vertex has its given angle measure. No side length is given.PQR48°67°65°
The given angle measures identify the opposite sides. Do not rank sides by their position on the page.

Solution. The smallest angle is at PP, so its opposite side QRQR is shortest. The middle angle is at RR, so PQPQ comes next. The largest angle is at QQ, so PRPR is longest:

QR<PQ.QR<PQ.

Then,

PQ<PR.PQ<PR.

Worked example 2 Turn a geometric comparison into algebra

Problem. An existing triangle ABCABC has angle BB larger than angle CC. Its side lengths are

AC=x+6,AC=x+6,

and

AB=2x+1.AB=2x+1.

Given that xx is positive, find the necessary restriction on xx.

Connect the given angles and side expressionsAn illustrative triangle ABC has angle B larger than angle C. The given expressions x + 6 on AC and 2x + 1 on AB are labeled. No solved restriction on x is marked.ABC2x + 1x + 6∠B > ∠C
The labels show the given comparison and side expressions.

Solution. Side ACAC faces angle BB, so

x+6>2x+1.x+6>2x+1.

Subtract xx and then subtract 11:

5>x.5>x.

Combining this with the given positivity,

0<x<5.0<x<5.

At x=5x=5 the sides would match, which would force equal opposite angles. We exclude that endpoint. This is a necessary restriction from the comparison; it does not specify the triangle’s third side.

The longest side in a right triangle

The side opposite the right angle is the hypotenuse. It is always the longest side of a right triangle.

For instance, a triangle with one right angle and an acute angle of 35∘35^\circ has a remaining angle of

180∘−90∘−35∘=55∘.180^\circ-90^\circ-35^\circ=55^\circ.

The right angle is larger than both acute angles. Its opposite side is therefore longer than both other sides.

The hypotenuse is longer than either leg#

In any right triangle, the two other angles are positive and sum to 90∘90^\circ. Each is therefore less than 90∘90^\circ. The larger-angle result puts the side opposite the right angle ahead of each side opposite an acute angle.

Worked example 3 Find the hypotenuse from the right angle

Problem. Triangle PQRPQR is right at QQ. Angle PP measures 58∘58^\circ. Identify the hypotenuse and order the sides from shortest to longest.

Match the right angle to its opposite sideRight triangle PQR has P above Q and R to the right of Q. The given right angle is marked at Q and the given angle P is labeled 58 degrees. No computed angle or side order is labeled.PQR58°
The square marks the given right angle at Q.

Solution. Side PRPR is opposite QQ, so it is the hypotenuse and longest side. The angle sum gives

m∠R=180∘−90∘−58∘.m\angle R=180^\circ-90^\circ-58^\circ.

Therefore,

m∠R=32∘.m\angle R=32^\circ.

Angle RR is smallest, so its opposite side PQPQ is shortest. Angle PP is next, so QRQR is between the other two:

PQ<QR.PQ<QR.

Also,

QR<PR.QR<PR.

Check your understanding

A right triangle XYZXYZ is right at YY. Which side must be longest?

Answer choices

The shortest route to a line

For a point outside a line, the perpendicular segment to the line is shorter than every other segment from that point to the line.

Suppose PHPH meets line ℓ\ell at a right angle. A segment to another point QQ on the line forms right triangle PHQPHQ. Its hypotenuse is PQPQ, so PQPQ is longer than PHPH. A perpendicular segment of 88 centimeters therefore beats every slanted segment to the line, even if none of their lengths is known.

Compare every slanted segment with the perpendicularA horizontal line contains Q, H, and R in that order. P is above H. PH is solid blue with a right-angle square at H. PQ and PR are dashed red.PQHRℓ
Both slanted segments are hypotenuses of right triangles with the same perpendicular leg PH. Q can be on either side of H.

The perpendicular is the shortest segment to a line#

Let PP be outside line ℓ\ell, and let HH be the foot of its perpendicular. Take any point QQ on ℓ\ell other than HH.

Triangle PHQPHQ is a right triangle because HQHQ lies on ℓ\ell. Its hypotenuse is PQPQ, so

PQ>PH.PQ>PH.

This holds for every choice of QQ other than HH, on either side. The endpoint HH gives PHPH itself, so HH is the unique closest point on the line.

The distance from a point to a line is the length of that perpendicular segment. If the point already lies on the line, its distance to the line is zero; there is no perpendicular segment of positive length from the point to the line, so no right triangle to use in that case.

Worked example 4 Check a claimed distance

Problem. Point PP is outside line ℓ\ell, and HH is its perpendicular foot. Let QQ be another point on ℓ\ell. The lengths, in centimeters, are

PH=8,PH=8,

and

PQ=5x+3.PQ=5x+3.

What restriction on xx is necessary?

Compare the two given segment lengthsP is outside horizontal line ell. H and Q are distinct points on the line. PH is perpendicular, marked by a square at H and labeled 8 centimeters. The slanted segment PQ is labeled 5x + 3 centimeters.PHQℓ85x + 3
The labels give the stated lengths in centimeters. The square marks the right angle at H.

Solution. Triangle PHQPHQ has hypotenuse PQPQ. Its length must exceed the perpendicular length:

5x+3>8.5x+3>8.

Subtract 33, then divide by positive 55:

x>1.x>1.

At the excluded endpoint x=1x=1, the slanted segment would have the same length as the perpendicular, contradicting the strict comparison.

Check your understanding

Point P is outside a line. PH is perpendicular to it and has length 7. Q is another point on the line. Which claimed length for PQ is impossible?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

In 1847, Oliver Byrne published an unusual edition of the first six books of Euclid’s Elements. Instead of making readers trace strings of letters from a proof back to a diagram, he put small colored shapes into the proof itself. His introduction even recommended colored chalk for classrooms and colored pencils for private study. The old arguments survived, but their printed appearance changed dramatically. You can browse Byrne’s introduction and the reproduced edition.

Your progress

See all your progress →