If x > 0, y > 0 such that xy > 1, then (x+y1−xy) is positive and therefore, (x+y1−xy) is positive angle between 0∘and 90∘..
Similarly, if x < 0, y < 0 such that xy > 1, then x+y1−xy is positive and therefore, tan−1(x+y1−xy) is a negative angle while tan−1x+tan−1y is a positive angle while tan−1x+tan−1y is a non-negative angle. Therefore, tan−1x+tan−1y=n+tan−1(x+y1−xy), if x > 0, y > 0 and xy > 1 and arctan(x) + arctan(y) = arctan(x+y1−xy)−n, if x < 0, y < 0 and xy > 1.