Continuity
A function can be continuous but not differentiable
A function is continuous at a point if there's no break or jump there, but it's only differentiable at that point if the slope approaching from the left matches the slope approaching from the right. The left-hand derivative is:
Worked example
Find the left-hand derivative of at .
Solution: Just to the left of 0, , so . Differentiating this piece:
So the left-hand derivative at is -1. (The right-hand derivative there is , since for , the two don't match, which is exactly why is continuous at 0 but has a sharp corner there instead of a smooth tangent.)
A function can only be continuous where it's defined
Before asking whether a function is continuous at a point, it has to actually be defined there, so finding a function's domain is usually the first step.
Find the domain of over one full period, .
Solution: A square root is only defined for a non-negative input, so requires . Over , cosine is non-negative on the first and last quarters of the circle: