The cosine of a sum and the sine formulas
Quick review (2 minutes)
The previous lesson built one formula, the one for cos(a − b).
For every pair of angles a and b:
cos(a + b) = cos a cos b − sin a sin b
sin(a + b) = sin a cos b + cos a sin b
sin(a − b) = sin a cos b − cos a sin b
Say what the question asks: is it a sine or a cosine, and are the two angles added or subtracted? Call the first angle a and the second b.
Write the matching formula in letters, sign included, before any number goes in. Cosine matches like with like and switches the sign; sine mixes and keeps it.
Find the four values cos a, sin a, cos b and sin b from the special triangles or the unit circle.
Put each value in its place and do the two multiplications: top times top, bottom times bottom.
Add or subtract the two results as the formula says, and simplify to an exact value: fractions and roots, no rounding.
Check: if the whole angle a + b or a − b is one whose value you already know, find that value directly and compare.
Find cos(60° + 60°) with the sum formula for cosine, and check the answer.
The sign in the cosine formulas. The cosine of a sum has a minus in the middle, and the cosine of a difference has a plus: cosine switches the sign you see inside, while sine keeps it. With a plus, cos(90° + 90°) would come out 0 · 0 + 1 · 1 = 1, but the point at 180° is (−1, 0), so the true value is −1. Write the formula in letters, sign included, before any number goes in, and say cosine switches, sine stays as you write it.
Write the one formula you trust: cos(a − b) = cos a cos b + sin a sin b. It holds for any two angles.
For the cosine of a sum, write a + b as a − (−b) and use the formula with −b in the second slot.
Tidy up with the mirror facts cos(−b) = cos b and sin(−b) = −sin b: only the sine part changes sign.
For a sine, rewrite it as a cosine with sin t = cos( − t), then group the inside as ( − a) − b so it is a difference.
Use the difference formula on ( − a) − b, then trade cos( − a) for sin a and sin( − a) for cos a.
For the sine of a difference, write a − b as a + (−b), use the sine of a sum with −b, and tidy up with the mirror facts.
Test what you built with b = 0°: cos(a + 0°) must come out cos a, and sin(a + 0°) must come out sin a.
sum formula
A sum formula gives the sine, cosine or tangent of two angles added together, a + b, from the values of each angle on its own.
difference formula
A difference formula gives the sine, cosine or tangent of one angle minus another, a − b, from the values of each angle on its own.
cofunction
Two trig functions are cofunctions when one's value at an angle equals the other's value at the complement, the angle that brings it up to 90°. Sine and cosine are cofunctions.
exact value
An exact value is a number written so that it is perfectly right, using whole numbers, fractions, square roots or π, such as . A decimal like 0.866 is only a rounded copy.
chord
A chord (say KORD) is a straight segment whose two ends both lie on a circle. It cuts straight across, so it is shorter than the curved arc between the same two ends.
1 In plain words
The previous lesson built one formula, the one for cos(a − b). Think of it as a machine with two slots. Drop any two angles in, and it hands back the cosine of their difference. This lesson gets three more formulas out of that one machine. You change only what you drop in. Drop in −b where b goes: undoing a step backward is the same as taking a step forward, so out comes cos(a + b), the cosine of a sum. For the sine formulas, first trade the sine for a cosine: the sine of an angle is the cosine of what is left of a right angle. Then that cosine goes into the same machine.
2 Picture it
put −b in place of b:
write sin t as cos( − t):
sin(a + b) = sin a cos b + cos a sin b
put −b in place of b:
Reminder
Reminder: Taking away and adding negatives, Turning by a negative angle, Cofunctions, A minus sign in front of brackets, Radians to degrees, The special values, Multiplying fractions and roots, Signs when multiplying, Adding fractions with the same bottom
- Taking away and adding negatives. Taking away a negative is adding: 5 − (−3) = 5 + 3 = 8, so a − (−b) = a + b. Adding a negative is taking away: 7 + (−2) = 7 − 2 = 5, so a + (−b) = a − b.
- Turning by a negative angle. A negative angle turns clockwise and lands at the mirror image across the x-axis: cos(−b) = cos b and sin(−b) = −sin b. For example cos(−30°) = and sin(−30°) = −.
- Cofunctions. The sine of an angle is the cosine of what is left of a right angle, and the other way around: sin t = cos( − t) and cos t = sin( − t). For example sin 30° = cos 60° = .
- A minus sign in front of brackets. A minus in front of brackets changes the sign of everything inside: 10 − (3 + 2) = 10 − 3 − 2 = 5.
- Radians to degrees. π is 180°, so = 30°, = 45°, = 60°, = 90° and = 120°.
- The special values. sin 30° = , cos 30° = , sin 45° = cos 45° = , sin 60° = and cos 60° = . At 0° the point on the unit circle is (1, 0) and at 90° it is (0, 1), so cos 0° = 1, sin 0° = 0, cos 90° = 0 and sin 90° = 1.
- Multiplying fractions and roots. Top times top, bottom times bottom: · = . A square root times itself gives the number inside: · = 3 and · = 2.
- Signs when multiplying. A negative times a positive is negative: (−) · = −. A negative times a negative is positive: (−2) · (−3) = 6.
- Adding fractions with the same bottom. Add or subtract the tops and keep the bottom: − = , and dividing top and bottom by 2 gives .
3 Why
The formula for cos(a − b) holds for any two angles, so −b or − a may go into its slots. Two facts finish the work. Turning by −b mirrors turning by b across the x-axis: the point keeps its x and flips its y, so cos(−b) = cos b and sin(−b) = −sin b. And sin t = cos( − t) holds for every angle, not only in a triangle: since the point at is (0, 1), the same formula gives cos( − t) = 0 · cos t + 1 · sin t = sin t.
4 The rule
For every pair of angles a and b:
The same idea, five ways
the cosine of a plus b is cos a cos b minus sin a sin b. The sine of a plus b is sin a cos b plus cos a sin b. The sine of a minus b is sin a cos b minus cos a sin b.
The cosine of a sum of two angles equals their cosines multiplied together, minus their sines multiplied together. The sine of a sum equals the sine of the first angle times the cosine of the second, plus the cosine of the first times the sine of the second; for the sine of a difference, that plus becomes a minus.
- sin(a + b) = sin a cos b + cos a sin b
- sin(a ± b) = sin a cos b ± cos a sin b, reading all the top signs together, then all the bottom signs together
- cos(a ± b) = cos a cos b ∓ sin a sin b, where ∓ is the opposite of the sign inside: a plus inside gives a minus
Like a machine with two slots that only serves the cosine of a difference: drop −b into the second slot, or the leftover angle − a into the first, and the same machine serves sums and sines.
The same idea, other ways
Put the point for an angle b on the unit circle, then the point for −b. Turning backward by b lands on the mirror image across the x-axis: the same x, and the same height on the other side of the axis. So cos(−b) = cos b and sin(−b) = −sin b. That mirror is the whole reason the sum formula for cosine differs from the difference formula in one sign: trading b for −b leaves every cos b alone and flips every sin b, so only the sin a sin b part changes sign.
A traveler with one plug carries adapters instead of new plugs. Your plug is the difference formula for cosine. Adapter one is a + b = a − (−b): it lets a sum fit the difference slot. Adapter two is the cofunction fact (the sine of an angle is the cosine of what is left of a right angle): it lets a sine fit the cosine plug. Every formula in this lesson is the old plug with one or two adapters on it, and the mirror facts tidy up what comes out.
Take a = 90° and b = 90°, where every value is 0 or 1: cos 90° = 0 and sin 90° = 1. The sum formula for cosine gives cos 180° = 0 · 0 − 1 · 1 = −1, and the point at 180° is (−1, 0), so it is right. With a plus you would get 0 · 0 + 1 · 1 = 1, which is cos 0°, the cosine of the difference 90° − 90°. The sine of a sum gives sin 180° = 1 · 0 + 0 · 1 = 0, the y of (−1, 0). The sine of a difference gives sin 0° = 1 · 0 − 0 · 1 = 0, also right.
Sine mixes, cosine matches. Sine mixes the two functions, sin cos then cos sin, and keeps the sign you see inside: a plus stays a plus. Cosine matches like with like, cos cos then sin sin, and switches the sign: a plus inside becomes a minus in the middle. In the sine formulas the first angle's sine leads: sin a cos b, then cos a sin b.
Sine mixes and keeps the sign:
sin(a + b) = sin a cos b + cos a sin b
Cosine matches and switches the sign:
Each formula is the difference formula with a clever input, so none of them is a guess. cos(a + b) = cos(a − (−b)) = cos a cos(−b) + sin a sin(−b) = cos a cos b − sin a sin b. sin(a + b) = cos(( − a) − b) = cos( − a) cos b + sin( − a) sin b = sin a cos b + cos a sin b. sin(a − b) = sin(a + (−b)) = sin a cos(−b) + cos a sin(−b) = sin a cos b − cos a sin b. The cofunction facts used here hold for every angle: cos( − t) = 0 · cos t + 1 · sin t = sin t, and putting − a in place of t gives cos a = sin( − a).
| Formula | What is multiplied | Sign in the middle |
|---|---|---|
| cos with cos, sin with sin | plus, the opposite of the minus inside | |
| cos with cos, sin with sin | minus, the opposite of the plus inside | |
| sin(a + b) = sin a cos b + cos a sin b | sin with cos, cos with sin | plus, the same as inside |
| sin with cos, cos with sin | minus, the same as inside |
Part 1: The cosine of a sum
To get cos(a + b) you do not need a new picture or a new chord. Adding b is the same as taking away −b, the way walking 3 steps forward is the same as undoing 3 steps backward. So cos(a + b) is cos(a − (−b)), a cosine of a difference, and the formula you already have takes it with −b in the second slot. Then the mirror facts tidy up: cos b stays as it is, sin b flips its sign, and the plus in the middle turns into a minus.
- Start: cos(a − b) = cos a cos b + sin a sin b, for any two angles.
- Rewrite: a + b = a − (−b).
- Mirror facts: cos(−b) = cos b and sin(−b) = −sin b.
- Result: cos(a + b) = cos a cos b − sin a sin b.
Worked example
Building cos(a + b)
Start from the difference formula cos(a − b) = cos a cos b + sin a sin b and build a formula for cos(a + b).
Show the steps and the answer
- Say what it asks: you have a formula for the cosine of a difference and want one for the cosine of a sum.So the first move is to write the sum a + b as a difference.
- Write .Taking away a negative is adding: 5 − (−3) = 5 + 3 = 8.
- .The difference formula holds for any two angles, so a goes in the first slot and −b in the second.
- Replace with cos b and with .The point for −b is the mirror image of the point for b across the x-axis: the same x, the opposite y.
- .Adding a negative amount is taking it away.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Only the sin a sin b part feels the change from b to −b, so the cosine of a sum is the cosine of a difference with its middle sign switched and nothing else.
Part 2: The sine of a sum
There is no sine formula yet, so rename the sine as a cosine. In a right triangle the two small angles add up to a right angle, and the sine of one is the cosine of the other. So sin(a + b) is the cosine of what is left of a right angle after a + b, which is cos( − (a + b)). Group the inside as ( − a) − b and it is a difference, which the old formula takes. Two more trades between sine and cosine finish the job.
- Cofunction facts: sin t = cos( − t) and cos t = sin( − t), for every angle t, not only angles in a triangle.
- Rename: sin(a + b) = cos( − (a + b)) = cos(( − a) − b).
- Difference formula: cos(( − a) − b) = cos( − a) cos b + sin( − a) sin b.
- Trade back: cos( − a) = sin a and sin( − a) = cos a.
- Result: sin(a + b) = sin a cos b + cos a sin b.
Worked example
Building sin(a + b)
Use the difference formula for cosine and the cofunction facts to build a formula for sin(a + b).
Show the steps and the answer
- Say what it asks: you have a formula for the cosine of a difference and want one for the sine of a sum.So the first move is to rewrite the sine as a cosine.
- .The cofunction fact sin t = cos( − t) holds for every angle t; here t is a + b.
- .The minus in front of the brackets reaches both a and b, so −(a + b) is −a − b; grouping with −a makes the inside a difference of the two angles − a and b.
- .This is the difference formula for cosine with − a in the first slot and b in the second.
- Replace with sin a and with cos a, so .These are the two cofunction facts: the cosine of the leftover angle is the sine of the angle, and the sine of the leftover is the cosine.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- If the sine of a sum slips your mind, rebuild it in three moves: sine to the cosine of the leftover angle, the difference formula, then trade back.
Part 3: The sine of a difference
With the sine of a sum in hand, the sine of a difference costs one more move. Taking away b is the same as adding −b, so sin(a − b) = sin(a + (−b)). Put −b into the sine of a sum and let the mirror facts tidy up: cos(−b) is cos b, sin(−b) is −sin b, and the plus in the middle becomes a minus. For sine, the sign you see inside is the sign you write in the middle. Keep the angles in order: a, the angle written first, gives the first sine.
- Rewrite: a − b = a + (−b).
- Sine of a sum with −b: sin(a + (−b)) = sin a cos(−b) + cos a sin(−b).
- Mirror facts: cos(−b) = cos b and sin(−b) = −sin b.
- Result: sin(a − b) = sin a cos b − cos a sin b.
- Second route, through the cofunction fact: sin(a − b) = cos(( − a) + b) = cos( − a) cos b − sin( − a) sin b = sin a cos b − cos a sin b.
- Order matters: the first angle's sine comes first.
Worked example
Building sin(a − b)
Use the sum formula for sine to build a formula for sin(a − b).
Show the steps and the answer
- Say what it asks: you have the sine of a sum and want the sine of a difference.So the first move is to write a − b as a sum.
- Write .Taking away a number is adding its negative: 7 − 2 = 7 + (−2) = 5.
- .The sum formula for sine holds for any two angles, so −b can go in the second slot.
- Replace with cos b and with .The point for −b has the same x as the point for b and the opposite y.
- .Adding a negative amount is taking it away.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- To test the order, use a = 90° and b = 0°: the answer must be sin 90° = 1, and only the correct order gives it.
5 How
- Say what the question asks: is it a sine or a cosine, and are the two angles added or subtracted? Call the first angle a and the second b.
- Write the matching formula in letters, sign included, before any number goes in. Cosine matches like with like and switches the sign; sine mixes and keeps it.
- Find the four values cos a, sin a, cos b and sin b from the special triangles or the unit circle.
- Put each value in its place and do the two multiplications: top times top, bottom times bottom.
- Add or subtract the two results as the formula says, and simplify to an exact value: fractions and roots, no rounding.
- Check: if the whole angle a + b or a − b is one whose value you already know, find that value directly and compare.
Rebuilding a sum or difference formula from cos(a − b)
- Write the one formula you trust: cos(a − b) = cos a cos b + sin a sin b. It holds for any two angles.
- For the cosine of a sum, write a + b as a − (−b) and use the formula with −b in the second slot.
- Tidy up with the mirror facts cos(−b) = cos b and sin(−b) = −sin b: only the sine part changes sign.
- For a sine, rewrite it as a cosine with sin t = cos( − t), then group the inside as ( − a) − b so it is a difference.
- Use the difference formula on ( − a) − b, then trade cos( − a) for sin a and sin( − a) for cos a.
- For the sine of a difference, write a − b as a + (−b), use the sine of a sum with −b, and tidy up with the mirror facts.
- Test what you built with b = 0°: cos(a + 0°) must come out cos a, and sin(a + 0°) must come out sin a.
6 Worked example
Worked example
The cosine of 60° + 60°
Find cos(60° + 60°) with the sum formula for cosine, and check the answer.
Show the steps and the answer
- Say what it asks: the angle is made of two pieces, and . Find the cosine of the whole angle from the sines and cosines of the pieces.The formula is written in a and b, so name them first.
- Write the formula with its sign: .Cosine matches like with like, cos with cos and sin with sin, and switches the sign: a plus inside, a minus in the middle.
- Read the values: and .In the 30-60-90 triangle with sides 1, and 2, the side next to 60° is 1 and the side across from it is , each over the hypotenuse 2.
- Multiply each pair: , and .Top times top and bottom times bottom; · = 3.
- Subtract: .The bottoms match, so subtract the tops; then divide top and bottom by 2.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Rung 1: an angle plus 0°
Find sin(45° + 0°) with the sum formula for sine.
Show the steps and the answer
- Say what it asks: and ; find the sine of the whole angle.Naming a and b tells you which value goes where in the formula.
- Write .Sine mixes, sin cos then cos sin, and keeps the plus.
- and .The 45° values come from the 45-45-90 triangle; at 0° the point on the unit circle is (1, 0), so its x is 1 and its y is 0.
- .Times 1 leaves a number as it is, and times 0 gives 0.
Rung 2 of 6
Rung 2: a difference that starts at 90°
Find sin(90° − 60°) with the difference formula for sine.
Show the steps and the answer
- Say what it asks: comes first and is taken away; find the sine of what is left.In a difference the order matters, so a must be the angle written first.
- Write .Sine mixes and keeps the minus you see inside.
- and .At 90° the point on the unit circle is (0, 1); the 60° values come from the 30-60-90 triangle.
- .Times 0 gives 0, so only the first multiplication is left.
Rung 3 of 6
Rung 3: radians and two multiplications
Find cos( + ) with the sum formula for cosine.
Show the steps and the answer
- Say what it asks: , which is because is and ; find the cosine of the whole angle.In degrees you can read the values from the 30-60-90 triangle.
- Write .Cosine matches like with like and switches the sign.
- and .In the 30-60-90 triangle the side next to 30° is and the side across from it is 1, each over the hypotenuse 2.
- and .Top times top, bottom times bottom; · = 3.
- .The bottoms match, so subtract the tops; then divide top and bottom by 2.
Rung 4 of 6
Rung 4: a difference in the other order
Find sin(30° − 60°) with the difference formula for sine.
Show the steps and the answer
- Say what it asks: comes first and is taken away; find the sine of the result.The angle written first is a; swapping a and b would change the answer.
- Write .Sine mixes and keeps the minus you see inside.
- and .All four come from the 30-60-90 triangle.
- and .Top times top, bottom times bottom; · = 3.
- .The bottoms match, so subtract the tops; then divide top and bottom by 2.
Rung 5 of 6
Rung 5: values from the second quadrant
Find cos( + ) with the sum formula for cosine.
Show the steps and the answer
- Say what it asks: and ; find the cosine of the whole angle.Naming a and b first keeps each value in its place.
- In degrees, and .π is 180°, so = 180° ÷ 3 = 60° and = 2 · 60° = 120°.
- Write .Cosine matches like with like and switches the sign.
- and .120° is in the second quadrant, 60° short of 180°: its point is the 60° point mirrored across the y-axis, so the x turns negative and the y stays positive.
- and .These come from the 30-60-90 triangle.
- and .A negative times a positive is negative; · = 3.
- .The bottoms match, so combine the tops: starting at −1 and taking away 3 more goes down to −4; and 4 over 4 is 1.
Rung 6 of 6
Rung 6: taking away a negative
Find sin(150° − 30°) with the difference formula for sine.
Show the steps and the answer
- Say what it asks: comes first and is taken away; find the sine of the result.Naming a and b in order keeps each value in its place.
- Write .Sine mixes and keeps the minus you see inside.
- and .150° is in the second quadrant, 30° short of 180°: its point is the 30° point mirrored across the y-axis, so the x turns negative and the y stays positive.
- and .These come from the 30-60-90 triangle.
- and .Top times top, bottom times bottom; a negative times a positive is negative.
- .Taking away a negative is adding, the same move as a − (−b) = a + b; then add the tops over the shared bottom and divide top and bottom by 2.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: sine mixes, cosine matches. Sine mixes the two functions (sin cos, then cos sin) and keeps the sign you see inside. Cosine matches like with like (cos cos, then sin sin) and switches the sign.
- Test any formula you rebuilt with b = 0°. Since cos 0° = 1 and sin 0° = 0, a correct formula collapses to cos(a + 0°) = cos a and sin(a + 0°) = sin a; a formula with the wrong pairs fails.
- Know cold: the difference formula for cosine and the memory device. Rebuild when needed: the other three, each one move away (−b in place of b, or a sine written as the cosine of the leftover angle). Put all four on the cheat sheet; there is no need to memorize them as four separate facts.
- In the sine of a difference the order matters: the first angle's sine comes first. sin(60° − 30°) = , but sin(30° − 60°) = −.
- A quick number check: 60° and 30° add to 90°, whose cosine is 0 and sine is 1. Any formula for a sum must give those for a = 60° and b = 30°.
- Write the formula in letters, sign included, before a single number goes in. Most wrong answers come from deciding the sign halfway through the arithmetic.
7 The trap
The sign in the cosine formulas. The cosine of a sum has a minus in the middle, and the cosine of a difference has a plus: cosine switches the sign you see inside, while sine keeps it. With a plus, cos(90° + 90°) would come out 0 · 0 + 1 · 1 = 1, but the point at 180° is (−1, 0), so the true value is −1. Write the formula in letters, sign included, before any number goes in, and say cosine switches, sine stays as you write it.
Flash cards
Say the answer out loud, then flip.
Starting from cos(a − b) = cos a cos b + sin a sin b, how do you get the formula for cos(a + b)?
- Drop −b into the slot for b, because a − (−b) = a + b.
- Turning by −b instead of b keeps the cosine and flips the sign of the sine: cos(−b) = cos b and sin(−b) = −sin b.
- So the sin a sin b part changes sign:
Why is cos(π + t) = −cos t true for every angle t?
- Put π in the a slot and t in the b slot of the cos(a + b) formula. The point at π is (−1, 0), so cos π = −1 and sin π = 0.
- The cos(a + b) formula works for every pair of angles, so this works for every t.
What are the formulas for sin(a + b) and sin(a − b)?
- sin(a + b) = sin a cos b + cos a sin b
- Sine mixes (sine times cosine, then cosine times sine) and keeps the sign you see inside: cosine switches, sine stays.
Write 195° as 135° + 60° and use the sum formula to find cos 195° exactly.
- The angles are added, so the cosine formula has a minus in the middle. The answer is negative, as it must be: 195° ends in quadrant III, where every cosine is negative.