Let d be a non-zero derivation on a primitive ring R and ƒ(x 1,…, xn ) a homogeneous polynomial of degree m. We prove that the condition d(ƒ(r 1,…, rn )t) = 0, for all r 1,…, rn ∈ R, with t depending on r 1,…, r n, forces R to be a finite dimensional central simple algebra and ƒ power-central valued on R. We also obtain bounds on [R : Z(R)] in terms of m.