When the sky reaches the ground

x + 0.7 = x 0.7 \large \lfloor x+0.7 \rfloor = \lceil x-0.7 \rceil

If x x is a real number chosen between the interval [ a , b ] [a, b] , a a and b b being positive integers , find the probability that x x satisfies the equation above.

Notations : \lfloor \cdot \rfloor denotes the floor function and \lceil \cdot \rceil denotes the ceiling function .


The answer is 0.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

Efren Medallo
Aug 17, 2016

Relevant wiki: Geometric Probability

x + 0.7 = x 0.7 \large \lfloor x+0.7 \rfloor = \lceil x - 0.7 \rceil

The range of values allowing the equation to be true is the same between every consecutive integer. Thus, regardless of the values of a a and b b , the odds will be the same.

For number x x , we denote [ x ] [x] as its whole part and { x } \{x\} as its fractional part.

Case 1: x = x x=x

When does x + 0.7 = x \lfloor x+0.7 \rfloor = x ?

That is when { x } + 0.7 < 1 \{x\} + 0.7 <1 , or { x } < 0.3 \{x\} < 0.3 .

That would give us [ x ] + w \lfloor [x] + w \rfloor with w = { x } + 0.7 w = \{x\} + 0.7 , so w < 1 w<1 . This means that [ x ] + w = x \lfloor [x] + w = x .

So if we have { x } < 0.3 \{x\} <0.3 , The RHS, on the other hand, would result to [ x 1 ] + z \lceil [x-1] + z \rceil with z < 1 z<1 . So ultimately that will give us [ x 1 ] + 1 = x [x-1] +1 = x . This now validates the case.

Subsequently, if { x } > 0.3 \{x\} >0.3 , that would result to [ x ] + y \lfloor [x] + y\rfloor with y > 1 y >1 , and that will give us [ x ] + 1 [x] + 1 . This will mean that the LHS is x + 1 x+1 , while the RHS may be x x , or also x + 1 x+1 , depending on { x } \{x\} .

Case 2: x + 1 = x + 1 x+1 = x+1

We already know that x + 0.7 = x + 1 \lfloor x+0.7\rfloor = x+1 when { x } > 0.3 \{x\} >0.3 .

So when does x 0.7 = x + 1 \lceil x - 0.7 \rceil = x+1 ?

That is when { x } 0.7 > 0 \{x\} - 0.7 > 0 , or { x } > 0.7 \{x\} >0.7 . In this case, that would give us [ x ] + v \lceil [x] + v \rceil , with v = { x } 0.7 v = \{x\} -0.7 . That would provide a fractional part to the expression resulting it to [ x ] + 1 [x] + 1 . Thus, this case is validated.

So, for any two consecutive integers a a and a + 1 a+1 , the mentioned equation holds when { x } < 0.3 \{x\} <0.3 or { x } > 0.7 \{x\} >0.7 . So the range of permissible values is [ a , a + 0.3 ) ( a + 0.7 , a + 1 ] [a, a+0.3) \cup (a+0.7, a+1] .

So the probability for any interval ( a , b ) (a, b) would be

0.6 ( b a ) b a = 0.6 \frac{0.6 (b-a)}{b-a} = 0.6

Your solution is very good, but why my phone says no good solutions , come after some time?

Aakash Khandelwal - 4 years, 10 months ago
K T
May 31, 2019

The functions y = x + 0.7 y=x+0.7 and y = x 0.7 y=x-0.7 are in grey.

The function x 0.7 \lceil x-0.7\rceil is in blue and function x + 0.7 \lfloor x+0.7\rfloor is in red. They overlap when the fractional part of x is either in the interval [0, 0.3] or in (0.7, 1). Together these intervals make up a fraction 0.6 \boxed{0.6} of the interval [0,1).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...