ArticleslgStudy

mathematics

Magma (algebra)

Magma (algebra) 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 Magma (algebra) rather than just read about it. In short: In abstract algebra, a magma, binar, or, rarely, groupoid is a basic kind of algebraic structure. Specifically, a magma consists of a set equipped with a single binary operation that must be closed by definition.

Magma (algebra) — main illustration
Magma (algebra) — illustration

Key takeaways

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

Reference excerpt

In abstract algebra, a magma, binar, or, rarely, groupoid is a basic kind of algebraic structure. Specifically, a magma consists of a set equipped with a single binary operation that must be closed by definition. No other properties are imposed.

History and terminology The term groupoid was introduced in 1927 by Heinrich Brandt describing his Brandt groupoid. The term was then appropriated by B. A. Hausmann and Øystein Ore (1937) in the sense (of a set with a binary operation) used in this article. In a couple of reviews of subsequent papers in Zentralblatt, Brandt strongly disagreed with this overloading of terminology. The Brandt groupoid is a groupoid in the sense used in category theory, but not in the sense used by Hausmann and Ore. Nevertheless, influential books in semigroup theory, including Clifford and Preston (1961) and Howie (1995) use groupoid in the sense of Hausmann and Ore. Hollings (2014) writes that the term groupoid is "perhaps most often used in modern mathematics" in the sense given to it in category theory. According to Bergman and Hausknecht (1996): "There is no generally accepted word for a set with a not necessarily associative binary operation. The word groupoid is used by many universal algebraists, but workers in category theory and related areas object strongly to this usage because they use the same word to mean 'category in which all morphisms are invertible'. The term magma was used by Serre [Lie Algebras and Lie Groups, 1965]." It also appears in Bourbaki's Éléments de mathématique, Algèbre, chapitres 1 à 3, 1970.

Definition A magma is a set M with an operation • that sends any two elements a, b ∈ M to another element, a • b ∈ M. The symbol • is a general placeholder for a properly defined operation. This requirement that for all a, b in M, the result of the operation a • b also be in M, is known as the magma or closure property. In mathematical notation:

∀ a , b : a , b ∈ M ⟹ a ⋅ b ∈ M . {\displaystyle \forall a,b\colon a,b\in M\implies a\cdot b\in M.}

If • is instead a partial operation, then (M, •) is called a partial magma or, more often, a partial groupoid.

Morphism of magmas A morphism of magmas is a function f : M → N that maps a magma (M, •) to a magma (N, ∗) and preserves the binary operation:

f (x • y) = f(x) ∗ f(y). For example, with M equal to the positive real numbers and • as the geometric mean, N equal to the real number line, and ∗ as the arithmetic mean, a logarithm f is a morphism of the magma (M, •) to (N, ∗).

proof: log ⁡ x y = log ⁡ x + log ⁡ y 2 . {\displaystyle \log {\sqrt {xy}}\ =\ {\frac {\log x+\log y}{2}}.}

Note that these commutative magmas are not associative; nor do they have an identity element. This morphism of magmas has been used in economics since 1863 when William Stanley Jevons calculated the rate of inflation in 39 commodities in England in his A Serious Fall in the Value of Gold Ascertained.

Notation and combinatorics The magma operation may be applied repeatedly, and in the general, non-associative case, the order matters, which is notated with parentheses. Also, the operation • is often omitted and notated by juxtaposition:

(a • (b • c)) • d ≡ (a(bc))d. A shorthand is often used to reduce the number of parentheses, in which the innermost operations and pairs of parentheses are omitted, being replaced just with juxtaposition: xy • z ≡ (x • y) • z. For example, the above is abbreviated to the following expression, still containing parentheses:

(a • bc)d. A way to avoid completely the use of parentheses is prefix notation, in which the same expression would be written ••a•bcd. Another way, familiar to programmers, is postfix notation (reverse Polish notation), in which the same expression would be written abc••d•, in which the order of execution is simply left-to-right (no currying). The set of all possible strings consisting of symbols denoting elements of the magma, and sets of balanced parentheses is called the Dyck language. The total number of different ways of writing n applications of the magma operator is given by the Catalan number Cn. Thus, for example, C2 = 2, which is just the statement that (ab)c and a(bc) are the only two ways of pairing three elements of a magma with two operations. Less trivially, C3 = 5: ((ab)c)d, (a(bc))d, (ab)(cd), a((bc)d), and a(b(cd)). For an n-element set, there are nn2 magmas associated with that set, so for n = 0, 1, 2, 3, 4, ..., there are 1, 1, 16, 19683, 4294967296, ... (sequence A002489 in the OEIS) magmas. The corresponding numbers of magmas up to isomorphism are 1, 1, 10, 3330, 178981952, ... (sequence A001329 in the OEIS) and the numbers of magmas up to isomorphism and antiisomorphism are 1, 1, 7, 1734, 89521056, ... (sequence A001424 in the OEIS).

Free magma

A free magma M X {\displaystyle M_{X}} on a set X {\displaystyle X} is the "most general possible" magma generated by X {\displaystyle X} (i.e., there are no relations or axioms imposed on the generators; see free object). The binary operation on M X {\displaystyle M_{X}} is formed by wrapping each of the two operands in parentheses and juxtaposing them in the same order. For example

a ⋅ b = ( a ) ( b ) {\displaystyle a\cdot b=(a)(b)} ,

a ⋅ ( a ⋅ b ) = ( a ) ( ( a ) ( b ) ) {\displaystyle a\cdot (a\cdot b)=(a)((a)(b))} ,

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Magma (algebra)

Start with the simplest possible case. Write down what Magma (algebra) 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 Magma (algebra) 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 Magma (algebra) 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 Magma (algebra)

In research
Magma (algebra) 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 Magma (algebra) 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
Magma (algebra) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebraic structures, Binary operations, Non-associative algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Magma (algebra) 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 “Magma (algebra)” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Magma (algebra) in 20 minutes

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

Frequently asked questions

What is Magma (algebra) in simple terms?

In abstract algebra, a magma, binar, or, rarely, groupoid is a basic kind of algebraic structure. Specifically, a magma consists of a set equipped with a single binary operation that must be closed by definition.

Why does Magma (algebra) 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 Magma (algebra)?

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 Magma (algebra).

Tags

  • Algebraic structures
  • Binary operations
  • Non-associative algebra

Keep exploring