Circle $x^2+y^2=9$ and parabola $y^2=8x$
They intersect at two points and at the same x-coordinate. On solving we get a quadratic equation in x as $x^2+8x-9=0$. It should give one value of x, hence the discriminant should be zero like in the below question where it is zero but not here. Why?
But on another question where circle $(x-\frac{3}{2})^2+y^2=\frac{9}{4}$ and parabola $y^2=-(x-4)$, on solving their intersection gives quadratic equation $x^2-4x+4=0$. Here too the two intersection point has the same x coordinate and we get the discriminant as zero which is understandable unlike the first question where discriminant is not zero. Why?
Thanks.


We begin solving with simple substitution and using the quadratic equation to find $\,x.\quad$ We then discard complex solutions in favor of real ones. \begin{align*} x^2+y^2&=9,\, y^2=8x\\ \implies x^2+8x&=9\\ \implies x&\in\{ -9,1\}\\ \implies y^2&\in\{-72,8\}\\ \implies y&\in\{\pm6i\sqrt{2},\pm2\sqrt{2}\} \end{align*}
$$\therefore (x,y)\in\{(1,-2\sqrt{2}),(1,2\sqrt{2})\}$$
For the second equation(s), try expanding and then multiplying both sides by the LCM to eliminate fractions. The math will be easier from there.