Unit 3 Sec 3
Unit 3 Sec 3
DISCRETE
MATHEMATICS
UNIT 3 PART 3 (REFERENCE: DISCRETE MATHEMATICS AND ITS
APPLICATIONS BY KENNETH H. ROSEN )
DEFINITION Let 𝑔 be a function from the set A to the set B and let 𝑓 be a
function from the set B to the set C. The composition of the functions 𝑓 and
𝑔, denoted for all 𝑎 ∈ 𝐴 by 𝑓 ◦ 𝑔, is defined by (𝑓 ◦ 𝑔)(𝑎) = 𝑓 (𝑔(𝑎)).
◦
◦
◦ The Composition of the Functions f and g.
Floor and Ceiling Functions
Two important functions in discrete mathematics which are often used
when objects are counted. They play an important role in the analysis of the
number of steps used by procedures to solve problems of a particular size.
◦ DEFINITIONS
◦ The floor function assigns to the real number x the largest integer that is
less than or equal to x. The value of the floor function at x is denoted by
⌊x⌋.
◦ The ceiling function assigns to the real number x the smallest integer that
is greater than or equal to x. The value of the ceiling function at x is
denoted by ⌈x⌉.
Floor and Ceiling Functions (Examples and Graphs)