How do you find the total area between the curve #f(x)=cos x# and the x-axis on the interval #[0,2pi ]#?

1 Answer
Feb 4, 2015

The answer is: #A=4#

There two possibily questions about the definitive integral.

The first is simply the calculus of an integral without any meaning of "area". So the definition of definite integral has to be used:

#int_a^bf(x)dx=F(b)-F(a)#.

BUT if the request is expressly an area, we have to be careful, because if the graph of the function, or part of it, lies under the x-axis, some areas would be consider, from the "engine" of integral, as negative!

So, before making the integral we have to make the graph of the function, that, in this case, is:

graph{cosx [-1, 7, -5, 5]}.

We can notice that in #(0,pi/2)#and in #(3/2pi,2pi)# the graph lies over the x-axis, but in #(pi/2,3/2pi)#, the graph is under.

So, to calculate the definite integral, we have to do:

#A=int_0^(pi/2)cosxdx-int_(pi/2)^(3/2pi)cosxdx+int_(3/2pi)^(2pi)cosxdx#

or, remembering the property: #int_a^b=-int_b^arArr#

#A=int_0^(pi/2)cosxdx+int_(3/2pi)^(pi/2)cosxdx+int_(3/2pi)^(2pi)cosxdxrArr#

#A=[sinx]_0^(pi/2)+[sinx]_(3/2pi)^(pi/2)+[sinx]_(3/2pi)^(2pi)=#

#=sin(pi/2)-sin0+sin(pi/2)-sin(3/2pi)+sin(2pi)-sin(3/2pi)=#

#=1-0+1-(-1)+0-(-1)=4#.