ArticleslgStudy

mathematics

Word problem (mathematics)

Word problem (mathematics) is a mathematics 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 Word problem (mathematics) rather than just read about it. In short: In computational mathematics, a word problem is the problem of deciding whether two given expressions are equivalent with respect to a set of rewriting identities. A prototypical example is the word problem for groups, but there are many other instances as well.

Word problem (mathematics) — main illustration
Word problem (mathematics) — illustration

Key takeaways

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

Reference excerpt

In computational mathematics, a word problem is the problem of deciding whether two given expressions are equivalent with respect to a set of rewriting identities. A prototypical example is the word problem for groups, but there are many other instances as well. Some deep results of computational theory concern the undecidability of this question in many important cases.

Background and motivation In computer algebra one often wishes to encode mathematical expressions using an expression tree. But there are often multiple equivalent expression trees. The question naturally arises of whether there is an algorithm which, given as input two expressions, decides whether they represent the same element. Such an algorithm is called a solution to the word problem. For example, imagine that x,y,z are symbols representing real numbers - then a relevant solution to the word problem would, given the input (x⋅y)/z=?(x/z)⋅y, produce the output EQUAL, and similarly produce NOT_EQUAL from (x⋅y)/z=?(x/x)⋅y. The most direct solution to a word problem takes the form of a normal form theorem and algorithm that maps every element in an equivalence class of expressions to a single encoding known as the normal form - the word problem is then solved by comparing these normal forms via syntactic equality. For example one might decide that x⋅y⋅z−1 is the normal form of (x⋅y)/z, (x/z)⋅y, and (y/z)⋅x, and devise a transformation system to rewrite those expressions to that form, in the process proving that all equivalent expressions will be rewritten to the same normal form. But not all solutions to the word problem use a normal form theorem - there are algebraic properties that indirectly imply the existence of an algorithm. While the word problem asks whether two terms containing constants are equal, a proper extension of the word problem known as the unification problem asks whether two terms t1,t2 containing variables have instances that are equal, or in other words whether the equation t1=t2 has any solutions. As a common example, 2+3=?8+(−3) is a word problem in the integer group ℤ, while 2+x=?8+(−x) is a unification problem in the same group; since the former terms happen to be equal in ℤ, the latter problem has the substitution {x↦3} as a solution.

History One of the most deeply studied cases of the word problem is in the theory of semigroups and groups. A timeline of papers relevant to the Novikov–Boone theorem is as follows:

1910 (1910): Axel Thue poses a general problem of term rewriting on tree-like structures. He states "A solution of this problem in the most general case may perhaps be connected with unsurmountable difficulties". 1911 (1911): Max Dehn poses the word problem for finitely presented groups. 1912 (1912): Dehn presents Dehn's algorithm, and proves it solves the word problem for the fundamental groups of closed orientable two-dimensional manifolds of genus greater than or equal to 2. Subsequent authors have greatly extended it to a wide range of group-theoretic decision problems. 1914 (1914): Axel Thue poses the word problem for finitely presented semigroups. 1930 (1930)–1938 (1938): The Church–Turing thesis emerges, defining formal notions of computability and undecidability. 1947 (1947): Emil Post and Andrey Markov Jr. independently construct finitely presented semigroups with unsolvable word problem. Post's construction is built on Turing machines while Markov's uses Post's normal systems. 1950 (1950): Alan Turing shows the word problem for cancellation semigroups is unsolvable, by furthering Post's construction. The proof is difficult to follow but marks a turning point in the word problem for groups. 1955 (1955): Pyotr Novikov gives the first published proof that the word problem for groups is unsolvable, using Turing's cancellation semigroup result. The proof contains a "Principal Lemma" equivalent to Britton's Lemma. 1954 (1954)–1957 (1957): William Boone independently shows the word problem for groups is unsolvable, using Post's semigroup construction. 1957 (1957)–1958 (1958): John Britton gives another proof that the word problem for groups is unsolvable, based on Turing's cancellation semigroups result and some of Britton's earlier work. An early version of Britton's Lemma appears. 1958 (1958)–1959 (1959): Boone publishes a simplified version of his construction. 1961 (1961): Graham Higman characterises the subgroups of finitely presented groups with Higman's embedding theorem, connecting recursion theory with group theory in an unexpected way and giving a very different proof of the unsolvability of the word problem. 1961 (1961)–1963 (1963): Britton presents a greatly simplified version of Boone's 1959 proof that the word problem for groups is unsolvable. It uses a group-theoretic approach, in particular Britton's Lemma. This proof has been used in a graduate course, although more modern and condensed proofs exist. 1977 (1977): Gennady Makanin proves that the existential theory of equations over free monoids is solvable.

The word problem for semi-Thue systems The accessibility problem for string rewriting systems (semi-Thue systems or semigroups) can be stated as follows: Given a semi-Thue system T:=(Σ,R) and two words (strings) u,v∈Σ∗, can u be transformed into v by applying rules from R? Note that the rewriting here is one-way. The word problem is the accessibility problem for symmetric rewrite relations, i.e. Thue systems. The accessibility and word problems are undecidable, i.e. there is no general algorithm for solving this problem. This even holds if we limit the systems to have finite presentations, i.e. a finite set of symbols and a finite set of relations on those symbols. Even the word problem restricted to ground terms is not decidable for certain finitely presented semigroups.

The word problem for groups

Given a presentation ⟨S∣ℛ⟩ for a group G, the word problem is the algorithmic problem of deciding, given as input two words in S, whether they represent the same element of G. The word problem is one of three algorithmic problems for groups proposed by Max Dehn in 1911. It was shown by Pyotr Novikov in 1955 that there exists a finitely presented group G such that the word problem for G is undecidable.

The word problem in combinatorial calculus and lambda calculus

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Word problem (mathematics)

Start with the simplest possible case. Write down what Word problem (mathematics) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Word problem (mathematics) 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 Word problem (mathematics) 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 Word problem (mathematics)

In research
Word problem (mathematics) appears in mathematics 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 Word problem (mathematics) 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
Word problem (mathematics) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Abstract algebra, Combinatorics on words, Computational problems, so understanding it makes those chapters shorter.
In everyday life
Look for Word problem (mathematics) 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 “Word problem (mathematics)” →

How to study Word problem (mathematics) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Word problem (mathematics) 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 Word problem (mathematics) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Word problem (mathematics) in simple terms?

In computational mathematics, a word problem is the problem of deciding whether two given expressions are equivalent with respect to a set of rewriting identities. A prototypical example is the word problem for groups, but there are many other instances as well.

Why does Word problem (mathematics) matter?

Because it connects several mathematics 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 Word problem (mathematics)?

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 Word problem (mathematics).

Tags

  • Abstract algebra
  • Combinatorics on words
  • Computational problems
  • Rewriting systems

Keep exploring