Solveeit Logo

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]f:X\to \left[ 1,27 \right] be a function defined by f(x)=5sinx+12cosx+14f\left( x \right)=5\sin x+12\cos x+14. Find the set X so that f is both one – one and onto?

Explanation

Solution

Assume the given expression f(x)=5sinx+12cosx+14f\left( x \right)=5\sin x+12\cos x+14 as f(x)=acosx+bsinx+cf\left( x \right)=a\cos x+b\sin x+c and convert it into a function containing the single trigonometric function by using the conversionacosx+bsinx=a2+b2cos(xtan1(ba))a\cos x+b\sin x=\sqrt{{{a}^{2}}+{{b}^{2}}}\cos \left( x-{{\tan }^{-1}}\left( \dfrac{b}{a} \right) \right). Now, for the function to be one – one substitutes the argument of the cosine function in the range [0,π]\left[ 0,\pi \right] and finds the value of x. Now, find the range of f(x)f\left( x \right) and check if it is equal to the co – domain [1,27]\left[ 1,27 \right] 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+14f\left( x \right)=5\sin x+12\cos x+14 which is defined for f:X[1,27]f:X\to \left[ 1,27 \right]. 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+bsinxa\cos x+b\sin x can be written as a2+b2cos(xtan1(ba))\sqrt{{{a}^{2}}+{{b}^{2}}}\cos \left( x-{{\tan }^{-1}}\left( \dfrac{b}{a} \right) \right) which contains single trigonometric function, i.e. the cosine function. So we have,
f(x)=52+122cos(xtan1(512))+14 f(x)=13cos(xtan1(512))+14 \begin{aligned} & \Rightarrow f\left( x \right)=\sqrt{{{5}^{2}}+{{12}^{2}}}\cos \left( x-{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right)+14 \\\ & \Rightarrow f\left( x \right)=13\cos \left( x-{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right)+14 \\\ \end{aligned}
(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)f\left( x \right). We know that the value of the cosine function oscillates in the range [1,1]\left[ -1,1 \right]. As we travel from 0 to π\pi it covers all the values in the range [1,1]\left[ -1,1 \right]. 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,π]\left[ 0,\pi \right]. Therefore we have,
0xtan1(512)π tan1(512)xπ+tan1(512) x[tan1(512),π+tan1(512)] \begin{aligned} & \Rightarrow 0\le x-{{\tan }^{-1}}\left( \dfrac{5}{12} \right)\le \pi \\\ & \Rightarrow {{\tan }^{-1}}\left( \dfrac{5}{12} \right)\le x\le \pi +{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \\\ & \therefore x\in \left[ {{\tan }^{-1}}\left( \dfrac{5}{12} \right),\pi +{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right] \\\ \end{aligned}
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)f\left( x \right) is provided [1,27]\left[ 1,27 \right]. We need to determine its range. We know that the value of cosine function ranges from -1 to 1, so we have,
1cos(xtan1(512))1\Rightarrow -1\le \cos \left( x-{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right)\le 1
Multiplying both the sides with 13 we get,
1313cos(xtan1(512))13\Rightarrow -13\le 13\cos \left( x-{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right)\le 13
Adding 14 in each term we get,

& \Rightarrow -13+14\le 13\cos \left( x-{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right)+14\le 13+14 \\\ & \Rightarrow 1\le f\left( x \right)\le 27 \\\ & \therefore f\left( x \right)\in \left[ 1,27 \right] \\\ \end{aligned}$$ Clearly we can see that the range of $f\left( x \right)$ is equal to its co – domain, therefore $f\left( x \right)$ is onto for the above obtained range of x. **Hence, the set X for which the given function is both one – one and onto is given by $X\in \left[ {{\tan }^{-1}}\left( \dfrac{5}{12} \right),\pi +{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right]$** **Note:** One important point you may note is that the function $f\left( x \right)$ is not onto for the above obtained range of X only but it is for all real values of x. however, it is one – one for the above obtained range of X only so we have to consider the intersection of the two sets which gives $X\in \left[ {{\tan }^{-1}}\left( \dfrac{5}{12} \right),\pi +{{\tan }^{-1}}\left( \dfrac{5}{12} \right) \right]$ as the answer. Remember the conversion formula $a\cos x+b\sin x=\sqrt{{{a}^{2}}+{{b}^{2}}}\cos \left( x-{{\tan }^{-1}}\left( \dfrac{b}{a} \right) \right)$ because it is very helpful in these types of question where you have to determine the maxima of minima values.