
Let K be the set of all real values of x where the function $f\left( x \right)=\sin |x|-|x|+2\left( x-\pi \right)\cos |x|$ is not differentiable. Then the set K is equal to:
A. $\left\{ \pi \right\}$
B. $\left\{ 0 \right\}$
C. $\phi $ (an empty set)
D. $\left\{ 0,\pi \right\}$
Answer
543.3k+ views
Hint: We here have been given a function and we have to find the points of its non differentiability. For thus, we will first break the function at 0 as it contains |x|. Then we will find out its RHL given as $RHL=\displaystyle \lim_{h \to 0}\dfrac{f\left( x+h \right)-f\left( x \right)}{h}$ and LHL given as $LHL=\displaystyle \lim_{h \to 0}\dfrac{f\left( x-h \right)-f\left( x \right)}{-h}$ at x=0. Then, we will see if LHL=RHL, then the function will be continuous. Then, we will see if both the functions we formed after breaking f(x) are a combination of two differentiable functions and hence it will be differentiable everywhere else. Following this process, we will get the required answer.
Complete step by step answer:
We here have been given the function $f\left( x \right)=\sin |x|-|x|+2\left( x-\pi \right)\cos |x|$ and we have to check for the points of non differentiability. For this, we will first break the function so that the modulus is eliminated.
Now, we know that:
$\begin{align}
& |x|=x\text{ if x}\ge \text{0} \\
& |x|=-x\text{ if x0} \\
\end{align}$
Thus, we will get our function as:
$f\left( x \right)=\sin |x|-|x|+2\left( x-\pi \right)\cos |x|$
$\begin{align}
f\left( x \right)=\left\{ \begin{matrix}
\sin \left( x \right)-\left( x \right)+2\left( x-\pi \right)\cos \left( x \right) & \text{ if }x\ge 0 \\
\sin \left( -x \right)-\left( -x \right)+2\left( -x-\pi \right)\cos \left( x \right) & \text{ if }x<0 \\
\end{matrix} \right.
\end{align}$
$\begin{align}
f\left( x \right)=\left\{ \begin{matrix}
\sin x-x+2\left( x-\pi \right)\cos x & \text{ if }x\ge 0 \\
-\sin x+x-2\left( x-\pi \right)\cos x & \text{ if }x<0 \\
\end{matrix} \right. \\
\end{align}$
Now, we can see that the function breaks at x=0. So first, we will check for the differentiability at x=0.
Now, we know that a function is continuous if the function’s right hand limit (RHL) is equal to its left hand limit (LHL) which is equal to its limit at that point of the function.
So, we will first calculate its RHL.
Now, we know that RHL at any point x in the function is given as:
$RHL=\displaystyle \lim_{h \to 0}\dfrac{f\left( x+h \right)-f\left( x \right)}{h}$
Here, x=0 and since $h \to 0$, x+h>0
Thus, we get the required RHL as:
$\begin{align}
& RHL=\displaystyle \lim_{h \to 0}\dfrac{\left( \sin \left( x+h \right)-(x+h)+2\left( \left( x+h \right)-\pi \right)\cos \left( x+h \right) \right)-\left( \sin x-x+2\left( x-\pi \right)\cos x \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{\sin \left( x+h \right)-x-h+2x\cos \left( x+\pi \right)+2h\cos \left( x+\pi \right)-2\pi \cos \left( x+\pi \right)-\sin x+x-2x\cos x+2\pi \cos x}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{\sin \left( x+h \right)-\sin x+2\left( x+\pi \right)\left( \cos \left( x+h \right)-\cos x \right)+h+2h\cos \left( x+h \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}-4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}+h+2h\cos \left( x+h \right)}{h} \\
\end{align}$Now, separating the limits we get:
$\Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}-\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x+h \right)}{h}$
Now, we know that $\displaystyle \lim_{x\to 0}\dfrac{\sin x}{x}=1$
Using this in the RHL, we get:
$\begin{align}
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}-\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x+h \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{2\dfrac{h}{2}}-\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{2\dfrac{h}{2}}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x+h \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x+\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)+1+2\cos \left( x+h \right) \right) \\
\end{align}$
Now, putting h=0 in RHL, we get:
$\begin{align}
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x+\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)+1+2\cos \left( x+h \right) \right) \\
& \Rightarrow RHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
\end{align}$
Now, putting x=0 in RHL we get:
$\begin{align}
& \Rightarrow RHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
& \Rightarrow RHL=\cos 0-2\left( 0+\pi \right)\sin 0+1+2\cos 0 \\
& \Rightarrow RHL=1-2\pi \left( 0 \right)+1+2\left( 1 \right) \\
& \Rightarrow RHL=4 \\
\end{align}$
Thus, the RHL is 4.
Now, since the function is same for RHD and the limit at that point, we will just calculate the LHL.
Now, we know that LHL at any point is given as:
$LHL=\displaystyle \lim_{h \to 0}\dfrac{f\left( x-h \right)-f\left( x \right)}{-h}$
Here, x=0 hence, x-h<0.
Thus, we get our LHL as:
$\begin{align}
& LHL=\displaystyle \lim_{h \to 0}\dfrac{\left( -\sin \left( x-h \right)+(x-h)+2\left( \left( x-h \right)-\pi \right)\cos \left( x-h \right) \right)-\left( -\sin x+x+2\left( x-\pi \right)\cos x \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-\sin \left( x-h \right)+x-h+2x\cos \left( x-h \right)-2h\cos \left( x-h \right)-2\pi \cos \left( x-h \right)+\sin x-x-2x\cos x+2\pi \cos x}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-\sin \left( x-h \right)+\sin x+2\left( x+\pi \right)\left( \cos \left( x-h \right)-\cos x \right)+h+2h\cos \left( x-h \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}+4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}+h+2h\cos \left( x-h \right)}{-h} \\
\end{align}$Now, separating the limits we get:
$\Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x-h \right)}{-h}$
Again, using the property $\displaystyle \lim_{x\to 0}\dfrac{\sin x}{x}=1$ we get:
\[\begin{align}
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x-h \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-2\dfrac{h}{2}}+\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-2\dfrac{h}{2}}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x-h \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x-\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)+1+2\cos \left( x-h \right) \right) \\
\end{align}\]
Now, putting h=0 in LHL we get:
$\begin{align}
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x-\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)+1+2\cos \left( x-h \right) \right) \\
& \Rightarrow LHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
\end{align}$
Now, putting x=0 in LHL we get:
$\begin{align}
& \Rightarrow LHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
& \Rightarrow LHL=\cos \left( 0 \right)-2\left( x+\pi \right)\sin \left( 0 \right)+1+2\cos \left( 0 \right) \\
& \Rightarrow LHL=1-0+1+2 \\
& \Rightarrow LHL=4 \\
\end{align}$
Hence, the LHL is 4.
Now, we can see that LHL=RHL.
Hence, the function is differentiable at x=0.
Now, we can see that f(x) is a function combined from trigonometric function and polynomial function. We also know that these two functions are continuous and differentiable everywhere.
We also know that the combination of two differentiable functions is also differentiable.
Hence, f(x) is differentiable everywhere.
Thus, $K=\phi $ (an empty set)
Hence, option (C) is the correct option.
Note:
There is an easy way to check for LHL and RHL. This is done by calculating f’(x) and then keeping x=x-h for LHL and x=x+h for RHL. This will give us the values of RHL and LHL. It is a short method and should be used in competition type questions.
Complete step by step answer:
We here have been given the function $f\left( x \right)=\sin |x|-|x|+2\left( x-\pi \right)\cos |x|$ and we have to check for the points of non differentiability. For this, we will first break the function so that the modulus is eliminated.
Now, we know that:
$\begin{align}
& |x|=x\text{ if x}\ge \text{0} \\
& |x|=-x\text{ if x0} \\
\end{align}$
Thus, we will get our function as:
$f\left( x \right)=\sin |x|-|x|+2\left( x-\pi \right)\cos |x|$
$\begin{align}
f\left( x \right)=\left\{ \begin{matrix}
\sin \left( x \right)-\left( x \right)+2\left( x-\pi \right)\cos \left( x \right) & \text{ if }x\ge 0 \\
\sin \left( -x \right)-\left( -x \right)+2\left( -x-\pi \right)\cos \left( x \right) & \text{ if }x<0 \\
\end{matrix} \right.
\end{align}$
$\begin{align}
f\left( x \right)=\left\{ \begin{matrix}
\sin x-x+2\left( x-\pi \right)\cos x & \text{ if }x\ge 0 \\
-\sin x+x-2\left( x-\pi \right)\cos x & \text{ if }x<0 \\
\end{matrix} \right. \\
\end{align}$
Now, we can see that the function breaks at x=0. So first, we will check for the differentiability at x=0.
Now, we know that a function is continuous if the function’s right hand limit (RHL) is equal to its left hand limit (LHL) which is equal to its limit at that point of the function.
So, we will first calculate its RHL.
Now, we know that RHL at any point x in the function is given as:
$RHL=\displaystyle \lim_{h \to 0}\dfrac{f\left( x+h \right)-f\left( x \right)}{h}$
Here, x=0 and since $h \to 0$, x+h>0
Thus, we get the required RHL as:
$\begin{align}
& RHL=\displaystyle \lim_{h \to 0}\dfrac{\left( \sin \left( x+h \right)-(x+h)+2\left( \left( x+h \right)-\pi \right)\cos \left( x+h \right) \right)-\left( \sin x-x+2\left( x-\pi \right)\cos x \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{\sin \left( x+h \right)-x-h+2x\cos \left( x+\pi \right)+2h\cos \left( x+\pi \right)-2\pi \cos \left( x+\pi \right)-\sin x+x-2x\cos x+2\pi \cos x}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{\sin \left( x+h \right)-\sin x+2\left( x+\pi \right)\left( \cos \left( x+h \right)-\cos x \right)+h+2h\cos \left( x+h \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}-4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}+h+2h\cos \left( x+h \right)}{h} \\
\end{align}$Now, separating the limits we get:
$\Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}-\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x+h \right)}{h}$
Now, we know that $\displaystyle \lim_{x\to 0}\dfrac{\sin x}{x}=1$
Using this in the RHL, we get:
$\begin{align}
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}-\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x+h \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\dfrac{2\cos \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{2\dfrac{h}{2}}-\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{2\dfrac{h}{2}}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x+h \right)}{h} \\
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x+\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)+1+2\cos \left( x+h \right) \right) \\
\end{align}$
Now, putting h=0 in RHL, we get:
$\begin{align}
& \Rightarrow RHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x+\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x+\dfrac{h}{2} \right)+1+2\cos \left( x+h \right) \right) \\
& \Rightarrow RHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
\end{align}$
Now, putting x=0 in RHL we get:
$\begin{align}
& \Rightarrow RHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
& \Rightarrow RHL=\cos 0-2\left( 0+\pi \right)\sin 0+1+2\cos 0 \\
& \Rightarrow RHL=1-2\pi \left( 0 \right)+1+2\left( 1 \right) \\
& \Rightarrow RHL=4 \\
\end{align}$
Thus, the RHL is 4.
Now, since the function is same for RHD and the limit at that point, we will just calculate the LHL.
Now, we know that LHL at any point is given as:
$LHL=\displaystyle \lim_{h \to 0}\dfrac{f\left( x-h \right)-f\left( x \right)}{-h}$
Here, x=0 hence, x-h<0.
Thus, we get our LHL as:
$\begin{align}
& LHL=\displaystyle \lim_{h \to 0}\dfrac{\left( -\sin \left( x-h \right)+(x-h)+2\left( \left( x-h \right)-\pi \right)\cos \left( x-h \right) \right)-\left( -\sin x+x+2\left( x-\pi \right)\cos x \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-\sin \left( x-h \right)+x-h+2x\cos \left( x-h \right)-2h\cos \left( x-h \right)-2\pi \cos \left( x-h \right)+\sin x-x-2x\cos x+2\pi \cos x}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-\sin \left( x-h \right)+\sin x+2\left( x+\pi \right)\left( \cos \left( x-h \right)-\cos x \right)+h+2h\cos \left( x-h \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}+4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}+h+2h\cos \left( x-h \right)}{-h} \\
\end{align}$Now, separating the limits we get:
$\Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x-h \right)}{-h}$
Again, using the property $\displaystyle \lim_{x\to 0}\dfrac{\sin x}{x}=1$ we get:
\[\begin{align}
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-h}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x-h \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\dfrac{-2\cos \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-2\dfrac{h}{2}}+\displaystyle \lim_{h \to 0}\dfrac{4\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)\sin \dfrac{h}{2}}{-2\dfrac{h}{2}}+\displaystyle \lim_{h \to 0}\dfrac{h+2h\cos \left( x-h \right)}{-h} \\
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x-\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)+1+2\cos \left( x-h \right) \right) \\
\end{align}\]
Now, putting h=0 in LHL we get:
$\begin{align}
& \Rightarrow LHL=\displaystyle \lim_{h \to 0}\left( \cos \left( x-\dfrac{h}{2} \right)-2\left( x+\pi \right)\sin \left( x-\dfrac{h}{2} \right)+1+2\cos \left( x-h \right) \right) \\
& \Rightarrow LHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
\end{align}$
Now, putting x=0 in LHL we get:
$\begin{align}
& \Rightarrow LHL=\cos x-2\left( x+\pi \right)\sin x+1+2\cos x \\
& \Rightarrow LHL=\cos \left( 0 \right)-2\left( x+\pi \right)\sin \left( 0 \right)+1+2\cos \left( 0 \right) \\
& \Rightarrow LHL=1-0+1+2 \\
& \Rightarrow LHL=4 \\
\end{align}$
Hence, the LHL is 4.
Now, we can see that LHL=RHL.
Hence, the function is differentiable at x=0.
Now, we can see that f(x) is a function combined from trigonometric function and polynomial function. We also know that these two functions are continuous and differentiable everywhere.
We also know that the combination of two differentiable functions is also differentiable.
Hence, f(x) is differentiable everywhere.
Thus, $K=\phi $ (an empty set)
Hence, option (C) is the correct option.
Note:
There is an easy way to check for LHL and RHL. This is done by calculating f’(x) and then keeping x=x-h for LHL and x=x+h for RHL. This will give us the values of RHL and LHL. It is a short method and should be used in competition type questions.
Recently Updated Pages
Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Trending doubts
What is meant by exothermic and endothermic reactions class 11 chemistry CBSE

Which animal has three hearts class 11 biology CBSE

10 examples of friction in our daily life

One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

Difference Between Prokaryotic Cells and Eukaryotic Cells

