In a ΔABC,tanA and tanB are the roots of the equation ab(x2+1)=c2x, where a,b and c are the sides of the triangle. Then
abx2−c2x+ab=0
Now sum of roots
=tanA+tanB
=c2ab
And product of roots
=tanA.tanB
=1.
Hence
tan(A+B)=tanA+tanB1−tanA.tanB
=∞
Hence
A+B=π2.
Or
π−C=π2
Or
C=π2.
Hence the triangle is a right angled triangle.
Hence
tanA=cotB
Now
tanA+tanB=c2ab
Or
tanA+cotA=c2ab
Or
tan2+1tanA=c2ab
Or
tan2+12tanA=c22ab
Or
cot2A=c22ab ...(i)
Now
tan(A−B)
=tan(A−(π2−A))
=tan(2A−π2)
=−cot2A
=−c22ab
Now by pythagoras theorem, c2=a2+b2
Or
tan(A−B)=−a2+b22ab