If I understand how to do the following problem, it will help with the real complicated problem I am actually doing. The problem I wish to understand is how to derive the equations of motion for a magnetic moment that is in a changing magnetic field . I know I can use the Lagrangian to quite easily obtain the equations of motion i.e. the motion of and of the magnetic moment (the reason why I do not want to use the Lagrangian is because the actual problem that I am doing has a piecewise torque function so when the and when integrating the torque to find a potential energy the equation becomes super nasty). Instead I wish to obtain the equations of motion using where is the moment of inertia tensor. In representing a the magnetic moment as a thin rod, the moment of inertia tensor becomes, where . The part that I am getting hung up on is the Euler's equation : where the terms are in the body frame. So my question is how to implement the torque when the direction is constantly changing i.e. the magnetic field is a function of time and can be pointing in any direction. If I could get help on this one little spot (since the textbooks seem to have nice torques that are perpendicular to an axis) that would be appreciated.
Rotational motion for a magnetic moment in a changing magnetic field
Josh


