# Euler-Lagrange Equation with logarithmic potential

A particle moving towards the origin has initial conditions $x(t=0) = 1$ and $\dot{x}(t=0)=0$.

If the Lagrangian is $$L:=\frac{m}{2}\dot{x}^2 -\frac{m}{2}\ln|x|$$

This should satisfy Euler Lagrange Equation $$\frac{d}{dt} (\frac{\partial L}{\partial \dot{x}}) = \frac{\partial L}{\partial x}$$

Prove the particle reaches the origin at $\Gamma(1/2) = \sqrt{\pi}$.

1) okay to begin I simply plug in and expand the D.E.

$$\frac{d}{dt}[(\frac{\partial \frac{m}{2} \dot{x}^2}{\partial \dot{x}}) - \frac{\partial\frac{m}{2}ln|x|}{\partial \dot{x}}] = \frac{\partial \frac{m}{2}\dot{x}^2}{\partial x} - \frac{\partial \frac{m}{2}ln|x|}{\partial x}$$

2) since $x(t)$ and $\dot{x}(t)$ are functions of time, the cross partials dissapear and I am left with:

$$\frac{d}{dt}(\frac{\partial \frac{m}{2} \dot{x}^2}{\partial \dot{x}}) = - \frac{\partial \frac{m}{2}ln|x|}{\partial x}$$

Which reduces to:

$$m \frac{d}{dt}(\dot{x}) = - \frac{m}{2x}$$

This is equivalent to: $$\ddot{x} = - \frac{1}{2x}$$

3) Now I will separate and Integrate (Keeping in mind the particle starts from Rest):

$$\dot{x} = \frac{dx}{dt} = -\frac{1}{2}ln|x|$$ $$t = -2 \int^{x}_{x_0} \frac{dx}{ln|x|}$$

All I really want to know is that Up until this point, Have I done everything correct? Because I feel like I haven't. I don't think I can even Integrate this because I put it into wolfram and I got a mess.