ArticleslgStudy

mathematics

Modulo (mathematics)

Modulo (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 Modulo (mathematics) rather than just read about it. In short: In mathematics, the term modulo ("with respect to a modulus of", the Latin ablative of modulus which itself means "a small measure") is often used to assert that two distinct mathematical objects can be regarded as equivalent—if their difference is accounted for by an additional factor. It was initially introduced into mathematics in the context of modular arithmetic by Carl Friedrich Gauss in 1801.

Key takeaways

  • Modulo (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 Modulo (mathematics) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Modulo (mathematics) from memory before moving on to harder problems.

Reference excerpt

In mathematics, the term modulo ("with respect to a modulus of", the Latin ablative of modulus which itself means "a small measure") is often used to assert that two distinct mathematical objects can be regarded as equivalent—if their difference is accounted for by an additional factor. It was initially introduced into mathematics in the context of modular arithmetic by Carl Friedrich Gauss in 1801. Since then, the term has gained many meanings—some exact and some imprecise (such as equating "modulo" with "except for"). For the most part, the term often occurs in statements of the form:

A is the same as B modulo C which is often equivalent to "A is the same as B up to C", and means

A and B are the same—except for differences accounted for or explained by C.

History Modulo is a mathematical jargon that was introduced into mathematics in the book Disquisitiones Arithmeticae by Carl Friedrich Gauss in 1801. Given the integers a, b and n, the expression "a ≡ b (mod n)", pronounced "a is congruent to b modulo n", means that a − b is an integer multiple of n, or equivalently, a and b both share the same remainder when divided by n. It is the Latin ablative of modulus, which itself means "a small measure." The term has gained many meanings over the years—some exact and some imprecise. The most general precise definition is simply in terms of an equivalence (or congruence) relation R, where a is equivalent (or congruent) to b modulo R if aRb.

Usage

Original use

Gauss originally intended to use "modulo" as follows: given the integers a, b and n, the expression a ≡ b (mod n) (pronounced "a is congruent to b modulo n") means that a − b is an integer multiple of n, or equivalently, a and b both leave the same remainder when divided by n. For example:

13 is congruent to 63 modulo 10 means that

13 − 63 is a multiple of 10 (equiv., 13 and 63 differ by a multiple of 10).

Computing In computing and computer science, the term can be used in several ways:

In computing, it is typically the modulo operation: given two numbers (either integer or real), a and n, a modulo n is the remainder of the numerical division of a by n, under certain constraints. In category theory as applied to functional programming, "operating modulo" is special jargon which refers to mapping a functor to a category by highlighting or defining remainders.

Structures The term "modulo" can be used differently—when referring to different mathematical structures. For example:

Two members a and b of a group are congruent modulo a normal subgroup, if and only if ab−1 is a member of the normal subgroup (see quotient group and isomorphism theorem for more). Two members of a ring or an algebra are congruent modulo an ideal, if the difference between them is in the ideal. Used as a verb, the act of factoring out a normal subgroup (or an ideal) from a group (or ring) is often called "modding out the..." or "we now mod out the...". Two subsets of an infinite set are equal modulo finite sets precisely if their symmetric difference is finite, that is, you can remove a finite piece from the first subset, then add a finite piece to it, and get the second subset as a result. A short exact sequence of maps leads to the definition of a quotient space as being one space modulo another; thus, for example, that a cohomology is the space of closed forms modulo exact forms.

Modding out In general, modding out is a somewhat informal term that means declaring things equivalent that otherwise would be considered distinct. For example, suppose the sequence 1 4 2 8 5 7 is to be regarded as the same as the sequence 7 1 4 2 8 5, because each is a cyclicly-shifted version of the other:

142857↘↘↘↘↘↘↘714285 In that case, one is "modding out by cyclic shifts".

See also

Essentially unique List of mathematical jargon Up to

References

External links Modulo in the Jargon File

Worked examples

Example 1 — a first encounter with Modulo (mathematics)

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

In research
Modulo (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 Modulo (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
Modulo (mathematics) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical terminology, so understanding it makes those chapters shorter.
In everyday life
Look for Modulo (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 “Modulo (mathematics)” →

How to study Modulo (mathematics) in 20 minutes

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

Frequently asked questions

What is Modulo (mathematics) in simple terms?

In mathematics, the term modulo ("with respect to a modulus of", the Latin ablative of modulus which itself means "a small measure") is often used to assert that two distinct mathematical objects can be regarded as equivalent—if their difference is accounted for by an additional factor. It was init…

Why does Modulo (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 Modulo (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 Modulo (mathematics).

Tags

  • Mathematical terminology

Keep exploring