The functions are
and
.
Consider
.
Apply derivative on each side with respect to
.

The function
is differentiable for all values of
except
.

The general solution of
is
.

The function
is differentiable for all values of
except at
, where
is the integer.
Consider
.
Apply derivative on each side with respect to
.

The function
is differentiable for all values of
except at
.
The function
is differentiable for all values of
except at
, where
is the integer.
The function
is differentiable for all values of
except at
.