Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 2 - Section 2.3 - Functions - Exercises - Page 154: 48

Answer

If x is an integer, then $\lceil{x}\rceil$-$\lfloor{x}\rfloor=0$ If x is not an integer, then $\lceil{x}\rceil$-$\lfloor{x}\rfloor=1$

Work Step by Step

Given : x is a real number To Prove: if x is an integer, then $\lceil{x}\rceil$-$\lfloor{x}\rfloor=0$ If x is not an integer, then $\lceil{x}\rceil$-$\lfloor{x}\rfloor=1$ Proof: Case 1- Let x be an integer The ceiling function of an integer is the integer itself: $$\lceil{x}\rceil=x$$ The floor function of an integer is the integer itself: $$\lfloor{x}\rfloor=x$$ Then we obtain: $$\lceil{x}\rceil-\lfloor{x}\rfloor=x-x=0$$ Case 2- Let x is not an integer. Any real number x lies between two consecutive integers (not inclusive, since x is not an integer). $$\exists x \in Z:n
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.