An apparatus for determining a kind of material according to claim 1, wherein:the product is a function of the optical factor; andthe differentiated product is a differential function of the optical factor, and is zero for the objective value of the optical factor.3.