tan ( A ± B ) = 1 ∓ tan A tan B tan A ± tan B
On this page
Before you start
This page is easier if you are comfortable with:
What Compound angle: tangent means
The tangent of a sum is the sum of the tangents over one minus their product. For a difference, change the signs in both the top and the bottom.
It follows from tan = sin ÷ cos and the compound angle formulas for sine and cosine.
It is used for exact values such as tan 7 5 ∘ and to find angles between lines. Putting the two angles equal gives the double angle: tangent, and it comes from dividing the sine and cosine versions (compound angle: cosine).
This page is part of Trigonometric identities in Trigonometry . Topics that work alongside it: Compound angle: sine , Compound angle: cosine , Double angle: tangent , Double angle: sine , Double angle: cosine (three forms) and Harmonic form: a cos x + b sin x .
What is it used for? The compound angle formula tan(A + B) = (tan A + tan B) ÷ (1 − tan A tan B) finds the tangent of a sum of angles.
How to use compound angle: tangent
Write the angle as a sum or difference of angles whose tangents you know. Substitute into the formula. Simplify the fraction. Rationalise surds if needed.
Graph tan(x + π/4) and (tan x + 1)/(1 − tan x) -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 1.2 -6 -4 -2 0 2 4 6 tan(x + π/4) and (tan x + 1)/(1 − tan x) x y tan(x + π/4) (tan x + 1)/(1 − tan x) Graph with x from -1.3 to 1.3 and y from -6 to 6. Shows the curve tan(x + π/4); the curve (tan x + 1)/(1 − tan x). Both expressions describe the same curve.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: verify the formula Check that tan ( a + b ) = 1 − tan a tan b tan a + tan b numerically.
Worked example Answer checked
Answer
tan ( A + B ) = tan A + tan B 1 − tan A tan B \tan(A+B)=\dfrac{\tan A+\tan B}{1-\tan A\tan B} tan ( A + B ) = 1 − tan A tan B tan A + tan B State the formula
tan ( A + B ) = 1 − tan A tan B tan A + tan B
Check numerically
Random values of the angles give equal sides.
Example 2: a numerical value Find tan ( A + B ) when tan A = 2 1 and tan B = 3 1 .
Worked example
Substitute
tan ( A + B ) = 1 − 2 1 ⋅ 3 1 2 1 + 3 1
Simplify
= 5/6 5/6 = 1
Example 3: tan(A − B) Given tan A = 3 and tan B = 2 1 , find tan ( A − B ) .
Worked example
Use tan(A − B) = (tan A − tan B)/(1 + tan A tan B)
1 + 3 × 2 1 3 − 2 1
Simplify
2.5 2.5 = 1
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
tan(45° + 30°) (1 + 0.5774)/(1 − 0.5774)
3.7321.
tan A = 1/2, tan B = 1/3 tan(A + B)
1.
same tan(A − B)
0.1429.
tan A = 2, tan B = 3 tan(A + B)
−1.
Word problems
tan(A ± B) = (tan A ± tan B)/(1 ∓ tan A tan B).
tan 75° tan 45° = 1, tan 30° = 0.5774.
1.5774/0.4226 Check: ✓ 3.7321
tan(A + B) (5/6)/(5/6).
1 Check: A + B = 45° ✓ 1
tan(A − B) Higher (1/6)/(7/6).
1/7 Check: ✓ 0.1429
tan(A + B) Higher 5/(1 − 6).
−1 Check: ✓ -1
Common mistakes
tan(A + B) = tan A + tan B additive ✗
divide by 1 − tanAtanB ✓
Formula.
Denominator sign 1 + tanAtanB for A + B ✗
1 − tanAtanB ✓
Opposite.
tan A tan B = 1 allowed ✗
undefined result (A + B = 90°) ✓
Domain.
Mixing degrees/radians mixed ✗
consistent ✓
Mode.
Exam tips
tan(A + B) = (t₁ + t₂)/(1 − t₁t₂).
Denominator sign opposite.
t₁t₂ = 1 is undefined.
Check with exact values.
Use for tan 75°, tan 15°.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. tan(A + B): tan A = 1/4, tan B = 3/5, 4 dp Foundation 1
2. tan(A − B): tan A = 3, tan B = 1/2, 4 dp Foundation 1
3. tan(A + B): tan A = 1/3, tan B = 1/2 Foundation 1
4. tan 15°, 4 dp Higher 0.2679
5. tan(A + B): tan A = 2, tan B = 1/3, 4 dp Higher 7
6. tan(A − B): tan A = tan B = 2 Higher 0
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Compound angle tangent tan(A ± B). Tangent sin/cos. Undefined Where the denominator is 0. Exact value Surd form. Double angle B = A. Identity True for valid A, B.
Frequently asked questions
What is tan(A + B)? (tan A + tan B)/(1 − tan A tan B).
What is tan(A − B)? (tan A − tan B)/(1 + tan A tan B).
When is it undefined? When tan A tan B = 1 (for A + B).
What does B = A give? the double angle tangent formula.
Which page covers sine? compound angle sine.
Which page covers cosine? compound angle cosine.