Intersection between rotated & translated ellipse and line

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
piercazzo
Messages
1
Reaction score
0
I have a rotated ellipse, not centered at the origin, defined by x,y,a,b and angle.
Then I have a segment defined by two points x1,y1 and x2,y2
Is there a quick way to find the intersection points?

I used wolfram alpha equation solver, I tried to insert the equation of a line into the one of a standard non rotated, non translated ellipse,

10how40.gif


and resolving for x this is the result

15qw704.png


which is nice.

Then I took the equation of a rotated and translated ellipse

vngnwi.png


and this is the result

2rnzx1h.png

6p5bat.png


Which is obviously impractical, can anyone suggest a different method?
 
Physics news on Phys.org
Do it by hand rather than use the calculator.
You can either -
1. Solve for one variable in the line equation and sub into the ellipse equation - solve for the other coordinate ... you know: as usual.

2. transform the ellipse into standard form, apply the same transformation to the line, find solutions for the transformed system, apply the inverse transformation to the solution.