If $k$ is a field of characteristic $p > 0$ and $f (x) = x^{2p} − x ^p + t \in k(t)[x]$, how can we show that $f (x)$ is an irreducible polynomial in $k(t)[x]$ and that $f (x)$ is inseparable?
If $f(x)$ is irreducible then $D_xf(x) = 0 \implies( f, D_xf) = ( f, 0) = f$. Hence, if $f(x)$ is irreducible then $( f, D_xf) \neq 1 \implies f(x)$ is inseparable.