Let y=mx+c be the common hyperbola
We know that condition for y=mx+c to be tangent to a hyperbola x2a2−y2b2=1 is a2m2−b2=c2
∴ for first hyperbola c2=a2m2−b2 ----equation 1
and for second hyperbola, c2=a2−b2m2 ----equation2
Equating the 2 equations, we get a2m2−b2=a2−m2b2
⇒(a2+b2)m2=a2+b2
a2+b2≠1
⇒m=±1 & c2=a2−b2
Putting it in the equation of y=mx+c, we get the equation of tangent as
y=±x±√a2−b2
To find the length of tangents-
We can rewrite the tangents to ±y√a2−b2∓x√a2−b2=1
We know that tangent to the curve x2a2−y2b2=1 at (x1,y1) is given by xx1a2−yy1b2=1
On comparing with first hyperbola, we get x1=±a2√a2−b2 & y1=±b2√a2−b2
and for second hyperbola we get the corresponding points x2=±b2√a2−b2 & y2=±a2√a2−b2
Using distance formula, we get length of the common tangent =(a2+b2)√2a2−b2
and the equation of common tangent is y=±x±√a2−b2