Newton's equation of motion $F=ma$ is modified when used from within non-inertial reference frame. I thought same is true for Lagrange's equation of motion also. But I got confused when I read in Landau's Mechanics book that when a system is observed from within non-inertial reference frame, its Lagrangian function changes (as compared to Lagrangian function of the same system in an inertial frame) but Lagrange's equation of motion remains valid.
Lagrangian function is a scalar quantity. And Scalar quantity does not change/modify if either measured from within inertial reference frame or non-inertial reference frame - e.g. temperature of an object.
Why does Lagrangian function change?
Why Lagrange's equation of motion remains valid in non-inertial reference frame?
Anybody there to clear my confusion?