Given any ring $R$ and an additive map $d:R \to R$ such that $d(xy)=d(x)y+xd(y)$,
then $d$ is called derivation in ring $R$. For any $r\in R$, take $d_{r}(x)=[x,r]=xr-rx$ is a derivation and named inner derivation.
As we know, the inner derivation of any commutative ring is zero derivation, hence the only thing we could get nonzero derivation is by outter derivation. But we know too for $\mathbb{Z}, \mathbb{Q}, \mathbb{R} ,\mathbb{Z}n$, they don't have such derivation (nonzero derivation).
Taking polynomial ring $\mathbb{R}[x]$ and $\mathbb{Z}[x]$, and define mapping $d_{1}:\mathbb{Z}[x]\rightarrow \mathbb{Z}[x]$ and $d_{2}:\mathbb{R}[x]\rightarrow \mathbb{R}[x]$ by $d_1(p(x))=p'(x)$ and $d_{2}(q(x))=q'(x)$ for all $p(x)\in\mathbb{Z}[x]$ and $q(x)\in\mathbb{R}[x]$, it can be show that they are derivation. Is there any other derivation on them?
and how about any other commutative ring (not polynomial form) that have nonzero derivation? (please give me example)
For the derivations of a polynomial ring $S[x_1,\ldots ,x_n]$ we have the following result; ${\rm Der}_S(S[x_1,\ldots ,x_n])$ is a free $S[x_1,\ldots ,x_n]$-module on the basis $$ \frac{\partial}{\partial x_1},\ldots , \frac{\partial}{\partial x_n}. $$ So for every $f_1,\ldots ,f_n\in S[x_1,\ldots ,x_n]$ there exists a unique derivation $d$ such that $d(x_i)=f_i$.
Besides polynomial rings, also power series rings $S[[x_1,\ldots ,x_n]]$ are commutative rings with nonzero derivations (among many other examples).