The following question says:
Let $$\phi(t) = \begin{cases} \dfrac{sin(t)}{t} & \text{if $t\neq 0 $} \\ 1 & \text{if $t=0$} \end{cases}$$
Show that $\phi$ is differentiable on $\mathbb R$.Let
$$f(x,y) = \begin{cases} \dfrac{cos\text{x}-cos\text{y}}{x-y} & \text{if $x\neq y $} \\ 0 & \text{ otherwise} \end{cases}$$
Express $f$ in terms of $\phi$ and show that $f$ is differentiable on $\mathbb R^2$.
I solved that $\phi$ is differentiable .
Now to express $f$ in terms of $\phi$ ,do we have to use formula for $cos\text{x}-cos\text{y}$ ....Also further does composition of differentiable functions is differentiable function?that we can use to show differentiability of $f$...
Please help....