ArticleslgStudy

computer science

GAP (computer algebra system)

GAP (computer algebra system) 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 GAP (computer algebra system) rather than just read about it. In short: GAP (groups, algorithms and programming) is an open-source computer algebra system for computational discrete algebra with particular emphasis on computational group theory. History GAP was developed at Lehrstuhl D für Mathematik (LDFM), Rheinisch-Westfälische Technische Hochschule Aachen, Germany from 1986 to 1997.

GAP (computer algebra system) — main illustration
GAP (computer algebra system) — illustration

Key takeaways

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

Reference excerpt

GAP (groups, algorithms and programming) is an open-source computer algebra system for computational discrete algebra with particular emphasis on computational group theory.

History GAP was developed at Lehrstuhl D für Mathematik (LDFM), Rheinisch-Westfälische Technische Hochschule Aachen, Germany from 1986 to 1997. After the retirement of Joachim Neubüser from the chair of LDFM, the development and maintenance of GAP was coordinated by the School of Mathematical and Computational Sciences at the University of St Andrews, Scotland. In the summer of 2005 coordination was transferred to an equal partnership of four 'GAP Centres', located at the University of St Andrews, RWTH Aachen, Technische Universität Braunschweig, and Colorado State University at Fort Collins; in April 2020, a fifth GAP Centre located at the RPTU University Kaiserslautern-Landau was added.

Features GAP contains a procedural programming language and a large collection of functions to create and manipulate various mathematical objects. It supports integers and rational numbers of arbitrary size, memory permitting. Finite groups can be defined as groups of permutations and it is also possible to define finitely presented groups by specifying generators and relations. Several databases of important finite groups are included. GAP also allows to work with matrices and with finite fields (which are represented using Conway polynomials). Rings, modules and Lie algebras are also supported.

Distribution GAP and its sources, including packages (sets of user contributed programs), data library (including a list of small groups) and the manual, are distributed freely, subject to "copyleft" conditions. GAP runs on any Unix system, under Windows, and on Mac systems. The standard distribution requires about 300 MB (about 400 MB if all the packages are loaded). The user contributed packages are an important feature of the system, adding a great deal of functionality. GAP offers package authors the opportunity to submit these packages for a process of peer review, hopefully improving the quality of the final packages, and providing recognition akin to an academic publication for their authors. As of March 2021, there are 151 packages distributed with GAP, of which approximately 71 have been through this process. An interface is available for using the SINGULAR computer algebra system from within GAP. GAP is also included in the mathematical software system SageMath.

Sample session

Permutation group

Euclidean ring

See also

Comparison of computer algebra systems

References

External links Official website Gap-system on GitHub Programming with GAP. Carpentries-style lesson in the Carpentries Incubator.

Illustrations

GAP (computer algebra system) illustration

Worked examples

Example 1 — a first encounter with GAP (computer algebra system)

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

In research
GAP (computer algebra system) 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 GAP (computer algebra system) 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
GAP (computer algebra system) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer algebra system software for Linux, Computer algebra system software for Windows, Computer algebra system software for macOS, so understanding it makes those chapters shorter.
In everyday life
Look for GAP (computer algebra system) 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 “GAP (computer algebra system)” →

How to study GAP (computer algebra system) in 20 minutes

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

Frequently asked questions

What is GAP (computer algebra system) in simple terms?

GAP (groups, algorithms and programming) is an open-source computer algebra system for computational discrete algebra with particular emphasis on computational group theory. History GAP was developed at Lehrstuhl D für Mathematik (LDFM), Rheinisch-Westfälische Technische Hochschule Aachen, Germany…

Why does GAP (computer algebra system) 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 GAP (computer algebra system)?

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 GAP (computer algebra system).

Tags

  • Computer algebra system software for Linux
  • Computer algebra system software for Windows
  • Computer algebra system software for macOS
  • Free computer algebra systems

Keep exploring