I need to take the derivative of the magnetic field from a magnetic dipole with respect to r for a project I'm working on:(adsbygoogle = window.adsbygoogle || []).push({});

B =[m[/0]/(4π) * (3rhat(μ dot rhat) - μ)/|r|^3

where rhat is the unit vector of the vector r (or r/|r|), |r| is the magnitude of the vector r, and μ is the magnetic moment of the dipole

I'm mainly confused about how to take the derivative of rhat with respect to r

Thanks for any suggestions anyone may have!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Derivative of Magnetic Field from a dipole

**Physics Forums | Science Articles, Homework Help, Discussion**