algebra1 week1 logic propositions.pdf-summary

Table of contents

  1. Logic, sets, Functions Propositions and truth values
  2. Sets and Set Operations
  3. Binary Relations Basic properties of relations
  4. Images and Preimages
  5. Chapter Summary
  6. Glossary

1. Logic, sets, Functions Propositions and truth values

1.1 Propositions and truth values

A proposition is a declarative sentence that has exactly one truth value, meaning it is either true or false. An open sentence is an expression whose truth value depends on the assignment of variables 3.

1.2 Quantifiers

Quantifiers are used to specify the range of variables in open sentences.

  • The universal quantifier (∀\forall) means "for all" or "for every.".
  • The existential quantifier (∃\exists) means "there exists." 3.

The order of quantifiers matters, as ∀x∃yP(x,y)\forall x \exists y P(x, y) is not necessarily equivalent to ∃y∀xP(x,y)\exists y \forall x P(x, y) 3.

The negation of a universal quantifier is an existential quantifier, and vice versa:

  • ¬(∀x,P(x))≡∃x¬P(x)\neg(\forall x, P(x)) \equiv \exists x \neg P(x).
  • ¬(∃x,P(x))≡∀x¬P(x)\neg(\exists x, P(x)) \equiv \forall x \neg P(x) 3.

1.3 Logical connectives 3

Logical connectives are used to combine propositions.

ConnectiveSymbolCondition for True
ConjunctionP ∧ QBoth P and Q are true
DisjunctionP ∨ QAt least one of P or Q is true (inclusive or)
ImplicationP ⇒ QTrue unless P is true and Q is false
BiconditionalP ⇔ QP and Q have the same truth value

An implication P⇒QP \Rightarrow Q is logically equivalent to (¬P)∨Q(\neg P) \vee Q. Logical equivalence (P≡QP \equiv Q) means that P and Q have the same truth value in all cases 3.

The contrapositive of an implication P⇒QP \Rightarrow Q is ¬Q⇒¬P\neg Q \Rightarrow \neg P, and these two statements are logically equivalent 3.

1.4 Introduction to proof methods

A logical law (or tautology) is a proposition that is true for all possible truth value assignments 3.

De Morgan's laws describe the negation of conjunctions and disjunctions:

  • ¬(P∧Q)≡¬P∨¬Q\neg(P \wedge Q) \equiv \neg P \vee \neg Q.
  • ¬(P∨Q)≡¬P∧¬Q\neg(P \vee Q) \equiv \neg P \wedge \neg Q 3.

Several methods are used to prove statements:

  • Direct proof: Assume the hypothesis P is true and derive the conclusion Q.
  • Proof by contrapositive: Prove the contrapositive statement ¬Q⇒¬P\neg Q \Rightarrow \neg P instead of the original implication P⇒QP \Rightarrow Q.
  • Proof by contradiction: Assume the negation of the statement (¬P\neg P) and derive a contradiction.
  • Disproof by counterexample: To disprove a universal statement, find one specific case where the statement is false.
  • Proof by cases: Prove a statement by establishing its truth in all possible distinct cases 3.

📝 Consider the statement "If xx is an even integer, then x2x^2 is an even integer."

  • Direct proof: Assume xx is even. Then x=2kx = 2k for some integer kk. Squaring both sides, x2=(2k)2=4k2=2(2k2)x^2 = (2k)^2 = 4k^2 = 2(2k^2). Since 2k22k^2 is an integer, x2x^2 is even.
  • Proof by contrapositive: The contrapositive is "If x2x^2 is not even (i.e., odd), then xx is not even (i.e., odd)." Assume x2x^2 is odd. If xx were even, x=2kx=2k, then x2=4k2x^2=4k^2, which is even. This contradicts x2x^2 being odd. Therefore, xx must be odd.
  • Proof by contradiction: Assume xx is even and x2x^2 is odd. If xx is even, x=2kx=2k, so x2=4k2x^2=4k^2, which is even. This contradicts the assumption that x2x^2 is odd. Thus, the original statement must be true 3.

2. Sets and Set Operations

2.1 Sets and membership

A set is a fundamental mathematical concept representing a collection of distinct objects, known as its elements. Understanding how to define sets and denote membership is crucial for further set theory operations.

  • Set: A collection of distinct objects, called its elements.
  • Element membership: The symbol '∈' denotes that an object is an element of a set; for example, x∈Ax \in A means xx is an element of set AA.
  • Element non-membership: The symbol '∉' denotes that an object is not an element of a set; for example, x∉Ax \notin A means xx is not an element of set AA.
  • Roster notation: This method lists all elements of a set explicitly within curly braces, such as A={1,2,3,4}A = \{1, 2, 3, 4\}.
  • Set-builder notation: This method defines a set by a property that its elements must satisfy, for instance, A={x∈Z:x≤9}A = \{x \in \mathbb{Z}: x \le 9\} describes the set of integers less than or equal to 9 4.

2.2 Equality and inclusion

Two sets can be compared based on their elements, leading to concepts of equality and subset relationships. Proving these relationships often involves demonstrating element-wise correspondence.

  • Set equality: Two sets, AA and BB, are equal (A=BA = B) if and only if every element in AA is also in BB, and every element in BB is also in AA. This is formally written as A=B  ⟺  (x∈A  ⟺  x∈B)A = B \iff (x \in A \iff x \in B).
  • Subset: Set AA is a subset of set BB (A⊆BA \subseteq B) if every element in AA is also an element in BB. This is formally written as A⊆B  ⟺  (x∈A  ⟹  x∈B)A \subseteq B \iff (x \in A \implies x \in B).
  • Proving equality: To prove that two sets AA and BB are equal, one must prove that AA is a subset of BB and that BB is a subset of AA (double inclusion) 4.

📝 If A={1,2}A = \{1, 2\} and B={2,3}B = \{2, 3\}, then A∪B={1,2,3}A \cup B = \{1, 2, 3\}, A∩B={2}A \cap B = \{2\}, A∖B={1}A \setminus B = \{1\}, and B∖A={3}B \setminus A = \{3\}.

2.3 Union, intersection, difference, and complement 4

These operations combine or modify sets to create new sets based on the relationships between their elements. They are fundamental tools for manipulating set data.

OperationDefinitionNotation
UnionThe set of elements that are in either set A or set B (or both)A ∪ B = {x ∈ E: x ∈ A or x ∈ B}
IntersectionThe set of elements that are in both set A and set BA ∩ B = {x ∈ E: x ∈ A and x ∈ B}
DifferenceThe set of elements that are in set A but not in set BA \ B = {x ∈ E: x ∈ A and x ∉ B}
ComplementThe set of elements in the universal set E that are not in set AAᶜ = E \ A = {x ∈ E: x ∉ A}

2.4 Set identities 4

Set identities are equations that are true for all sets, analogous to algebraic identities. They provide rules for simplifying set expressions and are essential for proofs in set theory.

Identity TypeEquations
CommutativityA ∪ B = B ∪ A; A ∩ B = B ∩ A
Associativity(A ∪ B) ∪ C = A ∪ (B ∪ C); (A ∩ B) ∩ C = A ∩ (B ∩ C)
DistributivityA ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C); A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
De Morgan's laws(A ∪ B)ᶜ = Aᶜ ∩ Bᶜ; (A ∩ B)ᶜ = Aᶜ ∪ Bᶜ

2.5 Cartesian product

The Cartesian product is a way to combine elements from two or more sets to form ordered pairs or tuples. Its cardinality is directly related to the cardinalities of the individual sets.

  • Ordered pair equality: Two ordered pairs (a,b)(a, b) and (c,d)(c, d) are equal if and only if their corresponding components are equal, meaning a=ca = c and b=db = d.
  • Cartesian product: The Cartesian product of two sets AA and BB, denoted A×BA \times B, is the set of all ordered pairs (a,b)(a, b) where aa is an element of AA and bb is an element of BB. This is formally defined as A×B={(a,b):a∈A,b∈B}A \times B = \{(a, b): a \in A, b \in B\}.
  • Cardinality: If sets AA and BB are finite, the cardinality (number of elements) of their Cartesian product is the product of their individual cardinalities: ∣A×B∣=∣A∣∣B∣|A \times B| = |A| |B| 4.

📝 If A={1,2}A = \{1, 2\} and B={a,b}B = \{a, b\}, then A×B={(1,a),(1,b),(2,a),(2,b)}A \times B = \{(1, a), (1, b), (2, a), (2, b)\}.

2.6 Power set

The power set of a set is the set of all its possible subsets, including the empty set and the set itself. Its size grows exponentially with the size of the original set.

  • Power set: The power set of a set AA, denoted P(A)P(A), is the set containing all possible subsets of AA. Formally, P(A)={X:X⊆A}P(A) = \{X: X \subseteq A\}.
  • Cardinality: If a finite set AA has nn elements, its power set P(A)P(A) has 2n2^n elements. For example, if ∣A∣=3|A| = 3, then ∣P(A)∣=23=8|P(A)| = 2^3 = 8 4.

3. Binary Relations Basic properties of relations

3.1 Antisymmetric property

A relation R on a set E is antisymmetric if for all elements x and y in E, whenever x is related to y and y is related to x, it must be that x and y are the same element. This property prevents a relation from being symmetric unless the related elements are identical 5.

3.2 Transitive property

A relation R on a set E is transitive if for all elements x, y, and z in E, if x is related to y and y is related to z, then x must also be related to z. This property implies a form of indirect relationship 5.

📝 If a relation states that "student A is taller than student B" and "student B is taller than student C", then by transitivity, "student A is taller than student C" 5.

3.3 Equivalence relations

An equivalence relation is a binary relation on a set that is reflexive, symmetric, and transitive. These three properties together mean that the relation partitions the set into disjoint subsets called equivalence classes 5.

  • Reflexive: For every element x in the set E, xRx.
  • Symmetric: For all elements x, y in E, if xRy, then yRx.
  • Transitive: For all elements x, y, z in E, if xRy and yRz, then xRz.

An equivalence class of an element x in E, denoted as [x, is the set of all elements y in E such that yRx 5.

3.4 Order relations

A partial order is a relation on a set E that is reflexive, antisymmetric, and transitive. This means that elements can be compared, but not all pairs of elements need to be comparable 5.

A total order is a partial order where every pair of elements in the set E is comparable. For any two elements x and y in E, either x is related to y (x ≤ y) or y is related to x (y ≤ x) 5.

PropertyDefinition
Partial orderReflexive, antisymmetric, and transitive
Total orderA partial order where for every x, y in E, x ≤ y or y ≤ x

4. Images and Preimages

4.1 Image of a subset

The direct image of a subset AA of the domain of a function ff is the set of all values f(x)f(x) for xx in AA. This is denoted as f(A)f(A).

The equality f(A)=Bf(A) = B holds if and only if ff is injective and AA is the preimage of BB 6.

4.2 Preimage of a subset

The preimage of a subset BB of the codomain of a function ff is the set of all xx in the domain such that f(x)f(x) is in BB. This is denoted as f−1(B)f^{-1}(B) 6.

4.3 Properties of images and preimages

The operations of union and intersection are preserved under preimages. For a function f:E→Gf: E \to G and subsets B,C⊆GB, C \subseteq G, the following properties hold:

  • f−1(B∪C)=f−1(B)∪f−1(C)f^{-1}(B \cup C) = f^{-1}(B) \cup f^{-1}(C)
  • f−1(B∩C)=f−1(B)∩f−1(C)f^{-1}(B \cap C) = f^{-1}(B) \cap f^{-1}(C)
  • f−1(G∖B)=E∖f−1(B)f^{-1}(G \setminus B) = E \setminus f^{-1}(B)

For images, unions are preserved, but intersections are only preserved in one direction:

  • f(A∪C)=f(A)∪f(C)f(A \cup C) = f(A) \cup f(C)
  • f(A∩C)⊆f(A)∩f(C)f(A \cap C) \subseteq f(A) \cap f(C) 6.

📝 Let f:R→Rf: \mathbb{R} \to \mathbb{R} be defined by f(x)=x2f(x) = x^2. Consider the subset A={−1,0,1}A = \{-1, 0, 1\} of the domain. The direct image of AA is f(A)={f(−1),f(0),f(1)}={(−1)2,02,12}={1,0,1}={0,1}f(A) = \{f(-1), f(0), f(1)\} = \{(-1)^2, 0^2, 1^2\} = \{1, 0, 1\} = \{0, 1\}. Now consider the subset B={4}B = \{4\} of the codomain. The preimage of BB is f−1(B)={x∈R∣f(x)=4}={x∈R∣x2=4}={−2,2}f^{-1}(B) = \{x \in \mathbb{R} \mid f(x) = 4\} = \{x \in \mathbb{R} \mid x^2 = 4\} = \{-2, 2\} 6.

5. Chapter Summary

5.1 Countable sets

A set is considered countable if its elements can be arranged in a list without omitting any element. This means there exists a one-to-one correspondence between the elements of the set and the natural numbers 7.

The sets of natural numbers (N\mathbb{N}), integers (Z\mathbb{Z}), and rational numbers (Q\mathbb{Q}) are all countable.

  • The integers can be listed by alternating positive and negative values around zero: 0,1,−1,2,−2,3,−3,…0, 1, -1, 2, -2, 3, -3, \dots.
  • A finite Cartesian product of countable sets is also countable. For instance, N×N\mathbb{N} \times \mathbb{N} is countable.
  • This property is used to demonstrate the countability of rational numbers, as each rational number can be represented as a pair of integers (p,q)(p, q) where q≠0q \neq 0 7.

5.2 Uncountable sets

Not all infinite sets are countable. Cantor's theorem states that for any set EE, there is no surjective function from EE to its power set P(E)P(E), implying that the cardinality of EE is strictly less than the cardinality of P(E)P(E).

This means that the power set of any set is always larger than the set itself 7.

The interval of real numbers (0,1)(0, 1) is uncountable and has the same cardinality as the set of all real numbers (R\mathbb{R}) 7.

5.3 Equivalence relation definition

An equivalence relation RR on a set EE is a relation that satisfies three properties: reflexivity, symmetry, and transitivity 7.

  • Reflexivity: For every element xx in EE, xRxxRx must hold true.
  • Symmetry: If xRyxRy holds for any x,yx, y in EE, then yRxyRx must also hold.
  • Transitivity: If xRyxRy and yRzyRz hold for any x,y,zx, y, z in EE, then xRzxRz must also hold 7.

5.4 Equivalence classes

For an equivalence relation RR on a set EE, the equivalence class of an element x∈Ex \in E, denoted as [x][x], is the set of all elements yy in EE such that yRxyRx. Mathematically, [x]={y∈E:yRx}[x] = \{y \in E: yRx\} 7.

5.5 Equivalence classes and partitions

The collection of all equivalence classes for an equivalence relation on a set EE forms a partition of EE. This means that every element of EE belongs to exactly one equivalence class, and any two distinct equivalence classes are either identical or completely disjoint.

The union of all equivalence classes reconstructs the original set EE: E=⋃x∈E[x]E = \bigcup_{x \in E} [x] 7.

📝 For the relation "is congruent to modulo 3" on the set of integers Z\mathbb{Z}, the equivalence classes are [0]={…,−3,0,3,6,… }[0] = \{\dots, -3, 0, 3, 6, \dots\}, [1]={…,−2,1,4,7,… }[1] = \{\dots, -2, 1, 4, 7, \dots\}, and [2]={…,−1,2,5,8,… }[2] = \{\dots, -1, 2, 5, 8, \dots\}. These three classes form a partition of Z\mathbb{Z} 7.

5.6 Partial order relation definition

A partial order relation RR on a set EE is a relation that is reflexive, antisymmetric, and transitive 8.

  • Reflexivity: For all xx in EE, xRxxRx.
  • Antisymmetry: For all x,yx, y in EE, if xRyxRy and yRxyRx, then x=yx = y.
  • Transitivity: For all x,y,zx, y, z in EE, if xRyxRy and yRzyRz, then xRzxRz 8.

5.7 Partially ordered set

A partially ordered set (poset) is a set EE equipped with a partial order relation RR, denoted as (E,R)(E, R). In a poset, not every pair of elements needs to be comparable 8.

5.8 Examples of partial order relations 8

Several common relations serve as examples of partial order relations:

SetRelationDescription
Real numbers≤Usual order on real numbers
Positive integers∣a∣b means 'a divides b'
Power set of X⊆Inclusion relation on a power set

6. Glossary

6.1 Logical Connectives and Quantifiers

This section defines fundamental logical operators and symbols used to construct and analyze statements. Understanding these terms is crucial for formal reasoning and mathematical proofs.

  • Negation (¬P\neg P): This operation reverses the truth value of a proposition PP. If PP is true, ¬P\neg P is false, and vice versa.
  • Conjunction (P∧QP \land Q): This connective is true only when both propositions PP and QQ are true.
  • Disjunction (P∨QP \lor Q): This connective is true when at least one of the propositions PP or QQ is true. It is false only if both are false.
  • Implication (P⇒QP \Rightarrow Q): This statement is false only when PP is true and QQ is false. In all other cases, it is true.
  • Biconditional (P⇔QP \Leftrightarrow Q): This statement is true if and only if PP and QQ have the same truth value. It signifies logical equivalence.
  • Contrapositive (P⇒Q≡¬Q⇒¬PP \Rightarrow Q \equiv \neg Q \Rightarrow \neg P): An implication is logically equivalent to its contrapositive. This is often used in proofs.
  • Universal quantifier (∀\forall): This symbol means "for every" or "for all" elements in a given set.
  • Existential quantifier (∃\exists): This symbol means "there exists" at least one element in a given set for which a statement holds.
  • Negating quantifiers: The negation of a universal statement is an existential statement with a negated predicate (¬(∀xP(x))≡∃x¬P(x)\neg(\forall x P(x)) \equiv \exists x \neg P(x)), and vice versa (¬(∃xP(x))≡∀x¬P(x)\neg(\exists x P(x)) \equiv \forall x \neg P(x)).
  • Counterexample: A single instance that disproves a universal statement. If a universal statement claims something is true for all cases, finding just one case where it is false is sufficient to disprove it 9.

6.2 Set Theory Definitions

Sets are fundamental mathematical objects comprising collections of distinct elements. This section outlines key concepts and notations for describing and manipulating sets.

  • Set: A collection of distinct objects, referred to as its elements.
  • Element membership (x∈Ax \in A): This notation indicates that object xx is an element of set AA.
  • Roster notation: Elements of a set are listed explicitly within curly braces, e.g., A={1,2,3,4}A = \{1, 2, 3, 4\}.
  • Set-builder notation: Elements are defined by a characteristic property, e.g., A={x∈Z:−2≤x≤2}A = \{x \in \mathbb{Z}: -2 \le x \le 2\} or A={x∈Z:x2≤9}A = \{x \in \mathbb{Z}: x^2 \le 9\}, which defines A={−3,−2,−1,0,1,2,3}A = \{-3, -2, -1, 0, 1, 2, 3\}.
  • Set equality (A=BA = B): Two sets are equal if they contain precisely the same elements. This is formally defined as ∀x,(x∈A⇔x∈B)\forall x, (x \in A \Leftrightarrow x \in B).
  • Subset (A⊆BA \subseteq B): Set AA is a subset of set BB if every element in AA is also an element in BB. Formally, ∀x,x∈A⇒x∈B\forall x, x \in A \Rightarrow x \in B.
  • Proper subset: A subset that is not equal to the original set.
  • Union (A∪BA \cup B): The set containing all elements that are in AA, or in BB, or in both.
  • Intersection (A∩BA \cap B): The set containing all elements that are common to both set AA and set BB.
  • Difference (A∖BA \setminus B): The set containing all elements that are in AA but not in BB.
  • Complement (AcA^c): The set of elements in the universal set that are not in set AA.
  • Cartesian product (A×BA \times B): The set of all possible ordered pairs (a,b)(a, b) where aa is an element of AA and bb is an element of BB.
  • Power set (P(A)P(A)): The set of all possible subsets of set AA 9 10.

📝 The set-builder notation A={x∈Z:x2≤9}A = \{x \in \mathbb{Z} : x^2 \le 9\} defines the set A={−3,−2,−1,0,1,2,3}A = \{-3, -2, -1, 0, 1, 2, 3\} 9.

6.3 Properties of Relations and Functions 10

This section defines key characteristics of relations and functions, which are essential for describing mappings between sets and understanding their behavior.

PropertyDefinition
Reflexive relationxRx for all x in the set.
Symmetric relationIf xRy, then yRx.
Antisymmetric relationIf xRy and yRx, then x = y.
Transitive relationIf xRy and yRz, then xRz.
  • Equivalence relation: A relation that is simultaneously reflexive, symmetric, and transitive. These relations partition a set into disjoint subsets.
  • Equivalence class ([x][x]): Under an equivalence relation, the set of all elements that are related to a specific element xx.
  • Partial order (⪯\preceq): A relation that is reflexive, antisymmetric, and transitive. It establishes a hierarchy or ordering among elements.
  • Function (f:E→Ff: E \rightarrow F): A mapping that assigns exactly one output from the codomain FF to each input from the domain EE.
  • Domain: The set of all possible input values for a function.
  • Codomain: The set of all possible output values for a function.
  • Image of a subset (f(A)f(A)): The set of all output values obtained by applying the function ff to the elements of a subset AA of the domain.
  • Preimage of a subset (f−1(B)f^{-1}(B)): The set of all input values from the domain that map to elements within a subset BB of the codomain.
  • Composition of functions (g∘fg \circ f): Applying function ff first, and then applying function gg to the result of ff 10.
Function TypeDescription
Injective functionDifferent inputs map to different outputs (one-to-one).
Surjective functionEvery element in the codomain has at least one input mapping to it (onto).
Bijective functionA function that is both injective and surjective.

6.4 Cardinality and Set Properties

This section introduces concepts related to the size of sets, particularly infinite sets, and how they can be classified and structured.

  • Cardinality: The size of a set, indicating the number of elements it contains.
  • Countable set: A set whose elements can be listed without gaps. This includes finite sets and countably infinite sets.
  • Countably infinite: An infinite set that can be put into a one-to-one correspondence with the set of natural numbers.
  • Uncountable set: An infinite set that cannot be put into a one-to-one correspondence with the set of natural numbers.
  • Partition: A collection of non-empty, disjoint subsets whose union forms the entire original set.
  • Poset (Partially ordered set): A set equipped with a partial order relation.
  • Total order relation: A partial order where every pair of elements in the set is comparable 10.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also