An inequality for logarithmic mapping and applications for the shannon entropy