# Free abelian group

In abstract algebra, a **free abelian group** or **free Z-module** is an abelian group with a basis.
That is, it is a set together with an associative, commutative, and invertible binary operation,
and its basis is a subset of its elements
such that every element of the group can be written in one and only one way as a linear combination of basis elements with integer coefficients, finitely many of which are nonzero. Familiar examples include the integers (with the group operation being addition and the basis equal to the singleton set {1}) and the integer lattices. The elements of a free abelian group with basis *B* are also known as **formal sums** over *B*. Informally, formal sums may also be seen as signed multisets with elements in *B*. Free abelian groups and formal sums have applications in algebraic topology, where they are used to define chain groups, and in algebraic geometry, where they are used to define divisors.

Every set *B* has a unique free abelian group with *B* as its basis. This group may be constructed as a direct sum of copies of the additive group of the integers, with one copy per member of *B*. Its elements may be interpreted as the functions from *B* to the integers that have finitely many nonzero values, and its group operation is pointwise addition of these functions. Alternatively, the free abelian group with basis *B* may be described by a presentation with the elements of *B* as its generators and with the commutators of pairs of members as its relators.

Free abelian groups have properties which make them similar to vector spaces and allow a general abelian group to be understood as a quotient of a free abelian group by "relations". Every free abelian group has a rank defined as the cardinality of a basis. The rank determines the group up to isomorphism, and the elements of such a group can be written as finite formal sums of the basis elements. Every subgroup of a free abelian group is itself free abelian, which allows the description of a general abelian group as a cokernel of an injective homomorphism between free abelian groups.

## Examples and constructions

### Integers and lattices

The integers, under the addition operation, form a free abelian group with the basis {1}. Every integer *n* is a linear combination of basis elements with integer coefficients: namely, *n* = *n* × 1, with the coefficient *n*.

The two-dimensional integer lattice, consisting of the points in the plane with integer Cartesian coordinates, forms a free abelian group under vector addition with the basis {(0,1), (1,0)}.^{[1]} If we say and , then the element (4,3) can be written

In this basis, there is no other way to write (4,3), but with a different basis such as {(1,0),(1,1)}, where and , it can be written as

More generally, every lattice forms a finitely-generated free abelian group.^{[2]} The *d*-dimensional integer lattice has a natural basis consisting of the positive integer unit vectors, but it has many other bases as well: if *M* is a *d* × *d* integer matrix with determinant ±1, then the rows of *M* form a basis, and conversely every basis of the integer lattice has this form.^{[3]} For more on the two-dimensional case, see fundamental pair of periods.

### Direct sums, direct products, and trivial group

The direct product of two free abelian groups is itself free abelian, with basis the disjoint union of the bases of the two groups.^{[4]} More generally the direct product of any finite number of free abelian groups is free abelian. The *d*-dimensional integer lattice, for instance, is isomorphic to the direct product of *d* copies of the integer group **Z**.

The trivial group {0} is also considered to be free abelian, with basis the empty set.^{[5]} It may be interpreted as a direct product of zero copies of **Z**.

For infinite families of free abelian groups, the direct product (the family of tuples of elements from each group, with pointwise addition) is not necessarily free abelian.^{[4]}
For instance the Baer–Specker group , an uncountable group formed as the direct product of countably many copies of , was shown in 1937 by Reinhold Baer to not be free abelian;^{[6]} Ernst Specker proved in 1950 that every countable subgroup of is free abelian.^{[7]}
The direct sum of finitely many groups is the same as the direct product, but differs from the direct product on an infinite number of summands; its elements consist of tuples of elements from each group with all but finitely many of them equal to the identity element. As in the case of a finite number of summands, the direct sum of infinitely many free abelian groups remains free abelian, with a basis formed by (the images of) a disjoint union of the bases of the summands.^{[4]}

The tensor product of two free abelian groups is always free abelian, with a basis that is the Cartesian product of the bases for the two groups in the product.^{[8]}

Every free abelian group may be described as a direct sum of copies of , with one copy for each member of its basis.^{[9]}^{[10]} This construction allows any set *B* to become the basis of a free abelian group.^{[11]}

### Integer functions and formal sums

Given a set *B*, one can define a group whose elements are functions from *B* to the integers, where the parenthesis in the superscript indicates that only the functions with finitely many nonzero values are included.
If *f*(*x*) and *g*(*x*) are two such functions, then *f* + *g* is the function whose values are sums of the values in *f* and *g*: that is, (*f* + *g*)(*x*) = *f*(*x*) + *g*(*x*) . This pointwise addition operation gives the structure of an abelian group.^{[12]}

Each element *x* from the given set *B* corresponds to a member of , the function *e _{x}* for which

*e*(

_{x}*x*) = 1 and for which

*e*(

_{x}*y*) = 0 for all

*y*≠

*x*. Every function

*f*in is uniquely a linear combination of a finite number of basis elements:

Thus, these elements *e _{x}* form a basis for , and is a free abelian group.
In this way, every set

*B*can be made into the basis of a free abelian group.

^{[12]}

The free abelian group with basis *B* is unique up to isomorphism, and its elements are known as **formal sums** of elements of *B*.
They may also be interpreted as the signed multisets of finitely many elements of *B*.
For instance, in algebraic topology, chains are formal sums of simplices, and the chain group is the free abelian group whose elements are chains.^{[13]} In algebraic geometry, the divisors of a Riemann surface (a combinatorial description of the zeros and poles of meromorphic functions) form an uncountable free abelian group, consisting of the formal sums of points from the surface.^{[14]}

### Presentation

The free abelian group with basis *B* has a presentation in which the generators are the elements of *B*, and the relators are the commutators of pairs of elements of *B*.^{[15]}

This fact, together with the fact that every subgroup of a free abelian group is free abelian (below) can be used to show that every finitely generated abelian group is finitely presented. For, if *G* is finitely generated by a set *B*, it is a quotient of the free abelian group over *B* by a free abelian subgroup, the subgroup generated by the relators of the presentation of *G*. But since this subgroup is itself free abelian, it is also finitely generated, and its basis (together with the commutators over *B*) forms a finite set of relators for a presentation of *G*.^{[16]}

## Terminology

Every abelian group may be considered as a module over the integers by considering the scalar multiplication of a group member by an integer defined as follows:^{[17]}

A free module is a module that can be represented as a direct sum over its base ring, so free abelian groups and free -modules are equivalent concepts: each free abelian group is (with the multiplication operation above) a free -module, and each free -module comes from a free abelian group in this way.^{[18]}

Unlike vector spaces, not all abelian groups have a basis, hence the special name for those that do. For instance, any torsion -module, and thus any finite abelian group, is not a free abelian group, because 0 may be decomposed in several ways on any set of elements which could be a candidate for a basis: for some positive integer *n*. On the other hand, many important property of free abelian groups may be generalized to free modules over a principal ideal domain.^{[19]}

Note that a *free abelian* group is *not* a free group except in two cases: a free abelian group having an empty basis (rank 0, giving the trivial group) or having just 1 element in the basis (rank 1, giving the infinite cyclic group).^{[5]}^{[20]} Other abelian groups are not free groups because in free groups *ab* must be different from *ba* if *a* and *b* are different elements of the basis, while in free abelian groups they must be identical. Free groups are the free objects in the category of groups, that is, the "most general" or "least constrained" groups with a given number of generators, whereas free abelian groups are the free objects in the category of abelian groups;^{[21]} in the general category of groups, it is an added constraint to demand that *ab = ba*, whereas this is a necessary property in the category of abelian groups.

## Properties

### Universal property

If *F* is a free abelian group with basis *B*, then we have the following universal property: for every arbitrary function *f* from *B* to some abelian group *A*, there exists a unique group homomorphism from *F* to *A* which extends *f*.^{[5]} By a general property of universal properties, this shows that "the" abelian group of base *B* is unique up to an isomorphism. This allows to use this universal property as a definition of the free abelian group of base *B* and shows that all the other definitions are equivalent.^{[11]}

### Rank

Every two bases of the same free abelian group have the same cardinality, so the cardinality of a basis forms an invariant of the group known as its rank.^{[22]}^{[23]}
In particular, a free abelian group is finitely generated if and only if its rank is a finite number *n*, in which case the group is isomorphic to .

This notion of rank can be generalized, from free abelian groups to abelian groups that are not necessarily free. The rank of an abelian group *G* is defined as the rank of a free abelian subgroup *F* of *G* for which the quotient group *G*/*F* is a torsion group. Equivalently, it is the cardinality of a maximal subset of *G* that generates a free subgroup. Again, this is a group invariant; it does not depend on the choice of the subgroup.^{[24]}

### Subgroups

Every subgroup of a free abelian group is itself a free abelian group. This result of Richard Dedekind^{[25]} was a precursor to the analogous Nielsen–Schreier theorem that every subgroup of a free group is free, and is a generalization of the fact that every nontrivial subgroup of the infinite cyclic group is infinite cyclic.

**Theorem:** *Let be a free abelian group and let be a subgroup. Then is a free abelian group.*

The proof needs the axiom of choice.^{[26]}
A proof using Zorn's lemma (one of many equivalent assumptions to the axiom of choice) can be found in Serge Lang's *Algebra*.^{[27]} Solomon Lefschetz and Irving Kaplansky have claimed that using the well-ordering principle in place of Zorn's lemma leads to a more intuitive proof.^{[10]}

In the case of finitely generated free groups, the proof is easier, and leads to a more precise result.

**Theorem:** *Let be a subgroup of a finitely generated free abelian group . Then is free and there exists a basis of and positive integers (that is, each one divides the next one) such that is a basis of Moreover, the sequence depends only on and and not on the particular basis that solves the problem.*^{[28]}

A constructive proof of the existence part of the theorem is provided by any algorithm computing the Smith normal form of a matrix of integers.^{[29]} Uniqueness follows from the fact that, for any *r* ≤ *k*, the greatest common divisor of the minors of rank *r* of the matrix is not changed during the Smith normal form computation and is the product at the end of the computation.^{[30]}

### Torsion and divisibility

All free abelian groups are torsion-free, meaning that there is no group element *x* and nonzero integer *n* such that *nx* = 0.
Conversely, all finitely generated torsion-free abelian groups are free abelian.^{[5]}^{[31]} The same applies to flatness, since an abelian group is torsion-free if and only if it is flat.

The additive group of rational numbers **Q** provides an example of a torsion-free (but not finitely generated) abelian group that is not free abelian.^{[32]} One reason that **Q** is not free abelian is that it is divisible, meaning that, for every element *x* of **Q** and every nonzero integer *n*, it is possible to express *x* as a scalar multiple *ny* of another element *y*. In contrast, non-zero free abelian groups are never divisible, because it is impossible for any of their basis elements to be nontrivial integer multiples of other elements.^{[33]}

## Relation to arbitrary abelian groups

Given an arbitrary abelian group *A*, there always exists a free abelian group *F* and a surjective group homomorphism from *F* to *A*. One way of constructing a surjection onto a given group *A* is to let be the free abelian group over *A*, represented as the set of functions from *A* to the integers with finitely many nonzeros. Then a surjection can be defined from the representation of members of *F* as formal sums of members of *A*:

where the first sum is in *F* and the second sum is in *A*.^{[23]}^{[34]} This construction can be seen as an instance of the universal property: this surjection is the unique group homomorphism which extends the function .

When *F* and *A* are as above, the kernel *G* of the surjection from *F* to *A* is also free abelian, as it is a subgroup of *F* (the subgroup of elements mapped to the identity).
Therefore, these groups form a short exact sequence

- 0 →
*G*→*F*→*A*→ 0

in which *F* and *G* are both free abelian and *A* is isomorphic to the factor group *F*/*G*. This is a free resolution of *A*.^{[35]} Furthermore, assuming the axiom of choice,^{[36]} the free abelian groups are precisely the projective objects in the category of abelian groups.^{[37]}

## References

- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑
^{4.0}^{4.1}^{4.2}Template:Harvtxt, Exercise 5, p. 75. - ↑
^{5.0}^{5.1}^{5.2}^{5.3}{{#invoke:citation/CS1|citation |CitationClass=citation }}. - ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}. See in particular the proof of Lemma H.4, p. 36, which uses this fact.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑
^{10.0}^{10.1}{{#invoke:citation/CS1|citation |CitationClass=citation }}. - ↑
^{11.0}^{11.1}{{#invoke:citation/CS1|citation |CitationClass=citation }}. See in particular Theorem 1.1, pp. 72–73, and the remarks following it. - ↑
^{12.0}^{12.1}{{#invoke:citation/CS1|citation |CitationClass=citation }}. - ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ Template:Harvtxt, Exercise 3, p. 75.
- ↑ Template:Harvtxt, p. 71.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ For instance, submodules of free modules over principal ideal domains are free, a fact that Template:Harvtxt writes allows for "automatic generalization" of homological machinery to these modules. Additionally, the theorem that every projective -module is free generalizes in the same way Template:Harv. {{#invoke:citation/CS1|citation |CitationClass=citation }}. {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ Template:Harvtxt, Exercise 4, p. 75.
- ↑ Template:Harvtxt, p. 70.
- ↑ Template:Harvtxt, Theorem 1.2, p. 73.
- ↑
^{23.0}^{23.1}{{#invoke:citation/CS1|citation |CitationClass=citation }}. - ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ Template:Harvtxt, Example 7.1, provides a model of set theory, and a non-free projective abelian group
*P*in this model that is a subgroup of a free abelian group , where*A*is a set of atoms and*n*is a finite integer. He writes that this model makes the use of choice essential in proving that every projective group is free; by the same reasoning it also shows that choice is essential in proving that subgroups of free groups are free. {{#invoke:citation/CS1|citation |CitationClass=citation }}. - ↑ Appendix 2 §2, page 880 of Template:Lang Algebra.
- ↑ Template:Harvtxt, Theorem 1.6, p. 74.
- ↑ Template:Harvtxt, pp. 71–72.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ Template:Harvtxt, Exercise 9, p. 75.
- ↑ Template:Harvtxt, Exercise 10, p. 75.
- ↑ Template:Harvtxt, Exercise 4, p. 198.
- ↑ Template:Harvtxt, Theorem 1.4, p. 74.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ The theorem that free abelian groups are projective is equivalent to the axiom of choice; see {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.