ArticleslgStudy

science

Unavoidable pattern

Unavoidable pattern is a 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 Unavoidable pattern rather than just read about it. In short: In mathematics and theoretical computer science, a pattern is an unavoidable pattern if it is unavoidable on any finite alphabet. Definitions Pattern Like a word, a pattern (also called term) is a sequence of symbols over some alphabet.

Key takeaways

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

Reference excerpt

In mathematics and theoretical computer science, a pattern is an unavoidable pattern if it is unavoidable on any finite alphabet.

Definitions

Pattern Like a word, a pattern (also called term) is a sequence of symbols over some alphabet. The minimum multiplicity of the pattern p is m(p)=min⁡(countp(x):x∈p) where countp(x) is the number of occurrence of symbol x in pattern p. In other words, it is the number of occurrences in p of the least frequently occurring symbol in p.

Instance Given finite alphabets Σ and Δ, a word x∈Σ∗ is an instance of the pattern p∈Δ∗ if there exists a non-erasing semigroup morphism f:Δ∗→Σ∗ such that f(p)=x, where Σ∗ denotes the Kleene star of Σ. Non-erasing means that f(a)≠ε for all a∈Δ, where ε denotes the empty string.

Avoidance / Matching A word w is said to match, or encounter, a pattern p if a factor (also called subword or substring) of w is an instance of p. Otherwise, w is said to avoid p, or to be p-free. This definition can be generalized to the case of an infinite w, based on a generalized definition of "substring".

Avoidability / Unavoidability on a specific alphabet A pattern p is unavoidable on a finite alphabet Σ if each sufficiently long word x∈Σ∗ must match p; formally: if ∃n∈N. ∀x∈Σ∗. (|x|≥n⟹x matches p). Otherwise, p is avoidable on Σ, which implies there exist infinitely many words over the alphabet Σ that avoid p. By Kőnig's lemma, pattern p is avoidable on Σ if and only if there exists an infinite word w∈Σω that avoids p.

Maximal p-free word Given a pattern p and an alphabet Σ. A p-free word w∈Σ∗ is a maximal p-free word over Σ if aw and wa match p ∀a∈Σ.

Avoidable / Unavoidable pattern A pattern p is an unavoidable pattern (also called blocking term) if p is unavoidable on any finite alphabet. If a pattern is unavoidable and not limited to a specific alphabet, then it is unavoidable for any finite alphabet by default. Conversely, if a pattern is said to be avoidable and not limited to a specific alphabet, then it is avoidable on some finite alphabet by default.

k-avoidable / k-unavoidable A pattern p is k-avoidable if p is avoidable on an alphabet Σ of size k. Otherwise, p is k-unavoidable, which means p is unavoidable on every alphabet of size k. If pattern p is k-avoidable, then p is g-avoidable for all g≥k. Given a finite set of avoidable patterns S={p1,p2,...,pi}, there exists an infinite word w∈Σω such that w avoids all patterns of S. Let μ(S) denote the size of the minimal alphabet Σ′such that ∃w′∈Σ′ω avoiding all patterns of S.

Avoidability index The avoidability index of a pattern p is the smallest k such that p is k-avoidable, and ∞ if p is unavoidable.

Properties A pattern q is avoidable if q is an instance of an avoidable pattern p. Let avoidable pattern p be a factor of pattern q, then q is also avoidable. A pattern q is unavoidable if and only if q is a factor of some unavoidable pattern p. Given an unavoidable pattern p and a symbol a not in p, then pap is unavoidable. Given an unavoidable pattern p, then the reversal pR is unavoidable. Given an unavoidable pattern p, there exists a symbol a such that a occurs exactly once in p. Let n∈N represent the number of distinct symbols of pattern p. If |p|≥2n, then p is avoidable.

Zimin words

Given alphabet Δ={x1,x2,...}, Zimin words (patterns) are defined recursively Zn+1=Znxn+1Zn for n∈Z+ and Z1=x1.

Unavoidability All Zimin words are unavoidable. A word w is unavoidable if and only if it is a factor of a Zimin word. Given a finite alphabet Σ, let f(n,|Σ|) represent the smallest m∈Z+ such that w matches Zn for all w∈Σm. We have following properties:

f(1,q)=1 f(2,q)=2q+1 f(3,2)=29 f(n,q)≤n−1q=qq⋅⋅q⏟n−1 Zn is the longest unavoidable pattern constructed by alphabet Δ={x1,x2,...,xn} since |Zn|=2n−1.

Pattern reduction

Free letter Given a pattern p over some alphabet Δ, we say x∈Δ is free for p if there exist subsets A,B of Δ such that the following hold:

uv is a factor of p and u∈A ↔ uv is a factor of p and v∈B x∈A∖B∪B∖A For example, let p=abcbab, then b is free for p since there exist A=ac,B=b satisfying the conditions above.

Reduce A pattern p∈Δ∗ reduces to pattern q if there exists a symbol x∈Δ such that x is free for p, and q can be obtained by removing all occurrence of x from p. Denote this relation by p→xq. For example, let p=abcbab, then p can reduce to q=aca since b is free for p.

Locked A word w is said to be locked if w has no free letter; hence w can not be reduced.

Transitivity Given patterns p,q,r, if p reduces to q and q reduces to r, then p reduces to r. Denote this relation by p→∗r.

Unavoidability A pattern p is unavoidable if and only if p reduces to a word of length one; hence ∃w such that |w|=1 and p→∗w.

Graph pattern avoidance Source:

Avoidance / Matching on a specific graph Given a simple graph G=(V,E), a edge coloring c:E→Δ matches pattern p if there exists a simple path P=[e1,e2,...,er] in G such that the sequence c(P)=[c(e1),c(e2),...,c(er)] matches p. Otherwise, c is said to avoid p or be p-free. Similarly, a vertex coloring c:V→Δ matches pattern p if there exists a simple path P=[c1,c2,...,cr] in G such that the sequence c(P) matches p.

Pattern chromatic number The pattern chromatic number πp(G) is the minimal number of distinct colors needed for a p-free vertex coloring c over the graph G. Let πp(n)=max⁡{πp(G):G∈Gn} where Gn is the set of all simple graphs with a maximum degree no more than n. Similarly, πp′(G) and πp′(n) are defined for edge colorings.

Avoidability / Unavoidability on graphs A pattern p is avoidable on graphs if πp(n) is bounded by cp, where cp only depends on p.

Avoidance on words can be expressed as a specific case of avoidance on graphs; hence a pattern p is avoidable on any finite alphabet if and only if πp(Pn)≤cp for all n∈Z+, where Pn is a graph of n vertices concatenated.

Probabilistic bound on πp(n) There exists an absolute constant c, such that πp(n)≤cnm(p)m(p)−1≤cn2 for all patterns p with m(p)≥2. Given a pattern p, let n represent the number of distinct symbols of p. If |p|≥2n, then p is avoidable on graphs.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Unavoidable pattern

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

In research
Unavoidable pattern appears in 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 Unavoidable pattern 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
Unavoidable pattern is common in secondary-school and first-year university syllabi. It links to neighbouring topics Combinatorics on words, Formal languages, Semigroup theory, so understanding it makes those chapters shorter.
In everyday life
Look for Unavoidable pattern 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 “Unavoidable pattern” →

How to study Unavoidable pattern in 20 minutes

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

Frequently asked questions

What is Unavoidable pattern in simple terms?

In mathematics and theoretical computer science, a pattern is an unavoidable pattern if it is unavoidable on any finite alphabet. Definitions Pattern Like a word, a pattern (also called term) is a sequence of symbols over some alphabet.

Why does Unavoidable pattern matter?

Because it connects several 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 Unavoidable pattern?

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 Unavoidable pattern.

Tags

  • Combinatorics on words
  • Formal languages
  • Semigroup theory

Keep exploring