Solveeit Logo

Question

Question: The domain of the function \(f\left( x \right)=\max \left\\{ \sin x,\cos x \right\\}\to \left( -\inf...

The domain of the function f\left( x \right)=\max \left\\{ \sin x,\cos x \right\\}\to \left( -\infty ,\infty \right) . The range of f(x) is?
a) [12,1]\left[ -\dfrac{1}{\sqrt{2}},1 \right]
b) [12,12]\left[ -\dfrac{1}{\sqrt{2}},\dfrac{1}{\sqrt{2}} \right]
c) [0, 1]
d) [-1, 1]

Explanation

Solution

First look at definition of maximum function carefully. Now use the basic trigonometry knowledge to point the values of sin, cos at various angles, nearly 7-10 angles are needed. Try to point them in the range of (2π,2π)\left( -2\pi ,2\pi \right) as after it repeats the same graph. Now plot 7-10 points on a graph. By this you will have a graph of sinx,cosx\sin x,\cos x . Now apply the definition of maximum function to find a graph of maximum function, from this graph you can conclude the range. The range of this function is your result.

Complete step-by-step answer:
Maximum function: It is defined with the variable as 2 functions. At every x we check values of both the functions, take the value which is highest at particular.
Case-I: Plotting of graph of the sine function, sinx\sin x .
First we take the point as x = 0, by substituting this
sinx=sin0=0.................(i)\sin x=\sin 0=0.................\left( i \right)
By substituting the point as x=π6x=\dfrac{\pi }{6} we get curve value as
sinx=sinπ6=12.....................(ii)\sin x=\sin \dfrac{\pi }{6}=\dfrac{1}{2}.....................\left( ii \right)
By substituting the point as x=π4x=\dfrac{\pi }{4} we get curve value as
sinx=sinπ4=12...........................(iii)\sin x=\sin \dfrac{\pi }{4}=\dfrac{1}{\sqrt{2}}...........................\left( iii \right)
By substituting the value of x=π3x=\dfrac{\pi }{3} we get value of curve as
sinx=sinπ3=32............................(iv)\sin x=\sin \dfrac{\pi }{3}=\dfrac{\sqrt{3}}{2}............................\left( iv \right)
By substituting the value of x=π2x=\dfrac{\pi }{2} we get value of curve as
sinx=sinπ2=1.......................(v)\sin x=\sin \dfrac{\pi }{2}=1.......................\left( v \right)
By substituting ‘’- x’’ in place of x in all the above equations
sin(π6)=12.........................(vi) sin(π4)=12.......................(vii) sin(π3)=32........................(viii) sin(π2)=1...........................(ix) \begin{aligned} & \sin \left( -\dfrac{\pi }{6} \right)=-\dfrac{1}{2}.........................(vi) \\\ & \sin \left( -\dfrac{\pi }{4} \right)=-\dfrac{1}{\sqrt{2}}.......................\left( vii \right) \\\ & \sin \left( -\dfrac{\pi }{3} \right)=-\dfrac{\sqrt{3}}{2}........................\left( viii \right) \\\ & \sin \left( -\dfrac{\pi }{2} \right)=-1...........................\left( \text{ix} \right) \\\ \end{aligned}
We know the range (0,π2)\left( 0,\dfrac{\pi }{2} \right) repeats on (π2,π)\left( \dfrac{\pi }{2},\pi \right) in reverse way and also the range (0,π2)\left( 0,-\dfrac{\pi }{2} \right) repeats on (π2,π)\left( -\dfrac{\pi }{2},-\pi \right) also in reverse. By plotting all the points with the conditions given we get,
Sin x:

By repeating this plot we can generate sinx\sin x graph.
Case-II: For cosx\cos x graph we take the following plotting points by substituting the point x = 0, we get values of cosx\cos x as;
cosx=cos0=1...................(x)\cos x=\cos 0=1...................\left( \text{x} \right)
By substituting the point x=π6x=\dfrac{\pi }{6} we get value of cosx\cos x as;
cos(x)=cos(π6)=32........................(xi)\cos \left( x \right)=\cos \left( \dfrac{\pi }{6} \right)=\dfrac{\sqrt{3}}{2}........................\left( \text{xi} \right)
Similarly for points x=π4,x=π3,x=π2x=\dfrac{\pi }{4},x=\dfrac{\pi }{3},x=\dfrac{\pi }{2} we get value as
cos(x)=cos(π4)=12......................(xii) cosx=cos(π3)=12..........................(xiii) cosx=cos(π2)=0...........................(xiv) \begin{aligned} & \cos \left( x \right)=\cos \left( \dfrac{\pi }{4} \right)=\dfrac{1}{\sqrt{2}}......................\left( \text{xii} \right) \\\ & \operatorname{cosx}=\cos \left( \dfrac{\pi }{3} \right)=\dfrac{1}{2}..........................\left( \text{xiii} \right) \\\ & \cos x=\cos \left( \dfrac{\pi }{2} \right)=0...........................\left( \text{xiv} \right) \\\ \end{aligned}
We know in cos,cos(x)=x\cos ,\cos \left( -x \right)=x so we can say that values as
cos(π6)=32 cos(π4)=12 cos(π3)=12 cos(π2)=0 \begin{aligned} & \cos \left( \dfrac{-\pi }{6} \right)=\dfrac{\sqrt{3}}{2} \\\ & \cos \left( \dfrac{-\pi }{4} \right)=\dfrac{1}{\sqrt{2}} \\\ & \cos \left( \dfrac{-\pi }{3} \right)=\dfrac{1}{2} \\\ & \cos \left( \dfrac{-\pi }{2} \right)=0 \\\ \end{aligned}
We know range (π2,π)\left( \dfrac{\pi }{2},\pi \right) is same as (π2,0)\left( \dfrac{-\pi }{2},0 \right) but reverse way similarly the range (π2,π)\left( \dfrac{-\pi }{2},-\pi \right) is same as (0,π2)\left( 0,\dfrac{\pi }{2} \right) but in reverse way by plotting all the points with above conditions we get
Cos x:

Now by combining the both graphs cosx,sinx\cos x,\sin x we get:

Now applying maximum function to each end every point

By looking at the graph we can say the range is [12,1]\left[ -\dfrac{1}{\sqrt{2}},1 \right] .

So, the correct answer is “Option a”.

Note: Be careful while plotting points because each and every point is important, if you miss one point you may mark an incorrect answer. The trick is to take the function graph which is above the other at every x.