The correct answer is option A. Both continuous and differentiable.
To determine the continuity and differentiability of the given piecewise function
, we need to check the conditions at the point
where the function changes its definition.
For continuity:
A function is continuous at a point
if the following three conditions are met:
1.
is defined.
2. The limit of
as
approaches
from the left
exists.
3. The limit of
as
approaches
from the right
exists.
4.

For differentiability:
A function is differentiable at a point
if the following condition is met:
1. The derivative
exists.
Now let's analyze the given function at \( x = 2 \):
1. For continuity:
-

-

-

- The above limits and
are equal, so the function is continuous at

2. For differentiability:
- The derivative
exists for both
and
at
, so the function is differentiable at
.
Therefore, the correct answer is A. Both continuous and differentiable.