1. Home
  2. Explore
  3. Mathematics
  4. Algebraic Structures

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Algebraic Structures

Algebraic Structures, Sets, Functions, and Modular Arithmetic

Algebraic structures—also called abstract algebra or modern algebra—study systems made from sets and operations. Instead of focusing only on particular calculations, abstract algebra asks a broader question:

What properties do different mathematical systems share, and what conclusions follow from those shared properties?

For example, the integers, vectors, matrices, and modular numbers may look very different. However, some of them share properties such as associativity, identity elements, and inverses. Abstract algebra identifies these common patterns and organizes them into structures such as groups, rings, and fields.

The subject begins with familiar number systems and operations, then gradually generalizes their properties.


1. The Basic Properties of Operations

Binary operations and closure

A binary operation combines two elements of a set and produces another element of that same set. The word “binary” refers to the fact that two inputs are involved.

For a set SSS, a binary operation takes an ordered pair (a,b)(a,b)(a,b) of elements of SSS and returns an element of SSS.

Symbolically, a binary operation can be viewed as a function

∗:S×S→S.*: S \times S \to S.∗:S×S→S.

The notation S×SS \times SS×S represents the Cartesian product of SSS with itself: the set of all ordered pairs (a,b)(a,b)(a,b) where both aaa and bbb belong to SSS.

The requirement that the output also belongs to SSS is called closure. Thus, if ∗*∗ is a binary operation on SSS, then for every a,b∈Sa,b \in Sa,b∈S,

a∗b∈S.a*b \in S.a∗b∈S.

Closure means that the operation never takes the calculation outside the set.

For example, the natural numbers are closed under addition because adding two natural numbers always produces another natural number:

3+7=10.3+7=10.3+7=10.

However, the natural numbers are not closed under subtraction. For example,

7−11=−4,7-11=-4,7−11=−4,

and −4-4−4 is not a natural number.

In the terminology used here, calling something a binary operation on a set automatically includes the condition of closure.


Commutativity

An operation is commutative if the order of the two inputs does not affect the result.

For addition, commutativity means

a+b=b+a.a+b=b+a.a+b=b+a.

For multiplication, it means

ab=ba.ab=ba.ab=ba.

For example,

4+9=9+44+9=9+44+9=9+4

and

3⋅8=8⋅3.3\cdot 8=8\cdot 3.3⋅8=8⋅3.

Not every operation is commutative. Matrix multiplication, for example, generally depends on the order of multiplication. In general,

AB≠BA.AB \neq BA.AB=BA.

This distinction becomes important when studying algebraic systems whose operations do not behave like ordinary arithmetic.


Associativity

An operation is associative if the grouping of the elements does not affect the result.

For addition, associativity means

(a+b)+c=a+(b+c).(a+b)+c=a+(b+c).(a+b)+c=a+(b+c).

For multiplication, it means

(ab)c=a(bc).(ab)c=a(bc).(ab)c=a(bc).

The parentheses indicate which operation is performed first. Associativity says that either grouping produces the same answer.

For example,

(2+3)+4=2+(3+4)=9.(2+3)+4=2+(3+4)=9.(2+3)+4=2+(3+4)=9.

Associativity is different from commutativity:

  • Commutativity changes the order: a+ba+ba+b versus b+ab+ab+a.
  • Associativity changes the grouping: (a+b)+c(a+b)+c(a+b)+c versus a+(b+c)a+(b+c)a+(b+c).

Identity elements

An identity element is an element that leaves every other element unchanged under an operation.

For addition, an element eee is an additive identity if

e+a=a+e=ae+a=a+e=ae+a=a+e=a

for every element aaa in the set.

For ordinary numbers, the additive identity is 000 because

0+a=a+0=a.0+a=a+0=a.0+a=a+0=a.

For multiplication, the multiplicative identity is 111 because

1a=a1=a.1a=a1=a.1a=a1=a.

Vector spaces also have an additive identity: the zero vector, usually written 0\mathbf{0}0. It satisfies

0+v=v+0=v.\mathbf{0}+\mathbf{v}=\mathbf{v}+\mathbf{0}=\mathbf{v}.0+v=v+0=v.

The identity must belong to the set being studied. This detail matters for the natural numbers if the natural numbers are defined as

N={1,2,3,4,…}.\mathbb{N}=\{1,2,3,4,\ldots\}.N={1,2,3,4,…}.

Under this convention, N\mathbb{N}N does not contain 000, so it has no additive identity.


Inverses

An inverse reverses the effect of an element with respect to an operation.

For addition, the additive inverse of aaa is an element −a-a−a such that

a+(−a)=0.a+(-a)=0.a+(−a)=0.

For example, the additive inverse of 777 is −7-7−7 because

7+(−7)=0.7+(-7)=0.7+(−7)=0.

For a vector v\mathbf{v}v, the additive inverse is −v-\mathbf{v}−v, and

v+(−v)=0.\mathbf{v}+(-\mathbf{v})=\mathbf{0}.v+(−v)=0.

If

v=(23),\mathbf{v}= \begin{pmatrix} 2\\ 3 \end{pmatrix},v=(23​),

then

−v=(−2−3).-\mathbf{v}= \begin{pmatrix} -2\\ -3 \end{pmatrix}.−v=(−2−3​).

An inverse can exist only if the required inverse is in the set. For example, the set {0,1,2,3,…}\{0,1,2,3,\ldots\}{0,1,2,3,…} contains 333 but not −3-3−3, so 333 does not have an additive inverse within that set.


An algebraic structure is understood by identifying which operations and properties it possesses: closure, associativity, commutativity, identity elements, and inverses.

Think About It

Why does the set of nonnegative integers have an additive identity but fail to have additive inverses for all of its elements?


2. Familiar Number Systems as Algebraic Structures

Beginning with familiar number systems helps reveal how algebraic structures are built.

The natural numbers

Using the convention in the lesson, the natural numbers are

N={1,2,3,4,…}.\mathbb{N}=\{1,2,3,4,\ldots\}.N={1,2,3,4,…}.

This is an infinite set.

Under addition, the natural numbers have these properties:

  • They are closed under addition.
  • Addition is commutative.
  • Addition is associative.
  • They do not have an additive identity because 0∉N0\notin\mathbb{N}0∈/N.
  • They do not have additive inverses for their elements.

For example, 555 has no additive inverse in N\mathbb{N}N because its additive inverse would be −5-5−5, which is not in N\mathbb{N}N.

Under multiplication, the natural numbers are also closed, commutative, and associative. Their multiplicative identity is 111, which belongs to N\mathbb{N}N.

Under subtraction, however, the natural numbers are not closed, since subtracting a larger natural number from a smaller one can produce a negative number.


The nonnegative integers

If zero is added to the natural numbers, the resulting set is

{0,1,2,3,…}.\{0,1,2,3,\ldots\}.{0,1,2,3,…}.

This set has an additive identity, because

0+n=n0+n=n0+n=n

for every element nnn in the set.

However, it still does not contain additive inverses for positive numbers. The additive inverse of 444 is −4-4−4, which is absent from the set.

Adding zero therefore creates an identity element but does not yet create a complete additive group.


The integers

The set of integers is denoted by

Z={…,−3,−2,−1,0,1,2,3,…}.\mathbb{Z}=\{\ldots,-3,-2,-1,0,1,2,3,\ldots\}.Z={…,−3,−2,−1,0,1,2,3,…}.

It contains:

  • The positive counting numbers
  • Zero
  • The negative counting numbers

The negative integers provide the additive inverses of the positive integers.

Under addition, the integers have all of the following properties:

  1. Closure: If a,b∈Za,b\in\mathbb{Z}a,b∈Z, then a+b∈Za+b\in\mathbb{Z}a+b∈Z.
  2. Associativity: (a+b)+c=a+(b+c)(a+b)+c=a+(b+c)(a+b)+c=a+(b+c).
  3. Identity: 0+a=a0+a=a0+a=a.
  4. Additive inverses: Every integer aaa has an inverse −a-a−a.
  5. Commutativity: a+b=b+aa+b=b+aa+b=b+a.

Therefore, the integers form a group under addition. This is the first major example of a group.

The notation “under addition” is essential. A set can have one algebraic structure under one operation and a different structure under another operation.


The rational numbers

The rational numbers are denoted by

Q.\mathbb{Q}.Q.

They consist of numbers that can be represented as fractions

ab,\frac{a}{b},ba​,

where a,b∈Za,b\in\mathbb{Z}a,b∈Z and b≠0b\neq 0b=0.

The denominator cannot be zero because division by zero is not defined.

Examples of rational numbers include

23,−74,5=51.\frac{2}{3},\qquad -\frac{7}{4},\qquad 5=\frac{5}{1}.32​,−47​,5=15​.

Different fractions can represent the same rational number. For example,

46=23.\frac{4}{6}=\frac{2}{3}.64​=32​.

Thus, fractions should be understood as representations of rational numbers rather than as completely different numbers in every case.

The rationals are closed under addition. Adding two rational numbers produces another rational number:

ab+cd=ad+bcbd.\frac{a}{b}+\frac{c}{d} = \frac{ad+bc}{bd}.ba​+dc​=bdad+bc​.

Since integers are closed under addition and multiplication, and since bd≠0bd\neq 0bd=0, the result is rational.

The rational numbers also have:

  • Associative addition
  • Additive identity 000
  • Additive inverse −ab-\frac{a}{b}−ba​ for every ab\frac{a}{b}ba​

Therefore, Q\mathbb{Q}Q is a group under addition.


The real numbers

The real numbers are denoted by

R.\mathbb{R}.R.

They include the familiar numbers used in ordinary measurement and calculation, including both rational and irrational numbers.

Examples of irrational real numbers include numbers such as

2\sqrt{2}2​

and other nonterminating, nonrepeating decimals.

Under addition, the real numbers form a group:

  • The sum of two real numbers is real.
  • Addition is associative.
  • The identity is 000.
  • Every real number xxx has additive inverse −x-x−x.

The complex numbers

The complex numbers are denoted by

C.\mathbb{C}.C.

A complex number has the form

a+bi,a+bi,a+bi,

where a,b∈Ra,b\in\mathbb{R}a,b∈R and iii is defined by

i2=−1.i^2=-1.i2=−1.

The number aaa is called the real part, while bbb is the coefficient of the imaginary part.

To add complex numbers, the real parts are added together and the coefficients of iii are added together:

(a+bi)+(c+di)=(a+c)+(b+d)i.(a+bi)+(c+di)=(a+c)+(b+d)i.(a+bi)+(c+di)=(a+c)+(b+d)i.

For example,

(4+3i)+(−7+2i)=(4−7)+(3+2)i=−3+5i.(4+3i)+(-7+2i) = (4-7)+(3+2)i = -3+5i.(4+3i)+(−7+2i)=(4−7)+(3+2)i=−3+5i.

The complex numbers form a group under addition. Their additive identity is 000, and the additive inverse of a+bia+bia+bi is

−(a+bi)=−a−bi.-(a+bi)=-a-bi.−(a+bi)=−a−bi.

Complex numbers appear in areas including differential equations and quantum mechanics. Their importance illustrates a recurring feature of mathematics: structures developed for theoretical reasons can later become useful in unexpected applications.


3. Groups, Rings, Fields, and Related Structures

The properties above are not merely a list of facts about numbers. They are the building blocks used to define broad classes of algebraic systems.

A group is a set equipped with a binary operation satisfying closure, associativity, an identity element, and inverses for all elements. The operation need not be commutative.

If the group operation is also commutative, the group is called an abelian group.

The integers under addition are an example of an abelian group because addition is commutative.

Abstract algebra also studies other structures, including:

  • Semigroups, which emphasize an associative operation.
  • Monoids, which have an associative operation and an identity.
  • Rings, which involve addition and multiplication and a distributive relationship between them.
  • Fields, in which addition and multiplication have especially strong properties, including multiplicative inverses for nonzero elements.
  • Integral domains, unique factorization domains, principal ideal domains, and Euclidean domains, which describe increasingly specific kinds of rings.
  • Vector spaces, which combine vector addition with scalar multiplication.
  • Topological groups, which add topological ideas to group structure.

These structures form a hierarchy. Some are more general, while others impose additional requirements. A more specialized structure satisfies everything required of a more general structure, plus extra conditions.

For example, a group has more structure than a semigroup because it includes an identity and inverses in addition to associativity.

Multiplicative identities and unity

A multiplicative identity is often called unity and is written 111. In a matrix setting, the multiplicative identity is the identity matrix.

A ring may be described as having unity if it contains such a multiplicative identity. A ring without unity lacks that element.

Commutative multiplication

A ring is called commutative when multiplication is commutative:

ab=ba.ab=ba.ab=ba.

Matrix multiplication usually is not commutative, so matrices provide an important example of why the order of operations must be treated carefully.


The purpose of abstract algebra is to uncover the common algebraic patterns behind apparently different systems.

Think About It

Why is it useful to describe both vectors and integers using properties such as identity and inverse, even though vectors and integers are different kinds of objects?


4. Applications of Abstract Algebra

Abstract algebra has both theoretical and practical applications.

Factoring polynomials

One important application is polynomial factorization. Later algebraic theory can provide methods for factoring polynomials more effectively than ordinary computational techniques alone.

This may seem like a modest application, but polynomial factorization appears throughout mathematics and other technical fields.

ISBN error detection

ISBN codes are identification numbers used for books. Their structure allows many typing errors to be detected.

The underlying idea uses number-theoretic relationships among the digits. If a digit is entered incorrectly or digits are arranged incorrectly in certain ways, the code may fail its checking rule, signaling that an error occurred.

The checking system does not necessarily detect every possible mistake, but it can detect many common errors.

Cryptography

Number theory and group theory also contribute to cryptography, the study of secure communication.

A cryptographic system transforms information so that an unauthorized person who intercepts it cannot easily understand it. This is important for protecting information such as payment details and personal identity.

One relevant number-theoretic fact is that multiplying two very large prime numbers is easy when the primes are known, but factoring their product can be extremely difficult when the original primes are unknown. This difference between multiplication and factorization helps support certain cryptographic methods.

Unexpected usefulness of mathematics

Mathematical structures often become useful in areas that were not anticipated when the structures were first developed.

Complex numbers, for example, were originally connected to solving algebraic equations, but they later became important in physics. Number theory was once often viewed as pure mathematics, yet it now supports cryptography and secure Internet transactions.

This suggests a powerful general observation:

Mathematical systems that are especially rich and beautiful often turn out to be especially useful.

The usefulness may not be obvious at the time a theory is created. Exploring mathematical structures can therefore have value even before a practical application is known.


5. Modular Arithmetic

The clock analogy

Modular arithmetic is sometimes called clock arithmetic because it behaves like the hours on a clock.

On a twelve-hour clock, moving forward twelve hours returns to the same displayed hour. For example, starting at 999 and moving forward five hours gives 222:

9+5≡2(mod12).9+5\equiv 2\pmod{12}.9+5≡2(mod12).

The symbol ≡\equiv≡ means “is congruent to” in the specified modulus.

In modular arithmetic, numbers that differ by a multiple of the modulus are treated as equivalent. For modulus 121212,

1, 13, 25, 37,…1,\ 13,\ 25,\ 37,\ldots1, 13, 25, 37,…

all represent the same position because each differs from the others by a multiple of 121212.

Thus,

13≡1(mod12).13\equiv 1\pmod{12}.13≡1(mod12).

The modulus determines how many positions the clock has before it repeats.


Computing with remainders

To calculate modulo nnn, one may divide by nnn and keep the remainder.

For example, modulo 444,

2+2=4.2+2=4.2+2=4.

The remainder when 444 is divided by 444 is 000, so

2+2≡0(mod4).2+2\equiv 0\pmod{4}.2+2≡0(mod4).

Similarly,

3+2=5,3+2=5,3+2=5,

and the remainder when 555 is divided by 444 is 111, so

3+2≡1(mod4).3+2\equiv 1\pmod{4}.3+2≡1(mod4).

Also,

3+3=6,3+3=6,3+3=6,

and the remainder when 666 is divided by 444 is 222, so

3+3≡2(mod4).3+3\equiv 2\pmod{4}.3+3≡2(mod4).

The statement 2+2≡0(mod4)2+2\equiv 0\pmod{4}2+2≡0(mod4) does not contradict ordinary arithmetic. It means that the two numbers occupy the same position when numbers are organized in cycles of length 444.


The set Zn\mathbb{Z}_nZn​

For a positive integer nnn, define

Zn={0,1,2,…,n−1}.\mathbb{Z}_n=\{0,1,2,\ldots,n-1\}.Zn​={0,1,2,…,n−1}.

This set has exactly nnn elements. For example,

Z4={0,1,2,3}\mathbb{Z}_4=\{0,1,2,3\}Z4​={0,1,2,3}

and

Z10={0,1,2,…,9}.\mathbb{Z}_{10}=\{0,1,2,\ldots,9\}.Z10​={0,1,2,…,9}.

The number nnn itself is not included in Zn\mathbb{Z}_nZn​ because it is congruent to 000 modulo nnn:

n≡0(modn).n\equiv 0\pmod n.n≡0(modn).

Addition in Zn\mathbb{Z}_nZn​ is defined by adding normally and then taking the remainder modulo nnn.

For example, in Z4\mathbb{Z}_4Z4​,

3+2≡1(mod4).3+2\equiv 1\pmod 4.3+2≡1(mod4).

This operation is closed because the answer is always represented by one of the elements 0,1,…,n−10,1,\ldots,n-10,1,…,n−1.


Identities and inverses in modular arithmetic

The additive identity in Zn\mathbb{Z}_nZn​ is 000:

0+a≡a(modn).0+a\equiv a\pmod n.0+a≡a(modn).

Every element has an additive inverse, meaning another element that adds to 000 modulo nnn.

In Z4\mathbb{Z}_4Z4​:

  • The inverse of 000 is 000.
  • The inverse of 111 is 333, because 1+3=4≡0(mod4)1+3=4\equiv 0\pmod 41+3=4≡0(mod4).
  • The inverse of 222 is 222, because 2+2=4≡0(mod4)2+2=4\equiv 0\pmod 42+2=4≡0(mod4).
  • The inverse of 333 is 111.

The notation −1≡3(mod4)-1\equiv 3\pmod 4−1≡3(mod4) is valid because −1-1−1 and 333 differ by 444.

An element can have many integer representatives but only one representative within the standard set Zn\mathbb{Z}_nZn​. For example, all of the following represent the same modular element modulo 121212:

1, 13, 25, −11.1,\ 13,\ 25,\ -11.1, 13, 25, −11.

There is no conflict in saying that 777 and −5-5−5 are both additive inverses of 555 as ordinary integers modulo 121212, because they represent the same element of the modular system:

7≡−5(mod12).7\equiv -5\pmod{12}.7≡−5(mod12).

Other modular systems

The modulus does not have to be 121212. Examples include:

  • Modulo 101010, which has positions 000 through 999.
  • Modulo 777, which can model a repeating seven-day cycle.
  • Modulo 222, which has only two classes: even and odd.

In modulo 222,

Z2={0,1}.\mathbb{Z}_2=\{0,1\}.Z2​={0,1}.

Every even integer is congruent to 000, and every odd integer is congruent to 111.

Modular arithmetic is therefore useful for any situation involving repetition or cycles.


Formal definition of a binary operation on Zn\mathbb{Z}_nZn​

The Cartesian product of Zn\mathbb{Z}_nZn​ with itself is

Zn×Zn={(x,y):x∈Zn and y∈Zn}.\mathbb{Z}_n\times\mathbb{Z}_n = \{(x,y):x\in\mathbb{Z}_n\text{ and }y\in\mathbb{Z}_n\}.Zn​×Zn​={(x,y):x∈Zn​ and y∈Zn​}.

The notation means “the set of all ordered pairs (x,y)(x,y)(x,y) such that xxx and yyy are elements of Zn\mathbb{Z}_nZn​.”

A binary operation on Zn\mathbb{Z}_nZn​ is a function

∗:Zn×Zn→Zn.*:\mathbb{Z}_n\times\mathbb{Z}_n\to\mathbb{Z}_n.∗:Zn​×Zn​→Zn​.

Its inputs are ordered pairs of elements from Zn\mathbb{Z}_nZn​, and its outputs are elements of Zn\mathbb{Z}_nZn​.

For modular addition, the operation is usually written with the familiar plus symbol:

+:Zn×Zn→Zn.+:\mathbb{Z}_n\times\mathbb{Z}_n\to\mathbb{Z}_n.+:Zn​×Zn​→Zn​.

The same symbol is being used both for the operation itself and for ordinary addition followed by reduction modulo nnn. This is an example of abuse of notation. It is acceptable as long as the context makes the intended meaning clear.

Under modular addition, Zn\mathbb{Z}_nZn​ forms a group. Addition is closed, associative, and commutative; 000 is the identity; and every element has an additive inverse.


Think About It

Why can 131313 and 111 be treated as the same element in Z12\mathbb{Z}_{12}Z12​ but as different numbers in the ordinary integer system?


6. Sets and Set Operations

Abstract algebra relies heavily on set language. A set is a collection of objects, called its elements.

A set may contain numbers, words, people, vectors, or other mathematical objects.

The empty set

The empty set is the set containing no elements. It can be written as

∅\varnothing∅

or

{}.\{\}.{}.

The empty set is not the number 000. The number 000 is an object, while ∅\varnothing∅ is a set containing no objects.


Subsets

A set AAA is a subset of a set BBB if every element of AAA is also an element of BBB.

The notation is

A⊆B.A\subseteq B.A⊆B.

Formally,

A⊆B⟺∀x (x∈A⇒x∈B).A\subseteq B \quad\Longleftrightarrow\quad \forall x\,(x\in A\Rightarrow x\in B).A⊆B⟺∀x(x∈A⇒x∈B).

This reads: AAA is a subset of BBB if, for every element xxx, membership in AAA implies membership in BBB.

A subset may be smaller than the original set, but it may also be equal to it. Thus,

A⊆AA\subseteq AA⊆A

is always true.

To prove that A⊆BA\subseteq BA⊆B, the standard method is:

  1. Choose an arbitrary element x∈Ax\in Ax∈A.
  2. Show that this same element satisfies x∈Bx\in Bx∈B.
  3. Conclude that every element of AAA belongs to BBB.

The empty set is a subset of every set:

∅⊆A.\varnothing\subseteq A.∅⊆A.

The reason is that there is no element in ∅\varnothing∅ that could violate the subset condition. This is an example of a statement being vacuously true.


Equality of sets

Two sets are equal exactly when they contain the same elements.

A standard way to prove set equality is to prove containment in both directions:

A=B⟺A⊆B and B⊆A.A=B \quad\Longleftrightarrow\quad A\subseteq B\text{ and }B\subseteq A.A=B⟺A⊆B and B⊆A.

This is called double inclusion.

For example, if every element of AAA belongs to BBB, and every element of BBB belongs to AAA, then neither set contains anything the other lacks, so the sets are equal.


Quantifiers

Two logical symbols are especially useful in set theory.

The symbol

∀\forall∀

means “for all,” and is called the universal quantifier.

The symbol

∃\exists∃

means “there exists,” and is called the existential quantifier.

For example,

∀x∈R,x+0=x\forall x\in\mathbb{R},\quad x+0=x∀x∈R,x+0=x

means that every real number is unchanged when 000 is added to it.

The statement

∃x∈Z such that x+3=0\exists x\in\mathbb{Z}\text{ such that }x+3=0∃x∈Z such that x+3=0

means that there exists an integer satisfying the equation. In this case, x=−3x=-3x=−3.


Union

The union of AAA and BBB, written

A∪B,A\cup B,A∪B,

contains all elements that belong to AAA, to BBB, or to both.

Formally,

A∪B={x:x∈A or x∈B}.A\cup B=\{x:x\in A\text{ or }x\in B\}.A∪B={x:x∈A or x∈B}.

The “or” here is inclusive: an element may belong to both sets.

For example, if

A={1,2,3}andB={3,4,5},A=\{1,2,3\} \quad\text{and}\quad B=\{3,4,5\},A={1,2,3}andB={3,4,5},

then

A∪B={1,2,3,4,5}.A\cup B=\{1,2,3,4,5\}.A∪B={1,2,3,4,5}.

The element 333 appears only once because sets do not count repeated elements.

A generalized union can combine many sets:

⋃α∈ΩAα.\bigcup_{\alpha\in\Omega}A_\alpha.α∈Ω⋃​Aα​.

This means the set of all elements that belong to at least one of the sets AαA_\alphaAα​.


Intersection

The intersection of AAA and BBB, written

A∩B,A\cap B,A∩B,

contains exactly the elements that belong to both sets.

Formally,

A∩B={x:x∈A and x∈B}.A\cap B=\{x:x\in A\text{ and }x\in B\}.A∩B={x:x∈A and x∈B}.

Using the earlier example,

A∩B={3}.A\cap B=\{3\}.A∩B={3}.

For a family of sets, the generalized intersection is written

⋂α∈ΩAα.\bigcap_{\alpha\in\Omega}A_\alpha.α∈Ω⋂​Aα​.

An element belongs to this intersection only if it belongs to every set in the family.


Complements

A universe of discourse, usually denoted by UUU, is the larger set under consideration. If A⊆UA\subseteq UA⊆U, the complement of AAA consists of all elements of UUU that are not in AAA.

The complement may be written as

AcA^cAc

or

U∖A.U\setminus A.U∖A.

Formally,

Ac={x∈U:x∉A}.A^c=\{x\in U:x\notin A\}.Ac={x∈U:x∈/A}.

The universe is important because a complement depends on what objects are being considered. The complement of “even integers” within the integers differs from the complement of “even integers” within the natural numbers.


7. Functions

A function is a rule that assigns each element of a domain exactly one output in a codomain.

A function may be written

f:A→B.f:A\to B.f:A→B.

Here:

  • AAA is the domain.
  • BBB is the codomain.
  • f(a)f(a)f(a) is the unique output assigned to aaa.

The phrase “exactly one” is crucial. A function cannot assign two different outputs to the same input.

The output values that actually occur are called the image of the function. The image is a subset of the codomain:

Im⁡(f)⊆B.\operatorname{Im}(f)\subseteq B.Im(f)⊆B.

The image does not necessarily equal the entire codomain.

Onto functions

A function is onto, or surjective, if every element of the codomain is the image of at least one domain element.

Formally, f:A→Bf:A\to Bf:A→B is onto if

∀b∈B, ∃a∈A such that f(a)=b.\forall b\in B,\ \exists a\in A\text{ such that }f(a)=b.∀b∈B, ∃a∈A such that f(a)=b.

Thus,

Im⁡(f)=B.\operatorname{Im}(f)=B.Im(f)=B.

A function can be a valid function without being onto. Some elements of the codomain may never be reached.

One-to-one functions

A function is one-to-one, or injective, if different inputs always produce different outputs.

Formally,

f(a1)=f(a2)⇒a1=a2.f(a_1)=f(a_2)\Rightarrow a_1=a_2.f(a1​)=f(a2​)⇒a1​=a2​.

Equivalently, if a1≠a2a_1\neq a_2a1​=a2​, then

f(a1)≠f(a2).f(a_1)\neq f(a_2).f(a1​)=f(a2​).

Injectivity prevents two distinct domain elements from being assigned to the same output.

Bijections and inverses

A function that is both one-to-one and onto is called a bijection.

A bijection pairs each element of the domain with exactly one element of the codomain, and every codomain element is paired with exactly one domain element.

Because of this perfect pairing, a bijection has an inverse function. The inverse reverses the assignment:

f−1(b)=af^{-1}(b)=af−1(b)=a

whenever

f(a)=b.f(a)=b.f(a)=b.

The inverse exists as a function because injectivity ensures that an output bbb comes from no more than one input, while surjectivity ensures that every bbb comes from at least one input.


A function is a precise assignment rule: every domain element receives exactly one output, while injectivity and surjectivity describe how completely and uniquely the codomain is reached.

Think About It

Why are both injectivity and surjectivity needed for a function to have an inverse that is itself a function?


Comprehensive Review

Abstract algebra studies sets equipped with operations and focuses on the properties those operations satisfy.

The central properties are:

  • Closure: operating on elements of a set produces another element of the same set.
  • Commutativity: changing the order does not change the result.
  • Associativity: changing the grouping does not change the result.
  • Identity: a special element leaves every element unchanged.
  • Inverse: a special element reverses another element under the operation.

These properties can be observed in familiar number systems. The natural numbers are closed under addition and multiplication but lack an additive identity under the convention that excludes zero. Adding zero creates an additive identity but not additive inverses. The integers include all additive inverses and therefore form a group under addition. The rational, real, and complex numbers also form groups under addition.

Modular arithmetic creates finite cyclic systems in which numbers differing by multiples of a modulus are treated as equivalent. The set Zn\mathbb{Z}_nZn​ contains the standard representatives 000 through n−1n-1n−1, and modular addition gives it a group structure.

Sets provide the language for describing algebraic systems. Subsets are proved using universal statements, set equality is established through double inclusion, and union, intersection, and complement describe ways of combining or restricting sets.

Functions provide the language for describing operations formally. A binary operation is a function from S×SS\times SS×S to SSS. General functions have domains, codomains, and images. Injective functions preserve uniqueness of inputs, surjective functions reach every codomain element, and bijections have both properties and therefore possess inverse functions.

The unifying goal is to recognize that different mathematical objects can obey the same structural rules. Once those shared rules are identified, theorems proved for one example can be applied to every other system with the same structure.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent