Chalk−1

Math · Precalculus · Worked example

Solve an SAS triangle with the law of cosines

A triangle has sides a=3 and b=8, and the angle between them is C=60⁢°. Find side c and angles A and B.

Choose the law

Two sides and the angle between them is SAS. No side is paired with its opposite angle yet, so the law of sines cannot start. The law of cosines gives the side opposite the known angle.

c2=a2+b2−2⁢a⁢bcosC

Find side c

Substitute a=3, b=8 and C=60⁢°. Since cos60⁢°=1⁢/2, the last term is 2⋅3⋅8⋅(1⁢/2)=24.

c2=32+82−2⋅3⋅8cos60∘c2=9+64−24c2=49c=7

Find sinA with the law of sines

Side c and angle C are now a complete pair. Find angle A first: it faces the shortest side, so it is acute.

sinA3=sin60∘7sinA=3sin60∘7sinA≈0.3712

Take the inverse sine

A=sin−1(0.3712) ≈21.8⁢°. To check it, take the sine of the answer: sin21.8⁢°≈0.3714, which agrees with 0.3712 to three figures.

A≈21.8∘

Finish with the angle sum

The angles add to 180⁢°. B turns out obtuse, which an inverse sine could not have reported. That is why the smaller angle came first.

B=180∘−60∘−21.8∘B=98.2∘

Result

c=7, A≈21.8⁢° and B≈98.2⁢°.

Your turn

1. One like the example

Two sides of a triangle, 5 and 8, meet at a 60⁢° angle. Find the third side.

Show the answer and explanation

c=7.

Two sides and the angle between them is SAS, so c2=52+82 −2⋅5⋅8⋅cos60⁢° =25+64−40 =49, and c=7. The cosine of 60⁢° is 1⁢/2, which is why the last term is 40.

c2=52+82−2⋅5⋅8cos60∘c2=25+64−40c2=49c=7

2. A variation

A triangle has sides 5, 7 and 8. Find the angle opposite the side of length 7.

Show the answer and explanation

60⁢°.

Three sides is SSS, so use the law of cosines solved for the cosine, cosC =(52+82−72)⁢/⁢(2⋅5⋅8) =40⁢/80 =1⁢/2. The angle between 0⁢° and 180⁢° with cosine 1⁢/2 is 60⁢°.

cosC=52+82−722⋅5⋅8cosC=4080cosC=12

3. Somewhere new

A baseball diamond is a square 90 ft on a side. The pitcher’s mound is 60.5 ft from home plate, on the line from home to second base, and that line makes a 45⁢° angle with the line from home to first. How far is the mound from first base?

Show the answer and explanation

About 63.7 ft.

Home plate, the mound and first base form a triangle with sides 90 ft and 60.5 ft around a 45⁢° angle, an SAS case. d2=902+60.52 −2⁢(90)⁢(60.5)cos45⁢° ≈11,760.25−7700.39 ≈4059.9, so d≈63.7 ft.

d2=902+60.52−2⋅90⋅60.5cos45∘d2≈4059.9d≈63.7
d2=902+60.52−2⋅90⋅60.5cos45∘d2≈4059.9d≈63.7

Keep exploring

Open the side in Math and delete the degree sign from cos60⁢°. The next row turns to ✗, and Chalk says the 60 in row 1 is read in radians. Put the sign back, then change 24 to 48, which is what forgetting cos60⁢° gives. That row reads ✗ too.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Study it, then try it

Practice the key terms as flashcards, then open the example in its tool, change a value and keep a useful result on your board.

Study the 5 key terms Check side c in Math Check sin A in Math Open worked example on a board Law of cosines in Math Reference

Your existing work stays on this device. Examples open as editable copies.