11,629,535 members (65,091 online)

# The right-angle triangle: Meet your new best friend

, 5 Feb 2014 CPOL 52.6K 762 91
 Rate this:
Did you skip class the day trigonometry was taught? This article will explain what you’ve been missing all these years.

## Introduction

Once in a while a topic is presented and its usefulness is instantly apparent. You immediately ask yourself how you got through life thus far without knowing about such an amazing concept.

I haven’t studied math since high school, but I still remember one fateful morning in geometry class that changed my life.

## Background

As a youth back in school it wasn’t uncommon when presented with a new topic, to hear comments like “When will I ever use this in life?” I remember having one of these moments in grade 10 math class, when we spent a solid five months studying parabolas and quadratic equations. In hindsight, the problem was that we weren’t given any context for how these curves could be useful. The teacher taught that which the curriculum dictated, but any significance of these equations was lost in translation.

## The Triangle

I think it was in grade 7 that we were presented with the Pythagorean theorem. With the knowledge of the lengths of two sides of a right-angle triangle, the theorem explains how to determine the length of the third side.

How useful! With this knowledge you can safely position an extension ladder to clean out the eaves troughs, calculate the shortest distance between two points on a map, or buy enough wallpaper to cover an angled wall knowing only the dimensions of the other walls in the room.

Note: Americans call these “right triangles”. Please forgive them.

It felt like I was missing out on the full potential of this handy little triangle though. I wasn’t sure what else it could do, but something was missing.

One morning in grade 13 geometry class, the missing pieces presented themselves. The angles! Of course! Sure, the Pythagorean Theorem explained the relationship between the sides, but we had forgotten about the angles. In grade 7 we accepted that one of the angles is 90° and that all three angles total 180° but we left it at that.

## Trigonometry

That fateful trigonometry lesson in grade 13 explained a lot: how to determine any angle in the triangle, knowing the length of two sides; how to determine the length of any side, knowing the length of one side and one angle; and just for what purpose those mysterious `tan`, `cos`, and `sin` buttons on my calculator were.

Let’s review.

1. All triangles have three sides.
2. In a right-angle triangle, two of those sides meet at a right angle (90°).
3. The third side, called the hypotenuse, completes the shape.

Here’s a triangle. The little square opposite the hypotenuse denotes that it is a right-angle triangle (if it’s not present, we can not assume the angle is 90°).

To make the rest of this lesson easy to understand, let’s draw a little guy next to one of the points (called vertices) of the triangle. His name is Dieter. The usefulness of this simple act cannot be overstated, because now we can use relational terms to describe the two unnamed sides. The side next to Dieter, the one adjacent to him is called… the adjacent side. The side opposite him is… you guessed it, the opposite side.

Now that the sides are named we can apply some handy formulae. Don’t worry; they’re as simple as Pythagoras’ famous formula. We’ll use the symbol θ (Greek letter theta) to represent the angle closest to Dieter. We’ll abbreviate opposite and adjacent to OPP and ADJ.

```sin θ = OPP / HYP
cos θ = ADJ / HYP
tan θ = OPP / ADJ```

“Why aren’t you writing this down?” The sine, cosine, and tangent functions are called trigonometric functions.

Dieter is at the bottom of a hill at sea-level. He’s going to climb to the top. What will his altitude be when he reaches the top?

Let’s say the angle θ is 25° and the hypotenuse is 100 metres. His final altitude is equal to the length of the opposite side.

```sin θ = OPP / HYP
OPP = HYP · sin θ
OPP = 100 · sin(25°)
OPP ≈ 100 · 0.4226
OPP ≈ 42.26```

Dieter’s altitude will be about 42.26m above sea level.

Tip: Make sure your calculator is set to degrees, not radians, when working with degrees.

We can also do the opposite, determine the angle using inverse trigonometric functions. If Dieter walked 100m up the hill and at the top his altimeter reads 35m, what is the angle of incline?

```sin θ = OPP / HYP
θ = sinˉ¹(OPP / HYP) = arcsin(OPP / HYP)
θ = arcsin(35 / 100)
θ = arcsin(0.35)
θ ≈ 20.4°```

The angle of incline is about 20.4°. The inverse of the sine function is called the arcsine and is usually denoted by the negative exponent (don’t let it confuse you).

## Circles

If you think about it, every point on the circumference of a circle can be expressed in terms of triangles.

Here’s a task I’ve had to do many times, like when I wrote the Shoe Label preview for Mabel’s Labels. When placing the letter d in the illustration, what are the `x` and `y` coordinates if we need to rotate the text 30° and the radius is 50?

```sin θ = OPP / HYP
x = sin θ · r
x = sin(30) · 50
x = 0.5 · 50
x = 25

cos θ = ADJ / HYP
y = cos θ · r
y = cos(30) · 50
y ≈ 0.866 · 50
y ≈ 43```

The letter d can be placed at coordinates (25,43) at an angle of 30°.

## Demonstration

The demonstration application uses Silverlight to demonstrate the concepts of right-angle triangles and tangential functions to animate an elastic collision between a moving ball and a fixed post.

There isn’t anything particularly interesting about the application, but you can see these concepts expressed in code. The animation doesn’t take advantage of Silverlight’s animation features, so it may be less than smooth.

undefined

## Conclusion

If you remember three simple formulae and learn to use three buttons on your calculator, you’ll be able to amaze the other 72%¹ of the population who can not.

¹ When I originally wrote this article, I made up a statistic for the percentage of people that are able to use these formulae. I became curious about the actual number, so I initiated a research project.

In my experiment I paid 547 people from around the world (using Amazon Mechanical Turk) USD 0.01 to solve Dieter’s problem above. The answers were multiple choice, including six numeric answers in addition to “I have no idea how to solve this.” and “I remember doing this in school, but I forget how to solve it.”. A penny isn’t much money, but they weren’t told that they would get paid whether or not the solution was correct. They were given five minutes to solve the problem. For those with a working knowledge, the problem could easily be solved in about thirty seconds. Some might have gone to Wikipedia and figured it out; others might have just clicked anything to move on to the next HIT. The results were as follows:

• 8% “I have no idea”
• 40% “I remember doing this in school”
• 24% An incorrect answer or guess

## Acknowledgements

These things take a long time to write. If you like it, please rate it.

The animated Pythagorean triplet is © 2007 GNOME Icon Artists and is used under the terms of the Creative Commons Attribution-ShareAlike 3.0.

Dieter is © 2007 AmericanExplorer13 and is used under the terms of the GNU GPL.

## Share

 President Red Cell Innovation Inc. Canada
Yvan Rodrigues has 25 years of experience in information systems and software development for the manufacturing sector. He runs Red Cell Innovation Inc./L'innovation de Globules Rouges, a consulting company focusing on efficiency and automation of manufacturing and business processes for small businesses, healthcare, and the public sector. He is a Certified Technician (C.Tech.), a professional designation granted by the Institute of Engineering Technology of Ontario (IETO).

Yvan draws on experience at Mabel's Labels Inc. as Manager of Systems and Development, and the University of Waterloo as Information Systems Manager.

Yvan supports open-source software. He is a committer for SharpKit (C# to Javascript cross-compiler) and WebIssues (Issue/Ticket Management System), TinyMCE (JavaScript editor), and contributes to MySQL, Ghostscript, iTextSharp, Bacula, FreeBSD, and Xamarin.

Yvan's consumer-focused apps can be found in the Windows Store, Apple App Store, and Google Play marketplace.

## You may also be interested in...

 First PrevNext
 5 - For Highlighting A Dying Art Member 96667286-Feb-14 8:46 Member 9666728 6-Feb-14 8:46
 Re: 5 - For Highlighting A Dying Art Yvan Rodrigues6-Feb-14 8:54 Yvan Rodrigues 6-Feb-14 8:54
 Re: 5 - For Highlighting A Dying Art Member 96667286-Feb-14 9:04 Member 9666728 6-Feb-14 9:04
 "right triangles" Member 103795816-Feb-14 7:15 Member 10379581 6-Feb-14 7:15
 Re: "right triangles" Yvan Rodrigues6-Feb-14 7:18 Yvan Rodrigues 6-Feb-14 7:18
 Re: "right triangles" Chris Trout6-Feb-14 7:35 Chris Trout 6-Feb-14 7:35
 Re: "right triangles" Yvan Rodrigues6-Feb-14 7:40 Yvan Rodrigues 6-Feb-14 7:40
 My vote of 5 loyal ginger6-Feb-14 7:04 loyal ginger 6-Feb-14 7:04
 Re: My vote of 5 Member 96667286-Feb-14 8:53 Member 9666728 6-Feb-14 8:53
 Re: My vote of 5 Yvan Rodrigues6-Feb-14 8:59 Yvan Rodrigues 6-Feb-14 8:59
 My rating of 5 - and a bit more information. Bill_Hallahan5-Feb-14 16:18 Bill_Hallahan 5-Feb-14 16:18
 Re: My rating of 5 - and a bit more information. Member 96667286-Feb-14 9:20 Member 9666728 6-Feb-14 9:20
 Re: My rating of 5 - and a bit more information. Yvan Rodrigues6-Feb-14 9:26 Yvan Rodrigues 6-Feb-14 9:26
 Re: My rating of 5 - and a bit more information. Member 96667286-Feb-14 9:29 Member 9666728 6-Feb-14 9:29
 Message Removed Yvan Rodrigues6-Feb-14 9:30 Yvan Rodrigues 6-Feb-14 9:30
 Re: My rating of 5 - and a bit more information. Member 96667286-Feb-14 9:37 Member 9666728 6-Feb-14 9:37
 Re: My rating of 5 - and a bit more information. Yvan Rodrigues6-Feb-14 9:38 Yvan Rodrigues 6-Feb-14 9:38
 Re: My rating of 5 - and a bit more information. Bill_Hallahan7-Feb-14 17:43 Bill_Hallahan 7-Feb-14 17:43
 Great article about trigonometry Volynsky Alex5-Feb-14 9:00 Volynsky Alex 5-Feb-14 9:00
 My vote of 5 TheBlackCap13-Nov-12 6:40 TheBlackCap 13-Nov-12 6:40
 Amazing Berkay Gürsoy1-Nov-12 6:02 Berkay Gürsoy 1-Nov-12 6:02
 My vote of 5 DaveAuld24-Oct-12 2:39 DaveAuld 24-Oct-12 2:39
 Re: My vote of 5 Yvan Rodrigues24-Oct-12 2:55 Yvan Rodrigues 24-Oct-12 2:55
 Re: My vote of 5 DaveAuld24-Oct-12 2:56 DaveAuld 24-Oct-12 2:56
 My vote of 5 Forogar8-Jul-12 10:54 Forogar 8-Jul-12 10:54
 Vote of 5 Amarnath S7-Jul-12 3:49 Amarnath S 7-Jul-12 3:49
 Valid point louisagholson24-Jun-12 23:46 louisagholson 24-Jun-12 23:46
 My vote of 5 louisagholson24-Jun-12 23:40 louisagholson 24-Jun-12 23:40
 My vote of 5 Md. Marufuzzaman16-Dec-11 3:03 Md. Marufuzzaman 16-Dec-11 3:03
 My vote of 1 Mortis G. Reaper14-Dec-11 2:45 Mortis G. Reaper 14-Dec-11 2:45
 My vote of 5 Abhinav S13-Dec-11 18:18 Abhinav S 13-Dec-11 18:18
 My vote of 5 Member 847534213-Dec-11 5:04 Member 8475342 13-Dec-11 5:04
 My vote of 5 dbswinford12-Dec-11 9:28 dbswinford 12-Dec-11 9:28
 My vote of 5 JF201511-Dec-11 5:29 JF2015 11-Dec-11 5:29
 My vote of 5 manishmahajan9-Dec-11 4:11 manishmahajan 9-Dec-11 4:11
 My vote of 5 Sergio Andrés Gutiérrez Rojas8-Dec-11 20:24 Sergio Andrés Gutiérrez Rojas 8-Dec-11 20:24
 Re: My vote of 5 Yvan Rodrigues9-Dec-11 4:02 Yvan Rodrigues 9-Dec-11 4:02
 Amazing R@je\$h8-Dec-11 1:19 R@je\$h 8-Dec-11 1:19
 Re: Amazing Yvan Rodrigues8-Dec-11 16:14 Yvan Rodrigues 8-Dec-11 16:14
 My vote of 5 R&D Ninja7-Dec-11 5:33 R&D Ninja 7-Dec-11 5:33
 Re: My vote of 5 Yvan Rodrigues8-Dec-11 16:14 Yvan Rodrigues 8-Dec-11 16:14
 My vote of 5 Rajesh Pillai6-Dec-11 7:50 Rajesh Pillai 6-Dec-11 7:50
 I liked this.. Thanks for sharing and write more on such topics And definitely a big 5 from me.
 Re: My vote of 5 Yvan Rodrigues7-Dec-11 4:56 Yvan Rodrigues 7-Dec-11 4:56
 excellent baihualin19835-Dec-11 15:43 baihualin1983 5-Dec-11 15:43
 Re: excellent Yvan Rodrigues5-Dec-11 16:04 Yvan Rodrigues 5-Dec-11 16:04
 Voted 5 DiamondDave5-Dec-11 14:14 DiamondDave 5-Dec-11 14:14
 Re: Voted 5 Yvan Rodrigues5-Dec-11 16:06 Yvan Rodrigues 5-Dec-11 16:06
 My vote of 4 JWhattam4-Dec-11 10:36 JWhattam 4-Dec-11 10:36
 Re: My vote of 4 Yvan Rodrigues5-Dec-11 16:06 Yvan Rodrigues 5-Dec-11 16:06
 Last Visit: 31-Dec-99 18:00     Last Update: 27-Jul-15 13:13 Refresh 12 Next »