Let $f = aX^2 + bX + c \in \mathbb{R}[X]$. I want to show that:
$\mathbb{R}[X]/(f) \cong \mathbb{C}$ if $b^2 - 4ac < 0$,
$\mathbb{R}[X]/(f) \cong \mathbb{R}[\epsilon]$ if $b^2 - 4ac = 0$,
$\mathbb{R}[X]/(f) \cong \mathbb{R} \times \mathbb{R}$ if $b^2 - 4ac > 0$.
My idea so far is to prove that in the first case, $(f) = (X^2 + 1)$, in the second case $(f) = (X^2)$ , in the third case $(f) = (X^2 - 1)$, which would lead to the desired result. However, I don't know how to prove this or if I'm on the correct road at all. Does anyone have any ideas?