Discrete Mathematics Tutorial 2
Discrete Mathematics Tutorial 2
1.3 Functions
1. Find these values.
(a) ⌊ 1.1 ⌋ =1
(b) ⌈ 1.1⌉ =2
(c)⌈ 2.99⌉ =3
(d) ⌈−2.99 ⌉ = -2
(e) ⌊ ½+ ⌈ ½ ⌉ ⌋ = 1
(f) ⌈ ⌊ ½ ⌋ + ⌈ ½ ⌉ +½ ⌉ = 2
(b) f ( m , n )=m²−n ²
(c) f ( m , n )=|m|−¿ n∨¿
(d) f ( m , n )=m²−4
(a) f ( x )=−3 x + 4
( x +1 )
(c) f ( x )=
( x +2 )
(d) f ( x )=x 5 +1
1
TMC/TMF 1814 DISCRETE MATHEMATICS TUTORIAL 2 S1 2016/2017
5. Find f ∘ g and g ∘ f , where f ( x )=x ²+1 and g ( x )=x+ 2, are functions from R to R.
(a) 2n-1
(b) 7
(c) 1+(−1)n
(d) – (−2)n
7. For each of these lists of integers, provide a simple formula or rule that generates the
terms of an integer sequence that begins with the given list. Assuming that your formula
or rule is correct, determine the next three terms of the sequence.
(a) 3, 6, 11, 18, 27, 38, 51, 66, 83, 102, …
(b) 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, …
(c) 1, 10, 11, 100, 101,110, 111, 1000, 1001, 1010, 1011, …
(d) 1, 2, 2, 2, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, …
(e) 0, 2, 8, 26, 80, 242, 728, 2186, 6560, 19682, …
(f) 1, 3, 15, 105, 945, 10395, 135135, 2027025, 34459425, …
(a) ∑ j
j∈ S
(b) ∑ j²
j∈ S
1
(c) ∑ j
j∈ S
(d) ∑1
j∈ S
3 2
(b) ∑ ∑ j
i=1 j=0
2
TMC/TMF 1814 DISCRETE MATHEMATICS TUTORIAL 2 S1 2016/2017
2 3
(c) ∑ ∑ i² j ³ ¿ ¿
i=0 j=0