Let $f:\mathbb{R}^n\to\mathbb{R}^n$ given by $f(x)=|x|^2x$. (a) Show that $f\in\mathcal{C}^{\infty}$ and carries the unity open ball to itself in an one-to-one fashion. (b) Calculate the Jacobian matrix of $f'(x)$. (c) Show that $f$ carries the ball centered at $e_1=(0,\dots,0)$ to an open set. (d) Show that the inverse of $f$ is not differentiable at $0 = (0,\dots, 0)$.
I'm starting by calculating the partial derivates to calculate the Jacobian and to show continually differentiability. Let $x = (a_1,\dots,a_n)$. Then (skiping lots of tedious calculations)
$$x+te_i=(a_1,\dots,a_i+t,\dots,a_n),$$ $$f(x+te_i) = (a_1^2+\dots+(a_i+t)^2+\dots+a_n^2)(a_1,\dots,a_i+t,\dots,a_n)$$ $$f(x+te_i)-f(x) = (a_1((a_i+t)^2-a_i^2),\dots,ta_i(2a_i+t)+t(a_1+\dots+(a_i+t)^2+\cdots+a_n),\dots,a_n((a_i+t)^2-a_i^2)$$ $$\frac{f(x+te_i)-f(x)}{t} = (a_1(2a_i+t),\dots,a_i(2a_i+t)+(a_1+\dots+(a_i+t)^2+\cdots+a_n),\dots,a_n(2a_i+t))\to (2a_ia_1,\dots,a_1^2+\cdots+3a_i^2+\cdots+a_n^2,\dots2a_ia_n).$$
Is this correct?
If so, we know that the partials of $f$ exist and are continuous, so $f\in\mathcal{C}^1$. But I don't know exatly how to compute the Jacobian of $f'$. And assuming $f\in\mathcal{C}^n$, I don't know how to prove that it is $\mathcal{C}^{n+1}$. Any help with these or any of the other items?