Line y = mx + c is tangent to x²/a² − y²/b² = 1 iff c² = a²m² − b². Requires |m| > b/a. Note the sign difference from the ellipse (where c² = a²m² + b²).
Derivation
y=mx+c is tangent to x2/a2−y2/b2=1 iff c2=a2m2−b2 and ∣m∣>b/a.
Memory aid — sign pattern across conics:
Conic
Equation
Tangent condition
Circle
x2+y2=a2
c2=a2(1+m2)
Parabola
y2=4ax
c=a/m
Ellipse
x2/a2+y2/b2=1
c2=a2m2+b2
Hyperbola
x2/a2−y2/b2=1
c2=a2m2−b2
The pattern for ellipse and hyperbola differs only in the sign of b2, matching the sign difference in their equations.
Test: Is y=2x+1 tangent to x2/4−y2/3=1?
m=2, a2=4, b2=3, c=1. Check: c2=1, a2m2−b2=16−3=13=1. Not tangent.