- #1
skate_nerd
- 176
- 0
I have a system with one generalized coordinate, x. In the potential energy part of the lagrangian, I have some constants multiplied by the absolute value of x. That is the only x dependence the lagrangian has, so when I take the partial derivative of the lagrangian with respect to x (to get the euler lagrange differential equation), I get a derivative that is undefined at x=0. Is there anything that I am supposed to do about this? Or do I just leave the derivative (x/|x|) and go on with writing the diff. eq?
Also, let it be known that x is a function of t (x(t)).
I think this may change things but I'm not sure. Why would the partial x derivative of |x(t)| be any different then the direct x derivative of |x(t)|?
Also, let it be known that x is a function of t (x(t)).
I think this may change things but I'm not sure. Why would the partial x derivative of |x(t)| be any different then the direct x derivative of |x(t)|?
Last edited: