Let G be a group. A function l : G → [0, ∞) is called a length function if (1) l(g n ) = |n|l(g) for any g ∈ G and n ∈ Z;(2) l(hgh −1 ) = l(g) for any h, g ∈ G; and(3) l(ab) ≤ l(a) + l(b) for commuting elements a, b. Such length functions exist in many branches of mathematics, mainly as stable word lengths, stable norms, smooth measure-theoretic entropy, translation lengths on CAT(0) spaces and Gromov δ-hyperbolic spaces, stable norms of quasi-cocycles, rotation numbers of circle homeomorphisms, dynamical degrees of birational maps and so on. We study length functions on Lie groups, Gromov hyperbolic groups, arithmetic subgroups, matrix groups over rings and Cremona groups. As applications, we prove that every group homomorphism from an arithmetic subgroup of a simple algebraic Q-group of Q-rank at least 2, or a finite-index subgroup of the elementary group E n (R) (n ≥ 3) over an associative ring, or the Cremona group Bir(P 2 C ) to any group G having a purely positive length function must have its image finite. Here G can be outer automorphism group Out(F n ) of free groups, mapping classes group MCG(Σ g ), CAT(0) groups or Gromov hyperbolic groups, or the group Diff(Σ, ω) of diffeomorphisms of a hyperbolic closed surface preserving an area form ω.