Continuity And Differentiability Homework Answers
Ok, you can see easily that $f(x)$ is continuous at $x=1$ because $f(1)=2$ and $$\lim_{x\to 1^}f(x)=\lim_{x\to 1^+}f(x)=2$$
A function $f(x)$ is continuous at $x=c$ if it is defined at $x=c$ and $\lim_{x\to c}=f(c)$
Now we differentiate the function in each piece. If the result is continuous then the function is differentiable
$f'(x)=\begin{cases} 2x, &x<1\\ 0, &x=1\\ \dfrac{1}{2\sqrt{x1}}, &x>1\end{cases}$
we have
$$\lim_{x\to 1^}f'(x)=2;\;\lim_{x\to 1^+}f'(x)=+\infty$$ the limit doesn't even exist! So the function is not differentiable at $x=1$.
Bonus
The derivative which tends to $+\infty$ has an interesting geometric meaning. It means that the tangent to the graph of the function is vertical at that point. As you can see in the picture below, the graph has two tangents at point $(1,\;2)$, which means it is not differentiable, indeed.
Hope this is useful
$$...$$
answered Dec 3 '17 at 20:18
Continuity & Differentiability 
Utility:
Español
Part A: Continuity
Note To understand this topic, you will need to be familiar with limits, as discussed in the chapter on derivatives in Calculus Applied to the Real World. If you like, you can review the topic summary material on limits or, for a more detailed study, the online tutorial on limits.
To begin, we recall the definition (see Section 6 in the derivatives chapter in Calculus Applied to the Real World.) of what it means for a function to be continuous at a point or on a subset of its domain.
Continuous at a Point The function $f$ is continuous at the point a in its domain if:
If the point $a$ is not in the domain of $f,$ we do not talk about whether or not $f$ is continuous at $a.$ Continuous on a Subset of the Domain The function $f$ is continuous on the subset $S$ of its domain if it continuous at each point of $S.$ Examples 1. All closed form functions are continuous on their (whole) domain. A closedform function is any function that can be obtained by combining constants, powers of $x,$ exponential functions, radicals, logarithms, and trigonometric functions (and some other functions we shall not encounter here) into a single mathematical formula by means of the usual arithmetic operations and composition of functions. Examples of closed form functions are:
2. The function $f(x) = 1/x,$ also of closed form, is continuous at every point of its domain. (Note that 0 is not a point of the domain of $f,$ so we don't discuss what it might mean to be continous or discontinuous there.) 3. The function

_{} Example 1 Recognizing Points of Discontinuity in a Graph
Let f have the graph shown below.
Solution
According to the definition, $f$ can fail to be continuous at a point $a$ of its domain if either:1.  $lim$ $x→a$  $f(x)$ does not exist, or 
2.  $lim$ $x→a$  $f(x)$ exists, but $≠ f(a)$ 
$lim$ $x→1$  $f(x) = 1,$ but 
$f(1) = 2$ 
Here is a more interactive example.
_{} Example 2 Recognizing Points of Discontinuity in a Graph
Let $f$ have the graph shown below.
The next examples discuss functions specified algebraically rather than geometrically.
_{} Example 3 Identifying Points of Discontinuity in a NonClosed Form Function
$f(x) =$  $x^2+4$ $x + 1$ $x^2 + 1$  if $x ≤ 0$ if $0 < x ≤ 1$ if $x > 1$  $.$ 
$lim$ $x→0^{}$  $f(x) = 4$  Substitute $x = 0$ in the first (closedform) formula 
$lim$ $x→0^{+}$  $f(x) = 1$  Substitute $x = 0$ in the second (closedform) formula 
_{} Example 4 Fixing up a Function
Let $f$ be given by$f(x) =$  $x^2  x + 1$ $kx^2 + 1$  if $x ≤ 1$ if $x > 1$  . 
Solution
Since the only place where something can go wrong is at $x = 1,$ we look at the left and right limits, as well as the value of the function.$lim$ $x→1^{}$  $f(x) = 1$ 
$lim$ $x→1^{+}$  $f(x) = k+1$ 
$f(1) = 1$ 
You can now either go on and try those exercises that deal with continuity in the exercise set for this topic, or first finish the online text by going to Part B: Differentiability.