Let $k$ be a field (feel free to take $k=\mathbb{C}$), does there exist non-constant polynomials $f(x),g(x)\in k[x]$ s.t. $$f(x)^3+g(x)^2=c$$ for some non-zero constant $c\in k^*$.
The context comes from that the descrimant of an elliptic curve $y^2=x^3+ax+b$ over $\mathbb{A}^1_k$ (with $a,b\in k[t]$) is $\Delta=-16(4a^3+27b^2)\in k[t]$. The set of points with bad reduction is a closed subset of $\mathbb{A}^1_k$ defined by $4a^3+27b^2=0$ (assuming $\mathop{\mathrm{char}}k\neq 2,3$), but it will be an empty set if $4a^3+27b^2=c$ for some non-zero constant $c$.
This is possible in characteristic $2$ or $3$. For instance, in characteristic $2$, you could have $c=1$, $f(x)=x^2$, and $g(x)=x^3+1$ in characteristic $2$. More generally, if $f(x)$ is a polynomial in $x^2$, then $c-f(x)^3$ is also a polynomial in $x^2$, so as long as its coefficients have square roots then it has a square root. Similarly, in characteristic $3$, if $g(x)$ is a polynomial in $x^3$ then $c-g(x)^2$ will have a cube root as long as its coefficients have cube roots.
On the other hand, it is impossible if $\operatorname{char}(k)\neq 2,3$. Here is one simple way to see it. We may extend $k$ to assume it is algebraically closed. We then have $-f(x)^3=g(x)^2-c=(g(x)-\sqrt{c})(g(x)+\sqrt{c})$. Since $c\neq 0$ and $\operatorname{char}(k)\neq 2$, $g(x)-\sqrt{c}$ and $g(x)+\sqrt{c}$ are relatively prime, so this implies they are both cubes, say $g(x)-\sqrt{c}=h(x)^3$ and $g(x)+\sqrt{c}=i(x)^3$. Then $h(x)^3-i(x)^3$ is a constant so its factor $h(x)-i(x)$ is a constant, say $h(x)=i(x)+a$. But then $h(x)^3-i(x)^3=3ai(x)^2+3a^2i(x)+a^3$ is not a constant since $\operatorname{char}(k)\neq 3$, a contradiction.