Solveeit Logo

Question

Question: The value of \[\int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx\] is (a) \[3\sqrt 2 ...

The value of 02πmax(sinx,cosx)dx\int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx is
(a) 323\sqrt 2
(b) 222\sqrt 2
(c) 3
(d) None of these

Explanation

Solution

Here, we will use the property of definite integrals to rewrite the given integral as the sum of three integrals. Then we will change the limits for every trigonometric function and simplify the integral. We will then integrate the functions individually, apply the limits and add the terms to find the answer.
Formula Used: The definite integral abf(x)dx\int\limits_a^b {f\left( x \right)} dx of a continuous function f(x)f\left( x \right) can be written as the sum of the definite integrals acf(x)dx\int\limits_a^c {f\left( x \right)} dx and cbf(x)dx\int\limits_c^b {f\left( x \right)} dx, where cc lies in the interval (a,b)\left( {a,b} \right).

Complete step by step solution:
The integral 02πmax(sinx,cosx)dx\int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx is a definite integral with the upper limit 2π2\pi and lower limit 0.
We know that the functions sinx\sin x and cosx\cos x are continuous functions.
The definite integral abf(x)dx\int\limits_a^b {f\left( x \right)} dx of a continuous function f(x)f\left( x \right) can be written as the sum of the definite integrals acf(x)dx\int\limits_a^c {f\left( x \right)} dx and cbf(x)dx\int\limits_c^b {f\left( x \right)} dx, where cc lies in the interval (a,b)\left( {a,b} \right).
We will use this property of definite integrals to simplify the given integral.
Therefore, we get
02πmax(sinx,cosx)dx=0π/4max(sinx,cosx)dx+π/45π/4max(sinx,cosx)dx+5π/42πmax(sinx,cosx)dx\int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \int\limits_0^{\pi /4} {\max \left( {\sin x,\cos x} \right)} dx + \int\limits_{\pi /4}^{5\pi /4} {\max \left( {\sin x,\cos x} \right)} dx + \int\limits_{5\pi /4}^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx
Here, π4\dfrac{\pi }{4} and 5π4\dfrac{{5\pi }}{4} lie in the interval (0,2π)\left( {0,2\pi } \right).
Now, we know that sinx\sin x goes from 0 to 12\dfrac{1}{{\sqrt 2 }}, and
cosx\cos x goes from 1 to 12\dfrac{1}{{\sqrt 2 }} in the interval (0,π4)\left( {0,\dfrac{\pi }{4}} \right).
Thus, cosx\cos x is greater than sinx\sin x in the interval (0,π4)\left( {0,\dfrac{\pi }{4}} \right).
Therefore, the integral
0π/4max(sinx,cosx)dx\int\limits_0^{\pi /4} {\max \left( {\sin x,\cos x} \right)} dx becomes 0π/4cosxdx\int\limits_0^{\pi /4} {\cos x} dx.
Next, we know that sinx\sin x goes from 12\dfrac{1}{{\sqrt 2 }} to 1, then to 0, and finally to 12 - \dfrac{1}{{\sqrt 2 }} in the interval (π4,5π4)\left( {\dfrac{\pi }{4},\dfrac{{5\pi }}{4}} \right).
The function cosx\cos x goes from 12\dfrac{1}{{\sqrt 2 }} to 0, then to 1 - 1, and finally back to
12- \dfrac{1}{{\sqrt 2 }} in the interval (π4,5π4)\left( {\dfrac{\pi }{4},\dfrac{{5\pi }}{4}} \right).
Thus, sinx\sin x is greater than cosx\cos x in the interval
(π4,5π4)\left( {\dfrac{\pi }{4},\dfrac{{5\pi }}{4}} \right).
Therefore, the integral π/45π/4max(sinx,cosx)dx\int\limits_{\pi /4}^{5\pi /4} {\max \left( {\sin x,\cos x} \right)} dx becomes π/45π/4sinxdx\int\limits_{\pi /4}^{5\pi /4} {\sin x} dx.
Finally, we know that sinx\sin x goes from 12 - \dfrac{1}{{\sqrt 2 }} to 1 - 1, and then to 0 in the interval (5π4,2π)\left( {\dfrac{{5\pi }}{4},2\pi } \right).
The function cosx\cos x goes from 12 - \dfrac{1}{{\sqrt 2 }} to 0, and then to 1 in the interval (5π4,2π)\left( {\dfrac{{5\pi }}{4},2\pi } \right).
Thus, cosx\cos x is greater than
sinx\sin x in the interval (5π4,2π)\left( {\dfrac{{5\pi }}{4},2\pi } \right).
Therefore, the integral 5π/42πmax(sinx,cosx)dx\int\limits_{5\pi /4}^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx becomes 5π/42πcosxdx\int\limits_{5\pi /4}^{2\pi } {\cos x} dx.
Now, we will rewrite the functions in the given integrals.
Therefore, we get
02πmax(sinx,cosx)dx=0π/4cosxdx+π/45π/4sinxdx+5π/42πcosxdx\Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \int\limits_0^{\pi /4} {\cos x} dx + \int\limits_{\pi /4}^{5\pi /4} {\sin x} dx + \int\limits_{5\pi /4}^{2\pi } {\cos x} dx
Integrating the functions, we get
02πmax(sinx,cosx)dx=(sinx)0π/4+(cosx)π/45π/4+(sinx)5π/42π\Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \left. {\left( {\sin x} \right)} \right|_0^{\pi /4} + \left. {\left( { - \cos x} \right)} \right|_{\pi /4}^{5\pi /4} + \left. {\left( {\sin x} \right)} \right|_{5\pi /4}^{2\pi }
Substituting the limits, we get
02πmax(sinx,cosx)dx=(sinπ4sin0)+(cos5π4+cosπ4)+(sin2πsin5π4)\Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \left( {\sin \dfrac{\pi }{4} - \sin 0} \right) + \left( { - \cos \dfrac{{5\pi }}{4} + \cos \dfrac{\pi }{4}} \right) + \left( {\sin 2\pi - \sin \dfrac{{5\pi }}{4}} \right)
Substitute the values of the trigonometric ratios, we get
02πmax(sinx,cosx)dx=(120)+[(12)+12]+[0(12)] 02πmax(sinx,cosx)dx=12+12+12+12\begin{array}{l} \Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \left( {\dfrac{1}{{\sqrt 2 }} - 0} \right) + \left[ { - \left( { - \dfrac{1}{{\sqrt 2 }}} \right) + \dfrac{1}{{\sqrt 2 }}} \right] + \left[ {0 - \left( { - \dfrac{1}{{\sqrt 2 }}} \right)} \right]\\\ \Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \dfrac{1}{{\sqrt 2 }} + \dfrac{1}{{\sqrt 2 }} + \dfrac{1}{{\sqrt 2 }} + \dfrac{1}{{\sqrt 2 }}\end{array}
Adding the terms of the expression, we get
02πmax(sinx,cosx)dx=42 02πmax(sinx,cosx)dx=22\begin{array}{l} \Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = \dfrac{4}{{\sqrt 2 }}\\\ \Rightarrow \int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx = 2\sqrt 2 \end{array}
Therefore, we get the value of the integral 02πmax(sinx,cosx)dx\int\limits_0^{2\pi } {\max \left( {\sin x,\cos x} \right)} dx as 222\sqrt 2 .

Thus, the correct option is option (b).

Note:
Some common mistakes in this question include using the upper limit in place of the lower limit, and using the property of definite integrals incorrectly. We can also draw a rough graph including the functions sinx\sin x and cosx\cos x to determine the minimum and maximum points.