Let be a function defined by . Let denote the set of all points in , where is not differentiable. Then:
We are given the real-valued function defined by
To analyse differentiability we first express as a piece-wise function, because at each real number we must decide which of the two expressions, or , is larger.
We compare with :
The inequality holds when or , and it fails when . Hence
Now we differentiate each branch separately.
For we have so using the standard rule we get
For we have and the derivative of is
For we have again giving
Thus is well defined everywhere except possibly at the junction points and . We must examine these two points separately by comparing the left-hand and right-hand derivatives.
Point .
The left-hand derivative is the limit of as :
The right-hand derivative is the limit of as :
Because , the two one-sided derivatives are unequal, so is not differentiable at .
Point .
The left-hand derivative is the limit of as :
The right-hand derivative is the limit of as :
Since , the one-sided derivatives differ, so is not differentiable at .
For every other real number the function matches just one smooth branch, and the derivative we calculated is finite and continuous, hence is differentiable everywhere except at and .
Therefore the set of non-differentiability points is
Among the given options, this set corresponds to Option A.
Hence, the correct answer is Option A.
Tagged Differentiability at a point. Machine-assigned, so read it as a strong shortlist rather than a verdict.