Title: Second order tensor invariants in continuum mechanics using the lagrangian formulations