Let the real polynomial

with the coefficients being known differentiable functions

be given and let the constraints

determine the strictly Hurwitz property of the polynomial

. A simple and efficient method to calculate the derivatives

is proposed. Then, the application of the method to the problem of stability of polynomials under coefficient perturbation by gradient optimization is discussed. Also, a theorem characterizing the stability region and the newly introduced regions of nondestabilizing perturbations is given.