# Trigonometry/Remembering Trig Formulae

## Remembering Formulae

This page is about how to remember trig formulas - so it is more than just a summary of trig formulae.

You will need to have read most of the rest of the book for this page to be useful to you.

## The Blue-Box Formulae

In any triangle the angles
always sum to ${\displaystyle 180^{\circ }}$

In a right angled triangle
The square of the hypotenuse
is equal to
the sum of the squares of the other two sides.

${\displaystyle Soh-Cah-Toa}$

${\displaystyle \displaystyle {\begin{array}{ccc}\sin(A)&=&\displaystyle {\frac {\text{opposite side}}{\rm {hypotenuse}}}\\\\\cos(A)&=&\displaystyle {\frac {\text{adjacent side}}{\rm {hypotenuse}}}\\\\\tan(A)&=&\displaystyle {\frac {\text{opposite side}}{\text{adjacent side}}}\end{array}}}$

## Tips on checking and remembering Formulae

This page contains some trigonometric identities. It does not contain all trigonometric identities. It couldn't possibly. As well as the trigonometric identities for 'double angles' such as:

${\displaystyle \cos(2t)=\cos ^{2}(t)-\sin ^{2}(t)}$

there exist trigonometrical identities for treble angles, quadruple angles and so on. We could not list them all. Also the same formula can be presented in different disguises as we'll see below.

It's useful to learn some of the trig identities and to know how to quickly and easily derive one trigonometric identities from another.

### Checking Formulae

It is also very important to be able to check that the formulae you come up with make sense. We know that ${\displaystyle \cos(0^{\circ })=1}$  . If your formula for ${\displaystyle \cos(2t)}$  does not give the answer 1 when ${\displaystyle t=0}$  then it is wrong! Don't stop there though. You can work out where you went wrong and save yourself making the same mistake again. How do you do that?

If you worked out the formula for ${\displaystyle \cos(2t)}$  from the formula for ${\displaystyle \cos(A+B)}$  you need to check through the steps you took. If the mistake isn't obvious, try putting ${\displaystyle A=0}$  and ${\displaystyle B=0}$  . It is very very easy to get a sign wrong, a plus for a minus, when working with equations quickly. It is only through practice that you will become both fast at it and accurate.

## Identities Based on the Pythagorean Theorem

Some of the most fundamental trigonometric identities are those derived from the Pythagorean Theorem. These are defined using a right triangle:

right triangle

At this stage in the course the Pythagorean Theorem should be second nature to you. If you have not yet learned it, learn it now.

${\displaystyle a^{2}+b^{2}=c^{2}}$

${\displaystyle a}$  and ${\displaystyle b}$  of course are the legs or the adjacent and opposite edges, and ${\displaystyle c}$  is the hypotenuse, the longest side, the side that does not include the right angle. This formula only works for a right angle triangle. If the angle shown as a right angle in the diagram were obtuse, larger than a right angle, then ${\displaystyle c^{2}}$  would be larger than the Pythagorean sum. If the angle shown as a right angle were smaller than a right angle, then ${\displaystyle c^{2}}$  would be smaller than ${\displaystyle a^{2}+b^{2}}$  .

### Pythagorean Theorem in Terms of sine and cosine

The Pythagorean Theorem is the same thing as

${\displaystyle \sin ^{2}(A)+\cos ^{2}(A)=1}$

We know this from the earlier in the book where we introduced ${\displaystyle {\rm {sine}}}$  and ${\displaystyle {\rm {cosine}}}$  .

• The ${\displaystyle {\rm {cosine}}}$  is the adjacent side when the hypotenuse is one.
• The ${\displaystyle {\rm {sine}}}$  is the opposite side when the hypotenuse is one.

The ${\displaystyle \sin ^{2}(A)+\cos ^{2}(A)=1}$  identity should be second nature to you too, but you should also be able to derive it from the Pythagorean relation.

We can see it's true from a right triangle that has a hypotenuse that is 'c' rather than one. Dividing the Pythagorean relation through by ${\displaystyle c^{2}}$  gives us

${\displaystyle \left({\frac {a}{c}}\right)^{2}+\left({\frac {b}{c}}\right)^{2}=\left({\frac {c}{c}}\right)^{2}=1}$

And we have already seen from soh-cah-toa that the sine of A is ${\displaystyle \left({\frac {a}{c}}\right)}$  and the cosine of A is ${\displaystyle \left({\frac {b}{c}}\right)}$  .

## Identities based on Addition Formula

We saw the addition formula earlier.

### Letters are Arbitrary

The letters in these equations ${\displaystyle A}$  and ${\displaystyle B\,}$  are arbitrary. We could equally use ${\displaystyle \omega }$  and ${\displaystyle \theta }$  . We're pointing this out because we happen to have a diagram on this page that has angles ${\displaystyle A}$  , ${\displaystyle B}$  and ${\displaystyle C}$  in it, and we want to make it clear that that was for Pythagoras and we're not talking about that diagram any more. In these equations you can also always substitute actual values, e.g. replace ${\displaystyle A}$  by ${\displaystyle \pi }$  and they'd still be true. Or you could replace ${\displaystyle A}$  by ${\displaystyle 2t}$  or ${\displaystyle \pi -t}$ and they'd still be true.

The addition formula for cosine is:

${\displaystyle \cos(A+B)=\cos(A)\cos(B)-\sin(A)\sin(B)}$

and is worth learning. But don't learn the next one:

### 'Subtraction' Formula

${\displaystyle \cos(A-B)=\cos(A)\cos(B)+\sin(A)\sin(B)}$

Learning the second formula is extra effort that does not really gain you anything. You can get it instantly by replacing ${\displaystyle B}$  by ${\displaystyle -B}$  in the first equation. The only things on the right hand side that will change are the terms that had ${\displaystyle B}$  in them. The ${\displaystyle \cos(B)}$  is unchanged because ${\displaystyle \cos(-B)=\cos(B)}$  . The minus sign before the second term changes because ${\displaystyle \sin(-B)=-\sin(B)}$  .

#### Checking the 'subtraction' formula

Now do a quick check. If ${\displaystyle A=B}$  then ${\displaystyle cos(A-B)}$  is ${\displaystyle \cos(0)}$  which is one, right? And on the right hand side we have ${\displaystyle \cos ^{2}(A)+\sin ^{2}(A)}$  , which is also one. Looks good.

It is much better to remember it this way, because you are doing less rote learning and you're also becoming more fluent with the algebra.

### Double Angle Formula

You can immediately get to the next formula by putting B equal to A in the addition formula. This is a double angle formula.

${\displaystyle \cos(2A)=\cos ^{2}(A)-\sin ^{2}(A)}$

### Half Angle Formula

Replace A by ${\displaystyle {\frac {A}{2}}}$  in the previous result and you get the half angle formula.

${\displaystyle \cos(A)=\cos ^{2}{\bigl (}{\tfrac {A}{2}}{\bigr )}-\sin ^{2}{\bigl (}{\tfrac {A}{2}}{\bigr )}}$

Cos^2A=\2cos^2A-1

### Sum of two shifted Cosines

For the next formula, you could just plough through the algebra...

${\displaystyle \cos(x+\theta )+\cos(x-\theta )=\dots }$

#### Waves in and out of phase

Before we do, notice that we are adding two cosine waves, the first shifted left and the second shifted right. We've seen this before when we looked at waves in and out of phase. We're going to get another sinusoidal wave. The expression is fairly symmetric, and actually we can quickly show that the expression gives an even function, that is that the value for ${\displaystyle -x}$  is the same as for ${\displaystyle x}$  :

${\displaystyle \cos(-x+\theta )+\cos(-x-\theta )=}$  using ${\displaystyle \cos(x)=\cos(-x)}$  we get to:
${\displaystyle \cos(x-\theta )+\cos(x+\theta )=}$  and now swapping the two terms:
${\displaystyle \cos(x+\theta )+\cos(x-\theta )}$  which is the original expression.

with practice you'll be able to see those steps and that the expression is an even function immediately.

A sinusoidal wave that is an even function - well it is something based on cosine. We're expecting the formula will simplify to give us something like:

${\displaystyle A\cos(x)}$

Where ${\displaystyle A}$  will depend on ${\displaystyle \theta }$ .

#### Values to Check With

When ${\displaystyle \theta =0^{\circ }}$  (try it in the original formula) we expect A to be 2. When ${\displaystyle \theta =90^{\circ }}$  we expect A to be 0, as the two cosine waves are ${\displaystyle 180^{\circ }}$  out of phase. So now to plough through the algebra:

${\displaystyle \cos(x+\theta )+\cos(x-\theta )=}$
${\displaystyle \cos(x)\cos(\theta )-\sin(x)\sin(\theta )+\cos(x)\cos(-\theta )-\sin(x)\sin(-\theta )=}$
${\displaystyle \cos(x)\cos(\theta )-\sin(x)\sin(\theta )+\cos(x)\cos(\theta )+\sin(x)\sin(\theta )=}$
${\displaystyle \cos(x)\cos(\theta )+\cos(x)\cos(\theta )=}$
${\displaystyle 2\cos(\theta )\cos(x)}$

And to check we try with ${\displaystyle \theta =0^{\circ }}$  and get ${\displaystyle 2\cos(x)}$  , and we check with ${\displaystyle \theta =90^{\circ }}$  and get ${\displaystyle 0\times \cos(x)}$  , as we hoped.

Knowing roughly what we expected made it easier to get the algebraic steps right. We knew where we were going. We knew we weren't going to end up with four separate terms, some would have to cancel or combine in some other way.

## Identities based on Sine and Cosine rules

${\displaystyle {\frac {a}{\sin(A)}}={\frac {b}{\sin(B)}}={\frac {c}{\sin(C)}}}$  .

This is easy to remember because it is so symmetrical. You do not even need to remember which way up the ratios are as this is also true:

${\displaystyle {\frac {\sin(A)}{a}}={\frac {\sin(B)}{b}}={\frac {\sin(C)}{c}}}$  .

What you do need to remember is how the triangle is labelled for it to be true.

With the cosine law formula:

${\displaystyle a^{2}+b^{2}-2ab\cos(\theta )=c^{2}}$

It is best to think of it as a more general version of Pythagoras' theorem. The a and b have to be on equal footing, so ab as a multiplier is reasonable.

If you are familiar with 'units' in physics, then use the fact that units must match up. The quantities ${\displaystyle a,b,c}$  are measurements of length. It is no good adding ${\displaystyle a^{2}}$  to ${\displaystyle -2(a+b)\cos(\theta )}$  . One might have units Km2 the other units of Km. Adding ${\displaystyle a^{2}}$  to ${\displaystyle -2ab\cos(\theta )}$  the units, e.g: Km2, do match.

In some more detail, it has got to be minus for ${\displaystyle -2ab\cos(\theta )}$  . That's because for ${\displaystyle \theta <90^{\circ }}$  we need ${\displaystyle c^{2}}$  to be less than for Pythagoras' theorem.

How can you remember and be sure the 2 is right? Think of an equilateral triangle with each side of length 1. The angle ${\displaystyle \theta =60^{\circ }}$  and ${\displaystyle \cos(60^{\circ })=0.5}$  . We need the 2 to get the right answer 1 + 1 + 2x1x1x0.5 = 1.

## Ratio identities

${\displaystyle \tan(A)={\frac {\sin(A)}{\cos(A)}}}$

This is one definition of tan, and is something you should just learn.

## Identities based on symmetry

These symmetry identities are best remembered by remembering the graphs for these functions. Have a look at the graphs again if you don't remember them.

${\displaystyle 0,{\frac {\pi }{2}},\pi ,{\frac {3\pi }{2}},2\pi }$  are landmarks on the graphs of sine and cosine, and you should know what happens for both those functions at those landmarks. When you have that knowledge the following symmetry identities are easy to write down, because you can see them visually.

### Shifting Left

${\displaystyle \cos(\pi +A)=-\cos(A)\quad \sin(\pi +A)=-\sin(A)\quad \tan(\pi +A)=\tan(A)}$

The identities above are visualised as shifting the graph left by ${\displaystyle \pi }$  . It's a half cycle, and both cosine and sine change signs - and hence tan does not change sign, because when it is expressed as a ratio of sine over cosine both the top and bottom change signs.

### Reflecting in ${\displaystyle x={\frac {\pi }{2}}}$

${\displaystyle \cos(\pi -A)=-\cos(A)\quad \sin(\pi -A)=\sin(A)\quad \tan(\pi -A)=-\tan(A)}$

In the above we are reflecting the graph about the vertical line ${\displaystyle x={\frac {\pi }{2}}}$  . Spend enough time looking at this on the graph to see that that is true. It is important to do that to remember this trick for remembering what happens.

Now sine has a maximum at ${\displaystyle x={\frac {\pi }{2}}}$  (it has the value one) and it is symmetric about that x value, so ${\displaystyle \sin(\pi -A)=\sin(A)}$  . Cosine is zero at ${\displaystyle x={\frac {\pi }{2}}}$  . Reflecting cosine in the line ${\displaystyle x={\frac {\pi }{2}}}$  reverses the sign. ${\displaystyle \cos(\pi -A)=-\cos(A)}$

## Co-function identities

${\displaystyle \cos(A)=\sin \left({\frac {\pi }{2}}-A\right)}$
${\displaystyle \sin(A)=\cos \left({\frac {\pi }{2}}-A\right)}$

The above two formulas are most easily seen from the right-triangle definition of cosine and sine. The two acute angles in such a triangle add up to ${\displaystyle {\frac {\pi }{2}}}$  , and we are just giving the ratios of sides lengths in terms of a different angle's trig function.

${\displaystyle \cos(A)=\sin \left({\frac {\pi }{2}}+A\right)}$
${\displaystyle \sin(A)=-\cos \left({\frac {\pi }{2}}+A\right)}$

These two formulae are 'the same' as the previous formulae. We get there in two steps. First subtracted pi from the angle on the right hand side, which inverts the sign, and inverted the sign to compensate. Next invert the sign of the angle on the right hand side. For cosine on the right we are done. For sine on the right we have to invert its sign since inverting the angle's sign changed the sign of the result.

Yes - keeping track of signs is tricky, and always needs care.