# The Wonder and Amusement of Triangles - Part Four : The Cosine Rule

## Hitting the Ground Running, by Chris Lilly on Paintbox™

## Introduction

The Cosine Rule in Mathematics consists of two main equations,** A ^{2 }**=

**B**+

^{2}**C**-

^{2}**2BC Cos α**, which is used to find one unknown length if the other two are known, and

**Cos α**= (

**B**+

^{2}**C**-

^{2}**A**) ÷

^{2 }

**2BC**,

**which is**

**a rearrangement of the previous equation, and is used in order to find a given angle, when all three sides are known. After this, we employ the Sine Rule (qv) to find the other two angles as we did before, so this is a good example of using both formulae in conjunction, where the Sine Rule can do what it can, and the Cosine Rule is used for its own characteristic abilities.**

## About the Diagram

From the Triangle above, we are intending to find the length of the Side A, as it is opposite to the angle of **40°**, which exist where these two lengths of three and four inches, respectively, join. Let me make it clear that any size of angle can form between two sides of four and three inches, but for this purpose I have decided upon both those lengths subtending that specific angle. When this happens, given these specific values, ** A ** is locked in, and can have only one possible value, that is, only if we have a **40°** angle between sides of three and four inches, so let’s find out what it is. Note therefore that if we had sides of the same length, but a different angle, then the length of the third side would be predetermined by these three details. But let us look first at this specific example :

## Example of the Cosine Rule, by Chris Lilly on Paintbox™

But, hang on a minute, Wear ‘em out Wilf, this value refers to **A²**, not ** A ** itself, so we find the __square__ root of this, then we’re right.

**√6.615 ” ** =

**2.572**, which is the correct answer.

**”**It stands also to reason it is the shortest side, since it is opposite the smallest angle.

That done, what we can try next, is to work out what the other two angles of our triangle are, especially as we now know all three sides. Let’s look at our triangle again, this time with special reference to our missing angles, which we’ll find out.

## With all angles included, by Chris Lilly on Paintbox™

But since we do, we can rearrange this, by realising that the __square__ of the side opposite the angle in question is subtracted from the sum of the __squares__ of the other two sides, and all this ( in parentheses in the formula ) is divided by twice the product of the other two lengths. So, following this pattern, we can develop a formula for each of our unknown angles :

## Formulae for the Angles not yet known, by Chris Lilly on Paintbox™

We can find out the Cosines of each of the other two angles, by putting our three length values in their appropriate places, then using the Arcus Cosine Function on the calculator to work out the size of the angles. Let us just be aware, that because Side A is not an exact value, we may get some rounding error, unless we work out a way to avoid that by clever use of the calculator.

## The working out of these Angles, by Chris Lilly on Paintbox™

## This all leads up to the Proof

And this is all about right. The three angles I got add up to **179.999°**, so that isn’t too far off. One way to be super accurate would be to put side A’s value into the calculator’s memory. We also see a Negative Cosine value, which again refers to the wave shapes both Cosine and Sine make on the axes, so that some take positive **y** values, and others take negative. On that graph, the angle value corresponds to **x**, while the Trigonometric Function value equals **y**.

In fact, we shall show some of this in order to prove the Cosine Rule.

The verification of the Cosine Rule comes from a variation in the Pythagorean Theorem**.**

## Pythagoras, by Chris Lilly on Paintbox™

## Say it is So

But say the angle is *not* **90º**. Now for triangles it should be noted that **0º **<

**θ**<

**180**, such that none of the single angles within a triangle can reach this

**º****180**, as this number is the sum of all three angles within a Euclidean Triangle, and having even one of

**º****180**will make a flat line, if You can get what I mean ( see illustration below ). When an angle is between

**º****0**and

**º****90**, its Cosine is Positive, and if between and

**º****180**, the Cosine shall be Negative. ( See illustration below ).

**º**## Why angles are not equal to 180 degrees, by Chris Lilly on Paintbox™

## Graph of the Function y = cos(x), by Chris Lilly on Paintbox™

If now we make a triangle like the one before in the illustration entitled Pythagoras, but with the angle *less than* ninety degrees, causing the side opposite to be shorter than it was before, we shall see.

## If the Right Angle is made Wrong, by Chris Lilly on Paintbox™

## What Next

**A²** + **B²** = **C²** +** k**, where **k** is some value. This implies that **C²** = **A²** + **B² -** **k**, where **k **depends upon the value of **θ**.

If **θ ** is, as shown above, between **0 **and **90 **degrees, then **k **is a positive value, and subtracting it from **A²** + **B² **will make **C²** less than **A²** + **B²**.

But if our angle **θ ** is such that **90**° < **θ** < **180°**, ( noting that in these, **0**°,** ****90**° and** 180°** are ** never **included ), then subtracting the resulting negative value makes

**C²**> (

**A²**+

**B²**).

## Pythagorean Proof of the Cosine Rule, by Chris Lilly on Paintbox™

## About the Diagram

From the illustration above, we can see the difference in various values of **C²**, depending on what range the angle **θ** is taking, so this shows us visually what I mean. As the angle increases, if the other two sides remain the same, the side** C** opposite the angle **θ** is allowed to widen, thus enlarging the possible square on this side.

## First Proof of the Cosine Rule, using both Geometry and Algebra, by Chris Lilly on Paintbox™

## Explanation

So in the illustration above, using the Diagrams of the two triangles, which are both in fact the same triangle, but with different features drawn in, along with algebraic manipulation of the Trigonometric identities shown, the Cosine Rule has in one way been proven, and the equation finally found can not only be rearranged for whatever purpose is required, but can be showed to apply to all three angles.

## By Way of Proof, by Chris Lilly on Paintbox™

Actually, looking at the values **W** and **x** that I devised to find two expressions for** Cos Θ** to do with the lengths **B** and **A** respectively, we find that :

## Findings, by Chris Lilly on Paintbox™

So the idea is that the three areas on the triangle combine to equal that on the right in the illustration below. This is a rearrangement of **A² **+** B²** -** 2AB CosΘ **= **C² → C² **+

**2AB CosΘ**=

**A²**+

**B²**, or also ,

**C²**+

_{new }**AW**+

**Bx**=

**C²**, and ,

_{old }**C²**

_{old }-**C²**=

_{new }**AW**+

**Bx**.

Then : **C² _{new }**=

**C²**(

_{old }-**AW**+

**Bx**) =

**A²**-

**AW**+

**B²**-

**Bx**=

**A**(

**A**-

**W**) +

**B**(

**B**-

**x**).

## The Equivalence Relationship, by Chris Lilly on Paintbox™

## Concerning the Equivalence Relationship

Let us look at the last statement before the previous illustration :

**C² _{new }**=

**C²**(

_{old }-**AW**+

**Bx**) - now, where

**C²**=

_{old }**A²**+

**B²**, this means that

**C²**=

_{new}**A²**+

**B²**

**-**(

**AW**+

**Bx**) =

**A²**+

**B²**

**-**

**AW**-

**Bx**=

**A²**-

**AW**+

**B²**-

**Bx**=

**A**(

**A**-

**W**) +

**B**(

**B**-

**x**).

That is, ** ** **C² _{new}** =

**A**(

**A**-

**W**) +

**B**(

**B**-

**x**).

This then is saying that the square on the side **C** of the diagram above will be the sum of the two, as they turn out, rectangular, areas on each of the other two sides, as shown in the diagram below.

## The Implications Thereof, by Chris Lilly on Paintbox™

## Concerning the Illustration above

As has been noted, **C² _{new}** =

**A**(

**A**-

**W**) +

**B**(

**B**-

**x**), such that the two rectangular areas, each on sides of the triangle above, combine to equal the square area

**C²**on the remaining side.

_{new}If we rearrange some equations and alter the diagram above into two related ones, we can see how this is the case.

## Comparisons, by Chris Lilly on Paintbox™

## About Comparisons, by Chris Lilly on Paintbox™

## In Closing

So there is the introduction to, and proof of, the Cosine Rule, which we can use to either find all the angles when we know all the sides, or some of the sides if we know and angle and the other two sides, and so it is. Use well.

## Disclaimer

As much as some of this Hub contains certain Mathematical knowledge accessible in the public domain, and not subject to any Copyright, other information has been drawn from textbooks which themselves are Copyright, but only in the sense of how they deliver the information which itself is shared and sometimes ancient Mathematical knowledge. Other information can be found on Wikipedia ( Copyright 2014, the Wikimedia Foundation ), which is a good source of information. Part of this is also my own discovery, but may also independently have been found by others. Reference to the comic book Character Wear 'em Out Wilf relates to the British publication Whizzer and Chips, which our family used to enjoy many decades ago, published 18 Oct. 1969 – 27 Oct. 1990 by Fleetway and IPC, and contained 1092 issues. Like me, everything he touched wore out or broke very quickly. That is, he did not wear me out by touching, but rather, if I use something, sometimes it falls to bits. But hopefully these Hubs won't.

The quote for the Title Say it is So comes of course originally from a phrase attributed to *Chicago Daily News* reporter Charley Owens in reference to baseball player Shoeless Joe Jackson's admission that he cheated in the 1919 World Series, where the reporter said, " Say it ain't so, Joe. " My impression was that those words might have been said by a boy fan at the time, as shown in a movie about the events. It is alleged that these events might have occurred at the behest of gambling king Arnold Rothstein ( 1882 - 1928 ) - some of this text from Wikipedia and online sources through Google.

Some of the illustrations in this particular Hub are my own, and have primarily been done using Microsoft™ Paintbox, edited from illustrations done using Microsoft™ Word. Others are, as noted, from Wikipedia. Any quote or part of this material which seems to belong to any other author should be treated as such, and I claim no ownership of anything I did not myself invent or discover, nor of any obvious copyright, trade mark, or registered trade mark.

The Adventure continues in the next Hub on the Tangent Law .

If You are curious, then do not hesitate to take a good look at the other Hubs, The Maths They Never Taught Us - Part One, The Maths They Never Taught Us - Part Two , The Maths They Never Taught Us - Part Three, The Very Next Step - Squares and the Power of Two , And then there were Three - a Study on Cubes, Moving on to Higher Powers - a First look at Exponents, The Power of Many More - more on the Use of Exponents, Mathematics - the Science of Patterns , More on the Patterns of Maths , Mathematics of Cricket , The Shape of Things to Come , Trigonometry to begin with , Pythagorean Theorem and Triplets, Things to do with Shapes, Pyramids - How to find their Height and Volume, How to find the Area of Regular Polygons, The Wonder and Amusement of Triangles - Part One, and The Wonder and Amusement of Triangles - Part Two, the Law of Missing Lengths, as well as The Wonder and Amusement of Triangles – Part Three : the Sine Rule.

Also, feel free to check out my non Maths Hubs :

Bartholomew Webb , They Came and The Great New Zealand Flag

There will also be many More to come on a wide variety of Subjects.

Just take a good look at it, and note how interesting it all is, then see if you can come up with anything else along the same lines. As usual, I would appreciate any comments, feedback and suggestions which would be given due credit, or indeed have a go and publishing Your ideas Yourselves, but firstly, by all means, add Your comments - it's a free Country.