An inequality associated with the uncertainty principle