Suppose you have a model that depends on real-valued parameters, and that you would like to constrain these parameters to be non-negative. For simplicity, suppose the model has a single parameter
We can now minimise
by the chain rule. Thus
Thus we’ve obtained a multiplicative update rule for