# Classical mechanics

Ayo everybody, I'm doing a problem about theory of small oscilatons (see pic) and I got the following for potential energy:

$V= mg(\frac{l_{2}}{2} +\frac{l_{1}}{2} \theta^{2}_{1} + \frac{l_{2}}{4} \theta^{2}_{2})$ (after the aproximation $cos \theta$~ $1 - \frac{\theta^{2}}{2}$

Knowing that $V = \frac{1}{2} V_{jk} \theta_{jk}$ I need to write the matrix $V_{jk}$

Since the term $mg\frac{l_{2}}{2}$ is constant, can I remove it from the potential ?

And write the matrix like this:

$V_{jk} =mg \begin{pmatrix} l_{1} & 0 \\ 0 & \frac{l_{2}}{2} \\ \end{pmatrix}$

If not, how can I remove the constant term?

#### Attachments

• 4.9 KB Views: 329
Last edited: