Sine, cosine and tangent
Sine, cosine and tangent are three ratios of the sides of a right triangle. See why they depend on the angle alone, where the exact values for 30°, 45° and 60° come from, and how to find a side you cannot measure.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
Where this is used
Real situations where you count exactly the way this lesson teaches:
- Wheelchair rampsThe step up to the terrace is 45 cm and a wheelchair needs a ramp no steeper than 6%. A gradient is the tangent of the angle, so tan α = 0.06, meaning α ≈ 3.4°, and the horizontal run comes to 45 cm / 0.06 = 750 cm. The ramp has to be 7.5 m long — usually more than the space in front of the terrace, which is why such ramps end up as two shorter flights with a landing.
- Measuring heightsNo tape reaches the top of the tree over your house, but any phone with a spirit level reads an angle. Step 15 m back from the trunk, sight the crown and the phone says 52°. The height is 15 · tan 52° = 19.2 m plus the 1.6 m your eyes are off the ground, so 20.8 m in all. The roof is 12 m away, so the tree would clear it — and that is the number the tree surgeon wants.
- Solar panelsA row of panels 1.7 m across, tilted at 30°, rises 1.7 · sin 30° = 0.85 m above the roof. At noon in December the sun in Poland sits about 17° above the horizon, so the shadow runs 0.85 / tan 17° = 2.8 m. That is the gap the installer leaves before the next row; anything tighter and the front row shades the one behind it for half the day, in the months with least light to spare.
All formulas
Sine
the leg opposite the angle over the hypotenuse
Cosine
the leg adjacent to the angle over the hypotenuse
Tangent
the opposite leg over the adjacent leg
The opposite leg
the definition of the sine solved for a
The adjacent leg
the definition of the cosine solved for b
The hypotenuse
when the leg opposite the angle is known
Special angles
exact values, not readings from a table
The Pythagorean theorem relates the three sides of a right triangle. Trigonometry adds a fourth quantity — the angle — and lets you compute a side from just one other side and one angle.
Opposite and adjacent
Before any formula appears, the sides have to be named relative to a chosen acute angle. This is the one place where readers go wrong more often than in the arithmetic.
- The hypotenuse — the side opposite the right angle, always the longest. It does not depend on which acute angle you pick.
- The opposite leg — it does not touch the angle .
- The adjacent leg — it forms the angle together with the hypotenuse.
Pick the other acute angle and and swap roles. The hypotenuse stays where it was.
The three ratios
In words: the sine divides the opposite side by the hypotenuse, the cosine divides the adjacent side by the hypotenuse, and the tangent divides the opposite side by the adjacent one.
The tangent is not a separate idea — it is the quotient of the other two:
Why only the angle matters
Two right triangles with the same acute angle are similar — one is simply a scaled copy of the other. Scaling multiplies every side by the same number :
The scale cancels inside the fraction. That is why is one number — the same in a triangle with a hypotenuse of and in one with a hypotenuse of . It is the entire reason tables of values can exist at all.
Special angles: exact values
For three angles the values can be derived with no table and no calculator — and they come out exact, with a square root instead of a decimal expansion.
45° — take a square of side and cut it along the diagonal. You get a right triangle with legs and , and its hypotenuse is . Hence
30° and 60° — take an equilateral triangle of side and cut it along its height. You get a right triangle with hypotenuse , shorter leg (half the side) and height . Opposite the angle lies the side , opposite the angle the side :
| undefined |
Two things are worth spotting in this table. First, the cosine column is the sine column read bottom-up — because , which is the same side viewed from the other acute angle. Second, is undefined: at the adjacent side would have length zero, and division by zero is not a thing.
is the exact value; is its two-decimal approximation. When a question asks for the exact value, type the form with the root.
Finding a side
Each definition can be solved for the length you are after:
The recipe never changes: name the sides relative to the given angle, pick the function that links the known side to the unknown one, and only then substitute numbers.
The calculator: DEG mode
A calculator computes the sine in whatever angle measure it is set to, and the abbreviation on the display tells you which:
- DEG — degrees. . This is the mode school problems are solved in.
- RAD — radians. The same keystrokes give , because is read as radians.
- GRAD — gradians (a full turn is ), used in surveying.
Before computing anything, press and check that you see . If you do not, switch the mode — not the answer.
Exercises
For a special angle, type the exact value, e.g. √3/2 or 1/2 (a two-decimal approximation is accepted as well — a one-decimal one is not). For a side length the unit is given in brackets, so type the bare number rounded to 0.1.
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Swapping the opposite and the adjacent leg — name them before you reach for a formula; this causes most of the errors.
- Using the sine in a triangle with no right angle — these three definitions only hold in a right triangle. For any triangle, use the laws of sines and cosines.
- A calculator left in RAD mode — the most common source of an answer that is wildly off.
- Quoting as the exact value — the exact value is .
- Multiplying instead of dividing — when the unknown is in the denominator (, solving for ), you have to divide.
- Treating as a number — that tangent does not exist.
Formula card
Topic: Sine, cosine and tangent
Sine
the leg opposite the angle over the hypotenuse
Cosine
the leg adjacent to the angle over the hypotenuse
Tangent
the opposite leg over the adjacent leg
The opposite leg
the definition of the sine solved for a
The adjacent leg
the definition of the cosine solved for b
The hypotenuse
when the leg opposite the angle is known
Special angles
exact values, not readings from a table
