(pi - x) integrate from -pi to pi