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

Differentiation with vectors

  1. Apr 1, 2010 #1
    Hi there to all. I am stuck and i want some help to clear my view

    When you have defined the vector S=(S_x ,S_y ,S_z) and you have a function like
    E_h = k1 (S_x^2 S_y^2 + S_x^2 S_z^2 + S_y^2 S_z^2) + k2 S_z - k3 S_x S_y

    and you try to calculate -\frac{\partial E_h}{\partial S} what the result is?

    (the S is vector)

    My mind has been blocked.... help me please.
  2. jcsd
  3. Apr 1, 2010 #2


    User Avatar
    Gold Member

    You can't differentiate with respect to a vector. You need to differentiate with respect to the coordinates.
  4. Apr 1, 2010 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    I don't understand your notation. For example, what does S_x2 mean?

    Are you trying to describe a directional derivative?
  5. Apr 2, 2010 #4

    If you have S=(Sx,Sy,Sz) then S_x is the x component of S so S_x^2 is (S_x)^2 correctly .
    Last edited: Apr 2, 2010
  6. Apr 2, 2010 #5
    The landau-lifgarbagez equation is

    [tex] \frac{\partial S}{\partial t}= -\gamma S \times H_{eff} [/tex] where [tex] S [/tex] is the magnetization vector and [tex] H_{eff} [/tex] is the effective magnetic field. More often you meet the [tex] H_{eff} [/tex] to be

    [tex] H_{eff}= - \frac{\partial f }{\partial S} [/tex] where [tex] f [/tex] is a function like [tex] E_h [/tex]

    [tex] E_h = k_1 (S_x^2 S_y^2 + S_x^2 S_z^2 + S_y^2 S_z^2) + k_2 S_z - k_3 S_x S_y [/tex]

    and S is the magnetization vector.

    How do you write down the result of [tex] -\frac{\partial E_h}{\partial S} [/tex]?
    Last edited: Apr 2, 2010
  7. Apr 2, 2010 #6

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Sure you can. Welcome to the wonderful world of tensors.

    Try to learn the LaTeX system here; it looks like you already know it. Something like this:

    What you want to calculate are the components of the vector (actually, a Cartesian tensor) [tex]-\frac{\partial E_h}{\partial S_{\mu}}[/tex] where [tex]\mu[/tex] indices the vector elements.
  8. Apr 2, 2010 #7

    So is this the result correct [tex]-\frac{\partial E_h}{\partial S}= ( -\frac{\partial E_h}{\partial S_x}, -\frac{\partial E_h}{\partial S_y}, -\frac{\partial E_h}{\partial S_z} ) [/tex] ??
  9. Apr 2, 2010 #8

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Correct. So what is the result?

    BTW, this looks like homework. If it is, you should have posted this thread in the appropriate homework section. If not, ignore my remark.
  10. Apr 2, 2010 #9
    It is not homework. This is an example to clear some things in my mind. Thank you.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook