0

We can get parabolic equation by using only focus and diretrix of parabola: $y^2 = 2px$, where p is a shortest distance between focus and directrix. But this equation defines parabola in coordinate system where directrix is parallel to OY axis, focus have coordinates $(p/2, 0)$ and parabola's vertex have coordinates $(-p/2, 0)$. So we have parabola in a special coordinate system and if we want to intersect this parabola with line we need to rotate and shift line to got it in parabola's coordinate system then find intersection and finally shift and rotate intersections back to our base coordinate system.

But what if we need to find intersections of two parabolas? They can intersects in up to 4 points, but it seems to be hard to solve quartic equation... Where can I get information about this case?

Thanks for help.

1 Answers1

1

Suppose you have the focus at point $(a, b)$ and a directrix with equation $cx+dy=e$. Then a point $(x,y)$ is on the parabola if it has the same distance from focus and directrix, which means

$$(a-x)^2+(b-y)^2=\frac{(cx+dy-e)^2}{c^2+d^2}$$

You can rewrite that as

$$ (x,y,1) \begin{pmatrix} d^2 & -cd & ce-a(c^2+d^2) \\ -cd & c^2 & de-b(c^2+d^2) \\ ce-a(c^2+d^2) & de-b(c^2+d^2) & (a^2+b^2)(c^2+d^2) - e^2 \end{pmatrix} \begin{pmatrix} x \\ y \\ 1 \end{pmatrix} = 0 $$

If you choose the Hesse normal form for the line, with unit length normal vector, you have $c^2+d^2=1$ which will make the matrix easier to read. Note that the entries of this matrix correspond to the coefficients Awesome assumed in his comment.

Do this for both your parabolas, and you get two matrices which you can then feed into the generic method for intersecting conics.

MvG
  • 42,596