If f ( x ) = ⌊ ⌈ x ⌉ + ⌊ x ⌋ + 0 . 5 ⌋ and f ( x ) = 1 2 . What is the value of x ?
Notations:
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.
Relevant wiki: Floor and Ceiling Functions - Problem Solving
⌊ ⌈ x ⌉ + ⌊ x ⌋ + 0 . 5 ⌋
⟹ f ( x ) = ⌊ ⌈ x ⌉ + ⌊ x ⌋ ⌋ [As fractions does'nt make any change in floor function]
Now f ( x ) = 1 2 .
So ⌊ ⌈ x ⌉ + ⌊ x ⌋ ⌋ = 1 2 ⟹ 1 3 > ⌈ x ⌉ + ⌊ x ⌋ ≥ 1 2 .
Now both ⌈ x ⌉ and ⌊ x ⌋ both are integers by their definetion.
So \lceil {x} \rceil + \lfloor{x}\rfloor = 12
And now see that ⌊ x ⌋ = ⌈ x ⌉ for even integers as we know that both when added will give 2 x − 1 which is always odd.
⟹ ⌊ x ⌋ = ⌈ x ⌉ = 6 .
Hence , We have 6 > x ≥ 5 [For Ceiling] and or 7 > x ≥ 6 [For Boxed] .
Combining both we have x = 6 as our only choice
Problem Loading...
Note Loading...
Set Loading...
⌈ x ⌉ and ⌊ x ⌋ are integers, so adding 0.5 and then doing a floor function changes nothing.
So we have ⌈ x ⌉ + ⌊ x ⌋ = 1 2
If 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 is an integer. Floor and ceiling functions do not change the value of an integer, therefore.
x + x = 1 2
x = 6