Question
Question: If \[f:R \to S\] defined by \[f\left( x \right) = \sin x - \sqrt 3 \cos x + 1\] is onto, then the in...
If f:R→S defined by f(x)=sinx−3cosx+1 is onto, then the interval of S is
A.[0,3]
B.[−1,1]
C.[0,1]
D.[−1,3]
Solution
Hint : Basically we have to find the range of the function f(x)=sinx−3cosx+1. We know sinx and cosx both have a range [−1,1] but for the same value of x they do not attain the same value . So to know the exact range of the function we have to reduce the trigonometric part to a single part ; either in terms of Sine or Cosine .
FORMULA USED:
sin(x−a)=sinx×cosa−sina×cosx
Complete step-by-step answer :
To know the exact range of the function we have to reduce the trigonometric part in a single term . Here we will reduce it in terms of the Sine function .
We can see 3 is not a value of Sine function of known angle but we know 23is equal to sin60∘
So to reduce the trigonometric part of the function we will take 2common from that part
sinx−3cosx
=2(sinx×21−23cosx)
After putting the value of 21and 23 in terms of Cosine and Sine function respectively we get
=2(sinx×cos60∘−sin60∘×cosx)
=2sin(x−60∘)
Using formula we get the last line .
So our function become
f(x)=sinx−3cosx+1
=2sin(x−60∘)+1
Value of sin(x−60∘) vary between [−1,1]
So range of 2sin(x−60∘) is [−2,2]
So the range of the function 2sin(x−60∘)+1 is [−2+1,2+1]
Which is [−1,3].
This is our answer .
Option 4is the answer .
So, the correct answer is “Option 4”.
Note : we have to reduce the trigonometric part .
This problem can also be solved by reducing in terms of Cosine function using the formula cos(x+a)=cosx×cosa−sinx×sina . In this method also we will get the same answer .
For very quick solution we can use following method :
For the function like acosx+bsinx+crange vary between c−a2+b2 and c+a2+b2
Putting the value of a,b&c for this question we will end up with the same answer .
Whatever method students follow will give the correct unique answer .