Let $\mathcal P$ be the associative algebra consisting of real polynomials on the variable $x$. Set $\mathcal C$ to be the ideal of $\mathcal P $ generated by $x^2+1 $.
Why does $\mathcal C$ consist of polynomials of the form $f(x)(x^2+1)g(x)$? (And are $f,g$ in $\mathcal C$ or $\mathcal P$?)
I would denote $\mathcal C $ by $\mathbb R[x^2+1]$, the algebra of polynomials in the variable $x^2+1$.
I would the denote the factor space $\mathcal P/\mathcal C$ by $\mathbb R[x]/\mathbb R[x^2+1]$, all polynomials $p$ satisfying $\frac{\partial p}{\partial (x^2+1)}=0$.
Supplement.
Put $\mathcal F = \mathbb R[x]/(x^2+1)\mathbb R[x] $. We show that the elements of $\mathcal F$ are of the form $p+ (x^2+1)\mathbb R[x] \ ( \mathrm{deg}(p)\leq 1)$.
Consider an arbitrary polynomial $$f = a_n x^n +\ldots+ a_0 \in \mathbb R[x].$$ Writing $$f = a_nx^{n-2}(x^2 +1-1) + a_{n-1}x^{n-3}(x^2 +1-1) + \ldots ,$$ we see that in $\mathcal F$ the polynomial $f$ has degree less then or equal to $1$.