Science:Math Exam Resources/Courses/MATH110/December 2013/Question 10 (b)/Solution 1
As suggested in the hint, this function is continuous everywhere except for possibly at the point . There we need to check continuity and differentiability there. For continuity, we require that the following three quantities are all the same
Since we have to check that both limits above also equal 1. Calculating the limits we find that
Thus we require . Rearranging this, we see that The second piece of information come from checking that the function is differentiable. For differentiability, we require that the following two limits are the same
Calculating these limits we find
and using from above we find that the left-handed limit is
For the previous two limits to be equal we require that . Substituting back into shows us that .
Note. We could also have taken a bit of a short cut and seen that this function is differentiable if the derivatives of the two halves are equal at 2, that is at has to equal .