BBT 1105 - Discrete Math
BBT 1105 - Discrete Math
Instructions
a) Differentiate between whole and natural numbers giving examples in each case.
[4 Marks]
b) Prove that √2 is indeed an irrational number. [6 Marks]
c) Differentiate between an into function and an onto function.
[2 Marks]
d) Represent the following on a Venn diagram.
i. 𝐴 ∩ (𝐵 ∪ 𝐶) [2 Marks]
𝐶
ii. 𝐴 ∩ (𝐵 ∪ 𝐶) [3 Marks]
iii. 𝐴 𝐵 [2 Marks]
e) For the given function determine the domain, range and whether the function is
one-to-one or one-to-many.
i. 𝑓(𝑥) = 𝑥 + 23 [3 Marks]
ii. 𝑓(𝑥) = 𝑥 0.5 [3 Marks]
−2
iii. 𝑓(𝑥) = 𝑥 [3 Marks]
f) Given that 𝐹 = {{0, ∅}, {∅}}, find the power set of 𝐹. [2 Marks]
QUESTION TWO (20 Marks)
a) Determine which of the following are propositions and which are not.
i. It is bright [1 Mark]
ii. 7 + 3 = 73 [1 Mark]
iii. Tomorrow is your birthday [1 Mark]
iv. Will you pass this exam? [1 Mark]
b) Draw a truth table for the following statements and determine whether they are
tautologies or fallacies.
i. 𝑝 ⨁ 𝑞 [3 Marks]
ii. 𝑝 ⟷ 𝑞 [3 Marks]
iii. ∼ (𝑝 ⟶ (𝑞 ⋁ 𝑟)) [5 Marks]
c) Show that 𝑝 ∨ ∼ 𝑞 is equivalent to 𝑞 → 𝑝 ∨ (∼ 𝑝 → ∼ 𝑞) [5 Marks]
1 0 1 1
0 1 0 0
0 1 1 0
1 0
1 0
b) Given a relation 𝑅 = { (4, 𝑧), (4, 𝑦), (2, 𝑦), (1, 𝑥), (1, 𝑦), (3, 𝑧), (4, 𝑥) } from 𝐴 =
{1,2,3,4} to 𝐵 = {𝑥, 𝑦, 𝑧}. Find the matrix of 𝑅. [6 Marks]
c) Differentiate between a function and a relation. [2 Marks]
d) Given that 𝑓(𝑥) = 5𝑥 + 2 and 𝑔(𝑥) = 3𝑥 − 4, find 𝑓 ∘ 𝑔, 𝑔 ∘ 𝑓, 𝑔−1 ∘ 𝑓, (𝑔 ∘ 𝑓)−1,
(𝑓 ∘ 𝑔 ∘ 𝑓 −1 )−1 [8 Marks]