GATE ME 2025 · Numerical Computation & Estimation

MCQ · 1 mark · Problem GA-QUAN-0157

The ceiling function of a real number \(x\), denoted by \(ce(x)\), is defined as the smallest integer that is greater than or equal to \(x\). Similarly, the floor function, denoted by \(fl(x)\) is defined as the largest integer that is smaller than or equal to \(x\). Which one of the following statements is NOT correct for all possible values of \(x\)?
  1. A
    \(ce(x)\ge x\)
  2. B
    \(fl(x)\le x\)
  3. C
    \(ce(x)\ge fl(x)\)
  4. D
    \(fl(x) < ce(x)\)

Solve it on GATE DA practice →More Section 2: Quantitative Aptitude problems

Show the worked solutionGiven: The ceiling function \(\lceil x \rceil\) is the smallest integer greater than or equal to \(x\), and the floor function \(\lfloor x \rfloor\) is the largest integer smaller than or equal to \(x\).Step 1: Let's analyze each statement one by one.(A) \(\lceil x \rceil \geq x\)This is true. By definition, the ceiling function gives the smallest integer greater than or equal to \(x\), so \(\lceil x \rceil \geq x\).(B) \(\lfloor x \rfloor \leq x\)This is true. By definition, the floor function gives the largest integer smaller than or equal to \(x\), so \(\lfloor x \rfloor \leq x\).(C) \(\lceil x \rceil \geq \lfloor x \rfloor\)This is true. The ceiling of \(x\) is always greater than or equal to the floor of \(x\), because the ceiling rounds up, while the floor rounds down.(D) \(\lfloor x \rfloor < \lceil x \rceil\)This is not necessarily true for all values of \(x\). If \(x\) is an integer, then \(\lfloor x \rfloor = \lceil x \rceil\). Therefore, this statement fails when \(x\) is an integer.Final Answer: The statement that is NOT correct for all possible values of \(x\) is (D), because when \(x\) is an integer, \(\lfloor x \rfloor = \lceil x \rceil\).

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com