Sums and differences of arctangents · Mathematics Class… | StemPy Lab
Course 18.2·Lesson 2 of 3
Sums and differences of arctangents
The tangent of a sum is 1−xyx+y
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
add two inverse tangents with 1−xyx+y and decide when a correction of ±π is needed;
subtract inverse tangents with 1+xyx−y;
prove the rule and use it to combine three inverse tangents.
Starting from the tangent of a sum
Let A=tan−1x and B=tan−1y. Both angles lie in (−2π,2π). The addition formula for the tangent gives
tan(A+B)=1−xyx+y.
It is tempting to say that A+B=tan−11−xyx+y. But the inverse tangent returns an angle in (−2π,2π), and A+B can be anywhere in (−π,π). The equation is true only when A+B is in the branch. The product xy tells us when.
The rule
There are three cases.
If xy<1: tan−1x+tan−1y=tan−11−xyx+y.
If xy>1 and x>0: tan−1x+tan−1y=π+tan−11−xyx+y.
If xy>1 and x<0: tan−1x+tan−1y=−π+tan−11−xyx+y.
If xy=1 the fraction is not defined. Then the sum is 2π when x>0, and −2π when x<0.
Why. By the cosine addition formula, cos(A+B)=cosAcosB(1−xy). Here cosA and cosB are positive. So if xy<1 then cos(A+B)>0, which puts A+B in (−2π,2π), the branch. If xy>1 then cos(A+B)<0, and A+B is beyond the branch. The angle π brings it back, because the tangent has period π.
The difference. Replace y by −y, using tan−1(−y)=−tan−1y:
tan−1x−tan−1y=tan−11+xyx−yif xy>−1.
A worked example
The picture shows part (a) below: two angles from the same corner add up to half of a right angle, which is 4π.
A drawing with the horizontal axis and two rays from the origin. An orange ray rises to the point (3, 1) and makes the angle tan inverse of one third with the axis. A green ray rises at 45 degrees through the point (1, 1). The angle between the orange ray and the green ray is marked in blue as tan inverse of one half. Dashed vertical lines drop from (1, 1) and (3, 1) to the axis. A label on the green ray says total angle pi over 4, and the title says tan inverse one third plus tan inverse one half equals pi over 4.