Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Simple derivative question

  1. Oct 22, 2005 #1
    So, the question is: find the gradient of f=ln(r), where r=sqrt(x^2+y^2+z^2)^(1/2).

    For the partial with respect to x, I use the chain rule: df/dr*dr/dx.


    Which would give df/dx = x/r.

    But the book gets x/r^2

    Where does the extra 1/r come from?
  2. jcsd
  3. Oct 22, 2005 #2
    This isn't right. Remember to use the chain rule here as well.
  4. Oct 22, 2005 #3
    hah. of course. thanks
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook