
Corey M. answered 12/01/20
Aerospace Engineer with a love for teaching Mathematics!
To find area between the x-axis and a function, the integral is used:
pi/2
∫[cos(x) - sin(x)]dx
0
integral of cos(x) and sin(x) are reoccurring and follow this rule I've memorized:
-c -> s -> c -> -s
Where taking the derivative goes toward the right, and integrating goes toward the left (of only the sine and cosine functions representing s and c respectively)
So that would mean the above function is:
∫f(x)dx = g(x) = - sin(x) - cos(x) from the limits of 0 to pi/2
g(0) = - [sin(0) + cos(0)] = -1
g(pi/2) = - [sin(pi/2) + cos(pi/2)] = -1
sum them: -1 + -1 = -2