tanα=A+BcosθBsinθ...(i)
where α is the angle made by the vector (A+B) with A.
Similarly, tanβ=A−BcosθBsinθ...(ii)
where β is the angle made by the vector (A−B) with A.
Note that the angle between A. and (−B) is (180∘−θ).
Adding (i) and (ii), we get tanα+tanβ=A+BcosθBsinθ+A−BcosθBsinθ =(A+Bcosθ)(A−Bcosθ)ABsinθ−B2sinθcosθ+ABsinθ+B2sinθcosθ =(A2−B2cos2θ)2ABsinθ