Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ia/paper-1/10f/c/solution

For , , so . Although makes continuous at zero, , so it is not differentiable there.
Since the cosine function is even, , so it is differentiable everywhere with . Finally, is differentiable everywhere, including at zero, and . Therefore

New to topics? Read the docs here!