Top Banner Ad
BCS303 · 2025-2622 Questions

Discrete Structures & Theory of Logic — 2025-26

Section A

2 Marks Each · 7 questions
Q1a2MUnit 1 — Definition & Properties of lattices – Bounded
Survival ModePredicted

Define a lattice and state the meaning of upper bound and lower bound in a lattice.

A lattice is a partially ordered set in which every pair has a least upper bound called the join and a greatest lower bound called the meet. An upper bound of a subset is an element above every member of that subset; a lower bound is an element below every member. The join is the smallest upper bound and the meet is the largest lower bound.

Key Points

  • Least upper bound is the join
  • Greatest lower bound is the meet
Q1b2MUnit 1 — Properties of relations
Core Concept

What is meant by a reflexive relation? State its basic property.

A relation RR on a set AA is reflexive when every element is related to itself, so (a,a)(a,a) belongs to RR for every aa in AA. Its basic property is that the diagonal of the relation matrix is entirely one, and the digraph has a self loop at every vertex. For example, equality on the integers is reflexive.

Key Points

  • Every element relates to itself
  • All diagonal entries are one
Q1c2MUnit 2 — Definition
Core Concept

Find the domain and range of the function f(x)=1−∣x∣f(x)=1-|x|.

The absolute value ∣x∣|x| is defined for every real number and there is no division or even root restriction, so the domain is all real numbers. Since ∣x∣|x| is never negative, 1−∣x∣1-|x| is at most one and reaches one when xx is zero. As ∣x∣|x| grows without bound the value falls without bound, so the range is all real numbers up to and including one.

Key Points

  • Domain is all real numbers
  • Range is (−∞,1](-\infty,1]
Q1d2MUnit 3 — quantifiers
Core Concept

What is meant by an existential quantifier? Explain it with a simple statement.

The existential quantifier, written ∃\exists, means there exists at least one object in the domain for which the predicate is true. For instance, over the integers the statement ∃x (x2=4)\exists x\,(x^2=4) is true because x=2x=2 satisfies it. Its negation says that no object satisfies the predicate, written as a universal statement with the predicate negated.

Key Points

  • Means at least one exists
  • Example over integers
  • Negation is universal
Q1e2MUnit 4 — Definition and elementary properties of Rings and Fields
Core Concept

Define zero divisor of a ring.

A zero divisor in a ring (R) is a non‑zero element (a\in R) for which there exists another non‑zero element (b\in R) such that (a,b=0) (or (b,a=0) in a non‑commutative ring). For example, in (\mathbb Z_{6}) the element (2) is a zero divisor because (2\cdot3\equiv0\pmod 6).

Key Points

  • zero divisor definition
  • non‑zero elements multiply to zero
  • example (\mathbb Z_{6})
Q1f2MUnit 5 — Counting Techniques
Core Concept

How many 4‑digit numbers can be formed by using the digits 2, 4, 6, 8 when the repetition of digits is allowed?

Answer: We form a 4-digit number using digits {2,4,6,8}\{2,4,6,8\} with repetition allowed.

  • Each of the 4 positions (thousands, hundreds, tens, units) can be filled in 4 ways.
  • By the multiplication principle:
Total numbers=4×4×4×4=44=256.\text{Total numbers}=4\times 4\times 4\times 4=4^4=256.

Result: 256 different 4-digit numbers can be formed.

Key Points

  • 4 choices for each of 4 positions
  • Multiplication principle applies
  • Total =44=256=4^4=256
Q1g2MUnit 5 — Euler and Hamiltonian paths
Core Concept

Draw a graph that has a Hamiltonian path but does not have a Hamiltonian circuit.

Consider a simple graph with vertices {A,B,C,D}\{A,B,C,D\} and edges {AB,BC,CD}\{AB,BC,CD\}. The path A ⁣→ ⁣B ⁣→ ⁣C ⁣→ ⁣DA\!\to\!B\!\to\!C\!\to\!D visits every vertex exactly once, so a Hamiltonian path exists. However, there is no edge joining DD back to AA, thus no Hamiltonian circuit can be formed.

Key Points

  • Graph with 4 vertices
  • Edges form a line
  • Hamiltonian path present
  • Missing closing edge
  • No Hamiltonian circuit

Section B

7 Marks Each · 5 questions
Q2a7MUnit 1 — Properties of relations
Survival ModePredictedRepeated

If RR is an equivalence relation on AA, then prove that R−1R^{-1} is also an equivalence relation on AA.

Concept / Given Data We are given a set AA and a relation R⊆A×AR\subseteq A\times A that is an equivalence relation. By definition RR is reflexive, symmetric and transitive. The inverse relation is defined as

R−1={(b,a)∣(a,b)∈R}.R^{-1}=\{(b,a)\mid (a,b)\in R\}.

Our task is to prove that R−1R^{-1} also satisfies the three defining properties.

Key Formula / Principle: (R−1)−1=R(R^{-1})^{-1}=R

Step‑by‑Step Proof

  1. Reflexivity – For every a∈Aa\in A, reflexivity of RR gives (a,a)∈R(a,a)\in R. By the definition of inverse, (a,a)∈R−1(a,a)\in R^{-1} as well. Hence R−1R^{-1} is reflexive.
  2. Symmetry – Take any (x,y)∈R−1(x,y)\in R^{-1}. By definition, (y,x)∈R(y,x)\in R. Since RR is symmetric, (x,y)∈R(x,y)\in R. Applying the inverse definition again, (y,x)∈R−1(y,x)\in R^{-1}. Thus whenever (x,y)∈R−1(x,y)\in R^{-1}, the reverse pair (y,x)(y,x) also belongs to R−1R^{-1}, proving symmetry.
  3. Transitivity – Assume (x,y)∈R−1(x,y)\in R^{-1} and (y,z)∈R−1(y,z)\in R^{-1}. Then (y,x)∈R(y,x)\in R and (z,y)∈R(z,y)\in R. Because RR is transitive, (z,x)∈R(z,x)\in R. Taking inverses yields (x,z)∈R−1(x,z)\in R^{-1}. Therefore R−1R^{-1} is transitive.

Since R−1R^{-1} satisfies reflexivity, symmetry and transitivity, it is an equivalence relation on AA.

Result: If R is an equivalence relation on A, then R−1 is also an equivalence relation on A.\boxed{\text{If }R\text{ is an equivalence relation on }A,\text{ then }R^{-1}\text{ is also an equivalence relation on }A.}

Tip from Examiner: Remember to start each property with the definition of $R^{-1}$; many lose marks by assuming symmetry without explicitly invoking the original relation’s symmetry.

Key Points

  • Reflexive: (a,a)∈R⇒(a,a)∈R−1(a,a)\in R\Rightarrow (a,a)\in R^{-1}
  • Symmetric: (x,y)∈R−1⇒(y,x)∈R⇒(x,y)∈R(x,y)\in R^{-1}\Rightarrow (y,x)\in R\Rightarrow (x,y)\in R
  • Transitive: (x,y),(y,z)∈R−1⇒(z,x)∈R⇒(x,z)∈R−1(x,y),(y,z)\in R^{-1}\Rightarrow (z,x)\in R\Rightarrow (x,z)\in R^{-1}
Q2b7MUnit 2 — Axioms and Theorems of Boolean algebra
Core Concept

Explain the basic concepts of Boolean algebra and state any four fundamental laws of Boolean algebra.

Conceptual Overview

A Boolean algebra is an algebraic structure ((B,,+,,\cdot,,\overline{\ })) consisting of a non‑empty set (B) together with two binary operations (join (+) and meet (\cdot)) and a unary complement operation (\overline{\ }) that satisfy a fixed list of axioms. The elements of (B) are interpreted as logical values 0 (false) and 1 (true). The algebraic view mirrors the logical connectives OR, AND, and NOT respectively, enabling manipulation of logical expressions by algebraic means.

Key Axioms (selected): (Identity)a+0=a,a⋅1=a(Null)a+1=1,a⋅0=0(Idempotent)a+a=a,a⋅a=a(Complement)a+a‾=1,a⋅a‾=0\begin{aligned} &\text{(Identity)}\quad a+0 = a,\quad a\cdot 1 = a\\[2mm] &\text{(Null)}\quad a+1 = 1,\quad a\cdot 0 = 0\\[2mm] &\text{(Idempotent)}\quad a+a = a,\quad a\cdot a = a\\[2mm] &\text{(Complement)}\quad a+\overline{a}=1,\quad a\cdot\overline{a}=0 \end{aligned}

Four Fundamental Laws (any four of the standard list are acceptable; the following are the most frequently examined):

  1. Commutative Laws

    • a+b=b+aa + b = b + a
    • a⋅b=b⋅aa \cdot b = b \cdot a
  2. Associative Laws

    • (a+b)+c=a+(b+c)(a + b) + c = a + (b + c)
    • (a⋅b)⋅c=a⋅(b⋅c)(a \cdot b) \cdot c = a \cdot (b \cdot c)
  3. Distributive Laws

    • a+(b⋅c)=(a+b)⋅(a+c)a + (b \cdot c) = (a + b) \cdot (a + c)
    • a⋅(b+c)=(a⋅b)+(a⋅c)a \cdot (b + c) = (a \cdot b) + (a \cdot c)
  4. De Morgan’s Theorems

    • a+b‾=a‾⋅b‾\overline{a + b} = \overline{a} \cdot \overline{b}
    • a⋅b‾=a‾+b‾\overline{a \cdot b} = \overline{a} + \overline{b}

Derivation Sketch (illustrative steps for the first distributive law):

  1. Start with a+(b⋅c)a + (b \cdot c).\
  2. Add the identity 00 as a+(b⋅c)+0a + (b \cdot c) + 0.\
  3. Replace 00 by a⋅a‾a \cdot \overline{a} (complement law).\
  4. Apply distributive law of ++ over ⋅\cdot to obtain (a+b)⋅(a+c)(a + b) \cdot (a + c).\
  5. Hence a+(b⋅c)=(a+b)⋅(a+c)a + (b \cdot c) = (a + b) \cdot (a + c).\

These laws form the backbone for algebraic manipulation, simplification, and Karnaugh‑map minimisation of Boolean functions.

Result: The Boolean algebra is governed by the identity, null, idempotent, complement, commutative, associative, distributive, and De Morgan laws; any four of the latter are sufficient to answer the question.

Tip from Examiner: Write the law name first, then the symbolic form. Avoid mixing OR/AND symbols with +/· in the same line – consistency prevents marking loss.

Key Points

  • Boolean algebra definition
  • Commutative law
  • Associative law
  • Distributive law
  • De Morgan’s theorem
Q2c7MUnit 3 — Predicate Logic: First order predicate
Survival Mode

Translate the following statements into symbolic form: (i) The sum of two positive integers is always positive. (ii) Everyone is loved by someone. (iii) Some people are not admired by everyone. (iv) If a person is female and is a parent, then this person is someone’s mother.

Concept / Given Data We are asked to translate four English statements into first‑order predicate logic. The domain of discourse is the set of all people (or integers where specified). Predicates to be used:

  • P(x)P(x): xx is a positive integer.
  • S(x,y)S(x,y): x+yx+y is positive (or simply the sum of xx and yy is positive).
  • L(y,x)L(y,x): yy loves xx.
  • A(y,x)A(y,x): yy admires xx.
  • F(x)F(x): xx is female.
  • Par(x)Par(x): xx is a parent.
  • M(x)M(x): xx is a mother (i.e., xx is a female parent of someone).
Key Formula / Principle: ∀x ∃y Φ(x,y)or∃x ∀y Ψ(x,y)\forall x\,\exists y\,\Phi(x,y)\quad\text{or}\quad \exists x\,\forall y\,\Psi(x,y)

Step‑by‑Step Translation

  1. The sum of two positive integers is always positive.
    • Formalise “xx and yy are positive integers” as P(x)∧P(y)P(x)\land P(y).
    • The sum being positive is expressed by S(x,y)S(x,y).
    • The word “always” translates to a universal quantifier over both xx and yy.
∀x ∀y((P(x)∧P(y))→S(x,y))\forall x\,\forall y\bigl((P(x)\land P(y))\rightarrow S(x,y)\bigr)
  1. Everyone is loved by someone.
    • “Everyone” → ∀x\forall x.
    • “Loved by someone” → ∃y L(y,x)\exists y\,L(y,x).
∀x ∃y L(y,x)\forall x\,\exists y\,L(y,x)
  1. Some people are not admired by everyone.
    • “Some people” → ∃x\exists x.
    • “Not admired by everyone” → eg∀y A(y,x) eg\forall y\,A(y,x), which is equivalent to∃y egA(y,x)\exists y\, eg A(y,x).
∃x(eg∀y A(y,x))  ≡  ∃x ∃y egA(y,x)\exists x\bigl( eg\forall y\,A(y,x)\bigr)\;\equiv\;\exists x\,\exists y\, eg A(y,x)
  1. If a person is female and is a parent, then this person is someone’s mother.
    • Antecedent: F(x)∧Par(x)F(x)\land Par(x).
    • Consequent: there exists a child yy such that xx is the mother of yy, i.e., M(x,y)M(x,y). (We can define M(x,y)M(x,y) as F(x)∧Par(x)∧parent-of(x,y)F(x)\land Par(x)\land\text{parent-of}(x,y), but the statement already asserts the existence of such a yy.)
∀x((F(x)∧Par(x))→∃y M(x,y))\forall x\bigl((F(x)\land Par(x))\rightarrow \exists y\,M(x,y)\bigr)

Result

  • (i) ∀x ∀y((P(x)∧P(y))→S(x,y))\forall x\,\forall y\bigl((P(x)\land P(y))\rightarrow S(x,y)\bigr)
  • (ii) ∀x ∃y L(y,x)\forall x\,\exists y\,L(y,x)
  • (iii) ∃x ∃y egA(y,x)\exists x\,\exists y\, eg A(y,x)
  • (iv) ∀x((F(x)∧Par(x))→∃y M(x,y))\forall x\bigl((F(x)\land Par(x))\rightarrow \exists y\,M(x,y)\bigr)
Tip from Examiner: Keep quantifier order clear; swapping $\forall$ and $\exists$ changes meaning dramatically. Watch for “always” (universal) vs “some” (existential).

Key Points

  • Universal quantifier
  • Existential quantifier
  • Predicate translation
Q2d7MUnit 4 — Lagrange's theorem
Core Concept

State and prove Lagrange’s theorem.

Concept / Given Data Let GG be a finite group and H≤GH\le G a subgroup. Lagrange’s theorem asserts that the order (number of elements) of HH divides the order of GG.

Key Formula / Principle: ∣G∣=[G ⁣: ⁣H] ∣H∣|G|=[G\!:\!H]\,|H|

where [G ⁣: ⁣H][G\!:\!H] denotes the index of HH in GG (the number of distinct left cosets of HH).

Step‑by‑Step Proof

  1. Define left cosets. For any g∈Gg\in G, the left coset of HH with respect to gg is gH={gh∣h∈H}gH=\{gh\mid h\in H\}. Each coset is a subset of GG.
  2. Show cosets partition GG. If g1H∩g2Heq∅g_1H\cap g_2H eq\emptyset, theng1H=g2Hg_1H=g_2H. Hence distinct cosets are disjoint and their union equalsGG.
  3. Establish equal size. The map ϕ:h↦gh\phi:h\mapsto gh is a bijection from HH onto gHgH, so ∣gH∣=∣H∣|gH|=|H| for every g∈Gg\in G.
  4. Count elements. Let [G ⁣: ⁣H]=k[G\!:\!H]=k be the number of distinct left cosets. Since the cosets are disjoint and each has ∣H∣|H| elements,
∣G∣=k ∣H∣.|G|=k\,|H|.

Therefore ∣H∣|H| divides ∣G∣|G|. 5. Conclude index is integer. The integer kk is called the index of HH in GG and equals ∣G∣/∣H∣|G|/|H|.

Result: In any finite group GG, the order of every subgroup HH divides ∣G∣|G|; equivalently, ∣G∣=[G ⁣: ⁣H] ∣H∣|G|=[G\!:\!H]\,|H|.

Tip from Examiner: Allocate 2 marks for defining cosets, 2 marks for proving equal size, 2 marks for the partition argument, and 1 mark for the final divisibility statement. Beware of assuming $G$ is abelian – the proof works for any group.

Key Points

  • Left coset definition
  • Cosets partition the group
  • Each coset has same cardinality
  • |G| = index × |H|
Q2e7MUnit 5 — Pigeonhole Principle
Core Concept

Show that in any room of people who have been doing handshaking there will always be at least two people who have shaken hands the same number of times.

Concept / Given Data We consider a finite set of nn people in a room. Each person may shake hands with any other person at most once; no one shakes his own hand. The number of handshakes a person makes is the degree deg(v)deg(v) of the corresponding vertex in the handshake graph G=(V,E)G=(V,E).\

Key Formula / Principle: ∑v∈Vdeg⁡(v)=2∣E∣\sum_{v\in V}\deg(v)=2|E|

(Handshaking Lemma)</div>

Step‑by‑Step Proof

  1. For nn people the possible handshake counts range from 00 to n−1n-1. Thus there are nn distinct integer values.
  2. Assume, for contradiction, that all nn people have different handshake numbers. Then the set of degrees must be exactly {0,1,2,…,n−1}\{0,1,2,\dots,n-1\}.
  3. If a person has degree 00, nobody else can have degree n−1n-1, because the person with degree n−1n-1 would need to shake hands with everyone, including the one with degree 00 – impossible.
  4. Hence the two extreme values 00 and n−1n-1 cannot coexist. With nn people we have only n−1n-1 admissible distinct values, but nn people to assign, forcing at least one repetition.
  5. Therefore at least two vertices share the same degree, i.e., at least two people have shaken the same number of hands.
    Result: In any gathering, there exist at least two individuals who have shaken hands an equal number of times.\
Tip from Examiner: Focus on the extreme degree values (0 and $n-1$). The contradiction arises instantly – no need to compute actual handshakes.

Key Points

  • Handshaking Lemma
  • Degree range 0 to n‑1
  • Extreme values contradiction

Section C

7 Marks Each · 10 questions
Q3a7MUnit 1 — Definition & Properties of lattices – Bounded
Core Concept

Define lattice and the properties of lattice.

Concept / Given Data A lattice is a partially ordered set (L,≤)(L,\le) in which every pair of elements a,b∈La,b\in L possesses a least upper bound (join) denoted a∨ba\vee b and a greatest lower bound (meet) denoted a∧ba\wedge b. The join and meet operations satisfy commutative, associative and absorption laws, turning (L,∨,∧)(L,\vee,\wedge) into an algebraic structure.

Key Formula / Principle: a∨b=lub⁡{a,b},a∧b=glb⁡{a,b}a\vee b = \operatorname{lub}\{a,b\},\qquad a\wedge b = \operatorname{glb}\{a,b\}

Step‑by‑Step Derivation of Lattice Properties

  1. Commutativity: a∨b=b∨aa\vee b = b\vee a and a∧b=b∧aa\wedge b = b\wedge a because the set {a,b}\{a,b\} is unordered; the least upper bound and greatest lower bound do not depend on order.
  2. Associativity: a∨(b∨c)=(a∨b)∨ca\vee(b\vee c) = (a\vee b)\vee c and a∧(b∧c)=(a∧b)∧ca\wedge(b\wedge c) = (a\wedge b)\wedge c follow from the definition of lub/glb for three elements; the same element serves as the unique least upper (or greatest lower) bound.
  3. Absorption: a∨(a∧b)=aa\vee(a\wedge b)=a and a∧(a∨b)=aa\wedge(a\vee b)=a. Since a∧b≤aa\wedge b\le a, the join of aa with a lower element cannot exceed aa, and similarly for meet.
  4. Idempotence: a∨a=aa\vee a = a and a∧a=aa\wedge a = a because aa is both its own least upper and greatest lower bound.
  5. Boundedness (for a bounded lattice): there exist a greatest element 11 (top) and a least element 00 such that 0≤a≤10\le a\le 1 for all a∈La\in L. Consequently a∨0=aa\vee 0 = a and a∧1=aa\wedge 1 = a.
  6. Complemented (optional): an element bb is a complement of aa if a∨b=1a\vee b = 1 and a∧b=0a\wedge b = 0. A bounded lattice where every element has a complement is a complemented lattice.
  7. Distributive: a∨(b∧c)=(a∨b)∧(a∨c)a\vee(b\wedge c)= (a\vee b)\wedge(a\vee c) and dually a∧(b∨c)=(a∧b)∨(a∧c)a\wedge(b\vee c)= (a\wedge b)\vee(a\wedge c). Not all lattices satisfy this; those that do are distributive lattices.
  8. Modular: a≤c⇒a∨(b∧c)=(a∨b)∧ca\le c\Rightarrow a\vee(b\wedge c)= (a\vee b)\wedge c. This is a weaker condition than distributivity.
  9. Complete: every subset S⊆LS\subseteq L (finite or infinite) has a join ⋁S\bigvee S and a meet ⋀S\bigwedge S.

Result: A lattice is a poset where each pair has a unique join and meet; a bounded lattice further contains top 11 and bottom 00, and may exhibit complemented, distributive, modular, or complete properties.

Tip from Examiner: In 7‑mark questions allocate marks: definition (2), join/meet definition (1), each property (1 each) and a concise concluding statement (1). Avoid writing full proofs; state laws clearly.

Key Points

  • join (lub)
  • meet (glb)
  • commutative & associative
  • bounded (0,1)
  • distributive / modular
Q3b7MUnit 1 — POSET & Lattices: Hasse Diagram
Survival Mode

Explain the following terms: (i) POSET (ii) Hasse diagram.

(i) POSET
A partially ordered set (POSET) is an ordered pair (P,≤)(P,\le) where PP is a non‑empty set and ≤\le is a binary relation on PP satisfying three axioms:

  1. Reflexive: a≤aa\le a for every a∈Pa\in P.
  2. Antisymmetric: a≤ba\le b and b≤ab\le a imply a=ba=b.
  3. Transitive: a≤ba\le b and b≤cb\le c imply a≤ca\le c. The relation ≤\le is called a partial order because not every pair of distinct elements need be comparable. Typical examples are the set of subsets of a set ordered by inclusion (P(X),⊆)(\mathcal{P}(X),\subseteq) or the set of integers ordered by divisibility (Z+,∣)(\mathbb{Z}^+,|).

(ii) Hasse diagram
A Hasse diagram is a planar graph that visualises a finite POSET without drawing all reflexive loops or transitive edges.

  • Vertices represent the elements of the POSET.
  • Edges are drawn from xx to yy only when x≤yx\le y and there is no zz such that x<z<yx<z<y; i.e., yy covers xx.
  • The diagram is conventionally drawn with larger elements placed higher, so the upward direction corresponds to the order relation.
  • By omitting reflexive and transitive connections, the diagram remains uncluttered while preserving the order structure; the missing relations can be recovered by transitive closure.
Key Property: $x\prec y\iff x

Construction steps

  1. List all elements of the POSET.
  2. Determine covering pairs using the definition above.
  3. Place minimal elements at the bottom, maximal at the top.
  4. Connect each covering pair with a line segment; arrows are optional because the upward direction already indicates the order.
  5. Verify that every comparable pair can be linked by a monotone path.

Reading the diagram. Once the covering pairs are drawn, the order of any two comparable elements is read by following an upward path. Reflexive loops are omitted on purpose because every element is understood to be related to itself, and transitive edges are omitted because they follow by chaining covering edges. For example, in a divisibility POSET, two connected by a rising edge means the lower number divides the upper one, and a longer rising path still means divisibility. If two elements cannot be joined by any monotone path they are incomparable, which is exactly why the order is called partial rather than total. Minimal elements sit at the bottom, maximal elements at the top, and a greatest element exists only when one vertex lies above every other vertex.

Result: The Hasse diagram provides a compact visual representation of the POSET, making it easy to read chains, antichains, greatest and least elements, and to identify lattice properties.

Tip from Examiner: In 7‑mark questions allocate marks: definition (2), axioms (3), example (1), diagram description (1). Avoid drawing loops or redundant edges – they cost marks.
123 4612

Key Points

  • Partial order axioms
  • Covering relation
  • Transitive reduction
  • Upward orientation
  • Minimal‑maximal elements
Q4a7MUnit 2 — Karnaugh maps
Core Concept

Use a Karnaugh map to find a minimal sum for E=y′t′+y′z′t+x′y′zt+yzt′E= y' t' + y' z' t + x' y' z t + y z t'.

Convert the terms to minterms Use the variable order x,y,z,tx,y,z,t with xx as the most significant bit. The term y′t′y't' fixes y=0y=0 and t=0t=0, so it covers m0,m2,m8,m10m_0,m_2,m_8,m_{10}. The term y′z′ty'z't covers m1,m9m_1,m_9. The term x′y′ztx'y'zt covers m3m_3. The term yzt′yzt' covers m6,m14m_6,m_{14}. The ones are therefore {0,1,2,3,6,8,9,10,14}\{0,1,2,3,6,8,9,10,14\}.

xy \ zt00011110 00011110 1111 11111 x'y'zt'xy'z'

Group the ones The whole top row is one, giving the four cell implicant x′y′x'y'. The rightmost column is one in all four rows, giving the four cell implicant zt′zt'. The remaining bottom left pair in row xy=10xy=10 and columns zt=00,01zt=00,01 gives xy′z′xy'z'. These three groups cover every one; the group x′y′x'y' absorbs the apparent need for the separate terms y′z′ty'z't and x′y′ztx'y'zt, and the column group absorbs yzt′yzt'.

Why the grouping is minimal. Each one is now covered by a largest possible power of two block, and no remaining one can be absorbed into a bigger block. The top row group and the right column group are essential because each contains cells that no other group covers. The bottom left pair is then forced for the two remaining cells. Checking the groups against the original nine minterms confirms that the expression is equivalent.

Result: The minimal sum of products is Emin=x′y′+zt′+xy′z′E_{min}=x'y'+zt'+xy'z'.

Tip from Examiner: Write the variable order before converting terms to minterm numbers, and check wrap around groups along the top row and rightmost column. Always verify that each original one is covered.
Key Formula: Result\text{Result}

Key Points

  • Minterm identification
  • Group size maximisation
  • Absorption rule
Q4b7MUnit 2 — Simplification of Boolean Functions
Core Concept

Show that the number of minimal Boolean functions in nn variables is 22n2^{2^n}.

Statement to Prove

The number of distinct Boolean functions of (n) independent variables is (2^{2^{n}}). A minimal Boolean function here means a function that cannot be reduced further by merging identical output rows – essentially each distinct mapping from the (2^{n}) input combinations to a binary output.

Key Counting Principle: Total functions=2⏟choices for each output2n⏟input rows=22n\text{Total functions}=\underbrace{2}_{\text{choices for each output}}^{\underbrace{2^{n}}_{\text{input rows}}}=2^{2^{n}}

Step‑by‑Step Derivation

  1. List all possible input vectors. For (n) binary variables (x_{1},x_{2},\dots ,x_{n}) there are (2^{n}) distinct rows in the truth table (each row is a binary (n)-tuple).
  2. Determine output choices per row. For each row the Boolean output can be either (0) or (1); thus (2) possibilities.
  3. Apply the multiplication principle. Since the choice for one row is independent of the choices for the others, the total number of distinct output patterns equals (2\times2\times\dots\times2) ((2^{n}) times), i.e. (2^{2^{n}}).
  4. Interpretation as minimal functions. Every distinct output pattern corresponds to a unique Boolean function; no two patterns can be merged without altering the mapping, so each is already minimal.
  5. Verification for small (n).
    • (n=1): (2^{2^{1}}=2^{2}=4) functions ((0,1,x,\overline{x})).
    • (n=2): (2^{2^{2}}=2^{4}=16) functions, matching the known list of 16 two‑variable Boolean functions.
    • (n=3): (2^{2^{3}}=2^{8}=256) functions, confirming the exponential growth.

Result: The exact count of minimal Boolean functions in (n) variables is (\boxed{2^{2^{n}}}).

Tip from Examiner: Remember the two‑level counting: first count input rows \(2^{n}\), then output choices \(2\) per row. A common mistake is to write \(2^{n}\) instead of \(2^{2^{n}}\).

Key Points

  • Truth‑table rows
  • Binary output choices
  • Multiplication principle
  • Exponential count
  • Verification for n=1,2,3
Q5a7MUnit 3 — Proposition
Core Concept

Prove that the statement ‘if nn is an integer, then n2−n+4n^2 - n + 4 is a prime number’ is false.

Concept / Given Data We must disprove the universal claim: If nn is an integer, then n2−n+4n^{2}-n+4 is a prime number. To show a universal conditional is false, it suffices to find a single integer counter‑example for which the consequent is not prime.

Key Formula / Principle: ∃n∈Z  (egPrime(n2−n+4))\exists n\in\mathbb{Z}\;\bigl( eg\text{Prime}(n^{2}-n+4)\bigr)

Step‑by‑Step Refutation

  1. Identify the structure of the expression f(n)=n2−n+4f(n)=n^{2}-n+4. It is a quadratic that grows quickly, so small integers are the easiest test cases.
  2. Test n=0n=0:
f(0)=02−0+4=4f(0)=0^{2}-0+4=4

4=2×24=2\times2 is composite, not prime. Hence the statement fails for n=0n=0. 3. Verify that 00 satisfies the antecedent – 00 is indeed an integer, so the premise Int(n)\text{Int}(n) holds. 4. Conclude that the conditional Int(n)→Prime(f(n))\text{Int}(n)\rightarrow\text{Prime}(f(n)) is false for n=0n=0 because the consequent is false while the antecedent is true. 5. Optional further check (to reinforce the argument):

  • n=1n=1: f(1)=1−1+4=4f(1)=1-1+4=4 (again composite).
  • n=2n=2: f(2)=4−2+4=6f(2)=4-2+4=6 (composite). The pattern shows many integers give composite values, confirming the universal claim is untenable.

Result

  • Counter‑example: n=0n=0 (or n=1n=1) yields n2−n+4=4n^{2}-n+4=4, which is not prime. Therefore the statement “if nn is an integer, then n2−n+4n^{2}-n+4 is a prime number” is false.
Tip from Examiner: For disproving a universal conditional, a single concrete integer is enough. Choose the smallest integers first; they often expose compositeness quickly.

Key Points

  • Counter‑example
  • Prime test
  • Disprove universal
Q5b7MUnit 3 — Algebra of proposition
Core Concept

Explain the following terms with suitable examples: (i) Converse (ii) Disjunction (iii) Conjunction.

Concept / Given Data Algebra of propositions deals with manipulating compound statements using logical connectives. The converse, disjunction and conjunction are three basic operations that frequently appear in inference questions.

Key Formula / Principle: Converse of (p→q)  =  q→p\text{Converse of }(p\to q)\;=\;q\to p p∨q  (Disjunction)  is true iff at least one of p,q is truep\vee q\;\text{(Disjunction)}\;\text{is true iff at least one of }p,q\text{ is true} p∧q  (Conjunction)  is true iff both p and q are truep\wedge q\;\text{(Conjunction)}\;\text{is true iff both }p\text{ and }q\text{ are true}

Step‑by‑Step Explanation & Examples

  1. Converse – Given an implication p→qp\to q, its converse swaps antecedent and consequent: q→pq\to p. It is not logically equivalent to the original implication. Example: Let pp: “It rains”, qq: “The ground is wet”. Original: p→qp\to q (rain ⇒ wet). Converse: q→pq\to p (wet ⇒ rain) – false when the ground is wet due to a sprinkler.

  2. Disjunction (∨\vee) – The logical “or”. The truth table is:

    pp qq p∨qp\vee q
    T T T
    T F T
    F T T
    F F F
    It is inclusive: both pp and qq may be true simultaneously.
    Example: pp: “I will study”, qq: “I will watch TV”. p∨qp\vee q is true if I do either or both.
  3. Conjunction (∧\wedge) – The logical “and”. Truth table:

    pp qq p∧qp\wedge q
    T T T
    T F F
    F T F
    F F F
    Both components must be true.
    Example: pp: “It is Monday”, qq: “It is raining”. p∧qp\wedge q is true only on a rainy Monday.

Derivation Example Using All Three Premise 1: p→qp\to q (If I submit the assignment, I will get marks). Premise 2: r∨pr\vee p (Either I study late or I submit). Goal: Derive r→qr\to q (If I study late then I get marks).

  1. p→qp\to q                                                 (Premise)
  2. r∨pr\vee p                                                (Premise)
  3. Assume rr                                                (Assumption for Conditional Proof)
  4. From 2 and 3, by Disjunctive Syllogism we cannot directly infer pp, but we can use Proof by Cases:
    • Case A: rr is true (our assumption).
    • Case B: pp is true.
  5. In Case B, from 1 and pp we get qq by Modus Ponens.
  6. Hence, in both cases qq follows; therefore r→qr\to q (Conditional Proof).

Result: The converse swaps antecedent and consequent, disjunction is true when at least one operand is true, and conjunction requires both operands true. Their truth‑tables and examples illustrate the differences, and they can be combined in proofs as shown.

Tip from Examiner: Never confuse converse with contrapositive; the latter $ eg q\to eg p$ is logically equivalent to the original. When a question asks for “explain”, give a crisp definition, a truth table, and a real‑world example – that secures full marks.

Key Points

  • Converse q→pq\to p
  • Disjunction ∨\vee
  • Conjunction ∧\wedge
  • Truth tables
  • Conditional proof
Q6a7MUnit 4 — Lagrange's theorem
Core Concept

Let HH be a subgroup of a finite group GG. Prove that the order of HH divides the order of GG.

Concept / Given Data We are given a finite group GG and a subgroup H≤GH\le G. Let ∣G∣=n|G|=n and ∣H∣=m|H|=m denote their orders (cardinalities). The task is to prove that mm divides nn.

Key Formula / Principle: ∣G∣=[G ⁣: ⁣H] ∣H∣|G|=[G\!:\!H]\,|H|

where [G ⁣: ⁣H][G\!:\!H] is the index of HH in GG (the number of distinct left cosets of HH in GG).

Step‑by‑Step Proof

  1. Coset Definition – For any g∈Gg\in G, the left coset of HH determined by gg is gH={gh∣h∈H}gH=\{gh\mid h\in H\}. Each coset is a subset of GG.
  2. Cosets Partition GG – If g1H∩g2Heq∅g_1H\cap g_2H eq\emptyset, theng1H=g2Hg_1H=g_2H. Hence distinct cosets are disjoint, and the union of all left cosets equalsGG.
  3. All Cosets Have Equal Size – The map ϕ:h↦gh\phi:h\mapsto gh is a bijection from HH onto gHgH, so ∣gH∣=∣H∣=m|gH|=|H|=m for every g∈Gg\in G.
  4. Counting Elements – Suppose there are kk distinct left cosets. Because the cosets are disjoint and each contains mm elements, we have
∣G∣=k⋅m.|G|=k\cdot m.

The integer kk is precisely the index [G ⁣: ⁣H][G\!:\!H]. 5. Conclusion – Since kk is an integer, mm divides ∣G∣|G|. Thus the order of any subgroup HH of a finite group GG divides the order of GG.

Result: ∣H∣∣∣G∣|H|\mid|G| (the order of HH divides the order of GG).

Tip from Examiner: Remember to state why cosets are disjoint and why each coset has the same cardinality as $H$. Missing either justification loses marks. Also, write the index $[G\!:\!H]$ explicitly; it is the bridge between the two orders.

Key Points

  • Coset partition
  • Equal coset size
  • Index [G:H][G:H]
Q6b7MUnit 4 — Cyclic Groups
Core Concept

How many generators are there of the cyclic group GG of order 10?

Concept / Given Data We are given a cyclic group GG of order ∣G∣=10|G|=10 and asked to determine how many elements generate GG. For any cyclic group of order nn, the generators are precisely the elements whose exponent is relatively prime to nn.

Key Formula / Principle: #generators=φ(n)\#\text{generators}=\varphi(n)

where φ\varphi denotes Euler’s totient function.

Step‑by‑Step Solution

  1. Identify the order: n=10n=10.
  2. Factorise 1010 as 2⋅52\cdot5. Using the multiplicative property of the totient function,
φ(10)=φ(2) φ(5)=(2−1)(5−1)=1×4=4.\varphi(10)=\varphi(2)\,\varphi(5)= (2-1)(5-1)=1\times4=4.
  1. Verify by listing the residues modulo 1010 that are coprime to 1010: {1,3,7,9}\{1,3,7,9\}. Each of these satisfies gcd⁡(k,10)=1\gcd(k,10)=1, so gkg^k (or kk in additive notation) generates the whole group.
  2. In a concrete representation, if G=⟨a⟩G=\langle a\rangle, then the generators are a,a3,a7,a9a, a^3, a^7, a^9 because
⟨ak⟩=G  ⟺  gcd⁡(k,10)=1.\langle a^k\rangle=G \iff \gcd(k,10)=1.
  1. No other element can be a generator: any kk with gcd⁡(k,10)>1\gcd(k,10)>1 yields a proper subgroup (e.g., a2a^2 has order 55, a5a^5 has order 22).

Result: The cyclic group of order 1010 possesses 4\mathbf{4} generators (elements 1,3,7,91,3,7,9 in Z10\mathbb{Z}_{10} or a,a3,a7,a9a, a^3, a^7, a^9 in multiplicative notation).

Tip from Examiner: Use the totient function rather than memorising each case. Watch out for the unit‑digit trap – $5$ is not a generator because $\gcd(5,10)=5 eq1$.

Key Points

  • \varphi(10)=4
  • Generators ⇔ gcd(k,10)=1
  • List: 1,3,7,9
Q7a7MUnit 5 — Definition and terminology
Core Concept

Let GG be a 3‑regular graph with nn vertices. What is the sum of the degrees of the vertices? Show that in such a graph nn must be even.

Concept / Given Data A graph GG is 3‑regular (cubic) meaning every vertex v∈V(G)v\in V(G) has degree deg⁡(v)=3\deg(v)=3. Let the number of vertices be n=∣V(G)∣n=|V(G)|.

Key Formula / Principle: ∑v∈Vdeg⁡(v)=2∣E∣\sum_{v\in V}\deg(v)=2|E|

(Handshaking Lemma)

Step‑by‑Step Solution

  1. Apply the handshaking lemma to the cubic graph:
∑v∈Vdeg⁡(v)=∑v∈V3=3n.\sum_{v\in V}\deg(v)=\sum_{v\in V}3 = 3n.
  1. Equate this to twice the number of edges:
3n=2∣E∣⇒∣E∣=3n2.3n = 2|E| \quad\Rightarrow\quad |E| = \frac{3n}{2}.
  1. Since ∣E∣|E| must be an integer, the numerator 3n3n must be even. The factor 33 is odd, therefore nn itself must be even. Write n=2kn=2k for some integer kk.
  2. Substituting n=2kn=2k back gives the total degree sum:
∑v∈Vdeg⁡(v)=3(2k)=6k,\sum_{v\in V}\deg(v)=3(2k)=6k,

and the edge count becomes ∣E∣=3k|E|=3k.

Why parity matters. The handshaking lemma counts each edge twice because every edge has two endpoints, so the total of all vertex degrees is always an even number. In a cubic graph every vertex contributes the same odd number, three, so the total is three times the vertex count. An even total can only come from an even number of odd terms, hence the vertex count must be even. Equivalently, the edge count is three halves of the vertex count and must be a whole number, which requires the same condition. The argument does not require the graph to be connected; it applies to every finite cubic graph. A typical example with four vertices is the complete graph on four vertices, which is three regular and has six edges, and the next possibility has six vertices and nine edges.

Result:

  • The sum of the degrees of all vertices in a 3‑regular graph with nn vertices is 3n3n.
  • Consequently, nn must be even (i.e., n=2kn=2k) for the edge count to be integral.
Tip from Examiner: Remember the handshaking lemma; it forces $2|E|$ to be even. A common mistake is to forget that a loop contributes two to the degree, but a simple 3‑regular graph has no loops, so the parity argument holds directly.
Quantity Value for a cubic graph
Degree of each vertex 33
Number of vertices nn
Sum of all degrees 3n3n
Number of edges 3n/23n/2

Key Points

  • Handshaking Lemma"
  • 3‑regular (cubic) graph
  • Sum of degrees 3n3n
  • Even number of vertices
  • Edge count 3n2\frac{3n}{2}
Q7b7MUnit 5 — Definition and terminology
Core Concept

Prove that if a connected graph GG is decomposed into two subgraphs g1g_1 and g2g_2, there must be at least one vertex common between g1g_1 and g2g_2.

Concept / Given Data We are given a connected graph G=(V,E)G=(V,E). Suppose GG can be expressed as the union of two subgraphs g1=(V1,E1)g_1=(V_1,E_1) and g2=(V2,E2)g_2=(V_2,E_2) such that V1∪V2=VV_1\cup V_2=V and E1∪E2=EE_1\cup E_2=E. The claim to prove: V1∩V2eq∅V_1\cap V_2 eq\emptyset; i.e., the two subgraphs share at least one vertex.

Key Principle: A graph is **connected** iff there exists a path between any pair of vertices.

Step‑by‑Step Proof

  1. Assume, for contradiction, that V1∩V2=∅V_1\cap V_2=\emptyset. Then the vertex sets are disjoint, and consequently the edge sets are also disjoint because an edge must have both endpoints in the same subgraph.
  2. Pick any vertex u∈V1u\in V_1 and any vertex v∈V2v\in V_2. Since GG is connected, there exists a path PP from uu to vv:
u=v0 ⁣ ⁣→v1 ⁣ ⁣→… ⁣ ⁣→vk=v,u=v_0\!\!\to v_1\!\!\to\dots\!\!\to v_k=v,

where each consecutive pair (vi−1,vi)(v_{i-1},v_i) is an edge of GG. 3. Because V1V_1 and V2V_2 are disjoint, the path must contain at least one edge whose endpoints lie in different subgraphs. Let (x,y)(x,y) be the first such edge where x∈V1x\in V_1 and y∈V2y\in V_2. 4. The edge (x,y)(x,y) belongs to EE, but by construction it cannot belong to E1E_1 (both ends are not in V1V_1) nor to E2E_2 (both ends are not in V2V_2). This contradicts the assumption that E=E1∪E2E=E_1\cup E_2. 5. Hence the assumption V1∩V2=∅V_1\cap V_2=\emptyset is false; therefore V1∩V2eq∅V_1\cap V_2 eq\emptyset. 6. In other words, any decomposition of a connected graph into two subgraphs must share at least one common vertex.

Where the argument uses connectedness. The proof works by assuming the two vertex sets are disjoint and then following a path from a vertex of the first subgraph to a vertex of the second. Since the whole graph is connected, such a path must exist. Along that path there is a first edge that leaves the first set and enters the second, and this edge cannot be assigned to either subgraph under the disjointness assumption. If the graph were disconnected, two components would be disjoint subgraphs whose union is still the whole graph, so the hypothesis of connectedness is essential. The shared vertex acts as a cut junction through which all travel between the two parts must pass.

Result: A connected graph cannot be split into two vertex‑disjoint subgraphs; at least one vertex is common to both.

Tip from Examiner: When proving by contradiction, explicitly exhibit the first “cross‑edge” on a connecting path. Forgetting to argue why that edge cannot belong to either subgraph leads to a loss of marks.
shared vertex g1g2

Key Points

  • Connected ⇒ path between any two vertices
  • Assume disjoint vertex sets leads to contradiction
  • Cross‑edge forces common vertex