Since, none of the x,y and (x+y) is an odd multiple of 2π, it follows that cosx,cosy and cos(x+y) are non-zero. Now, tan(x+y)=cos(x+y)sin(x+y)=cosxcosy−sinxsinysinxcosy+cosxsiny
On dividing numerator and denominator by cosxcosy, we have tan(x+y)=cosxcosycosxcosy−cosxcosysinxsinycosxcosysinxcosy+cosxcosycosxsiny=1−tanxtanytanx+tany