Question
Question: Let \(f:X\to \left[ 1,27 \right]\) be a function defined by \(f\left( x \right)=5\sin x+12\cos x+14\...
Let f:X→[1,27] be a function defined by f(x)=5sinx+12cosx+14. Find the set X so that f is both one – one and onto?
Solution
Assume the given expression f(x)=5sinx+12cosx+14 as f(x)=acosx+bsinx+c and convert it into a function containing the single trigonometric function by using the conversionacosx+bsinx=a2+b2cos(x−tan−1(ab)). Now, for the function to be one – one substitutes the argument of the cosine function in the range [0,π] and finds the value of x. Now, find the range of f(x) and check if it is equal to the co – domain [1,27] or not. If they are equal then it is onto for the above obtained range of x. this range of x will be our answer.
Complete step by step answer:
Here we have been provided with the function f(x)=5sinx+12cosx+14 which is defined for f:X→[1,27]. We are asked to find the set X such that the given function is both one – one and onto. First we need to simplify the function such that it contains a single trigonometric function.
Now, an expression of the form acosx+bsinx can be written as a2+b2cos(x−tan−1(ab)) which contains single trigonometric function, i.e. the cosine function. So we have,
⇒f(x)=52+122cos(x−tan−1(125))+14⇒f(x)=13cos(x−tan−1(125))+14
(1) We know that one – one function is a type of function where for each value of x we have only one value of f(x). We know that the value of the cosine function oscillates in the range [−1,1]. As we travel from 0 to π it covers all the values in the range [−1,1]. After that it will again start to take the same values for different values of x, so for the above function to be one – one the argument of the cosine function must lie in the range [0,π]. Therefore we have,
⇒0≤x−tan−1(125)≤π⇒tan−1(125)≤x≤π+tan−1(125)∴x∈[tan−1(125),π+tan−1(125)]
So, for the above range of x the function is one – one.
(2) Now, a function is onto if and only if its range is equal to the co – domain. The co – domain for the given function f(x) is provided [1,27]. We need to determine its range. We know that the value of cosine function ranges from -1 to 1, so we have,
⇒−1≤cos(x−tan−1(125))≤1
Multiplying both the sides with 13 we get,
⇒−13≤13cos(x−tan−1(125))≤13
Adding 14 in each term we get,