Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How can I prove that : a real number has a finite representation in the binary system if and only if it is of the form $$\pm \frac{m}{2^n}$$ where n and m are positive integers.

share|improve this question

1 Answer 1

A representation of a positive number $\alpha$ in the binary system is a series of the form $$\alpha=\sum_{k=d}^\infty e_k 2^{-k}$$ with $e_k\in \{0,1\}$ and is finite if there is an $n$ such taht $e_k=0$ for all $k>n$, i.e. we simply have $$\alpha=\sum_{k=d}^n e_k 2^{-k}.$$ Then multiplication with $2^n$ produces $$2^n\alpha = 2^n\sum_{k=d}^n e_k 2^{-k}= \sum_{k=d}^n e_k 2^{n-k}\in\mathbb Z$$

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.