Find the partial derivatives of $$h(x_1,\dots,x_n)=\int_{0}^{\|x\|} f(t) dt$$ where $\|x\|$ is the Euclidean norm of $x=(x_1,\dots,x_n)$ and $f$ is some continuous function.
I'm sorry but I'm really not too sure how to approach this. Any help would be great!
(This is not homework, I'm preparing for an exam.)
Note that if $$F(s) = \int^{b(s)}_{a(s)}f(t)dt,$$ then $$F'(s) = b'(s)f(b(s))-a'(s)f(a(s)).$$ In particular if $$b(s) = \|(x_1,\ldots,x_{i-1},s,x_{i+1},\ldots,x_n)\|_2 \quad \text{ and } \quad a(s)=0,$$ then $$b'(s) = \frac{s}{\|(x_1,\ldots,x_{i-1},s,x_{i+1},\ldots,x_n)\|_2} \quad \text{ and } \quad a'(s)=0,$$ It follows that $$\frac{\partial}{\partial x_i} h(x_1,\ldots,x_{i-1},s,x_{i+1},\ldots,x_n) = F'(s) = \frac{s f(\|(x_1,\ldots,x_{i-1},s,x_{i+1},\ldots,x_n)\|_2)}{\|(x_1,\ldots,x_{i-1},s,x_{i+1},\ldots,x_n)\|_2}.$$ which can be written $$\frac{\partial}{\partial x_i} h(x) = \frac{x_i}{\|x\|_2}f(\|x\|_2),$$ with $s=x_i$.