ArticleslgStudy

computer science

Whitehead's algorithm

Whitehead's algorithm is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Whitehead's algorithm rather than just read about it. In short: Whitehead's algorithm is a mathematical algorithm in group theory for solving the automorphic equivalence problem in the finite rank free group Fn. The algorithm is based on a classic 1936 paper of J.

Key takeaways

  • Whitehead's algorithm belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Whitehead's algorithm to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Whitehead's algorithm from memory before moving on to harder problems.

Reference excerpt

Whitehead's algorithm is a mathematical algorithm in group theory for solving the automorphic equivalence problem in the finite rank free group Fn. The algorithm is based on a classic 1936 paper of J. H. C. Whitehead. It is still unknown (except for the case n = 2) if Whitehead's algorithm has polynomial time complexity.

Statement of the problem Let Fn=F(x1,…,xn) be a free group of rank n≥2 with a free basis X={x1,…,xn}. The automorphism problem, or the automorphic equivalence problem for Fn asks, given two freely reduced words w,w′∈Fn whether there exists an automorphism φ∈Aut⁡(Fn) such that φ(w)=w′. Thus the automorphism problem asks, for w,w′∈Fn whether Aut⁡(Fn)w=Aut⁡(Fn)w′. For w,w′∈Fn one has Aut⁡(Fn)w=Aut⁡(Fn)w′ if and only if Out⁡(Fn)[w]=Out⁡(Fn)[w′], where [w],[w′] are conjugacy classes in Fn of w,w′ accordingly. Therefore, the automorphism problem for Fn is often formulated in terms of Out⁡(Fn)-equivalence of conjugacy classes of elements of Fn. For an element w∈Fn, |w|X denotes the freely reduced length of w with respect to X, and ‖w‖X denotes the cyclically reduced length of w with respect to X. For the automorphism problem, the length of an input w is measured as |w|X or as ‖w‖X, depending on whether one views w as an element of Fn or as defining the corresponding conjugacy class [w] in Fn.

History The automorphism problem for Fn was algorithmically solved by J. H. C. Whitehead in a classic 1936 paper, and his solution came to be known as Whitehead's algorithm. Whitehead used a topological approach in his paper. Namely, consider the 3-manifold Mn=#i=1n𝕊2×𝕊1, the connected sum of n copies of 𝕊2×𝕊1. Then π1(Mn)≅Fn, and, moreover, up to a quotient by a finite normal subgroup isomorphic to ℤ2n, the mapping class group of Mn is equal to Out⁡(Fn); see. Different free bases of Fn can be represented by isotopy classes of "sphere systems" in Mn, and the cyclically reduced form of an element w∈Fn, as well as the Whitehead graph of [w], can be "read-off" from how a loop in general position representing [w] intersects the spheres in the system. Whitehead moves can be represented by certain kinds of topological "swapping" moves modifying the sphere system. Subsequently, Rapaport, and later, based on her work, Higgins and Lyndon, gave a purely combinatorial and algebraic re-interpretation of Whitehead's work and of Whitehead's algorithm. The exposition of Whitehead's algorithm in the book of Lyndon and Schupp is based on this combinatorial approach. Culler and Vogtmann, in their 1986 paper that introduced the Outer space, gave a hybrid approach to Whitehead's algorithm, presented in combinatorial terms but closely following Whitehead's original ideas.

Whitehead's algorithm Our exposition regarding Whitehead's algorithm mostly follows Ch.I.4 in the book of Lyndon and Schupp, as well as.

Overview The automorphism group Aut⁡(Fn) has a particularly useful finite generating set 𝒲 of Whitehead automorphisms or Whitehead moves. Given w,w′∈Fn the first part of Whitehead's algorithm consists of iteratively applying Whitehead moves to w,w′ to take each of them to an "automorphically minimal" form, where the cyclically reduced length strictly decreases at each step. Once we find automorphically these minimal forms u,u′ of w,w′, we check if ‖u‖X=‖u′‖X. If ‖u‖X≠‖u′‖X then w,w′ are not automorphically equivalent in Fn. If ‖u‖X=‖u′‖X, we check if there exists a finite chain of Whitehead moves taking u to u′ so that the cyclically reduced length remains constant throughout this chain. The elements w,w′ are not automorphically equivalent in Fn if and only if such a chain exists. Whitehead's algorithm also solves the search automorphism problem for Fn. Namely, given w,w′∈Fn, if Whitehead's algorithm concludes that Aut⁡(Fn)w=Aut⁡(Fn)w′, the algorithm also outputs an automorphism φ∈Aut⁡(Fn) such that φ(w)=w′. Such an element φ∈Aut⁡(Fn) is produced as the composition of a chain of Whitehead moves arising from the above procedure and taking w to w′.

Whitehead automorphisms A Whitehead automorphism, or Whitehead move, of Fn is an automorphism τ∈Aut⁡(Fn) of Fn of one of the following two types:

There is a permutation σ∈Sn of {1,2,…,n} such that for i=1,…,n τ(xi)=xσ(i)±1 Such τ is called a Whitehead automorphism of the first kind. There is an element a∈X±1, called the multiplier, such that for every x∈X±1 τ(x)∈{x,xa,a−1x,a−1xa}. Such τ is called a Whitehead automorphism of the second kind. Since τ is an automorphism of Fn, it follows that τ(a)=a in this case. Often, for a Whitehead automorphism τ∈Aut⁡(Fn), the corresponding outer automorphism in Out⁡(Fn) is also called a Whitehead automorphism or a Whitehead move.

Examples Let F4=F(x1,x2,x3,x4). Let τ:F4→F4 be a homomorphism such that τ(x1)=x2x1,τ(x2)=x2,τ(x3)=x2x3x2−1,τ(x4)=x4 Then τ is actually an automorphism of F4, and, moreover, τ is a Whitehead automorphism of the second kind, with the multiplier a=x2−1. Let τ′:F4→F4 be a homomorphism such that τ′(x1)=x1,τ′(x2)=x1−1x2x1,τ′(x3)=x1−1x3x1,τ′(x4)=x1−1x4x1 Then τ′ is actually an inner automorphism of F4 given by conjugation by x1, and, moreover, τ′ is a Whitehead automorphism of the second kind, with the multiplier a=x1.

Automorphically minimal and Whitehead minimal elements For w∈Fn, the conjugacy class [w] is called automorphically minimal if for every φ∈Aut⁡(Fn) we have ‖w‖X≤‖φ(w)‖X. Also, a conjugacy class [w] is called Whitehead minimal if for every Whitehead move τ∈Aut⁡(Fn) we have ‖w‖X≤‖τ(w)‖X. Thus, by definition, if [w] is automorphically minimal then it is also Whitehead minimal. It turns out that the converse is also true.

Whitehead's "Peak Reduction Lemma" The following statement is referred to as Whitehead's "Peak Reduction Lemma", see Proposition 4.20 in and Proposition 1.2 in: Let w∈Fn. Then the following hold:

If [w] is not automorphically minimal, then there exists a Whitehead automorphism τ∈Aut⁡(Fn) such that ‖τ(w)‖X<‖w‖X. Suppose that [w] is automorphically minimal, and that another conjugacy class [w′] is also automorphically minimal. Then Aut⁡(Fn)w=Aut⁡(Fn)w′ if and only if ‖w‖X=‖w′‖X and there exists a finite sequence of Whitehead moves τ1,…,τk∈Aut⁡(Fn) such that τk⋯τ1(w)=w′ and ‖τi⋯τ1(w)‖X=‖w‖X for i=1,…,k. Part (1) of the Peak Reduction Lemma implies that a conjugacy class [w] is Whitehead minimal if and only if it is automorphically minimal.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Whitehead's algorithm

Start with the simplest possible case. Write down what Whitehead's algorithm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Whitehead's algorithm before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Whitehead's algorithm ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Whitehead's algorithm

In research
Whitehead's algorithm appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Whitehead's algorithm in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Whitehead's algorithm is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algorithms, Group theory, so understanding it makes those chapters shorter.
In everyday life
Look for Whitehead's algorithm outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Whitehead's algorithm” →

How to study Whitehead's algorithm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Whitehead's algorithm means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Whitehead's algorithm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Whitehead's algorithm in simple terms?

Whitehead's algorithm is a mathematical algorithm in group theory for solving the automorphic equivalence problem in the finite rank free group Fn. The algorithm is based on a classic 1936 paper of J.

Why does Whitehead's algorithm matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Whitehead's algorithm?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Whitehead's algorithm.

Tags

  • Algorithms
  • Group theory

Keep exploring