Let $h=h(X) \in \mathbb{C}[x]$, $\deg(h) \geq 2$, and denote $R_{h}:=\frac{\mathbb{C}[x]}{\langle h(x)} \rangle $.
Question 1: Is it possible to characterize all $h \in \mathbb{C}[x]$ such that $\bar{h'}$ (= the class of the formal derivative of $h$ in $R_{h}$) is invertible in $R_{h}$?
Examples:
(1) $h=x^2$, $h'=2x$, $\bar{h'}$ is not invertible in $R_{h}$, since it is a zero divisor: $\bar{h'}\bar{x}=\bar{2x}\bar{x}=\bar{2x^2}=\bar{0}$.
(2) $h=x^2+1$, $h'=2x$ is invertible in $R_{h}$, since $\bar{h'}\bar{x}=\bar{2x^2}=-\bar{2}$.
(3) $h=x^2+x$, $h'=2x+1$. Is $\bar{h'}$ invertible? (yes?).
I excluded the cases $\deg(h) \leq 1$ since they are easier:
(i) If $\deg(h)=0$, then $h= \lambda \in \mathbb{C}-\{0\}$, so $\langle \lambda \rangle = \mathbb{C}[x]$, hence $R_h=0$ (the zero ring).
(ii) If $\deg(h)=1$, then $h= \lambda x + \mu$, so $\langle h \rangle$ is a maximal ideal of $R_h$, hence $R_h=\mathbb{C}$.
Question 2: Same question with $\mathbb{C}$ replaced by $\mathbb{R}$ or $\mathbb{Q}$ or $\mathbb{Z}$.
A relevant question is this (and perhaps also this).
Thank you very much!