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 0∫2πmax(sinx,cosx)dx is
(a) 32
(b) 22
(c) 3
(d) None of these
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 a∫bf(x)dx of a continuous function f(x) can be written as the sum of the definite integrals a∫cf(x)dx and c∫bf(x)dx, where c lies in the interval (a,b).
Complete step by step solution:
The integral 0∫2πmax(sinx,cosx)dx is a definite integral with the upper limit 2π and lower limit 0.
We know that the functions sinx and cosx are continuous functions.
The definite integral a∫bf(x)dx of a continuous function f(x) can be written as the sum of the definite integrals a∫cf(x)dx and c∫bf(x)dx, where c lies in the interval (a,b).
We will use this property of definite integrals to simplify the given integral.
Therefore, we get
0∫2πmax(sinx,cosx)dx=0∫π/4max(sinx,cosx)dx+π/4∫5π/4max(sinx,cosx)dx+5π/4∫2πmax(sinx,cosx)dx
Here, 4π and 45π lie in the interval (0,2π).
Now, we know that sinx goes from 0 to 21, and
cosx goes from 1 to 21 in the interval (0,4π).
Thus, cosx is greater than sinx in the interval (0,4π).
Therefore, the integral
0∫π/4max(sinx,cosx)dx becomes 0∫π/4cosxdx.
Next, we know that sinx goes from 21 to 1, then to 0, and finally to −21 in the interval (4π,45π).
The function cosx goes from 21 to 0, then to −1, and finally back to
−21 in the interval (4π,45π).
Thus, sinx is greater than cosx in the interval
(4π,45π).
Therefore, the integral π/4∫5π/4max(sinx,cosx)dx becomes π/4∫5π/4sinxdx.
Finally, we know that sinx goes from −21 to −1, and then to 0 in the interval (45π,2π).
The function cosx goes from −21 to 0, and then to 1 in the interval (45π,2π).
Thus, cosx is greater than
sinx in the interval (45π,2π).
Therefore, the integral 5π/4∫2πmax(sinx,cosx)dx becomes 5π/4∫2πcosxdx.
Now, we will rewrite the functions in the given integrals.
Therefore, we get
⇒0∫2πmax(sinx,cosx)dx=0∫π/4cosxdx+π/4∫5π/4sinxdx+5π/4∫2πcosxdx
Integrating the functions, we get
⇒0∫2πmax(sinx,cosx)dx=(sinx)∣0π/4+(−cosx)∣π/45π/4+(sinx)∣5π/42π
Substituting the limits, we get
⇒0∫2πmax(sinx,cosx)dx=(sin4π−sin0)+(−cos45π+cos4π)+(sin2π−sin45π)
Substitute the values of the trigonometric ratios, we get
⇒0∫2πmax(sinx,cosx)dx=(21−0)+[−(−21)+21]+[0−(−21)] ⇒0∫2πmax(sinx,cosx)dx=21+21+21+21
Adding the terms of the expression, we get
⇒0∫2πmax(sinx,cosx)dx=24 ⇒0∫2πmax(sinx,cosx)dx=22
Therefore, we get the value of the integral 0∫2πmax(sinx,cosx)dx as 22.
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 and cosx to determine the minimum and maximum points.