Academy
Formulas/maths/Hyperbola/Condition for a Line to be Tangent

Condition for a Line to be Tangent

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+cy = mx + c is tangent to x2/a2y2/b2=1x^2/a^2 - y^2/b^2 = 1 iff c2=a2m2b2c^2 = a^2m^2 - b^2 and m>b/a|m| > b/a.

Memory aid — sign pattern across conics:

ConicEquationTangent condition
Circlex2+y2=a2x^2+y^2 = a^2c2=a2(1+m2)c^2 = a^2(1+m^2)
Parabolay2=4axy^2 = 4axc=a/mc = a/m
Ellipsex2/a2+y2/b2=1x^2/a^2+y^2/b^2=1c2=a2m2+b2c^2 = a^2m^2+b^2
Hyperbolax2/a2y2/b2=1x^2/a^2-y^2/b^2=1c2=a2m2b2c^2 = a^2m^2-b^2

The pattern for ellipse and hyperbola differs only in the sign of b2b^2, matching the sign difference in their equations.

Test: Is y=2x+1y = 2x + 1 tangent to x2/4y2/3=1x^2/4 - y^2/3 = 1?

m=2m = 2, a2=4a^2 = 4, b2=3b^2 = 3, c=1c = 1. Check: c2=1c^2 = 1, a2m2b2=163=131a^2m^2-b^2 = 16-3 = 13 \neq 1. Not tangent.

Is y=2x+13y = 2x + \sqrt{13} tangent? c2=13=a2m2b2c^2 = 13 = a^2m^2-b^2. Yes.