Both floor and ceiling functions. [x-[x/2]]=3

ymochelows

ymochelows

Answered question

2022-09-04

Both floor and ceiling functions
x x 2 = 3.
If anyone could explain/give me advice on how to solve this question, that would be great.
Edited: I initially equated ceiling(x/2) to n/2, n / 2 < x n / 2 + 1, but I do not understand how this could be solved with the presence of another x. Another thing that confuses me is how there is a ceiling function inside of the floor function.

Answer & Explanation

Cristian Delacruz

Cristian Delacruz

Beginner2022-09-05Added 13 answers

Step 1
Don't overcomplicated it. A floor and ceil are just things that modify their arguments.
y = k is just a all the reals k y < k + 1. This is by definition!
It's just a short hand notation.
So use your expression for y and k:
3 x x 2 < 4
So you have to find an x value that when you subtract around half from it gives you something between 3 and 4.
e.g., what if x = 6? Then
3 6 6 2 = 6 3 = 3 < 4
Step 2
So x = 6 works. What about x = 8?
3 8 8 2 = 8 4 = 4 < 4
and x = 8 almost works.
3 x ( x 2 ϵ ) < 4
We can replace the floor or ceil with a compensation factor because, say 4.3 = 5 = 5.3 .7. Here ϵ = 0.7.
3 x 2 + ϵ < 4
6 2 ϵ x < 8 2 ϵ
Now 0 < ϵ < 1
6 2 ϵ x < 8 2 ϵ

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?