Sweep the Floor and the Ceiling

Algebra Level 2

If f ( x ) = x + x + 0.5 f(x) = \left\lfloor{\left \lceil{x}\right \rceil\ + \left \lfloor{x}\right \rfloor + 0.5}\right\rfloor and f ( x ) = 12 f(x) = 12 . What is the value of x x ?


Notations:


Inspiration .


The answer is 6.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Marta Reece
Apr 12, 2017

x \lceil{x}\rceil and x \lfloor{x}\rfloor are integers, so adding 0.5 and then doing a floor function changes nothing.

So we have x + x = 12 \lceil{x}\rceil+\lfloor{x}\rfloor=12

If x x contained a decimal part, the floor and the ceiling functions would return two consecutive integers, the sum of which would have to be an odd number. 12 is even, so x x is an integer. Floor and ceiling functions do not change the value of an integer, therefore.

x + x = 12 x+x=12

x = 6 x=6

Md Zuhair
Apr 11, 2017

Relevant wiki: Floor and Ceiling Functions - Problem Solving

x + x + 0.5 \left\lfloor{\left \lceil{x}\right \rceil\ + \left \lfloor{x}\right \rfloor + 0.5}\right\rfloor

\implies f ( x ) = x + x f(x)= \lfloor {\lceil{x} \rceil} + \lfloor{x}\rfloor \rfloor [As fractions does'nt make any change in floor function]

Now f ( x ) = 12 f(x)=12 .

So x + x = 12 \lfloor {\lceil{x} \rceil} + \lfloor{x}\rfloor \rfloor=12 \implies 13 > x + x 12 13> \lceil {x} \rceil + \lfloor{x}\rfloor \geq 12 .

Now both x \lceil x\rceil and x \lfloor x \rfloor both are integers by their definetion.

So \lceil {x} \rceil + \lfloor{x}\rfloor = 12

And now see that x = x \lfloor{x}\rfloor = \lceil{x}\rceil for even integers as we know that both when added will give 2 x 1 2x-1 which is always odd.

\implies x = x = 6 \lfloor{x}\rfloor=\lceil{x}\rceil = 6 .

Hence , We have 6 > x 5 6>x\geq 5 [For Ceiling] and or 7 > x 6 7> x\geq 6 [For Boxed] .

Combining both we have x = 6 x= 6 as our only choice

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...