This is in reference to the question: Deriving the Lagrangian for a free particle
My question is specifically in regards to QMechanic's answer to this question, and I have quoted the relevant part of this answer below:
In physics, it is often implicitly assumed that the Lagrangian L=L($\overrightarrow{q}$ ,$\overrightarrow{v}$ ,t) depends smoothly on the (generalized) positions $q_i$, velocities $v_i$, and time t, i.e. that the Lagrangian L is a differentiable function}
Why should we assume the Lagrangian be a differentiable function of positions and velocities?
For example, every potential of the form $1/r^n$ is non-differentiable at the origin, for $n>0$ and we do encounter such potentials all the time (for $n=1$, we recover the usual central force problem).
Can we not have any situations where the Lagrangian is not a differentiable function of the velocities?
This is relevant because later in the answer, they say:
This is differentiable wrt. the speed v=$|\overrightarrow{v}|$, but it is not differentiable wrt. the velocity $\overrightarrow{v}$ at $\overrightarrow{v}=\overrightarrow{0}$ if $\alpha \neq 0$. Therefore the second branch (6) is discarded.
That is, they are using the non-differentiability of a candidate Lagrangian with respect to velocities to rule it out.