Key idea: Remove the modulus by taking cases on the sign of y.
- If y≥0: x+y=2y⇒y=x. This needs x≥0.
- If y<0: x−y=2y⇒y=3x. This needs x<0.
- So y=x for x≥0 and y=3x for x<0.
- Both pieces give y→0=y(0), so y is continuous at 0.
- The right derivative is 1 and the left derivative is 31. They differ, so y is not differentiable at 0.
Answer: (B) continuous but not differentiable