Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 1 Discrete Mathematics

CSE333 — Combinatorial Studies-I 11 min read

Practice MCQs Subjective questions
Text size
100%

I. Foundations and Conventions

Discrete mathematics studies finite or countable structures whose elements are distinct rather than continuously varying. Its central method is deductive reasoning: definitions establish mathematical objects, axioms specify assumptions, and valid inference produces conclusions.

  • Objects of study: Propositions, sets, mappings, ordered structures, and algebraic systems provide models for computation and combinatorial reasoning.
  • Logical foundation: A proof begins with premises and uses valid rules to derive a conclusion; validity concerns the form of an argument, while truth concerns its statements.
  • Set-theoretic language: Most discrete structures consist of a set together with operations or relations defined on that set.
  • Standard notation:
    • ∀ means “for every,” and ∃ means “there exists.”
    • ∈ denotes membership, while ⊆ denotes the subset relation.
    • |A| denotes the cardinality of a finite set .
    • ℕ, ℤ, ℚ, and ℝ denote the natural numbers, integers, rational numbers, and real numbers.
  • Closure principle: An operation on a set must produce an element of that set; for example, integer addition is closed because whenever .
  • Proof methods: Direct proof, contrapositive proof, contradiction, case analysis, and mathematical induction are recurring techniques throughout the unit.

II. Propositional Logic — Reasoning with Truth-Valued Statements

A. propositional logic

Propositional logic studies declarative statements that have exactly one of two truth values: true or false.

  • Proposition: A proposition is a sentence with a definite truth value; “ is prime” is true, whereas a command or open expression such as “” is not itself a proposition.
  • Logical connectives:
    • Negation is true exactly when is false.
    • Conjunction is true only when both operands are true.
    • Disjunction is true when at least one operand is true.
    • Implication is false only when is true and is false.
    • Biconditional is true when and have equal truth values.
  • Logical equivalence: Formulas and are equivalent, written , when their truth values agree under every assignment. Important laws include:
Text
p → q ≡ ¬p ∨ q
¬(p ∧ q) ≡ ¬p ∨ ¬q
¬(p ∨ q) ≡ ¬p ∧ ¬q

Here and are propositions, and ≡ denotes logical equivalence.

  • Special formulas: A tautology is always true, a contradiction is always false, and a contingency is true under some assignments and false under others.
  • Inference: Modus ponens derives from and ; modus tollens derives from and .
  • Normal forms: Conjunctive normal form is a conjunction of disjunctions, while disjunctive normal form is a disjunction of conjunctions.
  • Worked example: If means “the input is valid” and means “processing begins,” then permits when is established, but it does not permit to be inferred from .

B. Applications and Limitations

Propositional logic provides a precise framework for validating arguments and representing binary conditions.

  • Applications: Truth tables support digital circuit design, program conditions, and verification of finite logical formulas.
  • Limitation: It treats whole propositions as indivisible units and cannot directly express properties such as “every integer has a successor.”

III. First Order Logic — Predicates, Variables, and Quantification

A. first order logic

First order logic extends propositional logic by describing objects, their properties, and relations among them.

  • Predicate: A predicate becomes a proposition when the variable receives a value; for example, .
  • Domain: The domain is the collection over which variables range; is true over .
  • Quantifiers:
    • states that holds for every .
    • states that holds for at least one .
  • Negation rules:
Text
¬∀x P(x) ≡ ∃x ¬P(x)
¬∃x P(x) ≡ ∀x ¬P(x)

Here is a variable and is a predicate.

  • Free and bound variables: In , is free; in , the quantifier binds . A formula with no free variables is a sentence.
  • Order of quantifiers: Quantifiers generally cannot be interchanged. Over the integers, is true, but is false.
  • Inference: Universal instantiation obtains from ; existential generalization obtains from .

B. Expressive Scope

First order logic formalizes mathematical definitions and arguments involving arbitrary objects.

  • Strength: It represents internal structure, including equality, membership, order, and multi-place relations.
  • Limitation: Ordinary first order quantifiers range over individual objects, not directly over every subset, predicate, or function.

IV. Sets — Collections and Set Operations

A. sets

A set is a well-defined collection of distinct objects called elements.

  • Representation: Roster notation lists elements, as in ; set-builder notation specifies a property, as in .
  • Equality and inclusion: exactly when they have the same elements; means every element of belongs to .
  • Special sets: is the empty set, and a universal set contains all objects currently under consideration.
  • Operations:
Text
A ∪ B = {x : x ∈ A or x ∈ B}
A ∩ B = {x : x ∈ A and x ∈ B}
A − B = {x : x ∈ A and x ∉ B}
Aᶜ    = {x ∈ U : x ∉ A}

Here and are sets, is the universal set, and is the complement of .

  • Power set: is the set of all subsets of ; if , then .
  • Cartesian product: ; for finite sets, .
  • Counting union: For finite sets,
Text
|A ∪ B| = |A| + |B| − |A ∩ B|

The subtraction removes elements counted twice.

B. Structural Significance

Sets provide the common language in which discrete mathematical objects are constructed.

  • Foundation: Relations are sets of ordered pairs, functions are specialized relations, and algebraic structures combine sets with operations.
  • Identities: Union and intersection satisfy commutative, associative, distributive, identity, and De Morgan laws.

V. Relations — Connections Between Elements

A. relations

A binary relation from to is any subset of the Cartesian product .

  • Notation: means ; a relation on is a subset of .
  • Core properties:
    • Reflexive: for every .
    • Symmetric: .
    • Antisymmetric: .
    • Transitive: .
  • Equivalence relation: A relation that is reflexive, symmetric, and transitive partitions into disjoint equivalence classes.
  • Equivalence class: For ,
Text
[a] = {x ∈ A : xRa}

Here contains precisely the elements related to .

  • Composition: If and , then relates to when some satisfies and .
  • Representation: Finite relations may be represented by ordered-pair lists, zero-one matrices, or directed graphs.
  • Worked example: Congruence modulo , defined by when , is an equivalence relation on with classes , , and .

B. Applications and Distinctions

Relations model classifications, dependencies, transitions, and comparisons.

  • Classification: Equivalence relations group elements that share a specified property.
  • Distinction: Symmetry and antisymmetry are not opposites; equality satisfies both properties.

VI. Functions — Mappings Between Sets

A. functions

A function assigns each element of domain exactly one element of codomain .

  • Value and range: If , then is the image of ; the range is .
  • Types:
    • Injective: .
    • Surjective: for every , some satisfies .
    • Bijective: both injective and surjective.
  • Composition: For and ,
Text
(g ∘ f)(a) = g(f(a))

Here applies first and second.

  • Inverse: A function has an inverse exactly when it is bijective.
  • Identity: The identity function satisfies and .
  • Finite cardinality: If finite sets and contain and elements, respectively, then exactly functions exist from to .

B. Applications and Limitations

Functions represent deterministic dependence between inputs and outputs.

  • Applications: They model algorithms, sequences, permutations, encodings, and state transformations.
  • Restriction: A function may not assign multiple outputs to one input, although different inputs may share an output unless injectivity is required.

VII. Partial Orders — Consistent but Incomplete Comparison

A. partial orders

A partial order is a reflexive, antisymmetric, and transitive relation on a set ; the pair is a partially ordered set, or poset.

  • Comparability: Elements are comparable when or ; otherwise they are incomparable.
  • Total order: A partial order is total when every pair of elements is comparable, as with on .
  • Strict order: means and .
  • Extremal elements: A least element lies below every element, while a minimal element has no strictly smaller element. Least elements are unique; several minimal elements may exist.
  • Bounds: An upper bound of lies above every member of ; the least such bound is the supremum. Lower bounds and infima are dual notions.
  • Hasse diagram: A finite poset is drawn using cover relations, omitting loops, arrowheads, and edges implied by transitivity.
  • Worked example: Under divisibility, has least element , greatest element , and incomparable elements and .

B. Structural Role

Partial orders describe hierarchy without requiring every pair to be ranked.

  • Applications: Examples include subset inclusion, divisibility, task dependencies, inheritance structures, and refinement of information.
  • Duality: Reversing every order relation exchanges least with greatest, minimal with maximal, and upper bounds with lower bounds.

VIII. Lattices — Posets with Canonical Bounds

A. lattices

A lattice is a poset in which every pair of elements has both a greatest lower bound and a least upper bound.

  • Meet and join: For , the meet is their greatest lower bound, and the join is their least upper bound.
  • Algebraic laws:
Text
a ∨ b = b ∨ a                 a ∧ b = b ∧ a
(a ∨ b) ∨ c = a ∨ (b ∨ c)     (a ∧ b) ∧ c = a ∧ (b ∧ c)
a ∨ (a ∧ b) = a               a ∧ (a ∨ b) = a

Here ; the equations express commutativity, associativity, and absorption.

  • Bounded lattice: A bounded lattice contains a least element and greatest element , satisfying and .
  • Distributive lattice: Meet distributes over join and join distributes over meet.
  • Complemented lattice: In a bounded lattice, a complement of satisfies and .
  • Worked example: is a bounded distributive lattice: meet is intersection, join is union, , , and the complement of is .

B. Significance

Lattices connect order theory with algebraic operations.

  • Applications: They organize subsets, divisors, logical propositions, access permissions, and data-flow information.
  • Limitation: A poset is not a lattice if even one pair lacks a unique meet or join.

IX. Groups — Algebraic Structures of Symmetry

A. groups

A group is a set equipped with a binary operation satisfying closure, associativity, identity, and inverse axioms.

  • Axioms:
Text
a * b ∈ G
(a * b) * c = a * (b * c)
e * a = a * e = a
a * a⁻¹ = a⁻¹ * a = e

Here , is the identity, and is the inverse of .

  • Abelian group: A group is Abelian when for all ; commutativity is not required in a general group.
  • Order: The order of a finite group is ; the order of is the least positive integer satisfying .
  • Subgroup: A nonempty subset is a subgroup when for all .
  • Cyclic group: If every element has the form for one , then .
  • Homomorphism: A map preserves the operation when , where is the operation on .
  • Worked example: is an Abelian group with identity ; the inverse of is , since .

B. Structural Significance

Groups isolate the essential algebraic behavior of reversible operations and symmetries.

  • Applications: Permutation groups describe rearrangements, symmetry groups describe invariant geometric transformations, and modular groups support number theory and cryptography.
  • Consequences of axioms: The identity and each inverse are unique, cancellation is valid, and equations such as have unique solutions in .

Test yourself on unit 1

60 MCQs on what you just read, each marked as you answer with an explanation.