Action of derivations on subrings of polynomial rings
$A=K[x_1,\dots,x_n]$ the polynomial ring, and let $W_n(K)$ be the Lie algebra of all $K$-derivations on $A$. Let $B=K[u_1,\dots,u_m]$ be a subring of $A$ of transcendence degree $m$ over $K.$ We study the subalgebra $S_B$ of $W_n$ of all derivations on $A$ which leave $B$ invariant. It is proven that $S_B$ has the rank $n$ over $A$ (as a subset of the $A$-module $W_n$). In cases $m=1$ and $m=n$ some properties of $S_B$ are pointed out. Some conditions in terms of the Jacobi matrix $J(u_1,\dots,u_m)$ are pointed out under what a derivation $D$ on $B$ can be extended to a derivation on $A$.