The function is defined as:
f(x)={x2,x,x≥1x<1
The function switches formulas at x=1, so continuity and differentiability need to be checked at this point.
For continuity at x=1, the left-hand limit, right-hand limit, and function value must all be equal.
f(1)=12=1
x→1−limf(x)=x→1−limx=1
x→1+limf(x)=x→1+limx2=12=1
Since all three values equal 1, the function is continuous at x=1.
For differentiability at x=1, the left-hand derivative and right-hand derivative must be equal.
For x<1, f(x)=x
f′(x)=1
f′(1−)=1
For x≥1, f(x)=x2
f′(x)=2x
f′(1+)=2(1)=2
Since 1=2, the left-hand derivative does not equal the right-hand derivative. The function is not differentiable at x=1.
The function is continuous but not differentiable at x=1.