QB of Maths
QB of Maths
QB of Maths
Department of Mathematics
Course No: MAM 481, Course Code: Discrete Mathematics
Question Bank (2016-17) REVISED: JAN 2017
UNIT 1
2. Explain, without using a truth table, why (p ∨ q ∨ r) ∧ (¬p ∨¬q ∨¬r) is true when at least one
of p, q, and r is true and at least one is false, but is false when all three variables have the same
truth value.
3. Show that each of these conditional statements is a tautology by using truth tables:
a) [¬p ∧ (p ∨ q)] → q b) [(p → q) ∧ (q → r)] → (p → r)
c) [p ∧ (p → q)] → q d) [(p ∨ q) ∧ (p → r) ∧ (q → r)] → r
4. Show that each conditional statement in the previous exercise is a tautology without using
truth tables.
5. Show that the following are logically equivalent without constructing a truth table
a) (p → q) ∨ (p → r) and p → (q ∨ r) b) (p → r) ∨ (q → r) and (p ∧ q) → r
c) ¬p → (q → r) and q → (p ∨ r) d) ((q ∧ r) → s) ∧ (r → (p ∨ s)) and (r ∧ (p → q)) → s
6. Find formulas in CNF and DNF equivalent to each of the following formulas:
(a) ¬(p ∧ T)
(b) ((p → q) → r) → F
(c) ¬ (p ↔ q) ↔ r
(d) ((p ∨ q) → r) ∧ (r → ¬(p ∨ q))
(e) (¬r) → (((p ∨ q) → r) → ¬q)
7. Translate each of these statements into logical expressions using predicates, quantifiers, and
logical connectives.
a) Something is not in the correct place.
b) All tools are in the correct place and are in excellent condition.
c) Everything is in the correct place and in excellent condition.
d) Nothing is in the correct place and is in excellent condition.
e) One of your tools is not in the correct place, but it is in excellent condition.
8. Translate these specifications into English where F(p) is “Printer p is out of service,” B(p) is
“Printer p is busy,” L(j) is “Print job j is lost,” and Q(j) is “Print job j is queued”
a) ∃p(F(p) ∧ B(p)) → ∃jL(j)
b) ∀pB(p) → ∃jQ(j)
c) ∃j (Q(j) ∧ L(j)) → ∃pF(p)
1
d) (∀pB(p) ∧ ∀jQ(j)) → ∃jL(j)
9. Translate these statements into English, where the domain for each variable consists of all real
numbers:
a) ∃x∀y(xy = y)
b) ∀x∀y(((x ≥ 0) ∧ (y < 0)) → (x −y > 0))
c) ∀x∀y∃z(x = y + z)
10. Rewrite each of these statements so that negations appear only within predicates (that is, so
that no negation is outside a quantifier or an expression involving logical connectives):
a) ¬∃y∃xP(x, y) b) ¬∀x∃yP(x, y)
c) ¬∃y(Q(y) ∧ ∀x¬R(x, y))
d) ¬∃y(∃xR(x, y) ∨ ∀xS(x, y))
e) ¬∃y(∀x∃zT (x, y, z) ∨ ∃x∀zU(x, y, z))
12. Show that the argument form with premises p →r, r →s, t∨ ¬ s, ¬ t ∨ u, ¬ u and with
conclusion ¬p is valid.
UNIT 2
1. Let A, B be sets with |B|=3. If there are 4096 relations from A to B, then what is | A| ?
2. Let A= {1, 2, 3, 4} and B ={x, y, z}
i. Ho w many functions f: A → B are there?
ii. How many functions f: A → B are one-to-one?
iii. How many functions f: B→ A are there?
iv. How many functions f : B → A are one-to-one?
3. Let X={1, 2, 3, 4} and R:X→X is defined by R={(x,y)|x >y}. Find R and its relational
matrix.
4. Let X={1, 2, …, 10} and R={(x,y)|x-y is divisible by 3}. Show that R is an equivalence
relation. Find equivalence classes and partition of set X.
2
5. Let R denote a relation on the set of ordered pairs of positive integers such that (x,y)R(u,v)
iff xv=yu. Show that R is an equivalence relation.
6. Let R={(1,2),(3,4),(2,2)} and S={(4,2),(2,5),(3,1),(1,3)}. Find RoS, SoR, Ro(SoR), (RoS)oR,
RoR, SoS and RoRoR.
7. Let A be the set of positive divisors of 12 and let a relation R on A is defined by xRy if x
exactly divides y is a partial ordering relation on A. Draw the Hasse diagram of it.
8. Let A be a given finite set and P(A) its power set. Let ⊆ be the inclusion relation on the
elements of P(A). Draw Hasse diagram of (P(A),⊆ ) for (i) A = {a} (ii) A={a,b} (iii)
A={a,b,c}.
9. Let X={1,2,3}, Y={p,q} and Z={a,b}. Also let f: X → Y be f = {(1,p), (2,p), (3,q)} and let g
:Y → Z be given by g = {(p,b), (q,b)}. Find gof and gof.
10. Let f: R→R be given by f(x)= -x2 and g: R+→R be given by g(x)=√ x , where R+¿ ¿ is the set of
real numbers. Find fog. Is gof defined?
11. Show that the functions f(x)= x3 and g(x)= x1/3 for x R are inverse of each other.
12. Define Peano Axioms. Using the principle of mathematical induction, show that
i. n < 2n ii. 2n n! for n 4 iii. n 3 +2n is divisible by 3
13. Prove each of the following by mathematical induction:
i. 1+2+…+ n=n (n+1)/2
ii. 12 +22+ … n2=n ( n+ 1 ) (2n+ 1)/6
UNIT 3
1. Define semigroup. Show that for the set of positive integers Z, (Z, +) and (Z, ×) are
semigroups.
2. Define monoid. Let A be a non-empty set and P(A) be its power set, then show that (P(A),U)
and (P(A),∩) are monoid with the identities and A respectively.
3. Define group, order of a group and an abelian group. Let Z be the set of integers, then show
that (Z, +) is an abelian group.
4. Why is the set of integers Z not a group under subtraction?
5. Show that
i. (G,o), where G={1, ω, ω2 } and ‘o’ is the usual multiplication of complex numbers,
is a finite group of order 3.
ii. (G,o), where G={1, -1, i, -i}and ‘o’ is the usual multiplication of complex numbers,
is a finite abelian group of order 4
6. Define subgroup. Show that H={1, -1} is a proper subgroup of the multiplicative group
G={1, -1, i, -i}.
7. Define cyclic groups. Show that the multiplicative group {1, -1, i, -i} is a cyclic group with
generator i.
8. Define normal subgroups. Show that every group G has at least two normal subgroups,
namely {e} and G itself.
3
9. Define homomorphism of groups. Also define kernel of a homomorphism.
10. Define lattices as posets. Let A={1, 2, 3}, P(A) be the power set of A and R be the subset
relation on P(A). Show that A is maximal and is minimal for the poset (P(A), ⊆).
11. Let I+ be the set of all positive integers and let R denote the relation of ‘division’ in I + such
that for any a, b I+, a R b iff a divides b. Show that (I+, R) is a lattice.
12. A relation R on N defined as xRy implies x≤y, show that (N, R) is a lattice.
UNIT 4
4
10. a. What is the coefficient of x7 in (1 + x)11?
b. What is the coefficient of x9 in (2 − x)19?
c. What is the coefficient of x8y9 in the expansion of (3x + 2y)17?
UNIT 5
0 0n2 3 2n 0 n 1
an n bn
1. If 2 5 n3 and n 2 n2 then find the sum and
product of the two functions.
1 0 n 10
an
2. For DNF 2 n 11 , find S 5 an and S 7 an .
2 3z 6 z 2
A( z ) .
3. Obtain DNF an from the generating function 1 2z
4. A ball is dropped to a floor from a height of 20m. Suppose that the ball always rebounds to
reach half of the height from which it falls.
i. Let an denote the height it reaches in the nth rebound. Construct DNF.
ii. Let bn denote the loss in height during the nth rebound. Express bn in terms of an . Also
construct its DNF.
5. Find the generating function for each of the following sequences:
i. 1, -1, 1, -1, 1, -1, …….
ii. 1, 0, 1, 0, 1, 0, …….
iii. 0, 6, -6, 6, -6, 6,…….
8 , 8 , 8 ,… 8
iv. ( )( )( ) ( )
0 1 2 8
6. Determine the sequence generated by each of the following generating functions:
1
f ( z)
1. 3 z
z4
f (z)
2. 1 z
1
f (z)
3. 1 3z
7. There are 3 pegs on n circular disks of increasing diameter on one peg, with the largest disk
on the bottom. These disks are to be transferred one at a time onto another peg with the
provision that at no time is one allowed to put a larger disk on one with smaller diameter.
Establish the required recurrence relation and also find its solution.
8. Establish recurrence relation for the Fibonacci sequence and find its solution.
9. Solve the following recurrence relations by substitution method:
(i) an an 1 n, a0 2
5
(ii) an an 1 3 , a0 1
n
(iii) an an 1 3n 2 , n 1
n
13. Find total solution of the following recurrence relations by the method of generating
functions:
(i) an 3an 1 2, n 1, a0 1
(ii) an 5an 1 6an 2 2 n, n 2, a0 1, a1 1
n
a an 1 an 2 , n 2, a0 1, a1 1.
(iii) n