Tuesday, September 25, 2012

Three sides of a triangle:
Area from Heron's formula, angles from the Law of Cosines


The Law of Cosine has three different statements, given side lengths a, b and c and angles opposite alpha, beta and gamma, respectively.

a² = b² + c² - 2bccosalpha
b² = a² + c² - 2accosbeta
c² = a² + b² - 2abcosgamma

On earlier homework, we figured out the third side from two lengths and the measure of the angle between them.  With a little algebraic manipulation, we can figure out the cosines of the three angles is we are given the three side lengths, and using the cosine inverse function, written here as arccos(number), we can find the three angles, or at least approximations, since the angles will often be given as irrational numbers.

cosalpha = [b² + c² - a²]/[2bc]
cosbeta = [a² + c² - b²]/[2ac]
cosgamma = [a² + b² - c²]/[2ab]

Examples

If we know the perimeter of a triangle is 7 and the sides are all whole numbers, there are only two possible answers, <3, 3, 1> and <3, 2, 2>. Let's answer all the questions from the quiz base on these numbers

c = 3, b = 3, a = 1
==============
perimeter = 7, so semi-perimeter = 7/2

The triangle is isosceles and acute.

Area = sqrt(7/2[7/2 - 3][7/2 - 3][7/2 - 1]) = sqrt(7/2 × 1/2 × 1/2 × 5/2) = sqrt(35/16) = sqrt(35)/4
approximation: 1.4790

Because c = b, gamma = beta, so we only need to do one calculation to find both.
cosgamma = [1 + 9 - 9]/[2 × 1 × 3] = 1/6
arccos(1/6) ~= 80.4059°
So gamma = beta ~= 80.4059°

If we calculate alpha, we get cosalpha = [9 + 9 - 1]/[2 × 3 × 3] = 17/18
arccos[17/18] = 19.1881°
So alpha ~= 19.1881°

You get the same answer if you subtract 2gamma from 180°.

--
c = 3, b = 2, a =2
==============
perimeter = 7, so semi-perimeter = 7/2

The triangle is isosceles and obtuse.

Area = sqrt(7/2[7/2 - 3][7/2 - 2][7/2 - 2]) = sqrt(7/2 × 1/2 × 3/2 × 3/2) = sqrt(63/16) = 3sqrt(7)/4
approximation: 1.9843

Because a = b, alpha = beta, so we only need to do one calculation to find both.
cosalpha = [9 + 4 - 4]/[2 × 3 × 2] = 9/12 = 3/4
arccos(1/6) ~= 80.4059°
So alpha = beta ~= 41.4096°

If we calculate gamma, we get cosgamma = [4 + 4 - 9]/[2 × 2 × 2] = -1/8
arccos[-1/8] = 19.1881°
So gamma ~= 97.1808°

You get the same answer if you subtract 2alpha from 180°.

Practice problems posted on Wednesday.

Find the classifications, exact and approximate area and approximate all three angles of the following triangles with perimeter = 11.

a) side lengths c = 5, b = 5, a = 1
b) side lengths c = 5, b = 4, a = 2
c) side lengths c = 5, b = 3, a = 3

Answers in the comments.


 

1 comment:

  1. a) side lengths c = 5, b = 5, a = 1

    The triangle is isosceles and acute.

    s = 11/2

    Area = sqrt(11/2(11/2 - 5)(11/2 - 5)(11/2 - 1))
    = sqrt (11/2 × 1/2 × 1/2 × 9/2)
    = 3 sqrt(11)/4
    ~=2.4875


    cos(alpha) = [25 + 25 - 1]/[2 × 5 × 5] = 49/50
    arccos(49/50) = 11.4783°

    cos(beta) = [25 + 1 - 25]/[2 × 1 × 5] = 1/10
    arccos(1/10) = 84.2608°

    cos(gamma) = [25 + 1 - 25]/[2 × 1 × 5] = 1/10
    arccos(1/10) = 84.2608°

    b) side lengths c = 5, b = 4, a = 2

    The triangle is scalene and obtuse.

    s = 11/2

    Area = sqrt(11/2(11/2 - 5)(11/2 - 4)(11/2 - 2))
    = sqrt (11/2 × 1/2 × 3/2 × 7/2)
    = sqrt(231)/4
    ~=3.7997


    cos(alpha) = [25 + 16 - 4]/[2 × 5 × 4] = 37/40
    arccos(9/10) = 22.3316°

    cos(beta) = [25 + 4 - 16]/[2 × 2 × 5] = 13/20
    arccos(13/20) = 49.4584°

    cos(gamma) = [16 + 4 - 25]/[2 × 2 × 4] = -5/16
    arccos(-5/16) = 108.2100°

    c) side lengths c = 5, b = 3, a = 3

    The triangle is isosceles and obtuse.

    s = 11/2

    Area = sqrt(11/2(11/2 - 5)(11/2 - 3)(11/2 - 3))
    = sqrt (11/2 × 1/2 × 5/2 × 5/2)
    = 5 sqrt(11)/4
    ~=4.1458


    cos(alpha) = [25 + 9 - 9]/[2 × 5 × 3] = 25/30 = 5/6
    arccos(5/6) = 33.5573°

    cos(beta) = [25 + 9 - 9]/[2 × 5 × 3] = 25/30 = 5/6
    arccos(5/6) = 33.5573°

    cos(gamma) = [9 + 9 - 25]/[2 × 3 × 3] = -7/18
    arccos(-7/18) = 112.8854°

    ReplyDelete