Between two powers of an integer there is a power of two

  • Thread starter Thread starter keniwas
  • Start date Start date
  • Tags Tags
    Integer Power
keniwas
Messages
57
Reaction score
1
Hi Everyone,

I am reading up on information theory, and every resource I have found on the topic which derives the form of entropy uses the following inequality as part of the proof.

Let n be a fixed positive integer greater than 1. If r is an arbitrary positive integer, then the number 2^r lies somewhere between two powers of n. i.e. There exists a positive integer k such that

n^k\leq 2^r < n^{(k+1)}

However, none of them prove it and I am unclear how to do so. If anyone has any ideas on how to prove it, or topics I should look into which would make this inequality obvious I would really appreciate it.
 
Physics news on Phys.org
This is true for arbitrary integer sequences, not just powers of n (provided it increases without bound, and has a small enough member -- but those are obviously true for powers). Find the smallest member less than or equal to r, then choose the next one.
 
CRGreathouse said:
This is true for arbitrary integer sequences, not just powers of n (provided it increases without bound, and has a small enough member -- but those are obviously true for powers). Find the smallest member less than or equal to r, then choose the next one.

Sorry, could you explain a little by what you mean that it applies to arbitrary integer sequences as well? I am not clear why we want the smallest member less than or equal to r?
 
So pick r and n first. Now, look at 2^r, and find the largest k such that n^k\le2^r. Then the inequality holds.
 
Here's a quick&dirty explanation. Dividing through by n^k you get
1\leq \frac {2^r}{n^k} < n \quad\quad\quad \mbox{(1)}

Now consider the binary representation of the fraction
\frac 1 {n^k}

This is less than 1, so it will begin by 0.xxx... You can shift left the bits in this representation until a 1 comes into the integer part (making it 1.xxx...). This new number is now between 1 and 2 (possibly equal to 1, but definitely less than 2). Let r be the number of bits you shifted; then the shifted number is the fraction in inequality (1); and it is between 1 and 2. Since n \ge 2, the inequality holds.
 
another lazy way to see it is to take log to the base n of both sides, ,which reduces the question to finding a k such that


k \leq r \log_n 2< k+1

which is obviously possible.
 
I asked online questions about Proposition 2.1.1: The answer I got is the following: I have some questions about the answer I got. When the person answering says: ##1.## Is the map ##\mathfrak{q}\mapsto \mathfrak{q} A _\mathfrak{p}## from ##A\setminus \mathfrak{p}\to A_\mathfrak{p}##? But I don't understand what the author meant for the rest of the sentence in mathematical notation: ##2.## In the next statement where the author says: How is ##A\to...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
When decomposing a representation ##\rho## of a finite group ##G## into irreducible representations, we can find the number of times the representation contains a particular irrep ##\rho_0## through the character inner product $$ \langle \chi, \chi_0\rangle = \frac{1}{|G|} \sum_{g\in G} \chi(g) \chi_0(g)^*$$ where ##\chi## and ##\chi_0## are the characters of ##\rho## and ##\rho_0##, respectively. Since all group elements in the same conjugacy class have the same characters, this may be...
Back
Top