Floor Functions and Disjoint Intervals

Algebra Level 4

Consider the following equation: x ( 2 x x 1 ) 1 \lfloor x \rfloor(2^{x-\lfloor x \rfloor}-1)≤1 given that a x < b a≤x<b where a a and b b are positive integers and x \lfloor x \rfloor is the floor function of x x that denotes the largest integer smaller than or equal to x x .

The solutions for x x are a union of disjoint intervals. Suppose that the sum of the lengths of these disjoint intervals is c c .

What is 2 c 2^{c} in terms of a a and b b ?

1 2 a b 2^{ab} a b ab ln b a \ln{\frac{b}{a}} b a \frac{b}{a} b a b^{a} log 2 b a \log_2{\frac{b}{a}} b 1 a \frac{b-1}{a}

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.

1 solution

Nick Turtle
Oct 25, 2017

Start from x ( 2 x x 1 ) 1 \lfloor x \rfloor (2^{x-\lfloor x \rfloor}-1)≤1 since x \lfloor x \rfloor is a positive integer ( 2 x x 1 ) 1 x (2^{x-\lfloor x \rfloor}-1)≤\frac{1}{\lfloor x \rfloor} 2 x x 1 x + 1 2^{x-\lfloor x \rfloor}≤\frac{1}{\lfloor x \rfloor}+1 2 x x 1 + x x 2^{x-\lfloor x \rfloor}≤\frac{1+\lfloor x \rfloor}{\lfloor x \rfloor} x x log 2 ( 1 + x x ) x-\lfloor x \rfloor≤\log_2{(\frac{1+\lfloor x \rfloor}{\lfloor x \rfloor})} x x + log 2 ( 1 + x x ) x≤\lfloor x \rfloor+\log_2{(\frac{1+\lfloor x \rfloor}{\lfloor x \rfloor})}

From this, it can be seen that the length of solution for i x < i + 1 i≤x<i+1 for any positive integer i i is log 2 ( 1 + i i ) \log_2{(\frac{1+\lfloor i \rfloor}{\lfloor i \rfloor})} .

Using the properties of the floor function, this is equivalent to log 2 ( 1 + i i ) \log_2{(\frac{1+i}{i})} .

Since a x < b a≤x<b , we sum this from a a to b 1 b-1 to get the sum of the lengths of all the disjointed unions: c = i = a b 1 log 2 ( 1 + i i ) c=\displaystyle\sum_{i=a}^{b-1}\log_2{(\frac{1+i}{i})}

Use the rule of the sum of logarithms log a + log b = log a b \log{a}+\log{b}=\log{ab} : c = log 2 ( i = a b 1 + i i ) c=\log_2{(\displaystyle\prod_{i=a}^{b}\frac{1+i}{i})} c = log 2 1 + a a 2 + a 1 + a 3 + a 2 + a b 1 b 2 b b 1 c=\log_2{\frac{1+a}{a} \frac{2+a}{1+a} \frac{3+a}{2+a}\dots\frac{b-1}{b-2}\frac{b}{b-1}}

Most of the terms cancel out, leaving c = log 2 b a c=\log_2{\frac{b}{a}} .

Then, the answer 2 c = b a 2^{c}=\frac{b}{a} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...