Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Intersection of a line and an ellipse
Replies: 2   Last Post: Sep 16, 2009 7:42 AM

 Messages: [ Previous | Next ]
 Peter Scales Posts: 192 From: Australia Registered: 4/3/05
Re: Intersection of a line and an ellipse
Posted: Aug 22, 2009 6:23 AM

Hi Walter,

Express the equation of

the line in the form y = m*x + d...(1)

and the equation of the ellipse in the form

(x-xc)^2/a^2 + (y-yc)^2/b^2 = 1...(2)

Substitute y from (1) into (2) and solve for the two values of x-coord.

Then from (1) get x = (y-d)/m , substitute this into
(2) and solve for the two y-coord values.

Both these equations will have sqrt terms, as you are solving quadratics.
If the value under the sqrt is zero, then both values are equal, and the line is tangent to the ellipse.
If the value under the sqrt is negative, then there are no real solutions as the line does not intersect the ellipse.

Regards, Peter Scales.

Date Subject Author
8/21/09 Walter Dunning
8/22/09 Peter Scales
9/16/09 kunio2012