Question
Question: The period of the function \(f\left( x \right)=\dfrac{\left| \left. \sin \left( x \right) \right|-\l...
The period of the function f(x)=∣sin(x)+cos(x)∣∣sin(x)∣−∣cos(x)∣ is
(a) 2π
(b) 2π
(c) π
(d) None of the above
Solution
Hint: We will apply the formula for finding the period of any trigonometric functions. The formula for this is given by f(x + q) = f(x) where q is called the period of the trigonometric function.
Complete step-by-step solution -
The required diagram for the function f(x)=∣sin(x)+cos(x)∣∣sin(x)∣−∣cos(x)∣ is shown below.
Now, we will apply here the formula for finding period for the given function. First we need to understand that what does the term period means. The period of a trigonometric function is basically a cycle after which the repetition starts for the same function. For example we consider the sine function. The graph for the function is shown below.
Clearly we can see that the waves that are produced by this function are at the regular intervals. Here we have that the function sin(x) has a period of π. This is because the waves are reappearing in the graph after every π value.
Now, we will find the period for the function f(x)=∣sin(x)+cos(x)∣∣sin(x)∣−∣cos(x)∣. We will apply the formula which is used for period. This is given by f(x + q) = f(x) where q is called the period of the trigonometric function. So, here we will start with the smallest positive q, and that is π. Now, we will substitute the value of q into the function. Therefore, we have
f(x)=∣sin(x)+cos(x)∣∣sin(x)∣−∣cos(x)∣⇒f(x+q)=∣sin(x+π)+cos(x+π)∣∣sin(x+π)∣−∣cos(x+π)∣
As we know that the value of sin(x+π)=−sin(x) and the value of cos(x+π)=−cos(x) so, by these substitutions we have,
f(x+q)=∣sin(x+π)+cos(x+π)∣∣sin(x+π)∣−∣cos(x+π)∣⇒f(x+q)=∣cos(x)+sin(x)∣∣−cos(x)∣−∣−sin(x)∣
Clearly, we have that f(x + q) = f(x). Thus, the smallest positive period of the function f(x)=∣sin(x)+cos(x)∣∣sin(x)∣−∣cos(x)∣ is π.
Hence the correct option is (c).
Note: We could have also used here the angle q as 2π and it would also have resulted into f(x + q) = f(x). But we are supposed to find out the smallest positive period of the function. Therefore, we have chosen here π instead of 2π. Alternate method of finding the period of the function is by understanding it from the graph. Clearly, we can see from the graph that the function is repeating after every π interval so we directly have that the period of the given function is π.