
\documentclass[11pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amssymb}
\usepackage[nomarginpar]{geometry}
\usepackage{color}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{fancyhdr}
\usepackage{multicol}

\setcounter{MaxMatrixCols}{10}
%TCIDATA{OutputFilter=LATEX.DLL}
%TCIDATA{Version=5.00.0.2570}
%TCIDATA{<META NAME="SaveForMode" CONTENT="1">}
%TCIDATA{Created=Wednesday, July 12, 2006 00:27:03}
%TCIDATA{LastRevised=Tuesday, October 03, 2017 12:57:29}
%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
%TCIDATA{<META NAME="DocumentShell" CONTENT="Scientific Notebook\Booklet #1 - with Instructions">}
%TCIDATA{CSTFile=40 LaTeX article.cst}
%TCIDATA{PageSetup=72,72,72,72,1}
%TCIDATA{ComputeGeneralSettings=0,15,15,0,0,0,0}
%TCIDATA{Counters=arabic,1}
%TCIDATA{ComputeDefs=
%$f\left( x\right) =\sqrt{x-1}$
%}

%TCIDATA{AllPages=
%H=36
%F=36,\PARA{038<p type="texpara" tag="Body Text" >\hfill \hfill }
%}


\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\newenvironment{proof}[1][Proof]{\noindent\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
\input{tcilatex}
\geometry{left=0.4in,right=0.5in,top=0.5in,bottom=0.4in}
\pagestyle{fancy}
\lhead{\color{blue} \large Math 207}
\lfoot{\footnotesize  \copyright $\;$  Hidegkuti,  2017}
\cfoot{}
\chead{\Large Differentiable Functions}
\rfoot{\footnotesize Last revised: October 3, 2017}
\rhead{ \small page \thepage }
\textwidth 7.6in
\textheight 9.6in
\setlength{\headheight}{29pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.08in}
\begin{document}


Recall the definition of continuous functions.\vspace{0.07in}

\textbf{Definition:} (Continuity at a point) \ A function $y=f\left(
x\right) $ is \textbf{continuous at a number }$\boldsymbol{c}$ of its domain
if the two-sided limit exists and $\lim\limits_{x\rightarrow c}f\left(
x\right) =f\left( c\right) $.\vspace{0.07in}

\textbf{Definition:} \ (Continuity on an interval)

(\textit{Open Interval}) \ A function $y=f\left( x\right) $ is continuous on
an interval $\left( a,b\right) $ if it is continuous at every $c$ in $\left(
a,b\right) $.\newline
(\textit{Closed Interval}) \ A function $y=f\left( x\right) $ is continuous
on an interval $\left[ a,b\right] $ if it is continuous at every $c$ in $%
\left( a,b\right) $ and 
\begin{equation*}
\lim\limits_{x\rightarrow a^{+}}f\left( x\right) =f\left( a\right) \text{ \
\ or \ \ }\lim\limits_{x\rightarrow b^{-}}f\left( x\right) =f\left( b\right) 
\text{, \ respectively.}
\end{equation*}

End-points of the interval require only one-sided limits.\vspace{0.07in}

Another way to express continuity is to say that $\lim\limits_{h\rightarrow
0}f\left( x+h\right) =f\left( x\right) $. \ Another alternative statement of
continuity is $\lim\limits_{x\rightarrow c}f\left( x\right) =f\left(
\lim\limits_{x\rightarrow c}x\right) $, so that there is a commutativity
between taking the limit and taking the function values.\vspace{0.07in}

\textbf{Definition:} \ Suppose that $f$ is a function and $c$ is an interior
point of its domain. \ If the (two-sided) limit%
\begin{equation*}
\lim\limits_{h\rightarrow 0}\dfrac{f\left( c+h\right) -f\left( c\right) }{h}
\end{equation*}%
exists (and is finite) we say that $f$ is \textbf{differentiable at }$%
\boldsymbol{c}$ and denote this limit as $f^{\prime }\left( c\right) $.%
\vspace{0.07in}

\textbf{Theorem:} \ If $f$ is differentiable at $a$, then it is continuous
there.\vspace{0.07in}

Proof: Suppose that $f$ is differentiable at a number $a$. \ Then $f^{\prime
}\left( a\right) $ exists which means that $f\left( a\right) $ exists and
the limit $\lim\limits_{h\rightarrow 0}\dfrac{f\left( a+h\right) -f\left(
a\right) }{h}$ also exists and is finite. \ Let us start with the true
statement that $0=0\cdot f^{\prime }\left( a\right) $.%
\begin{eqnarray*}
0 &=&0\cdot f^{\prime }\left( a\right) \\
0 &=&\lim\limits_{h\rightarrow 0}h\cdot \lim\limits_{h\rightarrow 0}\dfrac{%
f\left( a+h\right) -f\left( a\right) }{h}\text{ \ \ \ \ \ \ \ \ \ \ \ by the
product rule of limits} \\
0 &=&\lim\limits_{h\rightarrow 0}\left( h\cdot \dfrac{f\left( a+h\right)
-f\left( a\right) }{h}\right) \text{ \ \ \ \ \ \ \ \ \ \ \ cancel out }h \\
0 &=&\lim\limits_{h\rightarrow 0}\left( f\left( a+h\right) -f\left( a\right)
\right) \text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ by the difference rule
of limits} \\
0 &=&\lim\limits_{h\rightarrow 0}f\left( a+h\right)
-\lim\limits_{h\rightarrow 0}f\left( a\right) \\
\lim\limits_{h\rightarrow 0}f\left( a\right) &=&\lim\limits_{h\rightarrow
0}f\left( a+h\right) \text{ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \ by the constant rule of limits} \\
f\left( a\right) &=&\lim\limits_{h\rightarrow 0}f\left( a+h\right)
\end{eqnarray*}%
and $f\left( a\right) =\lim\limits_{h\rightarrow 0}f\left( a+h\right) $
means that $f$ is continuous at $a$.\vspace{0.09in}

%TCIMACRO{\TeXButton{2 col begin}{\begin{multicols}{2}}}%
%BeginExpansion
\begin{multicols}{2}%
%EndExpansion
So, differentiability implies continuity. \ What about backwards? \ Are
continuous functions necessarily differentiable? \ The answer is no. \
Consider the function\vspace{0.09in}\vspace{0.09in} \newline
%TCIMACRO{\TeXButton{white}{\color{white}}}%
%BeginExpansion
\color{white}%
%EndExpansion
.%
%TCIMACRO{\TeXButton{black}{\color{black}} }%
%BeginExpansion
\color{black}
%EndExpansion
\ \ \ \ \ \ \ \ \ $f\left( x\right) =\left\vert x\right\vert =\left\{ 
\begin{array}{ccc}
x & \text{if} & x\geq 0 \\ 
-x & \text{if} & x<0%
\end{array}%
\right. $\FRAME{dtbpFX}{1.8524in}{1.3396in}{0pt}{}{}{Plot}{\special{language
"Scientific Word";type "MAPLEPLOT";width 1.8524in;height 1.3396in;depth
0pt;display "USEDEF";plot_snapshots TRUE;mustRecompute FALSE;lastEngine
"MuPAD";xmin "-5.01";xmax "5.01";xviewmin "-5.01";xviewmax "5.01";yviewmin
"-1";yviewmax "6";viewset"XY";rangeset"X";plottype 4;plotticks 1;num-x-ticks
11;num-y-ticks 7;constrained TRUE;numpoints 100;plotstyle "patch";axesstyle
"normal";xis \TEXUX{x};yis \TEXUX{y};var1name \TEXUX{$x$};var2name
\TEXUX{$y$};function \TEXUX{$\left\vert x\right\vert $};linecolor
"black";linestyle 1;pointstyle "point";linethickness 3;lineAttributes
"Solid";var1range "-5.01,5.01";num-x-gridlines 100;curveColor
"[flat::RGB:0000000000]";curveStyle "Line";valid_file "T";tempfilename
'OX9CF100.wmf';tempfile-properties "XPR";}}%
%TCIMACRO{\TeXButton{2 col end}{\end{multicols}}}%
%BeginExpansion
\end{multicols}%
%EndExpansion
\ Although this function is continuous at zero, it is not differentiable
there. \ Recall that the derivative is a two-sided limit. \ As $h$
approaches zero, it is negative when we compute the left-limit and positive
when we compute the right limit.%
\begin{eqnarray*}
\lim\limits_{h\rightarrow 0^{-}}\dfrac{f\left( 0+h\right) -f\left( 0\right) 
}{h} &=&\lim\limits_{h\rightarrow 0^{-}}\dfrac{f\left( h\right) -f\left(
0\right) }{h}=\lim\limits_{h\rightarrow 0^{-}}\dfrac{-h-0}{h}%
=\lim\limits_{h\rightarrow 0^{-}}-1=-1\text{ \ \ \ and} \\
\lim\limits_{h\rightarrow 0^{+}}\dfrac{f\left( 0+h\right) -f\left( 0\right) 
}{h} &=&\lim\limits_{h\rightarrow 0^{+}}\dfrac{f\left( h\right) -f\left(
0\right) }{h}=\lim\limits_{h\rightarrow 0^{+}}\dfrac{h-0}{h}%
=\lim\limits_{h\rightarrow 0^{+}}1=1
\end{eqnarray*}%
So the derivative, a two-sided limit, is not defined at $x=0$.\vspace{0.07in}%
%TCIMACRO{\TeXButton{2 col begin}{\begin{multicols}{2}}}%
%BeginExpansion
\begin{multicols}{2}%
%EndExpansion
\vspace{0.09in}\vspace{0.09in} \newline
%TCIMACRO{\TeXButton{white}{\color{white}}}%
%BeginExpansion
\color{white}%
%EndExpansion
.%
%TCIMACRO{\TeXButton{black}{\color{black}} }%
%BeginExpansion
\color{black}
%EndExpansion
\ \ \ \ \ \ $f^{\prime }\left( x\right) =\left\{ 
\begin{array}{ccc}
1 & \text{if} & x>0 \\ 
\text{undefined} & \text{if} & x=0 \\ 
-1 & \text{if} & x<0%
\end{array}%
\right. $

\FRAME{dtbpFX}{1.8524in}{1.3396in}{0pt}{}{}{Plot}{\special{language
"Scientific Word";type "MAPLEPLOT";width 1.8524in;height 1.3396in;depth
0pt;display "USEDEF";plot_snapshots TRUE;mustRecompute FALSE;lastEngine
"MuPAD";xmin "0.201";xmax "25";xviewmin "-5.01";xviewmax "5.01";yviewmin
"-3";yviewmax "3";viewset"XY";rangeset"X";plottype 4;plotticks 1;num-x-ticks
11;num-y-ticks 7;constrained TRUE;numpoints 100;plotstyle "patch";axesstyle
"normal";xis \TEXUX{x};yis \TEXUX{y};var1name \TEXUX{$x$};var2name
\TEXUX{$y$};function \TEXUX{$1$};linecolor "black";linestyle 1;pointstyle
"point";linethickness 3;lineAttributes "Solid";var1range
"0.201,25";num-x-gridlines 100;curveColor
"[flat::RGB:0000000000]";curveStyle "Line";rangeset"X";function
\TEXUX{$-1$};linecolor "black";linestyle 1;pointstyle "point";linethickness
3;lineAttributes "Solid";var1range "-20,-0.201";num-x-gridlines
100;curveColor "[flat::RGB:0000000000]";curveStyle
"Line";rangeset"X";function \TEXUX{$1+\sqrt{0.04-x^{2}}$};linecolor
"black";linestyle 1;pointstyle "point";linethickness 3;lineAttributes
"Solid";var1range "-0.2,0.2";num-x-gridlines 100;curveColor
"[flat::RGB:0000000000]";curveStyle "Line";rangeset"X";function
\TEXUX{$1-\sqrt{0.04-x^{2}}$};linecolor "black";linestyle 1;pointstyle
"point";linethickness 3;lineAttributes "Solid";var1range
"-0.2,0.2";num-x-gridlines 100;curveColor
"[flat::RGB:0000000000]";curveStyle "Line";rangeset"X";function
\TEXUX{$-1-\sqrt{0.04-x^{2}}$};linecolor "black";linestyle 1;pointstyle
"point";linethickness 3;lineAttributes "Solid";var1range
"-0.2,0.2";num-x-gridlines 100;curveColor
"[flat::RGB:0000000000]";curveStyle "Line";rangeset"X";function
\TEXUX{$-1+\sqrt{0.04-x^{2}}$};linecolor "black";linestyle 1;pointstyle
"point";linethickness 3;lineAttributes "Solid";var1range
"-0.2,0.2";num-x-gridlines 100;curveColor
"[flat::RGB:0000000000]";curveStyle "Line";rangeset"X";valid_file
"T";tempfilename 'OX9CKB01.wmf';tempfile-properties "XPR";}}%
%TCIMACRO{\TeXButton{2 col end}{\end{multicols}}}%
%BeginExpansion
\end{multicols}%
%EndExpansion

When the function $f$ is continuous but not differentiable because the
left-hand side derivative and the right-hand side derivative exist and are
finite but not equal, the graph has a spike there. \ For example, the graph
of $f\left( x\right) =\left\vert x\right\vert $ has a spike at $x=0$. \
Differentiable functions have graphs that are continuous and smooth. \ 

\end{document}
