The polymers built with the use of the free radical polymerization of methacrylic monomers incorporating an azobenzene side-group and monomers with benzylidene fragments. The results of photochemical and optical activities of the corresponding elements.