Consider the following piecewise defined function:

- a) Show that
is continuous at 
- b) Using the limit definition of the derivative, and computing the limits from both sides, show that
is differentiable at 
| Foundations:
|
| Recall:
|
- 1.
is continuous at if 
|
- 2. The definition of derivative for
is 
|
Solution:
(a)
| Step 1:
|
We first calculate We have
|

|
| Step 2:
|
Now, we calculate We have
|

|
| Step 3:
|
Now, we calculate We have
|

|
Since is continuous.
|
(b)
| Step 1:
|
| We need to use the limit definition of derivative and calculate the limit from both sides.
|
| So, we have
|

|
| Step 2:
|
| Now, we have
|

|
| Step 3:
|
Since
|
is differentiable at
|
| Final Answer:
|
(a) Since is continuous.
|
(b) Since
|
is differentiable at 
|
Return to Sample Exam