1 Introduction

The study of quasimorphisms on a given group G is an important branch of geometric group theory [6] with quasimorphisms sharing deep relationships with the underlying structure of the group G. For free groups \(F_n\) the so called counting quasimorphisms originating from the work of Brooks in [4] yield a wide variety of examples. His ideas have been developed further by Calegari and Fujiwara who constructed unbounded quasimorphisms on non-elementary hyperbolic groups [5]. For diffeomorphism groups of surfaces many important constructions are given in [9]. There are also numerous applications in symplectic geometry originating from work of Entov and Polterovich [7]. Another fundamental paper on the geometry of quasimorphisms and central extensions is [1].

In this paper we construct unbounded Aut-invariant quasimorphisms on free products of groups. To achieve this we associate tuples of natural numbers we call codes to each element in a free product \(G = A *B\). Inspired by Brooks counting quasimorphisms on free groups we then count these codes rather than actual elements of the free product and verify that this indeed yields quasimorphisms on G. We call them code quasimorphisms. We make use of an explicit description of the automorphism group of a free product found in [8] to see in Proposition 4.11 that our code quasimorphisms are unbounded and invariant with respect to all automorphisms of G if A and B are not infinite cyclic.

If one of the factors of \(G=A *B\) is infinite cyclic, our code quasimorphism are not necessarily invariant under a specific class of automorphisms of G which is called the class of transvections. So, we slightly adjust the way we count codes for infinite cyclic factors and call the resulting maps weighted code quasimorphisms. We show in Proposition 5.7 that these are unbounded and invariant with respect to all automorphisms of G.

These two propositions together with an independent result for the free group on two generators from [3, Theorem 2] comprise the following result in Sect. 6 which is the main result of the paper.

Theorem 1

Let \(G= A *B\) be the free product of two non-trivial freely indecomposable groups A and B. Assume G is not the infinite dihedral group. Then G admits infinitely many linearly independent homogeneous Aut-invariant quasimorphisms, all of which vanish on single letters.

The infinite dihedral group does not admit any unbounded quasimorphism since all its elements are conjugate to their inverses. As a corollary of our construction we immediately deduce the existence of stably unbounded Aut-invariant norms on free products of two factors.

Corollary 1.1

Let \(G= A *B\) be the free product of two non-trivial freely indecomposable groups and assume G is not the infinite dihedral group. Then there exists a stably unbounded Aut-invariant norm on G.

We denote the Aut-invariant stable commutator length, which was recently introduced by Kawasaki and Kimura in [12], by \({{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}}\). As an application of our construction we prove the following result in Sect. 7.

Theorem 2

Let \(G=A *B\) be a free product of freely indecomposable groups and assume that G is not the infinite dihedral group. Then there always exist elements \(g \in G\) with positive Aut-invariant stable commutator length \({{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}}(g) > 0 \).

2 Preliminaries

Definition 2.1

For any group G we denote by \({{\,\mathrm{Aut}\,}}(G)\) the group of all automorphisms of G. Moreover, we denote the normal subgroup of inner automorphisms by \({{\,\mathrm{Inn}\,}}(G)\) and define the group of outer automorphisms of G to be the quotient \({{\,\mathrm{Out}\,}}(G)={{\,\mathrm{Aut}\,}}(G)/{{\,\mathrm{Inn}\,}}(G)\).

Definition 2.2

Let G be a group. A map \(\psi :G \rightarrow {\mathbb {R}}\) is called a quasimorphism if there exists a constant \(D \ge 0\) such that

$$\begin{aligned} |\psi (g)+\psi (h)-\psi (gh)| \le D \quad \text {for all} g,h \in G. \end{aligned}$$

The smallest number \(D(\psi )\) with the above property is called the defect of \(\psi \). We call a quasimorphism homogeneous if it satisfies \(\psi (g^n)=n \psi (g)\) for all \(g \in G\) and all \(n \in {\mathbb {Z}}\). If \(\psi (\varphi (g))=\psi (g)\) for all \(g \in G\), \(\varphi \in {{\,\mathrm{Aut}\,}}(G)\), then \(\psi \) is called Aut-invariant.

Definition 2.3

Let \(\psi :G \rightarrow {\mathbb {R}}\) be a quasimorphism. Then the homogenisation \({\bar{\psi }} :G \rightarrow {\mathbb {R}}\) of \(\psi \) is defined by \({\bar{\psi }}(g)= \lim _{n \in {\mathbb {N}}} \frac{\psi (g^n)}{n}\) for all \(g \in G\).

Lemma 2.4

( [6, p.18]) The homogenisation \({\bar{\psi }}\) of a quasimorphism \(\psi :G \rightarrow {\mathbb {R}}\) is a homogeneous quasimorphism. Moreover, it satisfies \(|{\bar{\psi }}(g)- \psi (g)| \le D(\psi )\) for any \(g \in G\).

Definition 2.5

A function \(\nu :G \rightarrow {\mathbb {R}}\) satisfying for all \(g, h \in G\):

  • \(\nu (g) \ge 0\),

  • \(\nu (g)=0\) if and only if \(g=1\),

  • \(\nu (gh) \le \nu (g)+ \nu (h)\),

is called a norm on G. If in addition for all \(g \in G\) and \(\varphi \in {{\,\mathrm{Aut}\,}}(G)\) it satisfies

  • \(\nu (\varphi (g))= \nu (g)\),

then it is called Aut-invariant. The supremum \(\nu (G)= \sup \{\nu (g) \mid g \in G \}\) is called the diameter of the norm \(\nu \). If \(\nu (G)= \infty \), then \(\nu \) is called unbounded. If there exists \(g \in G\) such that \(\lim _{n \rightarrow \infty } \frac{\nu (g^n)}{n} > 0\), then \(\nu \) is called stably unbounded.

Example 2.6

Let G be a group together with a generating set S. The word norm generated by S is the norm on G defined by

$$\begin{aligned} \nu _S(g)= \min \{ n \mid g= s_1 \ldots s_n \text {where} n \in {\mathbb {N}} \text {and} s_i \in S \text {for all} i \}. \end{aligned}$$

If we assume additionally that the set S is invariant under \({{\,\mathrm{Aut}\,}}(G)\) then \(\nu _S\) is Aut-invariant.

Lemma 2.7

Let \(\psi :G \rightarrow R\) be an Aut-invariant quasimorphism with unbounded image, but bounded on a generating set S of G. Then there exists a stably unbounded Aut-invariant norm on G.

Proof

By Lemma 2.4 we can assume that \(\psi \) is homogeneous. The word norm \(\Vert .\Vert _{{\bar{S}}}\) on G associated to the generating set \({\bar{S}}=\{\varphi (s) \mid s \in S, \varphi \in {{\,\mathrm{Aut}\,}}(G) \}\) is clearly Aut-invariant. Let K be a positive bound for the absolute value of \(\psi \) on S. Write \(g \in G\) as a product \(g=\varphi _1(s_1) \ldots \varphi _n(s_n)\) for some \(n \in {\mathbb {N}}\) where \(s_i \in S\) and \(\varphi _i \in {{\,\mathrm{Aut}\,}}(G)\) for all i. The calculation

$$\begin{aligned}&| \psi (g)| = | \psi (\varphi _1(s_1) \ldots \varphi _n(s_n)) | \le |\psi (\varphi _1(s_1))|+ \dots + |\psi (\varphi _n(s_n))|+(n-1)D(\psi )\\&\quad \le n(K + D(\psi )) \end{aligned}$$

shows that \(\Vert g\Vert _{{\bar{S}}} \ge \frac{|\psi (g)|}{K+D(\psi )}\) for all \(g \in G\). It follows that \(\Vert g^k\Vert _{{\bar{S}}} \ge k \cdot \frac{|\psi (g)|}{K+D(\psi )}\) for all \(k \in {\mathbb {N}}\), \(g \in G\). Since \(\psi \) does not vanish everywhere, \(\Vert .\Vert _{{\bar{S}}}\) is a stably unbounded Aut-invariant norm on G. \(\square \)

The following examples illustrate that the converse of Lemma 2.7 above is not true and finding unbounded Aut-invariant quasi-morphisms is much more difficult than finding unbounded Aut-invariant norms.

Example 2.8

Let \(\Sigma _\infty \) be the infinite symmetric group of finitely supported bijections of the natural numbers. The cardinality of the support defines an Aut-invariant norm of infinite diameter on \(\Sigma _\infty \). However, any element \(g \in \Sigma _\infty \) has finite order. Therefore, no Aut-invariant norm on \(\Sigma _\infty \) is stably unbounded and any homogeneous quasi-morphism vanishes on all of \(\Sigma _\infty \). Consequently, by Lemma 2.4 any quasimorphism on \(\Sigma _\infty \) is bounded.

Example 2.9

Let \(G= {\mathbb {Z}}^k\) for \(k \ge 1\). Since every \(g \in G\) lies in the same \({{\,\mathrm{Aut}\,}}(G)\)-orbit as \(g^{-1}\), it follows that any homogeneous Aut-invariant quasimorphism vanishes on all of G. So any Aut-invariant quasimorphism is bounded on G. For \(k=1\) the standard absolute value defines a stably unbounded Aut-invariant norm on G, whereas for \(k \ge 2\) any Aut-invariant norm on G has finite diameter.

Example 2.10

Let G be the fundamental group of the Klein bottle \(G= {\mathbb {Z}}*_{2{\mathbb {Z}}} {\mathbb {Z}}\). Let a and b be generators of the two infinite cyclic factors of G in its above presentation. Consider the Aut-invariant word norm \(\nu _S\) generated by \(S= \{ \varphi (a^{\pm 1}), \varphi (b^{\pm 1}) \mid \varphi \in {{\,\mathrm{Aut}\,}}(G) \}\). To see that this norm is unbounded on G we first note that commutator subgroup of G is a characteristic subgroup and \(G/[G,G]= {\mathbb {Z}}/2 \times {\mathbb {Z}}\), where \({\mathbb {Z}}/2\) is a characteristic subgroup again. Consequently, the projection map \(p :G \rightarrow {\mathbb {Z}}\) sending \(p(a)=p(b)=1\) maps the set S to the Aut-invariant set \(\{\pm 1\}\) in \({\mathbb {Z}}\), which generates a stably unbounded Aut-invariant norm on \({\mathbb {Z}}\). Therefore, the word norm \(\nu _S\) generated by S on G is stably unbounded as well.

However, there is no unbounded Aut-invariant quasimorphism on G. If \(\psi \) was such a quasimorphism, it could be chosen to be homogeneous by Lemma 2.4. Let \(\varphi \) be the automorphism inverting the generators a and b. Then \(\varphi \) inverts the center \(Z(G)=2 {\mathbb {Z}}\) as well. Hence, \(\psi \) vanishes on Z(G). Similarly, every element of \(S=\{(ab)^n, (ba)^n, (ab)^n a , (ba)^n b | n \in {\mathbb {N}}\}\) belongs to the same Aut-orbit that its inverse belongs to. So \(\psi \) vanishes on S as well. However, every element \(g \in G\) can be written as a product \(=zs\) where \(z \in Z(G)\) and \(s \in S\). Therefore, \(\psi \) is bounded on all of G.

Definition 2.11

Let \(G= *_{i \in I} G_i\) be a free product of a family of groups \(\{G_i\}_{i \in I}\) for some indexing set I. For each i the factor \(G_i\) is a subgroup of G via the canonical inclusion. An element of G that belongs to one of the factors is called a letter of G. Any product of letters is called a word in G. The product of any two letters belonging to the same factor in G can be replaced by the letter that represents their product in that factor. Moreover, any identity letters appearing in a word can be omitted without changing the element the word represents in G. Recall that any element \(g \in G\) has a unique presentation as a word, where no two consecutive letters lie in the same factor and no identity letters appear. Such a word is called reduced.

Lemma 2.12

Let I be a set of cardinality at least two. Let \(G_i\) be a non-trivial group for all i and \(G=*_{i \in I} G_i\) be their free product. Let \(\theta :G \rightarrow {\mathbb {R}}\) be a map whose absolute value is bounded on all letters of G by a constant \(B \ge 0\). Assume that there exists a constant \(D \ge 0\) such that

$$\begin{aligned} | \theta (w_1 w_2 ) - \theta (w_1) - \theta (w_2) | \le D \end{aligned}$$

holds for all reduced words \(w_1, w_2\) for which their product \(w_1 w_2\) is a reduced word. Then the map \(f :G \rightarrow {\mathbb {R}}\) defined by \(f(w)= \theta (w) - \theta (w^{-1})\) defines a quasimorphism of defect at most \(12D+6B\), which is bounded on all letters by 2B.

Proof

Any element in G can be represented by a reduced word. So let \(w_1\), \(w_2\) be reduced words. The word given by their product \(w_1 w_2\) is reduced if and only if the last letter from \(w_1\) belongs to a factor different from the one that the first letter of \(w_2\) belongs to. Indeed, otherwise those two letters could be multiplied in their common factor and replaced by their product to shorten the number of letters appearing in the expression.

In order to bring \(w_1 \cdot w_2\) to its reduced form we first perform all cancellations which form a word we call c. After all cancellations have taken place the final potential reduction is to possibly replace a non-trivial product of two letters b and d belonging to the same factor by a non-trivial letter x representing their product in that factor. Therefore, we have two cases.

  • The reduced presentations of \(w_1\) and \(w_2\) are given by \(w_1= ac\), \(w_2=c^{-1}e\) and ae is the reduced presentation for \(w_1 \cdot w_2\).

  • The reduced presentations of \(w_1\) and \(w_2\) are given by \(w_1= abc\), \(w_2 = c^{-1} de\), where b and d are letters belonging to the same factor. The reduced presentation of \(w_1 \cdot w_2\) is given by axe, where \(x=bd\) is the letter representing the non-trivial product of b and d.

We calculate for the second case that

$$\begin{aligned} |f(w_1 w_2) - f(w_1)&-f(w_2)| = |f(axe) - f(abc) -f(c^{-1} de)| \\ =&\left| \theta (axe) - \theta (e^{-1} x^{-1} a^{-1}) - \theta (abc) + \theta (c^{-1} b^{-1} a^{-1}) - \theta (c^{-1} de) \right. \\&\quad \left. + \theta (e^{-1} d^{-1} c) \right| \\ \le&| \theta (a) + \theta (x) + \theta (e) - \theta (e^{-1}) - \theta (x^{-1}) - \theta (a^{-1}) - \theta (a) - \theta (b)- \theta (c) + \theta (c^{-1})\\&+ \theta (b^{-1}) + \theta (a^{-1}) - \theta (c^{-1}) - \theta (d) - \theta (e) + \theta (e^{-1}) + \theta (d^{-1})\\&\quad + \theta (c)| + 12D\\ =&| \theta (x) - \theta (x^{-1}) - \theta (b) + \theta (b^{-1}) - \theta (d) + \theta (d^{-1})| + 12D \\ \le&6B + 12D. \end{aligned}$$

The first case follows analogously. Since \(w_1\), \(w_2\) were arbitrary reduced words and every element of G can be written in its reduced form, f is a quasimorphism of defect at most \(6B+ 12D\). Since \(\theta \) is bounded on all letters by B, so is f by 2B. \(\square \)

3 Aut-invariant quasimorphisms

Definition 3.1

We call a group G freely indecomposable if G is non-trivial and not isomorphic to any free product of the form \(G_1 *G_2\) where \(G_1\), \(G_2\) are non-trivial groups.

Any free product of non-trivial groups has trivial center and contains elements of infinite order. So every abelian group and every finite group is freely indecomposable.

Lemma 3.2

Let \(\psi :G \rightarrow {\mathbb {R}}\) be a quasimorphism. Let \(\{\varphi _i \}_{i \in I}\) be a set of representatives for the elements of \({{\,\mathrm{Out}\,}}(G)\). If \(\psi \) is invariant under \(\varphi _i\) for all i, then its homogenisation \({\bar{\psi }} :G \rightarrow {\mathbb {R}}\) is invariant under all automorphisms of G.

Proof

The homogenisation \({\bar{\psi }}\) is constant on conjugacy classes [6, p.19]. By definition \({\bar{\psi }}\) is invariant under the collection \(\{ \varphi _i \}_{i \in I}\), since \(\psi \) is. The result follows since any element \(\varphi \in {{\,\mathrm{Aut}\,}}(G)\) can be written as the composition of some \(\varphi _j\) with a conjugation. \(\square \)

Consider the free product \(G= G_1 *G_2\) where \(G_i\) is freely indecomposable for \(i=1,2\). Following the exposition in [8, p.116] based on results in [10] and [11] the automorphism group \({{\,\mathrm{Aut}\,}}(G_1 *G_2)\) is generated by the following types of automorphisms (1–3) if neither \(G_1\) nor \(G_2\) is infinite cyclic:

  1. 1.

    Elements from \({{\,\mathrm{Aut}\,}}(G_1)\) and \({{\,\mathrm{Aut}\,}}(G_2)\) give rise to automorphisms of \(G_1 *G_2\). These are called factor automorphisms.

  2. 2.

    Let \(g \in G_i\) for some \(i \in \{ 1,2 \}\). Define the map \(p_g :G \rightarrow G\) to be conjugation by g on the letters of \(G_j\) for \(j \ne i\) and to be the identity on all letters from the group \(G_i\). This definition gives rise to an automorphism of G which is called a partial conjugation.

  3. 3.

    If \(G_1 \cong G_2\) are isomorphic, interchanging the two factors is an automorphism of G. Such an automorphism is called a swap automorphism.

If \(G_1 \cong {\mathbb {Z}}\) is infinite cyclic and the freely indecomposable group \(G_2\) is not, then \({{\,\mathrm{Aut}\,}}(G_1 *G_2)\) is generated by the above automorphisms together with the following additional type of automorphisms:

  1. 4.

    Let s be a generator of \(G_1\) and let \(a \in G_2\) be any element. Then a transvection is the unique automorphism of \(G_1 *G_2\) defined to be the identity on all letters from \(G_2\) and maps \(s \rightarrow as\) or \(s \rightarrow sa\).

Following the above description of the group of automorphisms of a free product of two factors we obtain:

Lemma 3.3

Let \(G_1\), \(G_2\) be freely indecomposable groups such that \(G_2\) is not infinite cyclic. Then the outer automorphism group of their free product \({{\,\mathrm{Out}\,}}(G_1 *G_2)\) is generated by the images of \({{\,\mathrm{Aut}\,}}(G_1)\), \({{\,\mathrm{Aut}\,}}(G_2)\) in \({{\,\mathrm{Out}\,}}(G_1 *G_2)\) together with a swap automorphism if \(G_1 \cong G_2\) and the transvections if \(G_1 \cong {\mathbb {Z}}\).

Proof

By the universal property of the free product of two groups any automorphism is uniquely determined by its image on single letters. Let \(h \in G_1\) and denote conjugation by \(h^{-1}\) on all of G by \(c_h\). Then

$$\begin{aligned} (c_h \circ p_h)(g) = {\left\{ \begin{array}{ll} h^{-1} g h &{} \text {if } g \in G_1, \\ g &{} \text {if } g \in G_2. \end{array}\right. } \end{aligned}$$

Thus, \(p_h\) and the factor automorphism given by conjugation by \(h^{-1}\) on \(G_1\) represent the same element in \({{\,\mathrm{Out}\,}}(G)\). Similarly, in \({{\,\mathrm{Out}\,}}(G)\) partial conjugations on \(G_1\) by elements from \(G_2\) represent the same elements that factor automorphisms from \(G_2\) do. Finally, any two choices of swap automorphism differ by a product of factor automorphisms. \(\square \)

Lemma 3.4

Let G be a group and \(H \le G\) be a characteristic subgroup with quotient projection \(p :G \rightarrow G/H\). Then for any unbounded Aut-invariant quasimorphism \(\psi :G/H \rightarrow {\mathbb {R}}\) the composition \(\psi \circ p :G \rightarrow {\mathbb {R}}\) is an unbounded Aut-invariant quasimorphism on G. Moreover, linearly independent quasimorphisms on G/H give rise to linearly independent quasimorphisms on G.

Proof

Clearly, \(\psi \circ p\) is a quasimorphism. The Aut-invariance of \(\psi \circ p\) on G follows from the Aut-invariance of \(\psi \) on G/H together with the fact that H is characteristic. Finally, the statement about linear independence follows from the surjectivity of the projection to the quotient. \(\square \)

4 Code quasimorphisms

Recall that a tuple always refers to a finite sequence and so all tuples are naturally ordered.

Definition 4.1

Let A and B be groups. Write a given element \( g \in A *B\) in its reduced form. We assign two tuples of non-zero natural number that we will call codes as follows. Let \(( a_1, \dots , a_k)\) be the tuple of letters from A appearing in the reduced form of g. We call \(( a_1, \dots , a_k)\) the A-tuple of g. Then we count how often any one letter of \(( a_1, \dots , a_k)\) appears consecutively. This yields a tuple of positive numbers \({{\,\mathrm{A-code}\,}}(g)=(n_1, n_2, \dots , n_r)\) which we call the A-code of g. Similarly, we obtain the B-tuple, which is the tuple of letters from B appearing in the reduced form of g, and the B-code of g, denoted \({{\,\mathrm{B-code}\,}}(g)\), by counting consecutive appearances of letters in the B-tuple.

Note that \({{\,\mathrm{A-code}\,}}(g)\) and \({{\,\mathrm{B-code}\,}}(g)\) might have very different length for elements \(g \in A *B\) in general.

Example 4.2

Let \(G=A *B\) where \(A= {\mathbb {Z}}/5\) and B is any group. Let \(a \in A, b \in B\) be non-trivial elements. Consider \(g=a^2bababa^4baba\). The A-tuple of g is \((a^2,a,a,a^4,a,a)\) and therefore \({{\,\mathrm{A-code}\,}}(g)=(1, 2, 1, 2)\). However, the B-tuple of g is (bbbbb) and so \({{\,\mathrm{B-code}\,}}(g)=(5)\).

Remark 4.3

The code of any element \(g \in A *B\) is clearly invariant under all factor automorphisms.

The following lemma is immediate.

Lemma 4.4

The \({{\,\mathrm{A-code}\,}}\) and \({{\,\mathrm{B-code}\,}}\) of \(g^{-1}\) are the reversed A- and \({{\,\mathrm{B-code}\,}}\) of g for any \(g \in A *B\). That is, let \({{\,\mathrm{A-code}\,}}(g)=(n_1, \dots , n_k)\) and \({{\,\mathrm{B-code}\,}}(g)=(m_1, \dots , m_\ell )\), then \({{\,\mathrm{A-code}\,}}(g^{-1})=(n_k, \dots , n_1)\) and \({{\,\mathrm{B-code}\,}}(g^{-1})=(m_\ell , \dots , m_1)\). \(\square \)

In the spirit of Brooks counting quasimorphisms we will now define code quasimorphisms, which are counting the occurrences of a string of natural numbers in the \({{\,\mathrm{A-code}\,}}\) and \({{\,\mathrm{B-code}\,}}\) associated to an element in the free product \(A *B\).

Definition 4.5

(Code quasimorphisms) Let \(k \ge 1\) and let \(z=(n_1, \ldots ,n_k)\) be a tuple of non-zero natural numbers \(n_1, \ldots ,n_k\) for some \(k \in {\mathbb {N}}\). Let \(C \in \{ A, B \}\). Define \(\theta ^C_z :A *B \rightarrow {\mathbb {Z}}_{\ge 0}\) to count the maximal number of disjoint appearances of z as a tuple of consecutive numbers in the \({{\,\mathrm{C-code}\,}}\) for all \(g \in A *B\). Further, define the code quasimorphism

$$\begin{aligned} f^C_z :A *B \rightarrow {\mathbb {Z}} \text {by} f^C_z(g)= \theta ^C_{z}(g) - \theta ^C_{z}(g^{-1}) \end{aligned}$$

for all \(g \in A *B\). Note that \(\theta ^C_{z}(g^{-1})= \theta ^C_{{\bar{z}}}(g)\) due to Lemma 4.4, where \({\bar{z}}\) denotes the reversed tuple \((n_k, \dots , n_1)\). Consequently, \(f^C_z(g)\) can also be written as \(f^C_z(g)= \theta ^C_{z}(g) - \theta ^C_{{\bar{z}}}(g)\) for all \(g \in G\).

Example 4.6

Let \(G={\mathbb {Z}}/5 *B\) and \(g=a^2bababa^4baba\) for non-trivial \(a \in A, b \in B\) as in Example 4.2. For \(z=(1,2)\) we calculate \(\theta ^A_z(g)=2\) and \(\theta ^A_{z}(g^{-1})= \theta ^A_{{\bar{z}}}(g)=1\) and so \(f^A_z(g)=2-1=1\).

Example 4.7

Let \(G={\mathbb {Z}}/5 *B\) and \(g=a^4bababa^3bababa^3\) for non-trivial \(a \in A, b \in B\). In this case \({{\,\mathrm{A-code}\,}}(g)=(1,2,1,2,1)\). Then \(\theta ^A_z(g)=1\) for \(z=(1,2,1)\) since we only count disjoint occurrences. Similarly, \(\theta ^A_{z}(g^{-1})= \theta ^A_{{\bar{z}}}(g)=1\) and so \(f^A_z(g)=0\).

Lemma 4.8

Let A, B be non-trivial groups and let \(C \in \{A, B \}\). For a non-empty tuple of non-zero natural numbers z the map \(f^C_z :A *B \rightarrow {\mathbb {Z}}\) defines a quasimorphism that is bounded on letters and invariant with respect to all factor automorphisms. Moreover, \(D(f^C_z) \le 30\).

Proof

We want to apply Lemma 2.12 to deduce that \(f^C_z\) is a quasimorphism. Clearly, \(|\theta ^C_z(x)| \le 1 \) for all letters \(x \in A *B\) and all z. Let \(w_1, w_2\) be reduced words representing elements in \(A *B\) such that their product \(w_1 w_2\) is reduced. That is, the last letter of \(w_1\) and the first letter of \(w_2\) belong to different factors. Without loss of generality we can assume \(C=A\). Let \({{\,\mathrm{A-code}\,}}(w_1)=(n_1, \ldots , n_k)\) and \({{\,\mathrm{A-code}\,}}(w_2)=(m_1, \ldots , m_\ell )\). Let x be the last letter from A in \(w_1\) and let y be the first letter from A in \(w_2\). Then

$$\begin{aligned} {{\,\mathrm{A-code}\,}}(w_1 w_2) = {\left\{ \begin{array}{ll} (n_1, \ldots , n_k, m_1 , \ldots , m_\ell ) &{} \text {if} x \ne y, \\ (n_1, \ldots n_{k-1}, n_k+m_1, m_2, \ldots , m_\ell ) &{} \text {if} x=y. \end{array}\right. } \end{aligned}$$

If \(x \ne y\), then \(\theta ^C_z(w_1 w_2 ) \in \{ \theta ^C_z(w_1) + \theta ^C_z(w_2), \theta ^C_z(w_1) + \theta ^C_z(w_2)+1 \}\) since at most one of the disjoint occurrences of z can involve numbers that do not lie completely in the \({{\,\mathrm{A-code}\,}}\) of either \(w_1\) or \(w_2\).

If \(x=y\), then \(\theta ^C_z(w_1 w_2 ) \ge \theta ^C_z(w_1) + \theta ^C_z(w_2) - 2\) since \(n_k\) and \(m_1\) can each be contained in at most one occurrences of z in the \({{\,\mathrm{A-code}\,}}\) of \(w_1\) and \(w_2\). Moreover, if an occurrence of z in the \({{\,\mathrm{A-code}\,}}\) of \(w_1 w_2\) involves \(n_k + m_1\), then all other occurrences are fully contained in either the \({{\,\mathrm{A-code}\,}}\) of \(w_1\) or \(w_2\). Thus, \(\theta ^C_z(w_1 w_2 ) \le \theta ^C_z(w_1) + \theta ^C_z(w_2) +1 \).

In both cases we conclude

$$\begin{aligned} | \theta ^C_z(w_1 w_2 ) - \theta ^C_z(w_1) - \theta ^C_z(w_2)| \le 2, \end{aligned}$$

and it follows from Lemma 2.12 that \(f^C_z\) is a quasimorphism of defect \(D(f^C_z) \le 30\).

Moreover, by Remark 4.3 the maps \(\theta ^C_z\) are invariant under all factor automorphisms of \(A *B\). Consequently, \(f^C_z= \theta ^C_{z} - \theta ^C_{{\bar{z}}}\) is invariant under factor automorphisms as well. \(\square \)

Definition 4.9

A tuple of non-zero natural numbers \(z=(n_1, \ldots , n_k)\) is called generic if \({\bar{z}}\) does not appear as a tuple of k adjacent numbers in \(z^2=(n_1, \ldots , n_k, n_1, \ldots n_k)\).

Example 4.10

Let \(z=(n_1, \ldots , n_k)\). If \(k \le 2\), z is not generic. If \(k \ge 3\) and the \(n_i\) are pairwise distinct, then z is generic. E.g. for \(z=(1,2,3)\) we have \({\bar{z}}=(3,2,1)\) does not appear in \(z^2=(1,2,3,1,2,3)\).

Proposition 4.11

Let \(A *B\) be a free product of two freely indecomposable groups A and B, neither of which is infinite cyclic. Then for any generic tuple of natural numbers z the following holds:

  1. 1.

    if \(A \ncong B\) and \(C \in \{A,B \}\) is such that \(C \ncong {\mathbb {Z}}/2\), then the homogenisation \({\bar{f}}^C_z\) of the quasimorphism \(f^C_z\) is an unbounded Aut-invariant quasimorphism on \(A *B\);

  2. 2.

    if \(A \cong B \ncong {\mathbb {Z}}/2\), then the sum \({\bar{f}}^A_z + {\bar{f}}^B_z\) is an unbounded Aut-invariant quasimorphism on \(A *B\).

In both cases the space of homogeneous Aut-invariant quasimorphisms on \(A *B\) that vanish on letters has infinite dimension.

Proof

First, consider the case \(A \ncong B\). Since \(A *B\) is not the infinite dihedral group, at least one of the factors is not isomorphic to \({\mathbb {Z}}/2\). Without loss of generality we assume \(A \ncong {\mathbb {Z}}/2\). Let z be generic. By Lemma 4.8 the map \(f^A_z\) defines a quasimorphism invariant under all factor automorphisms. According to Lemma 3.3 this means that \(f^A_z\) is invariant under a full set of representatives for \({{\,\mathrm{Out}\,}}(A *B)\). Therefore, the homogenisation \({\bar{f}}^A_z\) is invariant under all automorphisms of \(A *B\) by Lemma 3.2. It remains to check that \({\bar{f}}^A_z\) is unbounded, which is equivalent to checking that \(f^A_z\) itself is unbounded by Lemma 2.4.

Since \(A \ncong {\mathbb {Z}}/2\), it satisfies \(|A| \ge 3\) and we can choose two distinct non-trivial elements \(a_1,a_2 \in A\). Furthermore, choose a non-trivial element \(b \in B\). Let \(z = (n_1, \dots , n_k)\) and choose \(m \in {\mathbb {N}}\) to be non-zero and distinct from all \(n_i \in {\mathbb {N}}\). We set

$$\begin{aligned} w_0=(a_1b)^{n_1} (a_2b)^{n_2} (a_1 b)^{n_3} (a_2b)^{n_4} \ldots (a_sb)^{n_k}, \end{aligned}$$

where \(s=1\) if k is odd and \(s=2\) if k is even. Set

$$\begin{aligned} w= {\left\{ \begin{array}{ll} w_0 &{} \text {if } k \text { is even},\\ w_0 (a_2b)^m &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

The \({{\,\mathrm{A-code}\,}}\) of w is given by

$$\begin{aligned} {{\,\mathrm{A-code}\,}}(w)= {\left\{ \begin{array}{ll} (n_1, \ldots , n_k)=z &{} \text {if } k \text { is even},\\ (n_1, \ldots , n_k, m ) = (z,m) &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

Since w starts and ends with letters from different groups, the reduced expression of \(w^\ell \) is the \(\ell \)-fold product of the word w for all \(\ell \in {\mathbb {N}}\). Moreover, because the first letter from A in w is \(a_1\) and the last letter from A is \(a_2\), the \({{\,\mathrm{A-code}\,}}\) of \(w^\ell \) is

$$\begin{aligned} {{\,\mathrm{A-code}\,}}(w^\ell )= {\left\{ \begin{array}{ll} (z, z, \ldots , z) &{} \text {if } k \text { is even},\\ (z, m, z, m, \ldots , z, m) &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

Since m is distinct from all \(n_i\), m can never appear in any occurrence of z or \({\bar{z}}\) in the \({{\,\mathrm{A-code}\,}}\) of \(w^\ell \). So \(\theta ^A_z(w^\ell )= \ell \), whereas \(\theta ^A_{{\bar{z}}}(w^\ell )=0\) since z is generic. Consequently,

$$\begin{aligned} f^A_z(w^\ell )=\theta ^A_z(w^\ell ) - \theta ^A_{{\bar{z}}}(w^\ell )=\ell , \end{aligned}$$

which shows that \(f^A_z\) is unbounded.

Second, consider the case \(A \cong B\) and fix a choice of isomorphism. Let z be generic. It holds that \(|A|=|B| \ge 3\) since \(A *B\) is not the infinite dihedral group. Consider the swap isomorphism s interchanging the factors A and B, where we use the fixed isomorphism from before to identify A and B with each other. Then the application of s to any element g interchanges the \({{\,\mathrm{A-code}\,}}\) and \({{\,\mathrm{B-code}\,}}\) of g with each other. This implies that the sum \(\theta ^A_z + \theta ^B_z\) is invariant under s and consequently the sum \(f^A_z + f^B_z\) is invariant under s as well. Again, by Lemma 4.8\(f^A_z\) and \(f^B_z\) define quasimorphisms invariant under all factor automorphisms and so does their sum \(f^A_z + f^B_z\). According to Lemma 3.3 this means that \(f^A_z + f^B_z\) is invariant under a full set of representatives for \({{\,\mathrm{Out}\,}}(A *B)\). Again, by Lemma 3.2 we see that the homogenisation \({\bar{f}}^A_z + {\bar{f}}^B_z\) is invariant under all automorphisms of \(A *B\). It remains to verify unboundedness.

For this let \(a_1,a_2 \in A\) and \(b_1,b_2 \in B\) be non-trivial such that \(a_1 \ne a_2\) and \(b_1 \ne b_2\). Pick a non-zero number \(m \in {\mathbb {N}}\) distinct from all \(n_i \in {\mathbb {N}}\), where \(z=(n_1, \ldots , n_k)\). As before, we set

$$\begin{aligned} w_0=(a_1b_1)^{n_1} (a_2b_2)^{n_2} (a_1 b_1)^{n_3} (a_2b_2)^{n_4} \ldots (a_sb_s)^{n_k}, \end{aligned}$$

where s is 1 or 2 depending on whether k is odd or even. We set

$$\begin{aligned} w= {\left\{ \begin{array}{ll} w_0 &{} \text {if } k \text { is even},\\ w_0 (a_2b_2)^m &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

Then the \({{\,\mathrm{A-code}\,}}\) and \({{\,\mathrm{B-code}\,}}\) of w agree and are given by

$$\begin{aligned} {{\,\mathrm{A-code}\,}}(w)= {{\,\mathrm{B-code}\,}}(w) = {\left\{ \begin{array}{ll} (n_1, \ldots , n_k)=z &{} \text {if } k \text { is even},\\ (n_1, \ldots , n_k, m ) = (z,m) &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

Since m is distinct from all \(n_i\), m can never appear in any occurrence of z or \({\bar{z}}\) in the \({{\,\mathrm{A-code}\,}}\) and \({{\,\mathrm{B-code}\,}}\) of \(w^\ell \). As in the first case, \(\theta ^A_z(w^\ell )= \theta ^B_z(w^\ell )=\ell \), whereas \(\theta ^A_{{\bar{z}}}(w^\ell ) = \theta ^B_{{\bar{z}}}(w^\ell )=0\) since z is generic. Consequently,

$$\begin{aligned} f^A_z(w^\ell ) + f^B_z(w^\ell )= \theta ^A_z(w^\ell ) + \theta ^B_z(w^\ell ) - \theta ^A_{{\bar{z}}}(w^\ell ) - \theta ^B_{{\bar{z}}}(w^\ell )= 2 \ell , \end{aligned}$$

which shows that \(f^A_z + f^B_z\) is unbounded and therefore its homogenisation is the desired unbounded Aut-invariant quasimorphism on \(A *B\).

Finally, let us verify that the space of homogeneous Aut-invariant quasimorphisms on \(A *B\) that vanish on letters is infinite-dimensional. Let \(r \in {\mathbb {N}}\) and let \(z_1, \ldots , z_r\) be generic tuples. Choose \(z_{r+1}\) be a 3-tuple whose entries are distinct non-zero natural numbers and do not appear in any of the \(z_i\); then \(z_{r+1}\) is generic. It follows from the above construction of the word w for \(z_{r+1}\) in both cases that any linear combination of the associated quasimorphisms \(f^A_{z_1}+ f^B_{z_1}, \ldots , f^A_{z_r}+ f^B_{z_r}\) vanishes on all powers of w. It follows that the same holds for any linear combination of their homogenisations \({\bar{f}}^A_{z_1}+ {\bar{f}}^B_{z_1}, \ldots , {\bar{f}}^A_{z_r}+ {\bar{f}}^B_{z_r}\). Thus, \({\bar{f}}^A_{z_{r+1}}+ {\bar{f}}^B_{z_{r1}}\) is not contained in the subspace spanned by the first r quasimorphisms. Clearly, the homogenisation of any code quasimorphism vanishes on all letters of \(A *B\). Since \(r \in {\mathbb {N}}\) was arbitrary, it follows that the space of homogeneous Aut-invariant quasimorphisms on \(A *B\) that vanish on letters cannot have finite dimension. \(\square \)

5 Weighted code quasimorphisms

If one of the factors of a free product \(A *B\) of freely indecomposable groups happens to be infinite cyclic, the code quasimorphisms above are in general not Aut-invariant since they are not necessarily invariant with respect to transvections. Thus, we need to modify our original construction to deal with infinite cyclic factors. Afterwards we will follow steps similar to the previous section in order to establish their Aut-invariance.

Lemma 5.1

Let B be a non-trivial group and let w be any word in \({\mathbb {Z}}*B\) such that w only contains letters of the same sign from \({\mathbb {Z}}\) and starts and ends with a non-zero letter from \({\mathbb {Z}}\). Then its unique reduced form \(w^\prime \) starts and ends with a letter from \({\mathbb {Z}}\) with that given sign. Moreover, the sum over all letters in w belonging to the factor \({\mathbb {Z}}\) remains the same in its reduced form \(w^\prime \).

Proof

Any word in the free product is brought to its reduced form by successively eliminating trivial letters and replacing two adjacent letters from the same factor by their product in that factor. The sum of all letters from \({\mathbb {Z}}\) stays the same because any two adjacent letters of \({\mathbb {Z}}\) are always replaced by their sum throughout the reduction process. The only way to encounter an elimination of the first letter \(a_1 \in {\mathbb {Z}}\) or the last letter \(a_n \in {\mathbb {Z}}\) during the reduction process would be by the occurrence of \(-a_1\) or \(-a_n\). This is not possible since \(a_1\) and \(a_n\) are non-zero and all letters have the same sign by assumption. \(\square \)

Definition 5.2

(Weighted \({\mathbb {Z}}\)-code) Let B be freely indecomposable and \(B \ncong {\mathbb {Z}}\). Write \(g \in {\mathbb {Z}}*B\) in reduced form. Let \((a_1, \ldots , a_k)\) be the \({\mathbb {Z}}\)-tuple of g. We define a tuple \((x_1, \ldots , x_\ell )\) of non-zero natural numbers as follows. Consider the successive subsequences of maximal length in \((a_1, \ldots ,a_k)\) consisting of integers all of the same sign. For the i-th such sequence, we define \(x_i\) to be the absolute value of the sum of integers in that sequence. We call the tuple \((x_1, \ldots , x_\ell )\) the weighted \({\mathbb {Z}}\)-code of g.

Example 5.3

Let B be a non-trivial group and let \(b_i \in B\) be non-trivial elements. Then the reduced word

$$\begin{aligned} w=7b_1 (-2) b_2 (-4) b_3 (-1) b_4 9b_5 2 b_6 (-3) \end{aligned}$$

has the \({\mathbb {Z}}\)-tuple \((7,-2,-4,-1,9,2,-3)\) which yields the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) (7, 7, 11, 3).

Definition 5.4

(Weighted code quasimorphisms) Let \(z=(n_1, \ldots , n_k)\) be a tuple of non-zero natural numbers. We set \(\theta ^{\mathbb {Z}}_z :{\mathbb {Z}}*B \rightarrow {\mathbb {Z}}_{\ge 0}\) to count the number of disjoint appearances of z as a tuple of consecutive numbers inside the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(g \in {\mathbb {Z}}*B\). Define the weighted code quasimorphism

$$\begin{aligned} f^{\mathbb {Z}}_z :{\mathbb {Z}}*B \rightarrow {\mathbb {Z}} \text {by} f^{\mathbb {Z}}_z(g)= \theta ^{{\mathbb {Z}}}_{z}(g) - \theta ^{\mathbb {Z}}_{z}(g^{-1}) \end{aligned}$$

for all \(g \in {\mathbb {Z}}*B\). Note that we again have \(\theta ^{\mathbb {Z}}_{z}(g^{-1})= \theta ^{\mathbb {Z}}_{{\bar{z}}}(g)\) for all g.

Lemma 5.5

Let z be a non-empty tuple of non-zero natural numbers. Then the counting function \(\theta ^{\mathbb {Z}}_z :{\mathbb {Z}}*B \rightarrow {\mathbb {Z}}_{\ge 0}\) satisfies

  1. 1.

    \(\theta ^{\mathbb {Z}}_z(g^{-1})= \theta ^{\mathbb {Z}}_{{\bar{z}}}(g)\) for all \(g \in {\mathbb {Z}}*B\),

  2. 2.

    \(|\theta ^{\mathbb {Z}}_z(w_1w_2)- \theta ^{\mathbb {Z}}_z(w_1) - \theta ^{\mathbb {Z}}_z(w_2) | \le 2\) for all reduced words \(w_1,w_2\) in \({\mathbb {Z}}*B\) for which \(w_1w_2\) is a reduced word.

Moreover, \(f^{\mathbb {Z}}_z :{\mathbb {Z}}*B \rightarrow {\mathbb {Z}}\) defined for all \(g \in {\mathbb {Z}}*B\) by \(f^{\mathbb {Z}}_z(g)= \theta ^{{\mathbb {Z}}}_{z}(g) - \theta ^{\mathbb {Z}}_{z}(g^{-1})\) is a quasimorphism of defect \(D(f^{\mathbb {Z}}_z) \le 30\).

Proof

First, recall that the reduced form of \(g^{-1}\) is obtained by inverting the reduced form of g, which amounts to reversing the order and inverting all letters. This means to obtain the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(g^{-1}\) one needs to reverse the one of g. Consequently, counting the number of disjoint occurrences of z in the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(g^{-1}\) amounts to counting the disjoint occurrences of the reversed tuple \({\bar{z}}\) in the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of g itself. This proves the first part.

Second, let \(w_1, w_2\) be written as reduced words with \({\mathbb {Z}}\)-tuples given by \((n_1, \ldots , n_k)\) for \(w_1\) and \((m_1, \ldots , m_\ell )\) for \(w_2\) for integers \(n_i,m_j\). Let \((x_1, \ldots , x_{k^\prime })\) and \((y_1, \ldots , y_{\ell ^\prime })\) be the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\)s of \(w_1\) and \(w_2\). By assumption there is no cancellation or reduction in the product of their reduced expressions representing \(w_1w_2\). That means that the last letter of \(w_1\) and the first letter of \(w_2\) belong to different factors. Then

$$\begin{aligned} \text {weighted } {{\,\mathrm{{\mathbb {Z}}-code}\,}}(w_1w_2)= {\left\{ \begin{array}{ll} (x_1, \ldots , x_{k^\prime }, y_1, \ldots , y_{\ell ^\prime }) &{} \text {if } {{\,\mathrm{sgn}\,}}(n_k) \ne {{\,\mathrm{sgn}\,}}(m_1), \\ (x_1, \ldots , x_{k^\prime -1}, x_{k^\prime }+y_1,y_2, \ldots , y_{\ell ^\prime }) &{} \text {if } {{\,\mathrm{sgn}\,}}(n_k)={{\,\mathrm{sgn}\,}}(m_1). \end{array}\right. } \end{aligned}$$

If \({{\,\mathrm{sgn}\,}}(n_k) \ne {{\,\mathrm{sgn}\,}}(m_1)\), then \(\theta ^{{\mathbb {Z}}}_z(w_1w_2 ) \in \{ \theta ^{\mathbb {Z}}_z(w_1) + \theta ^{\mathbb {Z}}_z(w_2), \theta ^{\mathbb {Z}}_z(w_1) + \theta ^{\mathbb {Z}}_z(w_2)+1 \}\) since at most one of the disjoint occurrences of z can involve numbers that do not lie completely in the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of either \(w_1\) or \(w_2\).

If \({{\,\mathrm{sgn}\,}}(n_k) = {{\,\mathrm{sgn}\,}}(m_1)\), then \(\theta ^{\mathbb {Z}}_z(w_1w_2 ) \ge \theta ^{\mathbb {Z}}_z(w_1) + \theta ^{\mathbb {Z}}_z(w_2) - 2\) since only one occurrence of z in the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(w_1\) and \(w_2\) can involve the first or last number respectively. Moreover, if an occurrence of z in the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(w_1w_2\) involves \(x_{k^\prime }+y_1\), then all other occurrences are fully contained in the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of either \(w_1\) or \(w_2\). Thus, \(\theta ^{\mathbb {Z}}_z(w_1w_2 ) \le \theta ^{\mathbb {Z}}_z(w_1) + \theta ^{\mathbb {Z}}_z(w_2) +1 \).

In both cases we conclude that

$$\begin{aligned} | \theta ^{\mathbb {Z}}_z(w_1w_2 ) - \theta ^{\mathbb {Z}}_z(w_1) - \theta ^C_z(w_2)| \le 2. \end{aligned}$$

It follows from Lemma 2.12 that \(f^{\mathbb {Z}}_z\) is a quasimorphism of defect at most 30. \(\square \)

Lemma 5.6

For all non-empty tuples z the weighted code quasimorphism \(f^{\mathbb {Z}}_z :{\mathbb {Z}}*B \rightarrow {\mathbb {Z}}\) is invariant under factor automorphisms and transvections.

Proof

It is immediate from the definition that the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of any element in the free product is invariant under factor automorphisms. Let x be a generator of the infinite cyclic factor in \({\mathbb {Z}}*B\). Any transvection is defined to be the identity on letters from B and maps \(x \rightarrow xy\) or \(x \rightarrow yx\) for some non-trivial element \(y \in B\). Let us consider the transvection \(\varphi \) uniquely specified by \(x \rightarrow xy\) and show that the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of any element in \({\mathbb {Z}}*B\) is invariant under \(\varphi \). Then it immediately follows that \(\theta ^{\mathbb {Z}}_z\) and \(f^{\mathbb {Z}}_z\) are invariant under \(\varphi \). The argument for transvections of the second kind will follow analogously to the one we present now.

Let \(w \in {\mathbb {Z}}*B\) be a reduced word such that its weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) has length one. This means that all letters from \({\mathbb {Z}}\) in the reduced expression of w have the same sign and the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) is given by the image of w under the factor projection \({\mathbb {Z}}*B \rightarrow {\mathbb {Z}}\). Note that this factor projection is invariant with respect to \(\varphi \) and so the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(\varphi (w)\) agrees with the one of w. There cannot be any cancellations of letters from \({\mathbb {Z}}\) occurring.

Let us do a preliminary calculation to visualise the general case more easily. Let \(k,\ell \) be non-zero natural numbers and \(b \in B\) non-trivial. Then

$$\begin{aligned} \varphi (x^k b x^{-\ell })&= \varphi (x)^k b \varphi (x)^{-\ell } = (xy)^k b (y^{-1} x^{-1} )^\ell = xy \ldots xyxyby^{-1} x^{-1} y^{-1} x^{-1} \ldots y^{-1} x^{-1}, \\ \varphi (x^{-k} b x^{\ell })&= \varphi (x)^{-k} b \varphi (x)^{\ell } = (y^{-1} x^{-1} )^k b (xy)^\ell = y^{-1} x^{-1} \ldots y^{-1} x^{-1} b xy \ldots xy. \end{aligned}$$

This shows that the letter from B separating the positive and negative powers of x either remains b or is a conjugate of b in B after applying \(\varphi \).

Let \(w \in {\mathbb {Z}}*B\) be a reduced word with weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of length \(k \ge 2\). In w we formally gather all consecutive occurrences of powers of x of the same sign and call these sub-words \(w_i\) for \(i= \{1, \ldots , k \}\). That is, we write the reduced word w uniquely as a product of reduced words as

$$\begin{aligned} w=w_1 b_1 w_2 b_2 \ldots w_{k-1} b_{k-1}w_k, \end{aligned}$$

where the \(b_i \in B\) are non-trivial and the \(w_i\) are of of maximal length such that all letters from \({\mathbb {Z}}\) inside any \(w_i\) have the same sign. Moreover, in this decomposition \(w_1\) ends with a letter from \({\mathbb {Z}}\), \(w_n\) starts with a letter from \({\mathbb {Z}}\) and all other \(w_i\) start and end with letters from \({\mathbb {Z}}\). By the maximality of \(w_i\) all letters from \({\mathbb {Z}}\) occurring in \(w_i\) have different signs from the ones occurring in \(w_{i+1}\) for all i.

We apply \(\varphi \) to w and obtain an a priori not necessarily reduced word, which we rewrite in the previous block form as

$$\begin{aligned} \varphi (w)= \varphi (w_1) b_1 \varphi (w_2) b_2 \ldots \varphi (w_{k-1})b_{k-1} \varphi (w_k) = w_1^\prime b_1^\prime w_2^\prime b_2^\prime \ldots w_{k-1}^\prime b_{k-1}^\prime w_k^\prime , \end{aligned}$$

where \(b_i^\prime =yby^{-1}\) if the letters from \({\mathbb {Z}}\) change sign from positive to negative at \(b_i\) and \(b_i^\prime = b_i\) if they change from negative to positive. Moreover, all letters from \({\mathbb {Z}}\) inside any \(w_i^\prime \) have the same sign again, \(w_1^\prime \) ends with a letter from \({\mathbb {Z}}\), \(w_n^\prime \) starts with a letter from \({\mathbb {Z}}\) and all other \(w_i^\prime \) start and end with letters from \({\mathbb {Z}}\).

We observe that when bringing \(\varphi (w)\) to its reduced form there cannot be any cancellations of the letters \(b_i^\prime \). This is because by Lemma 5.1 the letters that are adjacent to \(b_i\) will always remain letters from \({\mathbb {Z}}\) after the reduction procedure of all \(w_i^\prime \). Indeed, replacing all \(w_i^\prime \) by their reduced forms \(w_i^{\prime \prime }\) we see that the product

$$\begin{aligned} w^{\prime \prime } = w_1^{\prime \prime } b_1^\prime w_2^{\prime \prime } b_2 \ldots w_{k-1}^{\prime \prime } b_{k-1}^\prime w_k^{\prime \prime } \end{aligned}$$

is the reduced representative of \(\varphi (w)\) since the letters adjacent to the \(b_i^\prime \) are always letters from \({\mathbb {Z}}\). Consequently, no cancellations in between letters of different signs from \({\mathbb {Z}}\) can occur when bringing \(\varphi (w)\) to its reduced form. The reduced words \(w_i^{ \prime \prime }\) have the same weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) as the original \(w_i\) for all i. Therefore, the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(\varphi (w)\) agrees with the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of w. \(\square \)

Proposition 5.7

Let B be a freely indecomposable group which is not infinite cyclic. Then for any generic tuple of natural numbers z the homogenisation \({\bar{f}}^{\mathbb {Z}}_z :{\mathbb {Z}}*B \rightarrow {\mathbb {R}}\) of the quasimorphism \(f^{\mathbb {Z}}_z\) is an unbounded Aut-invariant quasimorphism on \({\mathbb {Z}}*B\). Moreover, the space of homogeneous Aut-invariant quasimorphisms on \({\mathbb {Z}}*B\) that vanish on letters has infinite dimension.

Proof

By Lemma 5.5\(f^{\mathbb {Z}}_z\) is a quasimorphism, which is invariant under factor automorphisms and transvections according to Lemma 5.6. Images of these automorphisms generate the outer automorphism group \({{\,\mathrm{Out}\,}}({\mathbb {Z}}*B)\) by Lemma 3.3. Thus, \(f^{\mathbb {Z}}_z\) is invariant under a full set of representatives of all outer automorphisms and so by Lemma 3.2 the homogenisation \({\bar{f}}^{\mathbb {Z}}_z\) is invariant under \({{\,\mathrm{Aut}\,}}({\mathbb {Z}}*B)\). It remains to check that it is unbounded, which is equivalent to \(f^{\mathbb {Z}}_z\) itself being unbounded.

Since z is generic, \(z=(n_1, \dots , n_k)\) for some \(k \ge 3\) where all \(n_i \in {\mathbb {N}}\) are non-zero. Let \(b \in B\) be non-trivial and m a strictly positive integer number distinct from all \(n_i\). Set \(w \in {\mathbb {Z}}*B\) to be

$$\begin{aligned} w = {\left\{ \begin{array}{ll} n_1 b (-n_2) b n_3 b (-n_4) \dots b (-n_k) b &{} \text {if } k \text { is even},\\ n_1 b (-n_2) b n_3 b (-n_4) \dots b (-n_k)b mb &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

The weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of w is given by

$$\begin{aligned} \text {weighted } {{\,\mathrm{{\mathbb {Z}}-code}\,}}(w)= {\left\{ \begin{array}{ll} (n_1, \ldots , n_k)=z &{} \text {if } k \text { is even},\\ (n_1, \ldots , n_k, m ) = (z,m) &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

Since w starts and ends with letters belonging to different factors, the reduced expression of \(w^\ell \) is the \(\ell \)-fold product of the word w for all \(\ell \in {\mathbb {N}}\). Moreover, since the first and last letter from \({\mathbb {Z}}\) in w have different signs the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(w^\ell \) is

$$\begin{aligned} \text {weighted } {{\,\mathrm{{\mathbb {Z}}-code}\,}}(w^\ell )= {\left\{ \begin{array}{ll} (z, z, \ldots , z) &{} \text {if } k \text { is even},\\ (z, m, z, m, \ldots , z, m) &{} \text {if } k \text { is odd}. \end{array}\right. } \end{aligned}$$

Since m is distinct from all \(n_i\), m cannot appear in any occurrence of z or \({\bar{z}}\) inside the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(w^\ell \). So \(\theta ^{\mathbb {Z}}_z(w^\ell )= \ell \), whereas \(\theta ^A_{{\bar{z}}}(w^\ell )=0\) since z is generic. Consequently,

$$\begin{aligned} f^{\mathbb {Z}}_z(w^\ell )= \theta ^{\mathbb {Z}}_z(w^\ell )- \theta ^{\mathbb {Z}}_{{\bar{z}}}(w^\ell )= \ell , \end{aligned}$$

which shows that \(f^{\mathbb {Z}}_z\) is unbounded.

Finally, let us verify that the space of homogeneous Aut-invariant quasimorphisms on \({\mathbb {Z}}*B\) that vanish on letters is infinite-dimensional. Let \(r \in {\mathbb {N}}\) and let \(z_1, \ldots , z_r\) be generic tuples. Choose \(z_{r+1}\) be a 3-tuple whose entries are distinct non-zero natural numbers and do not appear in any of the \(z_i\); then \(z_{r+1}\) is generic. It follows from the above construction of the word w for \(z_{r+1}\) that any linear combination of \(f^{\mathbb {Z}}_{z_1}, \ldots , f^{\mathbb {Z}}_{z_r}\) vanishes on all powers of this w. It follows that the same holds for any linear combination of their homogenisations \({\bar{f}}^{\mathbb {Z}}_{z_1}, \ldots , {\bar{f}}^{\mathbb {Z}}_{z_r}\). Thus, \({\bar{f}}^{\mathbb {Z}}_{z_{r+1}}\) is not contained in the subspace spanned by the first r quasimorphisms. Clearly, the homogenisation of any weighted code quasimorphism vanishes on all letters of \({\mathbb {Z}}*B\). Since, \(r \in {\mathbb {N}}\) was arbitrary, it follows that the space of homogeneous Aut-invariant quasimorphisms on \({\mathbb {Z}}*B\) that vanish on letters cannot have finite dimension. \(\square \)

Remark 5.8

Proposition 5.7 does not hold for \(B={\mathbb {Z}}\). Indeed, \({\bar{f}}^{\mathbb {Z}}_z\) does no longer need to be invariant under \({{\,\mathrm{Aut}\,}}({\mathbb {Z}}*B)\) since the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) is in general not invariant under transvections of the factor B.

For example, consider \(z=(4,3,2,1)\) and denote the standard generators of \({\mathbb {Z}}*B\) by \(x \in {\mathbb {Z}}\) and \(y \in B\). Following the proof of Proposition 5.7 the element \(w=x^4 y x^{-3} y x^2 y x^{-1}y\) with weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of (4, 3, 2, 1) satisfies \(f^{\mathbb {Z}}_z(w^\ell )= \ell \) for all \(\ell \in {\mathbb {N}}\). Let \(\varphi \in {{\,\mathrm{Aut}\,}}({\mathbb {Z}}*B)\) be the transvection of the second factor defined by \(\varphi (x)=x\) and \(\varphi (y)= x^3 y\). Then \(\varphi (w)=x^7y^2x^5yx^2y\). So the weighted \({{\,\mathrm{{\mathbb {Z}}-code}\,}}\) of \(\varphi (w)\) is the tuple with a single entry equal to 14. Thus, \(f^{\mathbb {Z}}_z(\varphi (w^\ell ))=f^{\mathbb {Z}}_z(\varphi (w)^\ell )= 0 \) for all \(\ell \in {\mathbb {N}}\). So \({\bar{f}}^{\mathbb {Z}}_z\) evaluates non-trivially on w, but trivially on \(\varphi (w)\), which means that \({\bar{f}}^{\mathbb {Z}}_z\) is not invariant under \({{\,\mathrm{Aut}\,}}({\mathbb {Z}}*B)\).

Moreover, this example can be used to show that the sum of the two weighted code quasimorphisms \({\bar{f}}^{\mathbb {Z}}_z + {\bar{f}}^B_z\) is not necessarily invariant under \({{\,\mathrm{Aut}\,}}({\mathbb {Z}}*B)\) either, which contrasts the situation of free factors that are not infinite cyclic in Propostion 4.11 (2).

6 Applications of code quasimorphisms

Proof of Theorem 1

By [3, Theorem 2] the space of homogeneous Aut-invariant quasimorphisms on \({\mathbb {Z}}*{\mathbb {Z}}\) is infinite-dimensional. Inverting both generators of the factors defines an automorphism which inverts all letters in \({\mathbb {Z}}*{\mathbb {Z}}\). So any homogeneous Aut-invariant quasimorphism on \({\mathbb {Z}}*{\mathbb {Z}}\) vanishes on all letters. For all other free products of two factors Proposition 4.11 and Proposition 5.7 imply the existence of infinitely many linearly independent homogeneous Aut-invariant quasimorphisms, all of which vanish on letters. \(\square \)

Proof of Corollary 1.1

Let \(A *B\) be a free product of two freely indecomposable groups which is not the infinite dihedral group. By Theorem 1 there exist unbounded Aut-invariant quasimorphisms on \(A *B\) that are bounded on all letters. Since \(A *B\) is generated by letters, the result follows from Lemma 2.7. \(\square \)

Remark 6.1

If neither A nor B is infinite cyclic, then Corollary 1.1 can also be deduced from the result given in [13, Lemma 4.4] together with the explicit description of the automorphism group given in Sect. 3.

Corollary 6.2

Let \(G = *_{i \in I} G_i\) be a free product of finitely many freely indecomposable groups \(G_i\). Assume there exist free factors \(G_j\) and \(G_k\) with \(j \ne k\) such that no free factor \(G_i\) for \(i \notin \{ j,k \}\) is isomorphic to \(G_j\) or \(G_k\) or is infinite cyclic. Moreover, assume that \(G_j\), \(G_k\) are not both equal to \({\mathbb {Z}}/2\). Then any unbounded Aut-invariant quasimorphism on \(G_j *G_k\) gives rise to an unbounded Aut-invariant quasimorphism on G. In particular, the space of homogeneous Aut-invariant quasimorphisms on G is infinite-dimensional.

Proof

We claim that the projection \(p :G \rightarrow G_j *G_k\) is Aut-equivariant, i.e. any automorphism of G descends via p to an automorphism of \(G_j *G_k\). This is equivalent to \(\ker (p)\) being a characteristic subgroup of G. Once this is established, we apply Theorem 1 to \(G_j *G_k\) and conclude the proof by applying Lemma 3.4.

Let us now show that any automorphism of G indeed descends to \(G_j *G_k\). By [8] \({{\,\mathrm{Aut}\,}}(G)\) is generated by factor automorphisms, swap automorphisms, partial conjugations and transvections since inner automorphisms can be written as products of factor automorphisms and partial conjugations. It is clear that all factor automorphisms and all partial conjugations of G descend to automorphisms of \(G_j *G_k\) via p. By our assumption there are no swap automorphisms permuting any other free factors in G with \(G_j\) and \(G_k\), so these descend to the quotient as well. It only remains to check the transvections if \(G_j\) or \(G_k\) happen to be infinite cyclic. So let \(G_j\) be infinite cyclic generated by x and let a be a letter from a different factor \(G_\ell \). If \(\ell =k\), then any transvection \(\varphi _a\) defined by \(\varphi _a(x)=ax\) or \(\varphi _a(x)=xa\) descends via p to the same transvection on \(G_j *G_k\). If \(\ell \ne k\), any such transvection descends to the identity on \(G_j *G_k\). In particular, it always descends via p. Since a generating set of \({{\,\mathrm{Aut}\,}}(G)\) descends to automorphisms of the quotient \(G_j *G_k\), any element of \({{\,\mathrm{Aut}\,}}(G)\) does so. Consequently, the map p is Aut-equivariant. \(\square \)

Corollary 6.3

Let \(H \rightarrow G \rightarrow A *B\) be an extension of a free product of freely indecomposable groups A and B by a group H. Assume that H is a characteristic subgroup of G and \(A *B\) is not the infinite dihedral group. Then the space of homogeneous Aut-invariant quasimorphisms on G is infinite-dimensional.

Proof

The space of homogeneous Aut-invariant quasimorphisms on \(A *B\) is infinite-dimensional by Theorem 1. Therefore, the result follows from Lemma 3.4. \(\square \)

Corollary 6.4

Let \(G_1 *_H G_2\) be a free product of groups \(G_1,G_2\) amalgamated over a common subgroup H which is proper and central in both \(G_1\) and \(G_2\). If \(G_1/H\) and \(G_2/H\) are freely indecomposable and not both equal to \({\mathbb {Z}}/2\), the space of homogeneous Aut-invariant quasimorphisms on \(G_1 *_H G_2\) is infinite-dimensional.

Proof

By assumption \(H \ne G_1\) and \(H \ne G_2\) and so H equals the center of \(G_1 *_H G_2\). As such it is a characteristic subgroup of \(G_1 *_H G_2\). Furthermore, \(\frac{G_1 *_H G_2}{H} \cong \frac{G_1}{H} *\frac{G_2}{H}\). By assumption \(\frac{G_1}{H} *\frac{G_2}{H}\) is not isomorphic to the infinite dihedral group and the result follows from Corollary 6.3 above. \(\square \)

Example 6.5

For \(q \ge 3\), the Hecke groups \(H_q \cong {\mathbb {Z}}/2 *{\mathbb {Z}}/q\) admit infinitely many linearly independent homogeneous Aut-invariant quasimorphisms by Theorem 1.

Example 6.6

By Corollary 6.4 the space of homogeneous Aut-invariant quasimorphisms on \({{\,\mathrm{SL}\,}}(2,{\mathbb {Z}})\) is infinite-dimensional, since \({{\,\mathrm{SL}\,}}(2,{\mathbb {Z}})\) is the amalgamated product \({\mathbb {Z}}/4 *_{{\mathbb {Z}}/2} {\mathbb {Z}}/6\).

Example 6.7

The braid group \(B_3\) admits infinitely many linearly independent homogeneous Aut-invariant quasimorphism as well by Corollary 6.3. Indeed, \(B_3\) is the universal central extension of \({{\,\mathrm{PSL}\,}}(2,{\mathbb {Z}})= {\mathbb {Z}}/2 *{\mathbb {Z}}/3\) by \({\mathbb {Z}}\).

Example 6.8

Let \(G_{p,q} = {\mathbb {Z}}*_{\mathbb {Z}}{\mathbb {Z}}\) be the free product of two copies of the integers amalgamated over inclusions \(\iota _1 , \iota _2 :{\mathbb {Z}}\rightarrow {\mathbb {Z}}\) which are multiplication by p and q. For coprime choices of p and q these are the so called knot groups \(K_{p,q}\) arising as the fundamental group of the complement of torus knots. Then \(G_{p,q}\) admits infinitely many linearly independent homogeneous Aut-invariant quasimorphisms if \(\min \{ |p|, |q| \} \ge 2\) and \(\max \{ |p|,|q| \} \ge 3\). We have seen in Example 2.10 that this is no longer true for \(p=q=2\).

Example 6.9

\(B_3 *_{\mathbb {Z}}B_3\), the free product of \(B_3\) with itself amalgamated over their common center generated by the Garside element, admits infinitely many linearly independent unbounded Aut-invariant quasimorphisms. To prove this we cannot apply Corollary 6.4 directly since \(B_3/{\mathbb {Z}}\) is not freely indecomposable. The center of \(B_3 *_{\mathbb {Z}}B_3\) is again generated by the Garside element of each of the factors. This fits into the short exact sequence

$$\begin{aligned} {\mathbb {Z}}\rightarrow B_3 *_{\mathbb {Z}}B_3 \rightarrow (B_3/{\mathbb {Z}}) *(B_3/{\mathbb {Z}}). \end{aligned}$$

Finally, \((B_3/{\mathbb {Z}}) *(B_3/{\mathbb {Z}})= {{\,\mathrm{PSL}\,}}(2,{\mathbb {Z}}) *{{\,\mathrm{PSL}\,}}(2,{\mathbb {Z}})= {\mathbb {Z}}/2 *{\mathbb {Z}}/3 *{\mathbb {Z}}/2 *{\mathbb {Z}}/3\). So Corollary 6.2 applies with \(G_j=G_k={\mathbb {Z}}/3\). Then the statement for \(B_3 *_{\mathbb {Z}}B_3\) follows from Lemma 3.4.

7 Aut-invariant stable commutator length

For any group G let \({{\,\mathrm{cl}\,}}_G\) denote the commutator length on [GG], which is defined to be the minimal number of commutators required to write a given element of the commutator subgroup. Let \({{\,\mathrm{scl}\,}}_G(x) = \lim _n \frac{{{\,\mathrm{cl}\,}}(x^n)}{n}\) denote the stable commutator length of \(x \in [G,G]\). It shares a deep relationship with quasimorphisms on G through the so called Bavard duality [6]. We now define the Aut-invariant (stable) commutator length; this is a special case of the so called \({\hat{G}}\)-invariant (stable) commutator length defined in [12] for groups \({\hat{G}}\) in which G is a normal subgroup.

Definition 7.1

Let \(G \le {\hat{G}}\) be a normal subgroup. Consider the subgroup \([{\hat{G}},G] \le G\) generated by commutators of the form [Fg] and their inverses where \(F \in {\hat{G}}\) and \(g \in G\). Then for \(x \in [{\hat{G}},G]\) the \({\hat{G}}\)-invariant commutator length \({{\,\mathrm{cl}\,}}_{{\hat{G}},G}(x)\) is defined to be the minimal length of an expression of x as a product of commutators [Fg] and their inverses where \(F \in {\hat{G}}\) and \(g \in G\). The \({\hat{G}}\)-invariant stable commutator length \({{\,\mathrm{scl}\,}}_{{\hat{G}},G}\) for \(x \in [{\hat{G}},G]\) is defined by \({{\,\mathrm{scl}\,}}_{{\hat{G}},G}(x) = \lim _n \frac{{{\,\mathrm{cl}\,}}_{{\hat{G}}G}(x^n)}{n}\).

Given any group G, its inner automorphism group \({{\,\mathrm{Inn}\,}}(G)\) is a normal subgroup of \({{\,\mathrm{Aut}\,}}(G)\) and so the above definition applies to \({{\,\mathrm{Inn}\,}}(G)\). If G has trivial center, G can be identified with \({{\,\mathrm{Inn}\,}}(G)\). In this case we simplify the notation by denoting the Aut(G)-invariant commutator length simply as \({{\,\mathrm{cl}\,}}_{{{\,\mathrm{Aut}\,}}}\) and the Aut(G)-invariant stable commutator length simply as \({{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}}\).

Setting \({\hat{G}}={{\,\mathrm{Aut}\,}}(G)\) the following lemma is proven in [12, Lemma 2.1].

Lemma 7.2

Let G be a group with trivial center so that \(G= {{\,\mathrm{Inn}\,}}(G)\). Let \(\phi \) be an homogeneous Aut-invariant quasimorphism on G. Then any \(x \in [{{\,\mathrm{Aut}\,}}(G),G]\le G\) satisfies

$$\begin{aligned} {{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}}(x) \ge \frac{1}{2}\frac{|\phi (x)|}{D(\phi )}. \end{aligned}$$

\(\square \)

In fact, according to [12, Theorem 1.3] \({\hat{G}}\)-invariant quasimorphisms satisfy an analogue of the Bavard duality theorem if \([{\hat{G}},G] =G\). All free products \(A *B\) of freely indecomposable groups A and B have trivial center and so the notions \({{\,\mathrm{cl}\,}}_{{{\,\mathrm{Aut}\,}}}\) and \({{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}}\) apply. However, free products often fail to satisfy \([{{\,\mathrm{Aut}\,}}(G),G] =G\). We will use a constructive approach rather than relying on an invariant analogue of Bavard’s duality in the following.

Example 7.3

For \(D_\infty = {\mathbb {Z}}/2 *{\mathbb {Z}}/2\) it holds that \({{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}} \equiv 0\). To see this denote the generators of the \({\mathbb {Z}}/2\) factors by a and b and let s be the automorphism of \(D_\infty \) interchanging a and b. Then we calculate \([s,a]=sas^{-1}a^{-1}=s(a)a^{-1}=ba\) and \([s,b]=ab=(ba)^{-1}\). Since the total number of letters appearing in any expression of the form [fx] is always even where \(f \in {{\,\mathrm{Aut}\,}}(D_\infty )\) and \(x \in D_\infty \), it holds that \([{{\,\mathrm{Aut}\,}}(D_\infty ),D_\infty )] \cong {\mathbb {Z}}\) generated by ba. In fact, any power \((ba)^k\) for \(k \in {\mathbb {Z}}\) can be written as a single commutator [sw], where w is one of the two words of length |k|. Thus, \({{\,\mathrm{cl}\,}}_{{{\,\mathrm{Aut}\,}}}\) is equal to one for any non-trivial element in \([{{\,\mathrm{Aut}\,}}(D_\infty ),D_\infty )]\) and \({{\,\mathrm{scl}\,}}_{{{\,\mathrm{Aut}\,}}}\) vanishes.

Example 7.4

Consider \(G = {{\,\mathrm{PSL}\,}}(2,{\mathbb {Z}})= {\mathbb {Z}}/3 *{\mathbb {Z}}/2\). Then \({{\,\mathrm{Aut}\,}}(G)\) is generated by the set C consisting of the non-trivial factor automorphism of \({\mathbb {Z}}/3\) and conjugations by letters of \({\mathbb {Z}}/3\) and \({\mathbb {Z}}/2\), since both free factors are abelian groups. Consequently, \([{{\,\mathrm{Aut}\,}}(G),G]\) is normally generated by commutators of the form \([c,g]=cgc^{-1}g^{-1}=c(g)g^{-1}\) for \(c \in C\) and \(g \in G\). In all expressions [cg] the letter b representing the non-trivial element of the factor \({\mathbb {Z}}/2\) arises an even number of times. Therefore, \(b \notin [{{\,\mathrm{Aut}\,}}(G),G]\) and the latter is not the full group G.

Lemma 7.5

Let \(G=A *B\) be a free product of freely indecomposable groups where at least one of the factors is infinite cyclic. Then \([{{\,\mathrm{Aut}\,}}(G),G]\) has index at most two in G. Therefore, any unbounded quasimorphism on G is unbounded when restricted to \([{{\,\mathrm{Aut}\,}}(G),G]\).

Proof

If an unbounded quasimorphism q is bounded on a finite index subgroup \(H \le G\), its homogenisation \({\bar{q}}\) vanishes on H. Then \({\bar{q}}\) descends to a map of sets on the finite set G/H implying that the image of \({\bar{q}}\) is bounded and so was the image of q to begin with. Therefore, any quasimorphism q with unbounded image cannot be bounded on H. So, it remains to show that the index of \([{{\,\mathrm{Aut}\,}}(G),G]\) in G is at most two to prove the lemma.

First, consider the case where A and B are both infinite cyclic and so G can be identified with \(F_2\), the free group of rank 2. Let x and y be standard generators. Consider the automorphism \(\varphi \) of \(F_2\) defined by \(\varphi (x)=yx\) and \(\varphi (y)=y\). Then \([\varphi , x]=\varphi (x) \cdot x^{-1} = y\). So \(\langle y \rangle \le [{{\,\mathrm{Aut}\,}}(F_2),F_2]\). By symmetry of the generating set it holds that \(\langle x \rangle \le [{{\,\mathrm{Aut}\,}}(F_2),F_2]\) as well and it follows that \([{{\,\mathrm{Aut}\,}}(F_2),F_2]=F_2\).

Second, consider the case where only one of the factors is infinite cyclic. Without loss of generality assume \(A= {\mathbb {Z}}\). Let x denote a generator of A. For any \(b \in B\) we can define the transvection \(\varphi _b\) on x by \(\varphi _b(x)=bx\) and by \(\varphi _b(b^\prime )=b^\prime \) for all \(b^\prime \in B\). Then \(\varphi _b\) is an automorphism and satisfies \([\varphi _b,x]= \varphi _b(x) \cdot x^{-1} =b\) for all \(b \in B\). Thus, \(B \le [{{\,\mathrm{Aut}\,}}(G),G]\). Moreover, denoting the non-trivial factor automorphism of \(A= {\mathbb {Z}}\) by f we compute \([f,x]=f(x) \cdot x^{-1} = x^{-2}\) and deduce that \(2 {\mathbb {Z}}\le [{{\,\mathrm{Aut}\,}}(G),G]\). Therefore, \(2 {\mathbb {Z}}*B \le [{{\,\mathrm{Aut}\,}}(G),G]\). Since \([{{\,\mathrm{Aut}\,}}(G),G]\) is a normal subgroup, it holds that \(N \le [{{\,\mathrm{Aut}\,}}(G),G]\) where N is the normal closure of \(2 {\mathbb {Z}}*B\). However, \(G/N \le {\mathbb {Z}}/2\) and so \([{{\,\mathrm{Aut}\,}}(G),G]\) has at most index 2 in G. \(\square \)

Proof of Theorem 2

If one of the factors is infinite cyclic, Theorem 1 implies the existence of an unbounded Aut(G)-invariant homogeneous quasimorphism, which is unbounded on \([{{\,\mathrm{Aut}\,}}(G),G]\) according to Lemma 7.5. The statement then follows from Lemma 7.2.

Assume from now on that neither A nor B is infinite cyclic. We will prove the theorem by explicitly constructing an element in \([{{\,\mathrm{Aut}\,}}(G),G]\) together with homogeneous Aut-invariant quasimorphism which is non-trivial on that element.

The only non-trivial group with no non-trivial automorphisms is \({\mathbb {Z}}/2\). Thus, one of the factors has to have a non-trivial automorphism since \(A *B\) is not the infinite dihedral group. Without loss of generality we assume that \(|{{\,\mathrm{Aut}\,}}(A)|\ge 2\). Let \(a_1 \in A\) such that \(f(a_1)=a_2 \ne a_1\) for some \(f \in {{\,\mathrm{Aut}\,}}(A)\). Then we compute that \([f,a_1]=a_2 a_1^{-1}\) is a non-trivial element in \([{{\,\mathrm{Aut}\,}}(G),G]\). Since \([{{\,\mathrm{Aut}\,}}(G),G]\) is normal, it holds for any \(h \in B\) that \(h a_2 a_1^{-1} h^{-1} \in [{{\,\mathrm{Aut}\,}}(G),G]\). Thus, \((a_2 a_1^{-1}h a_2 a_1^{-1} h^{-1})^k \in [{{\,\mathrm{Aut}\,}}(G),G]\) for any \(k \in {\mathbb {N}}\) and \(h \in B\).

First, assume that A and B are not isomorphic. Since \(|{{\,\mathrm{Aut}\,}}(A)|\ge 2\), it holds that \(|A| \ge 3\) and we can choose a non-trivial \(a \ne a_2 a_1^{-1}\) and fix some non-trivial \(h \in B\). We define for \(n_1, \dots , n_\ell \in {\mathbb {N}}\) the word

$$\begin{aligned} w = \prod _{i=1}^\ell \big ( [a,h] (a_2 a_1^{-1}h a_2 a_1^{-1} h^{-1})^{n_i} \big ) \in [{{\,\mathrm{Aut}\,}}(G),G]. \end{aligned}$$

We calculate

$$\begin{aligned} {{\,\mathrm{A-code}\,}}(w) = {\left\{ \begin{array}{ll} (1,1,2n_1,1,1,2n_2, \dots , 1,1,2n_\ell ) &{} \text {if} a^{-1} \ne a_2 a_1^{-1}, \\ (1,2n_1+1,1, 2n_2+1, \dots ,1,2n_\ell +1) &{} \text {if} a^{-1} = a_2 a_1^{-1}. \end{array}\right. } \end{aligned}$$

Set \(z = {{\,\mathrm{A-code}\,}}(w)\). For all \(n \in {\mathbb {N}}\) it holds that \({{\,\mathrm{A-code}\,}}(w^n)=(z, \dots ,z)\). Choose \(\ell \ge 3\) together with large and distinct \(n_1, \dots , n_\ell \in {\mathbb {N}}\), which implies that z is generic. It follows from Proposition 4.11 that \({\bar{f}}^A_z\) is an Aut-invariant quasimorphism. By construction \(f^A_z\) satisfies \(f^A_z(w^n)=n\) for all \(n \in {\mathbb {N}}\) and so \({\bar{f}}^A_z(w)>0\) for our choice of \(w \in [{{\,\mathrm{Aut}\,}}(G),G]\). The statement then follows from Lemma 7.2.

Second, assume \(A \cong B\). Let s denote a swap automorphism. Set \(b_i = s(a_i)\) for \(i \in \{1,2\}\). Then the element \([s f s^{-1}, b_1]= b_2b_1^{-1} \in [{{\,\mathrm{Aut}\,}}(G),G]\) is non-trivial and belongs to the factor B. Set \(b=s(a)\). Then \(a^{-1}= a_2 a_1^{-1}\) is equivalent to \(b^{-1}=b_2 b_1^{-1}\). For \(n_1, \dots , n_\ell \in {\mathbb {N}}\) we define the word

$$\begin{aligned} w = \prod _{i=1}^\ell \big ( [a,b] (a_2 a_1^{-1} b_2 b_1^{-1})^{n_i} \big ) \in [{{\,\mathrm{Aut}\,}}(G),G]. \end{aligned}$$

Observe, that \({{\,\mathrm{A-code}\,}}(w)= {{\,\mathrm{B-code}\,}}(w)\). As in the previous case,

$$\begin{aligned} {{\,\mathrm{A-code}\,}}(w) = {\left\{ \begin{array}{ll} (1,1,n_1,1,1,n_2, \dots , 1,1,n_\ell ) &{} \text {if} a^{-1} \ne a_2 a_1^{-1}, \\ (1,n_1+1,1, n_2+1, \dots ,1,n_\ell +1) &{} \text {if} a^{-1} = a_2 a_1^{-1}. \end{array}\right. } \end{aligned}$$

Set \(z = {{\,\mathrm{A-code}\,}}(w)\) as before and choose \(\ell \ge 3\) and \(n_1, \dots , n_\ell \in {\mathbb {N}}\) large enough and distinct, so that z is generic. Again, we calculate \(f^A_{z}(w^n)=n= f^B_{z}(w^n)\), which implies that \(({\bar{f}}^A_{z} + {\bar{f}}^B_{z})(w)>0\). Proposition 4.11 implies that \({\bar{f}}^A_{z} + {\bar{f}}^B_{z}\) is an homogeneous Aut-invariant quasimorphism and so applying Lemma 7.2 concludes the proof. \(\square \)

We will now give a few more examples of free products G where \([{{\,\mathrm{Aut}\,}}(G),G]=G\) and therefore the notions of Aut-invariant (stable) commutator length are defined on all elements of G.

Example 7.6

For a product \(G=A *B\) of two freely indecomposable perfect groups A and B it holds that \([{{\,\mathrm{Aut}\,}}(G),G]=G\). Indeed, since A perfect, it holds that \(A= [A,A] \le [{{\,\mathrm{Aut}\,}}(G),G]\). Similarly, \(B \le [{{\,\mathrm{Aut}\,}}(G),G]\) and A and B generate G it follows that \([{{\,\mathrm{Aut}\,}}(G),G]=G\).

Example 7.7

\(G\!= \!{\mathbb {Z}}/p \!*\! {\mathbb {Z}}/q\) satisfies \([{{\,\mathrm{Aut}\,}}(G),G]\!\!=\!\! G\) for \(p,q \!\ge \! 3\) prime. Let \(m :{\mathbb {Z}}/p \!\rightarrow \! {\mathbb {Z}}/p\) be multiplication by 2, which is a factor automorphism. Consider the standard generator \(1_p \in {\mathbb {Z}}/p\). It holds that \([m,1_p]=m(1_p)-1_p=1_p\). Thus, \({\mathbb {Z}}/p \le [{{\,\mathrm{Aut}\,}}(G),G]\). Similarly, \({\mathbb {Z}}/q \le [{{\,\mathrm{Aut}\,}}(G),G]\) and so \([{{\,\mathrm{Aut}\,}}(G),G]= G\).

Example 7.8

Let \(k, \ell \ge 2\). Then \(G= A^k *B^\ell \) satisfies \([{{\,\mathrm{Aut}\,}}(G),G]= G\) for all non-trivial abelian groups A and B. For simplicity of notation consider the case \(k=2\). Let \(\phi \) be the factor automorphism defined by \(\phi (a,0)=(a,a)\) and \(\phi (0,a)=a\) for all \(a \in A\). Then \([\phi , (a,0)]=\phi (a,0)-(a,0)=(0,a)\) for all \(a \in A\). Thus, \(A \times 0 \le [{{\,\mathrm{Aut}\,}}(G),G]\). Analogously, \(0 \times A \le [{{\,\mathrm{Aut}\,}}(G),G]\). Since these factors generate \(A^2\) it follows that \(A^2 \le [{{\,\mathrm{Aut}\,}}(G),G]\). Similarly, \(B^\ell \le [{{\,\mathrm{Aut}\,}}(G),G]\) and so \([{{\,\mathrm{Aut}\,}}(G),G]= G\).

Example 7.9

In all of the above examples for \(G=A *B\) the equality \([{{\,\mathrm{Aut}\,}}(G),G]=G\) is always derived by showing that both factors A and B form subgroups of \([{{\,\mathrm{Aut}\,}}(G),G]\). Thus, any combination of free factors appearing in the three examples above still satisfies this equality, for example \(A={\mathbb {Z}}/p\) for \(p \ge 3\) prime and B any freely indecomposable perfect group.