Comparison of infrared waves and ultraviolet waves