Question
Question: Find the area bounded by the curve y = cosx, the x-axis and the ordinates x= 0 and \(x=2\pi\)....
Find the area bounded by the curve y = cosx, the x-axis and the ordinates x= 0 and x=2π.
Solution
Hint: Use the fact that the area bounded by the curve y = f(x), the x-axis and the ordinates x = a and x= b is given by ∫ab∣f(x)∣dx. Hence the required area is given by ∫02π∣cosx∣dx. Draw the graph of y=cosx and observe that in the intervals (0,2π) and (23π,2π) cosx is positive and in the interval (2π,23π) cosx is negative. Use the fact that ∀c∈(a,b)∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx. Hence prove that ∫02π∣cosx∣dx=∫02πcosxdx−∫2π23πcosxdx+∫23π2πcosxdx. Hence find the required area.
Complete step-by-step answer:
We know that the area bounded by the curve y = f(x), the x-axis and the ordinates x = a and x= b is given by ∫ab∣f(x)∣dx.
Hence, we have
Required area =∫02π∣cosx∣dx
Now from the graph, it is evident that in the intervals [0, A] and [B, C] cosx is positive, and in the interval [A, B] cosx is negative.Here A=2π,B=23π,C=2π
Hence, we have in the interval [0,A] and [B,C] ,|cosx| = cosx and in the interval [A,B] ,|cosx|=-cosx
Now know that ∀c∈(a,b)∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx. Hence, we have
∫02π∣cosx∣dx=∫02π∣cosx∣dx+∫2π23π∣cosx∣dx+∫23π2π∣cosx∣dx
Now, we know that in the intervals (0,2π) and (23π,2π),∣cosx∣=cosx and in the interval (2π,23π),∣cosx∣=−cosx.
Hence, we have ∫02π∣cosx∣dx=∫02πcosxdx−∫2π23πcosxdx+∫23π2πcosxdx.
Hence, we have
Total area =∫02π∣cosx∣dx+∫2π23π∣cosx∣dx+∫23π2π∣cosx∣dx
Now, we know that ∫cosxdx=sinx
Hence, we have
Total area $$\begin{aligned}
& =\left( \left. \sin x \right|{0}^{\dfrac{\pi }{2}} \right)-\left( \left. \sin x \right|{\dfrac{\pi }{2}}^{\dfrac{3\pi }{2}} \right)+\left( \left. \sin x \right|_{\dfrac{3\pi }{2}}^{2\pi } \right)=\left( \sin \dfrac{\pi }{2}-0 \right)-\left( \sin \left( \dfrac{3\pi }{2} \right)-\sin \left( \dfrac{\pi }{2} \right) \right)+\left( \sin \left( 2\pi \right)-\sin \left( \dfrac{3\pi }{2} \right) \right) \\
& =\left( 1-0 \right)-\left( -1-1 \right)-\left( 0-1 \right)=1+2+1=4 \\
\end{aligned}$$
Hence the total area = 4 square units
Note: [1] Alternative Solution: Best method
As is evident from the graph the total area is four times the area in the interval [0, A]
Hence, we have
Total area =4∫.02πcosxdx=4(sin(2π)−sin(0))=4, which is the same as obtained above.