Question:

The function \( f(x) \) is defined as follows:  \[ f(x) = \begin{cases} 2+x, & \text{if } x \geq 0 \\ 2-x, & \text{if } x \leq 0 \end{cases} \] Then function \( f(x) \) at \( x=0 \) is: 

Show Hint

A function is differentiable only if left-hand and right-hand derivatives are equal.
Updated On: Mar 24, 2025
  • Continuous and differentiable.
  • Continuous but not differentiable.
  • Differentiable but not continuous.
  • Neither continuous nor differentiable.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

{Checking continuity:} \[ \lim\limits_{x \to 0^-} f(x) = \lim\limits_{x \to 0^+} f(x) = 2 \] Since \( f(0) = 2 \), the function is continuous. Checking differentiability: \[ f'(x) = \begin{cases} 1, & x > 0 -1, & x < 0 \end{cases} \] Since left and right derivatives are not equal, \( f(x) \) is not differentiable at \( x = 0 \). 

{Conclusion:} The function is continuous but not differentiable.

Was this answer helpful?
0
0

Questions Asked in IIITH UGEE exam

View More Questions