Cantilever magnetometry

Cantilever magnetometry is the use of a cantilever to measure the magnetic moment of magnetic particles. On the end of cantilever is attached a small piece of magnetic material, which interacts with external magnetic fields and exerts torque on the cantilever. These torques cause the cantilever to oscillate faster or slower, depending on the orientation of the particle's moment with respect to the external field, and the magnitude of the moment. The magnitude of the moment and magnetic anisotropy of the material can be deduced by measuring the cantilever's oscillation frequency versus external field. 
A useful, although limited analogy is that of a pendulum: on earth it oscillates with one frequency, while the same pendulum on, say, the moon, would oscillate with a slower frequency. This is because the mass on the end of the pendulum interacts with the external gravitational field, much as a magnetic moment interacts with an external magnetic field.
Cantilever equation of motion.
As the cantilever oscillates back and forth it arches into hyperbolic curves with the salient feature that a tangent to the end of the cantilever always intersects one point along the middle axis. From this we define the effective length of the cantilever, formula_1, to be the distance from this point to the end of the cantilever (see image to the right). The Lagrangian for this system is then given by
_{v^2}-\left(\underbrace{\frac{1}{2}k ( L_{e} \theta )^{2}}_{\begin{smallmatrix}\text{Restoring}\\ \text{Energy}\end{smallmatrix}}-\underbrace{\mu B \cos{(\theta-\beta)}}_{\begin{smallmatrix}\text{Zeeman}\\ \text{Energy}\end{smallmatrix}}+\underbrace{K_uV\sin^2{\beta}}_{\begin{smallmatrix}\text{Anisotropy}\\ \text{Energy}\end{smallmatrix}}\right)
where formula_2 is the effective cantilever mass, formula_3 is the volume of the particle, formula_4 is the cantilever-constant and formula_5 is the magnetic moment of the particle. To find the equation of motion we note that we have two variables, formula_6 and formula_7 so there are two corresponding Lagrangian equations which need to be solved as a system of equations, 
where we have defined formula_9.
We can plug Eq. 1 into our Lagrangian, which then becomes a function of formula_6 only. Then formula_11, and we have
formula_15
or
where formula_16. The solution to this differential equation is formula_17 where formula_18 and formula_19 are coefficients determined by the initial conditions. The motion of a simple pendulum is similarly described by this differential equation and solution in the small angle approximation.
We can use the binomial expansion to rewrite formula_20, 
which is the form as seen in literature, for example equation 2 in the paper "Magnetic Dissipation and Fluctuations in Individual Nanomagnets Measured
by Ultrasensitive Cantilever Magnetometry".