Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2012/paper-1/19/a/ii/solution

As through nonzero values, and . Thus is continuous at zero.
For the derivative at zero use its definition, rather than substituting into a formula obtained away from zero:
Indeed, putting makes the absolute value , which tends to zero since Gaussian decay dominates every power. Therefore is continuous and differentiable at zero, with . Away from zero, the chain rule gives .

New to topics? Read the docs here!