Discrete Maths Exam
Discrete Maths Exam
(a) Given the following functions f (x)=5 x 2−3 x +20 and g( x )=2 x+3.
Find
−1
i. f ( g( x ))
f ( x +h )−f (x )
ii. h
“If I go swimming, then I will stay in the sun for too long. If I stay in the sun too long,
then I will sunburn. Therefore, if I go swimming, then I sunburn.
Let P be go swimming
Q be stay in the sun
R be sunburn
p-> q, q-> r, p->r
3C2 * 9C4
3 * 126
= 378
3C3 * 9C3
= 1 * 84
= 84
3C1 * 9C5
= 3* 126
= 378
(3 Marks)
(d) Some stock items at a production plant may be classified into one or more of the
following three categories; perishable, special order or export. The following are
results of the classification of items: 6 items were classified as perishable only, 4
items were classified as special order only, 8 items were classified as export only.24
items were not classified in any of the three classifications. 7 items were classified in
exactly two categories. None of the items were classified into all the three categories.
There were 14 export items and 9 special order items.
(4 Marks)
ii. How many items were classified as perishable?
(1 Mark)
, ,
, .
(5 Marks)
(b) Let ∑¿ ¿ be the universal set and let G=ρ( ∑ ) ,the power set of ∑¿ ¿ .Define the
C
following operations X +Y =X∪Y , XY = X∩Y , X =X on G. Show that
( G ,∪,∩, ,Φ, Σ ) is a Boolean algebra
(5Marks)
QUESTION THREE (15 MARKS)
(a) Find the largest interval D on which the formula f (x)= x2defines a one -to-one
function.
(2 Marks)
p q r ((p ∧ ¬q) → (r → (p → (q ∨
r))))
F F F T
F F T T
F T F T
F T T T
T F F T
T F T T
T T F T
T T T T
This is a tautology.
n
C2
(3 Marks)