The correct option is
A 0,12Here,
f(x)=log2(|sinx|+|cosx|)Let t=|sinx|+|cosx| Then f(x)=log2t......(1)
Squaring both sides we get
t2=(|sinx|)2+(|cosx|)2+|isin2x|
=sin2x+cos2x+|sin2x|
t2=1+|sin2x| (∵sin2x+cos2x=1)
Here, |sin2x|∈[0,1] ( Clearly |sinx|∈[0,1] so )
∴t=√1+|sin2x| tmax=√1+1=√2
∴tminm=√1+0=1
∴t∈[1,√2].........(2)
Now, Using (2) in eqn (1), we shall find the range of f(x) :-
f(x)=log2t and t∈[1,√2]
i.e. 1≤t≤√2
Take log2 we get.
⇒log21≤log2t≤log2√2
⇒0≤f(x)≤log221/2 (∵log1=0log22=1
⇒0≤f(x)≤12log22
∴0≤f(x)≤12
∴ option A is correct
ie [0,12].