To find the area under the curve y = f (x) between x = a and x = b, integrate y = f (x) between the limits of a and b. Areas under the x-axis will come out negative and areas above the x-axis will be positive.

Area under the curve-2

Area under the curve