GATE | GATE-CS-2007 | Question 1
Consider the following two statements about the function f(x)=|x|
P. f(x) is continuous for all real values of x
Q. f(x) is differentiable for all real values of x
Which of the following is TRUE?
P is true and Q is false.
P is false and Qis true.
Both P and Q are true
Both P and Q are false.
A function is continuous if for every value of \’x\’, we have a corresponding f(x). Here, for every x, we have f(x) which is actually the value of x itself, without the negative sign for x < 0.
But, the given function is not differentiable for x = 0 because for x < 0, the derivative is negative and for x > 0, the derivative is positive. So, the left hand derivative and right hand derivative do not match.
Hence, P is correct and Q is incorrect. Thus, A is the correct option.
Quiz of this Question
Please comment below if you find anything wrong in the above post