Since the given function is a multi-valued function, let us separate the given definite integral into parts where the expressions of the function are different: −2∫3f(x)dx=−2∫0f(x)dx+0∫2f(x)dx+2∫3f(x)dx=−2∫0(x+2)dx+0∫2(2−x)dx+2∫3(x−2)dx=[2x2+2x]−20+[2x−2x2]02+[2x2−2x]23=[0−(2−4)]+[4−2−0)]+[29−6−(2−4)]=2+2+29−4=4.5