Gradient of an inverse vector function?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
CAF123
Gold Member
Messages
2,918
Reaction score
87

Homework Statement


Consider [tex]f(\vec{x}) = |\vec{x}|^r,[/tex] where [itex]\vec{x} \in ℝ^n[/itex] and [itex]r \in ℝ[/itex].
Find [itex]\vec{∇}f[/itex]

The Attempt at a Solution


I know a vector function maps real numbers to a set of vectors, but here I believe we have the opposite. (inverse of a vector function, assuming inverse exists?)
I am unsure of where to go next.
 
Physics news on Phys.org
Assuming the usual Euclidean norm on ℝ^n, the output is just a scalar. Computing the gradient, then, is a matter of taking partial derivatives. For example, the first component of the gradient is the partial of f with respect to x_1. If f= (sqrt(x_1^2 + ... + x_n^2))^r = (x_1^2 + ... + x_n^2) ^ (r/2) then the partial with respect to x_1 is r/2(x_1^2 + ... + x_n^2)^(r/2-1)*(2x_1). Continuing in this fashion gives the gradient.