Quarry School

Sum and difference formulas: crash course

7 lessons15 questions to tryUnit 10 of 11

Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.

Starts here no skill from another unit needed first

1 Why cos(a + b) is not cos a + cos b

Open the full lessonOnly this lesson

The rule

cos(a+b)≠cosa+cosb in general: for example, cos(π4+π4)=cosπ2=0, while cosπ4+cosπ4=2.

Sine behaves the same way: sin(a+b)≠sina+sinb in general.

How

  1. Read the parentheses as an instruction: cos(a + b) means add the angles first, then take one cosine of the total.
  2. To test a claim such as cos(a + b) = cos a + cos b, pick angles whose exact values you know from the unit circle: 0, π6, π4, π3, π2 or π.
  3. Work the left side: add the angles, find where the total turn lands on the unit circle, and read the x of that point.
  4. Work the right side: read the x for each angle on its own, then add the two numbers.
  5. Compare the two sides. If they differ, the claim is false and your pair is a counterexample. If they agree, nothing is proved yet: try another pair.
  6. Finish with a size check: one sine or one cosine always lies from −1 to 1, so a side outside that range cannot be a single cosine.

Worked example

Worked example

The counterexample a = b = π4

Test the claim cos(a + b) = cos a + cos b with a = π4 and b = π4.

Show the steps and the answer
a = 45°terminal sideinitial side
First turn: a = π4 = 45°, measured from the positive x-axis.
b = 45°terminal sideinitial side
Second turn: b = 45° more, starting where the first turn stopped, so the two together end straight up at 90°.
(0, 1)
The whole turn π2 ends at the top point (0, 1), so cos(a + b) is its x, 0.
x = cos θy = sin θP
One 45° turn lands at (22, 22), so each leg is about 0.7071 and two of them add to more than the radius 1.
  1. Say what the question asks: work out the left side and the right side with a=π4 and b=π4, then see whether the two numbers match.A rule has to give equal sides for every pair of angles, so one pair where the sides differ shows the claim is false.
  2. Left side, inside first: a+b=π4+π4=2π4=π2.The parentheses say to add the angles before taking any cosine. Both bottoms are 4, so add the tops, π + π = 2π, then divide the top and bottom of 2π4 by 2.
  3. Picture the two turns one after the other: 45° from the positive x-axis, then 45° more from where the first turn stopped. Together they make 90°, which ends at the top of the unit circle, the point (0, 1).π = 180°, so π4 = 45° and π2 = 90°, and a 90° turn from the positive x-axis points straight up.
  4. So cos(a+b)=cosπ2=0.The cosine of an angle is the x of the point where the turn lands, and the point (0, 1) has x = 0.
  5. Right side: cosπ4=22, an exact value.A 45° turn lands at (22, 22) on the unit circle, from the 45-45-90 triangle with hypotenuse 1, and the cosine is the x of that point.
  6. Add the two cosines: 22+22=222=2.The bottoms match, so add the tops: one 2 plus one 2 is two 2. Then 22 = 1 leaves 2.
  7. Compare: the left side is 0 and the right side is 2≈1.414 (rounded). They are different numbers.2 is a positive number, about 1.414, so it is not 0.
  8. Conclude: the claim is false, and the pair a=b=π4 is a counterexample.A counterexample is one case where a claimed rule gives the wrong answer, and one is enough to throw the rule out.
Answer
  • cos(π4+π4)=cosπ2=0
  • cos π4 + cos π4 = 2 ≈ 1.414 (rounded)
  • The sides differ, so cos(a + b) = cos a + cos b is false.
Double-check Second way, with decimals: 22 ≈ 0.7071 (rounded), so the right side is about 0.7071 + 0.7071 = 1.4142, which matches 2 ≈ 1.4142. No cosine can be more than 1, because it is the x of a point on a circle of radius 1, so 2 cannot be the cosine of π2 or of any angle, while the left side, 0, is the x of the top point (0, 1).

The trap

Splitting the cosine over the plus sign: writing cos(a + b) = cos a + cos b, or its twin cos(2a) = 2 cos a. Avoid it by adding the angles first and taking one cosine of the total, then checking that the answer lies from −1 to 1.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Two different special angles

Test the claim cos(a + b) = cos a + cos b with a = π3 and b = π6.

Show the steps and the answer
a = 60°b = 30°sum = 90°
A 60° turn and then a 30° turn make one 90° turn, which ends at the top of the circle where the cosine is 0.
  1. Say what it asks: work out each side with a=π3, which is 60°, and b=π6, which is 30°, then compare.One pair where the sides differ is enough to show the claim is false.
  2. Left side, inside first: π3+π6=2π6+π6=3π6=π2.The bottoms differ, so rewrite π3 with bottom 6 by multiplying its top and bottom by 2. Then add the tops, and divide the top and bottom of 3π6 by 3.
  3. cosπ2=0.60° + 30° = 90°, a quarter turn to the top point (0, 1), whose x is 0.
  4. Right side: cosπ3+cosπ6=12+32=1+32.60° lands at (12, 32) and 30° at (32, 12), from the 30-60-90 triangle with hypotenuse 1, so the cosines are 12 and 32. The bottoms match, so the tops go over one bottom. 1 and 3 are different kinds of number, so 1 + 3 stays as it is; it is not 4.
  5. Compare: 1+32≈1+1.7322=2.7322=1.366 (rounded), which is not 0. The claim fails.3 ≈ 1.732 (rounded), and a positive number divided by 2 is still positive, so it cannot be 0.
Answer
  • cos(π3+π6)=0
  • cos π3 + cos π6 = 1+32 ≈ 1.366 (rounded)
  • The claim fails.
Double-check Second way, a size check: 1+32 ≈ 1.366 is more than 1, and no cosine is more than 1, so the right side cannot be cos π2 or the cosine of any angle.

2 The cosine of a difference, from a distance on the circle

Open the full lessonOnly this lesson

The rule

For every pair of angles a and b, in degrees or in radians: cos(a−b)=cosacosb+sinasinb.

How

  1. Read what is asked: cos(a − b) is the cosine of one angle, the gap a − b. It is not two cosines with a minus between them.
  2. Name the angles: a is the angle before the minus sign and b is the angle after it.
  3. Write the four values cos a, sin a, cos b and sin b from the unit circle or the special triangles, each with the sign its quadrant gives it.
  4. Multiply the two cosines: cos a · cos b.
  5. Multiply the two sines: sin a · sin b.
  6. Add the two products. The sign between them is plus, even though the angle has a minus.
  7. Check: when the gap a − b is an angle whose cosine you know, the result must equal that cosine.

Worked example

Worked example

One chord, two ways: the points at 90° and 30°

On the unit circle, P is the point at 90° and Q is the point at 30°. Find the length of the chord PQ where it sits, and again after turning the circle back (clockwise) by 30°. Then test the difference formula with a = 90° and b = 30°. In plain words: measure one straight line in two pictures, check that the two lengths agree, and check that cos 90° cos 30° + sin 90° sin 30° equals cos(90° − 30°).

90° − 30° = 60°
Where the points sit: Q at 30°, P at 90°, a 60° gap between them.
60°
After turning back by 30°: Q at 3 o'clock and P at 60°, the same 60° gap.
Show the steps and the answer
30°60°√31245°45°11√2
The 30-60-90 triangle.
  1. Write the points where they sit: P=(cos90°,sin90°)=(0,1) and Q=(cos30°,sin30°)=(32,12).On the unit circle the point at angle t is (cos t, sin t). 90° points straight up, and the 30° values come from the 30-60-90 triangle.
  2. First way: PQ2=(0−32)2+(1−12)2.The distance formula subtracts the x's and the y's, squares each difference and adds. Working with PQ2 leaves the square root for the very end.
  3. Work out each square: (−32)2=34, and 1−12=12, so (12)2=14.To square a fraction, square its top and its bottom; 3 · 3 = 3, and a negative number times itself is positive.
  4. Add: PQ2=34+14=44=1.The bottoms match, so add the tops.
  5. Turn the circle back by 30°: Q moves to 30°−30°=0°, the point (1, 0), and P moves to 90°−30°=60°, the point (12,32).Turning back by 30° takes 30° off every angle. Both points move together, so the chord between them keeps its length.
  6. Second way: PQ2=(12−1)2+(32−0)2=(−12)2+34=14+34=1.The same distance formula on the turned points; 12 − 1 = −12, whose square is 14.
  7. Both ways give PQ2=1, so PQ =1=1.A length is never negative, so PQ is the positive square root of PQ2.
  8. Formula side: cos90°cos30°+sin90°sin30°=0·32+1·12=12.From P = (0, 1), cos 90° = 0 and sin 90° = 1; anything times 0 is 0.
  9. Gap side: cos(90°−30°)=cos60°=12. The two sides match.After the turn, P sat at 60°, and its x coordinate is cos 60° = 12.
Answer
  • PQ = 1 both ways.
  • cos90°cos30°+sin90°sin30°=12=cos(90°−30°).
Double-check Look at the triangle made by the center O and the points P and Q. Its sides OP and OQ are radii, both 1 long, with the 60° gap between them. A triangle with two equal sides is a mirror image of itself across its middle, so its other two angles are equal; together they make 180° − 60° = 120°, so each is 120° ÷ 2 = 60°. A triangle whose three angles are all 60° has three equal sides (it is the triangle that the 30-60-90 triangle is half of), so PQ = OP = 1, as both measurements found.

The trap

Copying the minus sign. The angle inside is a − b, so a minus between the two products feels natural, but the formula has a plus: cos(a − b) = cos a cos b + sin a sin b. Catch it with a = b: the gap is 0° and cos 0° = 1, and only the plus gives cos2a + sin2a = 1.

Quick check

Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 7

A gap past half a turn, 300° and 60°

P is the point at 300° and Q is the point at 60° on the unit circle. Find PQ2 both ways and test the difference formula with a = 300° and b = 60°. In plain words: the gap 300° − 60° = 240° is more than half a turn; does the method still work, and does the formula give a negative cosine correctly?

Show the steps and the answer
300° − 60° = 240°
The gap runs more than half a turn.
  1. Write the points: P=(12,−32) and Q=(12,32).300° is 60° short of 360°, in quadrant IV, where cosine is positive and sine negative; 60° gives (12, 32).
  2. First way: PQ2=(12−12)2+(−32−32)2=02+(−3)2=3.The x's are equal; two halves of 3, with a minus, make −3; and (−3)2 = 3.
  3. Turn the circle back by 60°: Q moves to 0°, the point (1, 0), and P moves to 300°−60°=240°, the point (−12,−32).240° is 60° past 180°, in quadrant III, where both coordinates are negative.
  4. Second way: PQ2=(−12−1)2+(−32−0)2=(−32)2+34=94+34=124=3.−12 − 1 = −32, whose square is 94; a negative squared is positive.
  5. Formula side: 12·12+(−32)·32=14−34=−24=−12.3 · 3 = 3, a negative times a positive is negative, and 24 reduces to 12.
  6. Gap side: cos(300°−60°)=cos240°=−12. The two sides match.The turned point P = (−12, −32) sits at 240°, and its x coordinate is −12.
Answer
  • PQ2 = 3 both ways, so PQ = 3.
  • The formula gives −12 = cos 240°.
Double-check P and Q share the x coordinate 12, so the chord stands upright and its length is the distance between the heights: 32 − (−32) = 3, whose square is 3.

3 The cosine of a sum and the sine formulas

Open the full lessonOnly this lesson

The rule

For every pair of angles a and b:cos(a+b)=cosacosb−sinasinbsin(a+b)=sinacosb+cosasinbsin(a−b)=sinacosb−cosasinb

How

  1. 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.
  2. 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.
  3. Find the four values cos a, sin a, cos b and sin b from the special triangles or the unit circle.
  4. Put each value in its place and do the two multiplications: top times top, bottom times bottom.
  5. Add or subtract the two results as the formula says, and simplify to an exact value: fractions and roots, no rounding.
  6. Check: if the whole angle a + b or a − b is one whose value you already know, find that value directly and compare.

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
30°60°√31245°45°11√2
In the 30-60-90 triangle the side next to 60° is 1 and the side across from it is 3, over the hypotenuse 2.
x = cos θy = sin θ120°
The point at 120° sits left of the y-axis, so its x, which is cos 120°, is negative: −12.
  1. Say what it asks: the angle is made of two pieces, a=60° and b=60°. 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.
  2. Write the formula with its sign: cos(a+b)=cosacosb−sinasinb.Cosine matches like with like, cos with cos and sin with sin, and switches the sign: a plus inside, a minus in the middle.
  3. Read the values: cos60°=12 and sin60°=32.In the 30-60-90 triangle with sides 1, 3 and 2, the side next to 60° is 1 and the side across from it is 3, each over the hypotenuse 2.
  4. Multiply each pair: cos60°·cos60°=12·12=14, and sin60°·sin60°=32·32=34.Top times top and bottom times bottom; 3 · 3 = 3.
  5. Subtract: 14−34=1−34=−24=−12.The bottoms match, so subtract the tops; then divide top and bottom by 2.
Answer
cos(60°+60°)=−12
Double-check 60° + 60° = 120°. On the unit circle, 120° is in the second quadrant (between 90° and 180°) and 60° short of 180°, so its point is the 60° point mirrored across the y-axis: the x turns negative, and cos 120° = −cos 60° = −12. Same answer. Adding the cosines instead gives 12 + 12 = 1, which is the cosine of 0°, not of 120°.

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.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

Radians and two multiplications

Find cos(π6 + π6) with the sum formula for cosine.

Show the steps and the answer
30°60°√31245°45°11√2
The 30-60-90 triangle gives cos 30° = 32, sin 30° = 12 and the check value cos 60° = 12.
  1. Say what it asks: a=b=π6, which is 30° because π is 180° and 180°÷6=30°; find the cosine of the whole angle.In degrees you can read the values from the 30-60-90 triangle.
  2. Write cos(a+b)=cosacosb−sinasinb.Cosine matches like with like and switches the sign.
  3. cos30°=32 and sin30°=12.In the 30-60-90 triangle the side next to 30° is 3 and the side across from it is 1, each over the hypotenuse 2.
  4. cosacosb=32·32=34 and sinasinb=12·12=14.Top times top, bottom times bottom; 3 · 3 = 3.
  5. 34−14=24=12.The bottoms match, so subtract the tops; then divide top and bottom by 2.
Answer
cos(π6+π6)=12
Double-check π6 + π6 = 2π6 = π3, which is 60°, and cos 60° = 12. Same answer. The gotcha: when adding π6 + π6, add only the tops; adding the bottoms too gives 2π12 = π6, which is wrong.

4 Exact values of angles such as 15 degrees and 75 degrees

Open the full lessonOnly this lesson

The rule

If θ=a+b or θ=a−b, where a and b are special angles, the sum formula or the difference formula gives sinθ and cosθ exactly:sin(a+b)=sinacosb+cosasinb and sin(a−b)=sinacosb−cosasinbcos(a+b)=cosacosb−sinasinb and cos(a−b)=cosacosb+sinasinb

How

  1. Write the angle as a sum or a difference of two special angles, in the order that gives the angle itself (75° = 45° + 30°, 15° = 45° − 30°, −15° = 30° − 45°).
  2. Pick the formula that matches the question: sine or cosine, sum or difference.
  3. Write down sin a, cos a, sin b and cos b from the special-angle triangles, each with the sign of its quadrant.
  4. Substitute the four values into the formula, keeping the sign in the middle.
  5. Multiply each pair: tops times tops, bottoms times bottoms, and two roots join under one root.
  6. Combine the two products over their common bottom 4, leaving different roots apart.
  7. Check: compare the decimal of your answer with a calculator in the right mode, and ask whether the size and sign fit the picture.

Worked example

Worked example

The exact value of sin 15°

Find the exact value of sin 15°, then check it with a decimal. In plain words: write sin 15° as a number made of fractions and square roots, with nothing rounded, then make sure it agrees with the calculator's rounded value.

Show the steps and the answer
30°60°√31245°45°11√2
Every value used here comes from these two triangles: 30° and 60° from the first, 45° from the second.
x = cos θy = sin θP
The point at 15° sits low on the circle, so its height, sin 15°, is a small number, about 0.26.
  1. Write 15°=45°−30°.15° is not in the special-angle table, but 45° and 30° are, and 45 − 30 = 15. The larger angle goes first, so the difference is 15° and not −15°.
  2. Choose sin(a−b)=sinacosb−cosasinb, with a=45° and b=30°: sin15°=sin45°cos30°−cos45°sin30°.The question asks for a sine, and the angle is a difference. Sine mixes the pairs (a sine with a cosine) and keeps the minus sign that sits between the angles.
  3. Write the four values: sin45°=22,cos30°=32,cos45°=22,sin30°=12.They come from the 45-45-90 and 30-60-90 triangles in the first picture. Both angles are in quadrant I, so all four values are positive.
  4. Substitute: sin15°=22·32−22·12.Each name in the formula is replaced by its number, and the minus sign between the two products stays.
  5. Multiply each pair: 22·32=64 and 22·12=24.To multiply fractions, multiply the tops and multiply the bottoms. Two square roots multiply under one root: 2 · 3 = 6. Each bottom is 2 · 2 = 4.
  6. Subtract: 64−24=6−24.Both fractions have the bottom 4, so subtract the tops and keep the 4. 6 and 2 are different roots, so 6 − 2 stays as it is.
Answer
  • sin 15° = 6−24 (exact)
  • sin 15° ≈ 0.2588 (rounded)
Double-check Decimal: 6 ≈ 2.4495 and 2 ≈ 1.4142, so the top is about 1.0353, and 1.0353 ÷ 4 ≈ 0.2588. A calculator in degree mode gives sin 15° ≈ 0.2588, so the two agree.
Second build: 15° is also 60° − 45°, and sin 60° cos 45° − cos 60° sin 45° = 32 · 22 − 12 · 22 = 64 − 24, the same exact value.

The trap

Getting the sign wrong in the cosine formula. cos 15° = cos(45° − 30°) has a plus in the middle: cos 30° cos 45° + sin 30° sin 45° = 6+24 ≈ 0.9659. Copying the minus from the angles gives 6−24 ≈ 0.2588, which is cos 75°, not cos 15°. Catch it with a size check: a small angle such as 15° has a cosine close to 1, so its cosine must be the larger of the two numbers.

Quick check

Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 7

The same idea in radians: cos π12

Find the exact value of cos π12. In plain words: the angle is given in radians; write its cosine with fractions and square roots.

Show the steps and the answer

π3=4π12(60°)

π4=3π12(45°)

4π12−3π12=π12(15°)

  1. Write π12 as a difference of special angles: π3−π4=4π12−3π12=π12.π3 (60°) and π4 (45°) are special. To subtract the fractions, put both over the common bottom 12: π3 = 4π12 and π4 = 3π12, and 4 − 3 = 1.
  2. Use cos(a−b)=cosacosb+sinasinb with a=π3 and b=π4: cosπ12=cosπ3cosπ4+sinπ3sinπ4.It is the cosine of a difference: matched pairs, and the minus between the angles flips to a plus.
  3. Put in the values: 12·22+32·22.cos π3 = 12 and sin π3 = 32 (the 60° values); cos π4 = sin π4 = 22 (the 45° values).
  4. Multiply: 24+64.1 · 2 = 2 and 3 · 2 = 6 on top; 2 · 2 = 4 on the bottom.
  5. Add: 2+64, the same as 6+24.Same bottom, so add the tops; the order of the two terms in a sum does not matter.
Answer
  • cos π12 = 6+24 (exact)
  • cos π12 ≈ 0.9659 (rounded)
Double-check A calculator in radian mode gives cos(π ÷ 12) ≈ 0.9659, and (2.4495 + 1.4142) ÷ 4 ≈ 0.9659.
A second build: π12 is 180°12 = 15°, and 15° = 45° − 30° gives cos 45° cos 30° + sin 45° sin 30° = 64 + 24, the same exact value.

5 The tangent of a sum or a difference

Open the full lessonOnly this lesson

The rule

tan(a+b)=tana+tanb1−tanatanb and tan(a−b)=tana−tanb1+tanatanbBoth need tan a and tan b to exist.

When the bottom is 0, the tangent of the sum or difference is undefined.

How

  1. Say what is asked: the tangent of a sum or difference of two angles, either an exact value for one angle or a value from two tangents you are given.
  2. If you start from one angle, write it as a sum or difference of two angles whose tangents you know. Leave out 90° and 270°, which have no tangent.
  3. Choose by the sign between the angles: the sum formula for a + b, the difference formula for a − b.
  4. Put each tangent in its place, and wrap a negative one in parentheses.
  5. Work out the bottom first. If it is 0, stop: the tangent of the sum or difference is undefined.
  6. Work out the top, divide the top by the bottom, and clear any square root from the bottom.
  7. Check: the sign must match the quadrant where the angle lands, and a calculator decimal must match your answer.

Worked example

Worked example

The exact value of tan 75°

Find the exact value of tan 75°.

Show the steps and the answer
45°30°sum = 75°
75° is a turn of 45° and then 30° more, two angles from the table.
input θoutput tan θ0°030°(√3)/345°160°√3↓ evaluate: input given, read the output below it
The special tangents: the highlighted columns under 30° and 45° hold the two values this example needs.
  1. Say what it asks: tan75° written with whole numbers and square roots, not a rounded decimal. 75° is not on the table of special angles, so build it from two angles that are.An exact value keeps every digit, and the sum formula needs angles whose tangents we already know exactly.
  2. Write 75°=45°+30°.45° and 30° are both on the table, they add to 75°, and neither is 90°, so both tangents exist.
  3. Read the two tangents from the table: the column under 45° holds 1, and the column under 30° holds 33.These are the special values, highlighted in the picture.
  4. Use the sum formula: tan75°=tan45°+tan30°1−tan45°tan30°.The angles are added, so the top gets a plus and the bottom gets 1 minus the product.
  5. Work out the bottom first: 1−1·33=33−33=3−33, about 0.42, so not 0.Multiplying by 1 changes nothing, and writing 1 as 33 lets us subtract over the same bottom. A bottom of 0 would mean 75° points straight up, and it does not.
  6. Work out the top: 1+33=33+33=3+33.The same move: write 1 with bottom 3, then add the tops.
  7. Divide the top by the bottom: 3+33÷3−33=3+33×33−3=3+33−3.To divide by a fraction, multiply by its flip; the 3 on the bottom of the first fraction cancels the 3 on top of the second.
  8. Clear the square root from the bottom: multiply top and bottom by 3+3. The bottom becomes (3−3)(3+3)=9−3=6.(p − q)(p + q) = p2 − q2, and (3)2 = 3, so the root disappears. Multiplying top and bottom by the same number keeps the value.
  9. The top becomes (3+3)2=9+63+3=12+63.(p + q)2 = p2 + 2pq + q2: here p2 = 9, 2pq = 2 · 3 · 3 = 63, and q2 = 3.
  10. Divide each part of the top by 6: 12+636=126+636=2+3.A top made of added parts splits into one fraction per part, all over the same bottom.
Answer
tan 75° = 2 + 3 (exact), about 3.732 (rounded)
Double-check Second way, with a calculator in degree mode: tan 75° ≈ 3.7321, and 2 + 3 ≈ 2 + 1.7321 = 3.7321. They match. Third way, as sine over cosine: sin 75° ≈ 0.9659 and cos 75° ≈ 0.2588, and 0.9659 ÷ 0.2588 ≈ 3.732.

The trap

Putting the same sign on the bottom as on top, for example 1 + tan a tan b in the sum formula. The bottom always takes the other sign. Test it with 45° + 45° = 90°, where tangent does not exist: the bottom must come out 0, and only 1 − 1 · 1 does.

Quick check

Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 7

Rung 4, a negative tangent goes in: radians and a double negative

Find the exact value of tan 11π12.

Show the steps and the answer
P
11π12 is 165°.
  1. Say what it asks: an exact tangent for the angle 11π12 radians. Since π radians is 180°,π12 is 15°, and 11π12 is 11×15°=165°, which is not on the table.Changing to degrees shows where the angle lands and which pieces can build it.
  2. Split it: 3π4=9π12 and π6=2π12, so 3π4+π6=11π12.To add fractions of π, give them the same bottom: 9 twelfths plus 2 twelfths is 11 twelfths. In degrees, 135° + 30° = 165°.
  3. The tangents: tan3π4=−1 and tanπ6=33.3π4 is 135°, in quadrant II with reference angle 45°, so its tangent is −1; π6 is 30°.
  4. Bottom first, with the negative in parentheses: 1−(−1)·33=1+33=3+33.(−1) times 33 is −33, and subtracting a negative adds it. The bottom is not 0.
  5. Top: −1+33=−3+33.Write −1 as −33 to add over the same bottom.
  6. Divide: −3+33÷3+33=−3+33+3.Multiply by the flip; the two 3s cancel.
  7. Multiply top and bottom by 3−3. Bottom: (3+3)(3−3)=9−3=6.Flipping the middle sign of the bottom clears its root.
  8. Top: −3+3 is −(3−3), so the top is −(3−3)2=−(9−63+3)=−12+63.Pulling out the minus sign turns the top into a square, and (p − q)2 = p2 − 2pq + q2.
  9. Simplify: −12+636=−2+3, which is 3−2.Divide each part of the top by 6.
Answer
tan 11π12 = 3 − 2 (exact), about −0.268 (rounded)
Double-check Second way, from rung 3: 165° = 180° − 15°, so its reference angle is 15°, and in quadrant II the tangent is negative: tan 165° = −tan 15° = −(2 − 3) = 3 − 2. It matches. A calculator in radian mode gives tan(11π ÷ 12) ≈ −0.2679, and 1.7321 − 2 = −0.2679.

6 Using the formulas from one value of each angle

Open the full lessonOnly this lesson

The rule

One value and the quadrant fix the other value of the same angle: cosa=±1−sin2a and sinb=±1−cos2b, each sign chosen by that angle's quadrant.

Then sin(a+b)=sinacosb+cosasinb and cos(a−b)=cosacosb+sinasinb.

How

  1. Say in plain words what is given (one value of each angle and its quadrant) and what is asked (for example sin(a + b) and cos(a − b)).
  2. Write the four-slot list sin a, cos a, sin b, cos b, and copy in the two given values.
  3. Turn each given value into a right triangle: sine is yr and cosine is xr, with any minus sign on x or y and r always positive.
  4. Find the missing leg with x2 + y2 = r2, then give it the sign its quadrant demands.
  5. Write each missing value as that leg over r, so all four slots are full.
  6. Substitute the four values, each in parentheses, into the sum formula or difference formula, multiply, and combine over the common bottom.
  7. Check that each answer lies between −1 and 1 and that estimates of the angles give the same sign and size.

Worked example

Worked example

Sin a in Quadrant II and cos b in Quadrant IV

sin a = 817 with a in Quadrant II, and cos b = 45 with b in Quadrant IV. Find the exact values of sin(a + b) and cos(a − b).

Show the steps and the answer
xyθx = −15y = 8rP(−15, 8)Ox = −15 (15 left) y = 8 (8 up) r = 17the ray from O through P (and beyond) = the terminal side
a's point: 8 up and 15 to the left, 17 from the center, so cos a = −1517.
xyθx = 4y = −3rP(4, −3)Ox = 4 (4 right) y = −3 (3 down) r = 5the ray from O through P (and beyond) = the terminal side
b's point: 4 to the right and 3 down, 5 from the center, so sin b = −35.
  1. Say what the question asks. It gives one value of each angle and the quadrant each angle points into, and it wants two exact values: the sine of the angle a+b and the cosine of the angle a−b.Naming the targets picks the formulas, sin(a + b) = sin a cos b + cos a sin b and cos(a − b) = cos a cos b + sin a sin b, and both use all four of sin a, cos a, sin b and cos b.
  2. Fill the four-slot list with what is given: sina=817,cosa= ?, sinb= ?, cosb=45.Two slots are empty, cos a and sin b, so those are the two values to rebuild.
  3. Turn sina=817 into a point: sine is yr, so take y=8 and r=17, a point 8 above the x-axis and 17 from the center.Every point on the angle's side gives the same sine, and this choice keeps the numbers whole.
  4. Find the left-right leg: x2+82=172, so x2=289−64=225, and x is 15 or −15.The legs x and y and the slanted side r form a right triangle, so the Pythagorean theorem holds. Both 15 and −15 square to 225, so the root gives the size but not the sign.
  5. Choose the sign: a is in Quadrant II, left of the y-axis, so x=−15. Plug back in: (−15)2+82=225+64=289=172.Every point left of the y-axis has a negative x. The plug-back shows the point really is 17 from the center.
  6. So cosa=xr=−1517=−1517.Cosine is x over r, and r is a distance, always positive.
  7. Do the same for b: cosb=45=xr, so x=4 and r=5. Then y2=52−42=25−16=9, and y is 3 or −3.The same right triangle, but now the missing leg is the up-down one.
  8. b is in Quadrant IV, below the x-axis, so y=−3 and sinb=yr=−35. Plug back in: 42+(−3)2=16+9=25=52.Every point below the x-axis has a negative y.
  9. The full list: sina=817,cosa=−1517,sinb=−35,cosb=45.With every slot filled and signed, the formulas become copying.
  10. sin(a+b)=sinacosb+cosasinb=(817)(45)+(−1517)(−35).This is the sine sum formula: the sine of one angle times the cosine of the other, done both ways and added. Parentheses keep each sign attached to its value.
  11. =3285+4585=7785.Tops times tops (8 · 4 = 32 and 15 · 3 = 45), bottoms times bottoms (17 · 5 = 85), and a negative times a negative is positive. The bottoms match, so add the tops: 32 + 45 = 77.
  12. cos(a−b)=cosacosb+sinasinb=(−1517)(45)+(817)(−35).This is the cosine difference formula: cosine times cosine plus sine times sine. For a difference the middle sign is plus.
  13. =−6085−2485=−8485.15 · 4 = 60 and 8 · 3 = 24. Each product has exactly one negative factor, so each is negative. Over the shared bottom 85: −60 − 24 = −84.
  14. Make sure both answers are finished: 77=7·11,84=2·2·3·7 and 85=5·17 share no factor, and both fractions lie between −1 and 1.A fraction is finished when its top and bottom share no factor. A sine or cosine is a coordinate on the unit circle, so it is never below −1 or above 1.
Answer
  • sin(a+b)=7785
  • cos(a−b)=−8485
Double-check Second way, by estimating the angles on a calculator in degree mode. Trying angles shows sin 28° ≈ 0.469, close to 817 ≈ 0.471, so a's reference angle is about 28° and a ≈ 180° − 28° = 152°. Trying again shows cos 37° ≈ 0.799, close to 45 = 0.8, so b is about 37° below the positive x-axis: b ≈ −37°, the same direction as 323°. Then a + b ≈ 152° − 37° = 115°, and sin 115° ≈ 0.906, matching 7785 ≈ 0.906. And a − b ≈ 152° + 37° = 189°, and cos 189° ≈ −0.988, matching −8485 ≈ −0.988. Had cos a lost its minus sign, sin(a + b) would have come out −1385 ≈ −0.153, which does not match: the estimate catches the sign slip.

The trap

Dropping the sign of the missing value. The square root gives only the size, as in 225 = 15. Writing cos a = 1517 for an angle in Quadrant II turns the main example's sin(a + b) = 7785 into −1385. Choose the sign from the quadrant in the same step where you take the root, before the value goes anywhere near a formula.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

One angle in Quadrant II

sin a = 2129 with a in Quadrant II, and cos b = 45 with b in Quadrant I. Find cos(a − b).

Show the steps and the answer
xyθx = −20y = 21rP(−20, 21)Ox = −20 (20 left) y = 21 (21 up) r = 29the ray from O through P (and beyond) = the terminal side
a's point is left of the y-axis, so its x is −20 and cos a = −2029.
  1. Say what it asks: one value of each angle is given; find the cosine of the angle a−b.The cosine difference formula, cos(a − b) = cos a cos b + sin a sin b, needs cos a and sin b, and both are missing.
  2. For a: y=21 and r=29, so x2=292−212=841−441=400, and x is 20 or −20.The right triangle with legs x and y and slanted side r; both 20 and −20 square to 400.
  3. a is in Quadrant II, left of the y-axis, so x=−20 and cosa=−2029. Plug back in: (−20)2+212=400+441=841=292.In Quadrant II every x is negative, so cosine is negative there. This sign is the gotcha of this rung.
  4. For b: x=4 and r=5, so y2=25−16=9,y=3, and sinb=35.Quadrant I keeps y positive.
  5. cos(a−b)=cosacosb+sinasinb=(−2029)(45)+(2129)(35).The cosine difference formula, with plus in the middle.
  6. =−80145+63145=−17145.20 · 4 = 80, made negative by the one negative factor; 21 · 3 = 63; 29 · 5 = 145. Then −80 + 63 = −17. 17 does not divide 145 = 5 · 29, so the fraction is finished.
Answer
cos(a−b)=−17145
Double-check Second way, by estimating the angles. sin 46° ≈ 0.719 is close to 2129 ≈ 0.724, so a ≈ 180° − 46° = 134°. cos 37° ≈ 0.799 is close to 45 = 0.8, so b ≈ 37°. Then a − b ≈ 97°, a little past 90°, where cosine is slightly negative: cos 97° ≈ −0.122, close to −17145 ≈ −0.117 (the small gap comes from rounding the angles to whole degrees). Had cos a lost its minus sign, the answer would have been 143145 ≈ 0.986, nowhere near.

7 Reading a formula backwards

Open the full lessonOnly this lesson

The rule

sinxcosy−cosxsiny=sin(x−y), for every pair of angles x and y.

Every other sum formula and difference formula can be read from right to left in the same way, the tangent ones wherever they are defined; the table lists all six.

How

  1. Name the two functions in each product. A sine times a cosine in both products points to a sine formula. A cosine times a cosine in one product and a sine times a sine in the other point to a cosine formula. A fraction of tangents points to a tangent formula.
  2. Check that the same two angles appear in both products, that each angle switches function from one product to the other, and that no number multiplies only one product. If any check fails, stop: no formula packs it.
  3. Choose between x + y and x − y with Sine Same, Cosine Changes: a sine pattern keeps the sign between the products as the sign between the angles, a cosine pattern switches it, and a tangent fraction keeps it on top and switches it on the bottom.
  4. For a difference, put first the angle whose sine, or tangent, comes before the minus sign. With cosine the order does not matter.
  5. Work out the one angle, giving fractions with π a common bottom, then evaluate its sine, cosine or tangent, or keep the shorter expression when the angle holds a letter.
  6. Check the answer a second way: a calculator decimal of the whole long side, or a test angle put into both the start and the answer.

Worked example

Worked example

Packing sin 83° cos 23° − cos 83° sin 23°

Find the exact value of sin 83° cos 23° − cos 83° sin 23°.

Show the steps and the answer

sin83°cos23°−cos83°sin23°

sinxcosy−cosxsiny

x = 83°, y = 23°

=sin(83°−23°)=sin60°=32

30°60°√31245°45°11√2
In the 30-60-90 triangle the side opposite 60° is 3 and the hypotenuse is 2, so sin 60° = 32.
  1. Say what the question asks: one number for the whole expression, written exactly with fractions and roots, not as a rounded decimal.An exact value is the number itself, such as 32. A decimal such as 0.866 is only close to it.
  2. Name the functions in each product: sin83°cos23° is a sine times a cosine, and cos83°sin23° is a cosine times a sine.When each product holds one sine and one cosine, only a sine formula can have produced it.
  3. Check the angles: both products use 83° and 23°, and no number stands in front of either product.The formula packs only when the same two angles fill both products.
  4. The sign between the products is minus, so the pattern is sinxcosy−cosxsiny=sin(x−y).Sine Same: in a sine formula the sign between the products is the sign between the angles.
  5. x=83° and y=23°.x is the angle whose sine sits in the product before the minus sign, and that product is sin 83° cos 23°.
  6. Pack it: sin83°cos23°−cos83°sin23°=sin(83°−23°)=sin60°.The two sides of the difference formula are the same number, so the long side may be traded for the short one.
  7. sin60°=32.60° is a special angle: in the 30-60-90 triangle with hypotenuse 2, the side opposite 60° is 3, and opposite over hypotenuse is 32.
Answer
32
Double-check Type the whole left side into a calculator in degree mode as one line: sin(83) × cos(23) − cos(83) × sin(23) gives 0.8660254 (rounded). Then 3 ÷ 2 gives 0.8660254 as well. The two agree, and the calculator never used the formula.

The trap

Taking the angles in the order they are printed. In a sine difference, the first angle is the one whose sine sits in the product before the minus sign, wherever that sine is written. So cos 20° sin 65° − sin 20° cos 65° is sin(65° − 20°) = 22, not sin(20° − 65°). The wrong order gives the negative of the right answer, because sin(−45°) = −sin 45°. Before you subtract, find the sine in the product before the minus sign and put its angle first.

Quick check

Try it before you open its steps. It is question 4 of 8 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 8

A tangent fraction

Find the exact value of tan33°+tan12°1−tan33°tan12°.

Show the steps and the answer

top: tan 33° + tan 12°, the same sign as the angles

bottom: 1 − tan 33° tan 12°, the sign switched

= tan(33° + 12°) = tan 45° = 1

  1. Say what it asks: one exact number for the whole fraction.tan 33° and tan 12° are not special values, but the fraction may pack into one tangent that is.
  2. Two tangents on top with a plus, and 1 minus the product of the same two tangents on the bottom.That is the shape of tanx+tany1−tanxtany = tan(x + y).
  3. Check the signs: plus on top, minus on the bottom.The top keeps the sign of the angles, as sine does, and the bottom switches it, as cosine does. Matching signs on top and bottom would not pack.
  4. Pack it: tan(33°+12°)=tan45°.The tangent sum formula read from right to left.
  5. tan45°=1.In the 45-45-90 triangle the opposite and adjacent sides are equal, so opposite over adjacent is 1.
Answer
1
Double-check With a calculator in degree mode, the top is tan 33° + tan 12° ≈ 0.861964 and the bottom is 1 − tan 33° tan 12° ≈ 0.861964 (both rounded). Top and bottom are the same number, so the fraction is 1.

8 Quick checks for the whole unit

8 questions

Quick check 1 of 8

Is cos(30° + 60°) equal to cos 30° + cos 60°?

Show the steps and the answer
Answer
  • No.
  • cos 90° = 0, but cos 30° + cos 60° = 3+12 ≈ 1.366 (rounded), so cosine does not split over a plus sign.

Quick check 2 of 8

Which sign fills the blank: cos(a − b) = cos a cos b ___ sin a sin b?

Show the steps and the answer
Answer
  • +
  • Test with a = b: cos 0 = 1, and only cos2 a + sin2 a always equals 1.

Quick check 3 of 8

Use sin(a + b) = sin a cos b + cos a sin b with a = 30° and b = 60°. What do you get, and does it match sin 90°?

Show the steps and the answer
Answer
  • 1, which matches sin 90° = 1.
  • 12·12+32·32=14+34=1.

Quick check 4 of 8

Find cos 105° exactly.

Show the steps and the answer
Answer
  • 2−64
  • cos(60° + 45°) = 12 · 22 − 32 · 22 = 24 − 64; it is negative, about −0.2588 (rounded), as a cosine in quadrant II must be.

Quick check 5 of 8

tan a = 12 and tan b = 13. Find tan(a + b).

Show the steps and the answer
Answer
  • 1
  • Top: 12 + 13 = 56. Bottom: 1 − 12 · 13 = 1 − 16 = 56.
  • 56÷56=1.

Quick check 6 of 8

Why can't the tangent sum formula give tan(30° + 60°)?

Show the steps and the answer
Answer
  • Its bottom is 0.
  • 1 − tan 30° · tan 60° = 1 − 33 · 3 = 1 − 33 = 1 − 1 = 0, and tan 90° does not exist either.

Quick check 7 of 8

cos b = −817 with b in quadrant III. Find sin b.

Show the steps and the answer
Answer
  • −1517
  • The third side is 172−82 = 289−64 = 225 = 15, and y is negative in quadrant III.

Quick check 8 of 8

Evaluate sin 80° cos 20° − cos 80° sin 20°.

Show the steps and the answer
Answer
  • 32
  • The shape is sin a cos b − cos a sin b = sin(a − b) with a = 80° and b = 20°, so it equals sin 60°.