integral with absolute values