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: Foundational Concepts

What Is Abstract Algebra?

Algebraic structures—also called abstract algebra or modern algebra—study sets equipped with operations and the general properties those operations satisfy.

Rather than focusing only on particular numbers or computational procedures, abstract algebra asks:

  • What properties do different mathematical systems have in common?

  • Which conclusions follow logically from those properties?

  • How can one system be understood by comparing it with another?

  • How can familiar ideas from numbers, vectors, matrices, and functions be generalized?

An algebraic structure usually consists of:

  1. A set of objects.

  2. One or more operations defined on those objects.

  3. A collection of properties or axioms satisfied by the operations.

Examples of systems studied in abstract algebra include:

  • Groups

  • Rings

  • Fields

  • Vector spaces

  • Integral domains

  • Unique factorization domains

  • Principal ideal domains

  • Euclidean domains

These names identify systems with particular combinations of algebraic properties.

Abstract algebra identifies and studies the common structural properties shared by apparently different mathematical systems.


Fundamental Algebraic Properties

Many abstract algebraic properties are familiar from vector spaces and ordinary number systems.

Binary Operations and Closure

A binary operation on a set combines any two elements of that set and produces another element of the same set.

If an operation ∗\ast∗ is a binary operation on a set SSS, then for every a,b∈Sa,b \in Sa,b∈S,

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

This condition is called closure.

For example, addition is closed on the integers because the sum of any two integers is an integer:

a,b∈Z  ⟹  a+b∈Z.a,b \in \mathbb{Z} \implies a+b \in \mathbb{Z}.a,b∈Z⟹a+b∈Z.

Subtraction is not closed on the natural numbers if the natural numbers are defined as {1,2,3,…}\{1,2,3,\ldots\}{1,2,3,…}, because

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

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

In the textbook’s terminology, the phrase binary operation on SSS automatically includes closure. If an operation does not produce an element of SSS for every pair of inputs, it is not a binary operation on SSS.

Commutativity

An operation ∗\ast∗ is commutative if changing the order of the inputs does not change the result:

a∗b=b∗a.a \ast b=b \ast a.a∗b=b∗a.

For addition and multiplication of ordinary numbers,

a+b=b+aa+b=b+aa+b=b+a

and

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

Matrix multiplication, in contrast, is generally not commutative:

AB≠BAAB \neq BAAB=BA

for many matrices AAA and BBB.

Associativity

An operation ∗\ast∗ is associative if the placement of parentheses does not affect the result:

(a∗b)∗c=a∗(b∗c).(a \ast b)\ast c=a\ast(b\ast c).(a∗b)∗c=a∗(b∗c).

For addition,

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

For multiplication,

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

Associativity concerns the grouping of operations, not the order of the elements. Commutativity changes order; associativity changes parentheses.

Identity Elements

An identity element leaves every element unchanged when combined with it.

For an operation ∗\ast∗ on a set SSS, an identity element eee satisfies

e∗a=a∗e=ae\ast a=a\ast e=ae∗a=a∗e=a

for every a∈Sa\in Sa∈S.

Examples include:

  • The additive identity is 000, since

    0+a=a+0=a.0+a=a+0=a.0+a=a+0=a.
  • The multiplicative identity is 111, since

    1a=a1=a.1a=a1=a.1a=a1=a.
  • The zero vector is the identity for vector addition:

    0+v=v.\mathbf{0}+\mathbf{v}=\mathbf{v}.0+v=v.
  • The identity matrix is the identity for matrix multiplication:

    AI=IA=A.AI=IA=A.AI=IA=A.

The identity depends on the operation being considered.

Inverses

An inverse of an element combines with that element to produce the identity.

For addition, the additive inverse of aaa is −a-a−a because

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

For multiplication, the multiplicative inverse of a nonzero number aaa is 1a\frac{1}{a}a1​ because

a(1a)=1.a\left(\frac{1}{a}\right)=1.a(a1​)=1.

An inverse must belong to the set under consideration. For example, every integer has an additive inverse in Z\mathbb{Z}Z, but a positive natural number generally does not have an additive inverse in the positive natural numbers.

Distributivity

Multiplication is distributive over addition if

a(b+c)=ab+aca(b+c)=ab+aca(b+c)=ab+ac

and

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

Distributivity connects two operations. It is especially important in rings and fields.


Mathematical Notation

Abstract algebra uses shorthand notation frequently.

Universal Quantifier

The symbol ∀\forall∀ means for all.

For example,

m+n=n+m∀m,n∈Nm+n=n+m \quad \forall m,n\in\mathbb{N}m+n=n+m∀m,n∈N

means that addition is commutative for every pair of natural numbers.

Existential Quantifier

The symbol ∃\exists∃ means there exists.

For example,

∃x∈S such that x+a=e\exists x\in S \text{ such that } x+a=e∃x∈S such that x+a=e

means that there is some element xxx in SSS that combines with aaa to produce the identity eee.

Element Notation

The notation a∈Sa\in Sa∈S means that aaa is an element of SSS.

The notation a∉Sa\notin Sa∈/S means that aaa is not an element of SSS.

Implication

The symbol   ⟹  \implies⟹ means implies.

For example,

a∈A  ⟹  a∈Ba\in A \implies a\in Ba∈A⟹a∈B

means that membership in AAA guarantees membership in BBB.

Proof Writing

Proofs should generally be written in complete mathematical sentences. Symbols such as ∀\forall∀ and ∃\exists∃ can be used appropriately, but they should clarify rather than obscure the reasoning.

Examples and proofs are central tools for understanding abstract algebra. Proofs are not merely exercises; constructing a proof reveals why a statement is true and how its hypotheses are being used.


Number Systems as Algebraic Structures

A useful method in abstract algebra is to begin with familiar number systems and gradually generalize their properties.

Natural Numbers

The natural numbers are commonly represented by

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

This convention excludes 000.

The natural numbers are infinite and have familiar operations, but the properties they satisfy depend on the operation.

Addition on N\mathbb{N}N

Addition on N\mathbb{N}N has the following properties:

  • Closure: If m,n∈Nm,n\in\mathbb{N}m,n∈N, then m+n∈Nm+n\in\mathbb{N}m+n∈N.

  • Commutativity:

    m+n=n+m.m+n=n+m.m+n=n+m.
  • Associativity:

    (m+n)+p=m+(n+p).(m+n)+p=m+(n+p).(m+n)+p=m+(n+p).

However, addition on N\mathbb{N}N does not have an additive identity within the set because the additive identity is 000, and 0∉N0\notin\mathbb{N}0∈/N under this convention.

Natural numbers also generally lack additive inverses. The additive inverse of 333 would be −3-3−3, but −3∉N-3\notin\mathbb{N}−3∈/N.

Multiplication on N\mathbb{N}N

Multiplication on N\mathbb{N}N is:

  • Closed

  • Commutative

  • Associative

For all m,n,p∈Nm,n,p\in\mathbb{N}m,n,p∈N,

mn=nmmn=nmmn=nm

and

(mn)p=m(np).(mn)p=m(np).(mn)p=m(np).

The multiplicative identity is 111, which belongs to N\mathbb{N}N. However, most natural numbers do not have multiplicative inverses in N\mathbb{N}N.

Subtraction on N\mathbb{N}N

Subtraction is not closed on N\mathbb{N}N:

7−11=−4∉N.7-11=-4\notin\mathbb{N}.7−11=−4∈/N.

Therefore, subtraction is not a binary operation on N\mathbb{N}N.


Nonnegative Integers

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

N0={0,1,2,3,…}.\mathbb{N}_0=\{0,1,2,3,\ldots\}.N0​={0,1,2,3,…}.

Under addition, this set gains an identity element:

0+n=n+0=n.0+n=n+0=n.0+n=n+0=n.

However, it still does not contain additive inverses for positive elements. For example, the additive inverse of 555 is −5-5−5, which is not in N0\mathbb{N}_0N0​.

Thus, adding 000 provides an additive identity but does not create a complete additive group.


Integers

The integers are 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,…}.

They include:

  • Positive natural numbers

  • Zero

  • Negative numbers

The integers are closed under addition, subtraction, and multiplication.

The Integers Under Addition

The integers under addition have all of the following properties:

  1. Closure $$ a,b\in\mathbb{Z}\implies a+b\in\mathbb{Z}. $$

  2. Associativity $$ (a+b)+c=a+(b+c). $$

  3. Additive identity $$ 0+a=a+0=a. $$

  4. Additive inverses Every integer aaa has an additive inverse −a-a−a: $$ a+(-a)=0. $$

  5. Commutativity $$ a+b=b+a. $$

Therefore, Z\mathbb{Z}Z under addition is the first major example of a group.

The integers form a group under addition because addition is closed and associative, has an identity element, and every integer has an additive inverse.


Rational Numbers

The rational numbers are denoted by

Q.\mathbb{Q}.Q.

They consist of numbers that can be expressed as a quotient of integers:

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

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

Fractions such as 46\frac{4}{6}64​ and 23\frac{2}{3}32​ represent the same rational number. Thus, the expression of a rational number as a fraction is not always unique.

Rational Numbers Under Addition

The rationals are closed under addition. If

ab,cd∈Q,\frac{a}{b},\frac{c}{d}\in\mathbb{Q},ba​,dc​∈Q,

then

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

and bd≠0bd\neq 0bd=0.

The rational numbers also have:

  • Associative addition

  • Additive identity 000

  • Additive inverses

  • Commutative addition

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


Real Numbers

The real numbers are denoted by

R.\mathbb{R}.R.

They include rational and irrational numbers. They can be viewed informally as all possible decimal values, including:

  • Terminating decimals, such as 2.52.52.5

  • Repeating decimals, such as 0.3‾0.\overline{3}0.3

  • Nonrepeating infinite decimals, such as 2\sqrt{2}2​

The real numbers form a group under addition because they are closed under addition, addition is associative and commutative, 000 is the additive identity, and every real number xxx has an additive inverse −x-x−x.


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

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

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

Addition of Complex Numbers

Complex numbers are added by separately adding their real and imaginary parts:

(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 0+0i0+0i0+0i, and the additive inverse of a+bia+bia+bi is

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

Complex numbers have important applications in differential equations, quantum mechanics, and other areas of mathematics and physics.


Groups, Rings, and Fields

The terms group, ring, and field do not refer to ordinary physical objects. They name different types of algebraic structures characterized by particular axioms.

Groups

A group consists of a set and a binary operation satisfying:

  1. Closure

  2. Associativity

  3. Existence of an identity element

  4. Existence of an inverse for every element

A group may or may not be commutative.

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

Examples include:

  • Z\mathbb{Z}Z under addition

  • Q\mathbb{Q}Q under addition

  • R\mathbb{R}R under addition

  • C\mathbb{C}C under addition

  • Modular arithmetic systems under addition

Rings

A ring has two operations, usually called addition and multiplication. Its structure includes additive behavior resembling a group and multiplication connected to addition through distributivity.

A ring may or may not have a multiplicative identity. A ring with a multiplicative identity is sometimes described as a ring with unity, where “unity” means the multiplicative identity.

Multiplication in a ring need not be commutative. For example, matrix multiplication is generally noncommutative.

Fields

A field is a highly structured algebraic system in which addition and multiplication behave similarly to ordinary arithmetic. In particular:

  • Addition forms an abelian group.

  • Nonzero elements form a multiplicative group.

  • Multiplication is commutative.

  • Multiplication distributes over addition.

The rational numbers, real numbers, and complex numbers are standard examples of fields.

Relationships Among Structures

Algebraic structures can be arranged according to how general or specialized their axioms are.

More general structures satisfy fewer requirements and apply to more examples. More specialized structures satisfy additional requirements and therefore apply to fewer systems.

Important structures related to groups, rings, and fields include:

  • Semigroups

  • Monoids

  • Abelian groups

  • Rings with or without unity

  • Commutative rings

  • Fields

  • Integral domains

  • Unique factorization domains

  • Principal ideal domains

  • Euclidean domains

  • Vector spaces

  • Topological groups

The relationships among these structures express logical implications between their axioms.


Applications of Abstract Algebra

Abstract algebra is valuable both for understanding mathematics internally and for applications in other fields.

Factoring Polynomials

One major mathematical application is polynomial factorization. Algebraic structures developed later in the subject help explain when and how polynomials can be factored and why certain factorization procedures work.

The theory can provide stronger and more general methods than ordinary computational factoring.

ISBN Error Detection

ISBN codes used for books are designed so that many typing errors can be detected.

The numerical structure of ISBN codes allows a checking procedure to identify inconsistencies in a typed code. This does not necessarily detect every possible error, but it catches many common mistakes.

This application uses ideas from number theory and modular arithmetic.

Cryptography

Cryptography protects information by transforming readable data into an encoded form.

Number theory and group theory contribute to cryptographic systems used to secure:

  • Internet transactions

  • Credit card information

  • Passwords

  • Digital communications

  • Personal identity data

A key idea behind some cryptographic systems is that multiplying two very large prime numbers is easy, while factoring their product may be extremely difficult if the original primes are unknown.

If ppp and qqq are large prime numbers, computing

N=pqN=pqN=pq

is straightforward. However, given only NNN, recovering ppp and qqq can be computationally difficult when they are sufficiently large.

The possible development of quantum computing raises questions about whether some currently difficult factoring problems could eventually become easier.

The Unreasonable Effectiveness of Mathematics

Many mathematical theories developed for abstract or purely theoretical reasons later become useful in science and technology.

Examples include:

  • Complex numbers in quantum mechanics

  • Number theory in cryptography

  • Mathematical structures in physics and engineering

This recurring connection between abstract mathematical ideas and practical applications is often described as the unreasonable effectiveness of mathematics.

The usefulness of mathematics is not always predictable when a theory is first developed. A concept may initially appear unrelated to the physical world and later become essential to an advanced scientific theory.


Modular Arithmetic

Modular arithmetic is sometimes called clock arithmetic because calculations wrap around after reaching a fixed modulus.

Clock Arithmetic

On a twelve-hour clock, adding five hours to nine o’clock gives two o’clock:

9+5=14,9+5=14,9+5=14,

but 141414 corresponds to 222 on a twelve-hour clock.

Thus,

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

Similarly,

8+17≡1(mod12).8+17\equiv 1\pmod{12}.8+17≡1(mod12).

The calculation can be understood by subtracting multiples of 121212 until the result lies between 000 and 111111.

Additive Identity

In modular arithmetic modulo 121212, adding 121212 returns to the same location:

a+12≡a(mod12).a+12\equiv a\pmod{12}.a+12≡a(mod12).

Therefore, 121212 behaves like 000:

12≡0(mod12).12\equiv 0\pmod{12}.12≡0(mod12).

The additive identity is represented by 000.

Additive Inverses

The additive inverse of an element is the value that produces 000 modulo the modulus.

For example, modulo 121212:

8+4=12≡0(mod12),8+4=12\equiv 0\pmod{12},8+4=12≡0(mod12),

so 444 is an additive inverse of 888.

Likewise,

5+7=12≡0(mod12),5+7=12\equiv 0\pmod{12},5+7=12≡0(mod12),

so 777 is an additive inverse of 555.

The numbers −5-5−5, 777, 191919, and other values differing from one another by multiples of 121212 represent the same modular result. Modular arithmetic treats such values as equivalent.


Congruence Modulo nnn

Two integers aaa and bbb are congruent modulo nnn if they have the same remainder when divided by nnn.

This is written

a≡b(modn).a\equiv b\pmod n.a≡b(modn).

Equivalently, a−ba-ba−b is divisible by nnn.

For example,

14≡2(mod12)14\equiv 2\pmod{12}14≡2(mod12)

because

14−2=12,14-2=12,14−2=12,

which is divisible by 121212.

Also,

26≡2(mod12)26\equiv 2\pmod{12}26≡2(mod12)

because

26−2=24.26-2=24.26−2=24.

Thus, 222, 141414, and 262626 belong to the same modular equivalence class modulo 121212.


The Set Zn\mathbb{Z}_nZn​

For a positive integer nnn, the notation Zn\mathbb{Z}_nZn​ denotes the finite set

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

It contains exactly nnn elements.

For example,

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

The number 444 is not listed because

4≡0(mod4).4\equiv 0\pmod 4.4≡0(mod4).

Every integer is represented in Zn\mathbb{Z}_nZn​ by its remainder after division by nnn.

Addition in Z4\mathbb{Z}_4Z4​

Addition in Z4\mathbb{Z}_4Z4​ is performed modulo 444.

For example,

2+2=4≡0(mod4),2+2=4\equiv 0\pmod 4,2+2=4≡0(mod4),

so within Z4\mathbb{Z}_4Z4​,

2+2=0.2+2=0.2+2=0.

Other examples include:

3+2=5≡1(mod4),3+2=5\equiv 1\pmod 4,3+2=5≡1(mod4),

and

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

The additive identity is 000.

The additive inverses are:

  • The inverse of 000 is 000.

  • The inverse of 111 is 333, since

    1+3≡0(mod4).1+3\equiv 0\pmod 4.1+3≡0(mod4).
  • The inverse of 222 is 222, since

    2+2≡0(mod4).2+2\equiv 0\pmod 4.2+2≡0(mod4).
  • The inverse of 333 is 111.

Therefore, Z4\mathbb{Z}_4Z4​ under modular addition is an abelian group.


Formal Definition of a Binary Operation

To define a binary operation more formally, one uses the Cartesian product.

Cartesian Product

For a set SSS, the Cartesian product of SSS with itself is

S×S={(x,y)∣x∈S, y∈S}.S\times S=\{(x,y)\mid x\in S,\ y\in S\}.S×S={(x,y)∣x∈S, y∈S}.

It is the set of all ordered pairs whose two entries are elements of SSS.

For example,

Zn×Zn={(x,y)∣x,y∈Zn}.\mathbb{Z}_n\times\mathbb{Z}_n = \{(x,y)\mid x,y\in\mathbb{Z}_n\}.Zn​×Zn​={(x,y)∣x,y∈Zn​}.

Binary Operation as a Function

A binary operation on SSS is a function

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

This means:

  • The inputs are ordered pairs (x,y)(x,y)(x,y) from S×SS\times SS×S.

  • The output is an element of SSS.

  • Closure is built into the definition.

For modular addition, one may write

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

The operation takes (x,y)(x,y)(x,y) and returns the remainder of x+yx+yx+y modulo nnn.

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

+(2,3)=1+(2,3)=1+(2,3)=1

because

2+3=5≡1(mod4).2+3=5\equiv 1\pmod 4.2+3=5≡1(mod4).

The same symbol +++ may be used both for ordinary addition and modular addition. This is an example of abuse of notation. The intended meaning is determined by the set and context.


Naive Set Theory

Set theory provides the language used to define algebraic structures.

Sets

A set is a collection of objects. The objects in a set are called its elements.

A set can contain:

  • Numbers

  • Words

  • People

  • Vectors

  • Functions

  • Objects of different types

In elementary or naive set theory, a set is informally treated as any collection of objects. This approach is sufficient for most basic algebraic work, although unrestricted set formation can produce logical paradoxes at a higher level. More formal axiomatic set theories are used to avoid those paradoxes.

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.

This is written

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

Formally,

A⊆B  ⟺  ∀x (x∈A  ⟹  x∈B).A\subseteq B \iff \forall x\,(x\in A\implies x\in B).A⊆B⟺∀x(x∈A⟹x∈B).

The notation ⊆\subseteq⊆ allows AAA and BBB to be equal. Some authors use ⊂\subset⊂ for the same meaning, so the notation should be interpreted according to context.

To prove that A⊆BA\subseteq BA⊆B, one should:

  1. Choose an arbitrary element x∈Ax\in Ax∈A.

  2. Show that x∈Bx\in Bx∈B.

  3. Conclude that every element of AAA belongs to BBB.

Equality of Sets

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

The subset criterion for equality states:

A=B  ⟺  (A⊆B and B⊆A).A=B \iff (A\subseteq B\text{ and }B\subseteq A).A=B⟺(A⊆B and B⊆A).

Thus, to prove A=BA=BA=B, one usually proves two separate inclusions:

  1. A⊆BA\subseteq BA⊆B

  2. B⊆AB\subseteq AB⊆A

Empty Set as a Subset

The empty set is a subset of every set:

∅⊆A\varnothing\subseteq A∅⊆A

for every set AAA.

This is true because there is no element of ∅\varnothing∅ that could violate the implication

x∈∅  ⟹  x∈A.x\in\varnothing\implies x\in A.x∈∅⟹x∈A.

The statement is therefore considered vacuously true. In logic, an implication with a false hypothesis is true regardless of whether its conclusion is true or false.


Operations on Sets

Union

The union of sets AAA and BBB is the set of elements belonging to AAA, to BBB, or to both.

It is written

A∪B.A\cup B.A∪B.

Formally,

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

The “or” is inclusive, so 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}.

General Union

For a collection of sets {Aα}α∈Ω\{A_\alpha\}_{\alpha\in\Omega}{Aα​}α∈Ω​, the general union is

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

It consists of all elements that belong to at least one of the sets:

x∈⋃α∈ΩAα  ⟺  ∃α∈Ω such that x∈Aα.x\in\bigcup_{\alpha\in\Omega}A_\alpha \iff \exists\alpha\in\Omega\text{ such that }x\in A_\alpha.x∈⋃α∈Ω​Aα​⟺∃α∈Ω such that x∈Aα​.

For example,

⋃n∈NAn=A1∪A2∪A3∪⋯ .\bigcup_{n\in\mathbb{N}} A_n = A_1\cup A_2\cup A_3\cup\cdots.⋃n∈N​An​=A1​∪A2​∪A3​∪⋯.

Intersection

The intersection of AAA and BBB is the set of elements belonging to both sets.

It is written

A∩B.A\cap B.A∩B.

Formally,

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

For a collection of sets, the general intersection is

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

An element belongs to this intersection only if it belongs to every set in the collection:

x∈⋂α∈ΩAα  ⟺  ∀α∈Ω, x∈Aα.x\in\bigcap_{\alpha\in\Omega}A_\alpha \iff \forall\alpha\in\Omega,\ x\in A_\alpha.x∈⋂α∈Ω​Aα​⟺∀α∈Ω, x∈Aα​.

Complement

The complement of a set depends on a specified universe of discourse, usually denoted by UUU.

If A⊆UA\subseteq UA⊆U, then the complement of AAA consists of the elements in UUU that are not in AAA:

Ac=U∖A.A^c=U\setminus A.Ac=U∖A.

Equivalently,

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

The universe is essential because the complement is always taken relative to some larger set. For example, the complement of the even integers could mean the odd integers if the universe is Z\mathbb{Z}Z, but it would have a different meaning if the universe were R\mathbb{R}R.


Functions

A function is a rule that assigns elements of one set to elements of another set.

Domain and Codomain

A function from a set AAA to a set BBB is written

f:A→B.f:A\to B.f:A→B.
  • AAA is the domain.

  • BBB is the codomain.

  • For each a∈Aa\in Aa∈A, the function assigns a unique element f(a)∈Bf(a)\in Bf(a)∈B.

The defining requirement is uniqueness: each input has exactly one output.

A function does not need to use every element of its codomain.

Image

The image of fff is the set of outputs that actually occur:

Im⁡(f)={f(a)∣a∈A}.\operatorname{Im}(f)=\{f(a)\mid a\in A\}.Im(f)={f(a)∣a∈A}.

The image is always a subset of the codomain:

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

The image may be smaller than the codomain.

Onto Functions

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

Formally,

f:A→Bf:A\to Bf:A→B

is surjective 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.

Equivalently,

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

One-to-One Functions

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

Formally,

f(a1)=f(a2)  ⟹  a1=a2.f(a_1)=f(a_2)\implies a_1=a_2.f(a1​)=f(a2​)⟹a1​=a2​.

Equivalently,

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

An injective function never maps two different domain elements to the same output.

Bijections

A function that is both injective and surjective is called a bijection.

A bijection establishes a one-to-one correspondence between the domain and codomain. Every element in the codomain has exactly one preimage.

Bijections are important because they are precisely the functions that have inverse functions.

Inverse Functions

If f:A→Bf:A\to Bf:A→B is bijective, then there is an inverse function

f−1:B→Af^{-1}:B\to Af−1:B→A

that reverses the assignment made by fff.

The inverse satisfies

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

for every a∈Aa\in Aa∈A, and

f(f−1(b))=bf(f^{-1}(b))=bf(f−1(b))=b

for every b∈Bb\in Bb∈B.

A function that is not bijective does not have a genuine inverse function from its entire codomain back to its entire domain. An inverse may fail because the function is not one-to-one, not onto, or both.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent