Here we use limits to ensure piecewise functions are continuous.
Consider the next, more challenging example.
Looking at the limit from the right, we have
Hence for this function to be continuous at , we must have that
Hmmmm. More work needs to be done.
To find and that make is continuous at , we need to find and such that Looking at the limit from the left, we have
Looking at the limit from the right, we have
Hence for this function to be continuous at , we must have that
So now we have two equations and two unknowns: Set and write
hence Let’s check, so now plugging in values for both and we find Now and So setting and makes continuous at and . We can confirm our results by looking at the graph of :