Question
Question: Let \(f\left( x \right){\text{ }} = {\text{ }}\left| {{\text{ }}cos{\text{ }}x{\text{ }}} \right|\) ...
Let f(x) = ∣ cos x ∣ . Then,
A. f is everywhere differentiable
B. f is everywhere continuous but not differentiable at n=nπ,n∈Z
C. f is everywhere continuous but not differentiable at x=(2n+1)2π,n∈Z
D. None of these
Solution
The function ∣ cos x ∣ is given in mod which implies that it can be also written as cosx,−cosx . The best method to solve this question is using the graph method in which we plot ∣ cos x ∣ as function and solve it . If while plotting a graph the tip of the pen is not held up then you can say it is continuous
Complete step by step answer:
Given : ∣ cos x ∣=cosx,−cosx , on plotting graph of ∣ cos x ∣ , we get
From the graph drawn we find that the function ∣ cos x ∣ is continuous everywhere as :
f(x)=∣cos x∣
⇒h(x)=∣x∣
Let g(x) be the function for cos x , therefore
g(x)=cos x , now solving the function for h∘g(x) , we get
h∘g(x)=∣cosx∣
Since , cos x is a continuous function f(c) must be defined . For the differentiability of cos x , the limit of the function as x approaches the right hand limit ( RHL ) and left hand limit ( LHL ) there must exist a value c . The function's value at c and the limit as x approaches c must be the same.The function cos x is every continuous and differentiable in its domain.
Therefore ∣ cos x ∣ is also continuous . Now , for differentiability we draw a tangent to the curve ,
At ∣ cos x ∣ =−2π , therefore we can say that ∣ cos x ∣ is differentiable at =−2π . But at ∣ cos x ∣ =2π , we were not able to draw a tangent at that point.Therefore , the function is not differentiable at x=(2n+1)2π,n∈Z.
Therefore the correct answer is option C.
Note: The continuity and differentiability of a function can be easily solved using the graph method but remember how to plot graphs of different functions . The polynomial functions are continuous and differentiable . Therefore , you can directly use them as such.