Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2014/paper-2/18/f/solution

Substitution first makes the square-root branch transparent:
On the given interval this is exactly , so direct differentiation gives
in agreement with the chain-rule calculation. Outside this interval one must retain the absolute value; there are cusps at integer multiples of .

New to topics? Read the docs here!