Show that the condition for a straight line be a tangent to the ellipse is
The x coordinates of the points of intersection of the line and the
ellipse are given by
The line will touch the ellipse if the two points are coincident i.e if the roots of the equation above are equal.
Discriminant of the equation is zero.