Equation for finding the gradient in spherical coordinates

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 · 2K views
KUphysstudent
Messages
40
Reaction score
1
<Mentor note: moved from a technical forum and therefore without template>So I´m trying to understand how to use the equation for finding the gradient in spherical coordinates, just going from cartesian to spherical seemed crazy. Now I´m at a point where I want to try out what I have read and I immediately run into problems, which clearly tells me I have no idea what I´m doing.

Problem I was trying to solve:
Given a scalarfield β = A/r where r = (x^2+y^2+z^2)^1/2 and A is a konstant, calculate the gradient in spherical coordinates.

∇β = ∂β/∂r ir + 1/r ∂β/∂θ iθ + 1/rsinθ ∂β/∂φ iφ

When I thought the solution was pretty simply and then I go to the back of my book to check the result and I´m not even close.
How on Earth does the result become negative? it is also negative in Cartesian coordinates which don´t understand either.
Well that is basically my frustration, how does this become negative?
 
Last edited by a moderator:
Physics news on Phys.org
KUphysstudent said:
Well that is basically my frustration, how does this become negative
If something becomes smaller, the derivative is negative !
From your ##\nabla\beta## in spherical coordinates, all that remains is the ##\partial \over \partial r## and the exponent of ##r## in ##\beta## is -1