Substituting \( y = mx + B \) into the ellipse equation gives:
\[ \frac{(x - h)^2}{a^2} + \frac{(mx + B - k)^2}{b^2} = 1 \]Multiplying by \( a^2 b^2 \) and expanding yields the quadratic equation:
The discriminant determines if there are 2, 1 (tangent), or 0 intersection points.