Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Binary number
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Representing real numbers== <!-- This section is linked from [[Chaitin's constant]] --> Non-integers can be represented by using negative powers, which are set off from the other digits by means of a [[radix point]] (called a [[decimal point]] in the decimal system). For example, the binary number 11.01<sub>2</sub> means: {| |'''1''' Γ 2<sup>1</sup> || (1 Γ 2 = '''2''') || plus |- |'''1''' Γ 2<sup>0</sup> || (1 Γ 1 = '''1''') || plus |- |'''0''' Γ 2<sup>β1</sup> || (0 Γ {{frac|2}} = '''0''') || plus |- |'''1''' Γ 2<sup>β2</sup> || (1 Γ {{frac|4}} = '''0.25''') |} For a total of 3.25 decimal. All [[dyadic fraction|dyadic rational numbers]] <math>\frac{p}{2^a}</math> have a ''terminating'' binary numeralβthe binary representation has a finite number of terms after the radix point. Other [[rational numbers]] have binary representation, but instead of terminating, they ''recur'', with a finite sequence of digits repeating indefinitely. For instance <math display="block">\frac{1_{10}}{3_{10}} = \frac{1_2}{11_2} = 0.01010101\overline{01}\ldots\,_2 </math> <math display="block">\frac{12_{10}}{17_{10}} = \frac{1100_2}{10001_2} = 0.10110100 10110100\overline{10110100}\ldots\,_2 </math> The phenomenon that the binary representation of any rational is either terminating or recurring also occurs in other radix-based numeral systems. See, for instance, the explanation in [[decimal]]. Another similarity is the existence of alternative representations for any terminating representation, relying on the fact that [[0.111... = 1 (binary)|0.111111...]] is the sum of the [[geometric series]] 2<sup>β1</sup> + 2<sup>β2</sup> + 2<sup>β3</sup> + ... which is 1. Binary numerals that neither terminate nor recur represent [[irrational number]]s. For instance, * 0.10100100010000100000100... does have a pattern, but it is not a fixed-length recurring pattern, so the number is irrational * 1.0110101000001001111001100110011111110... is the binary representation of <math>\sqrt{2}</math>, the [[square root of 2]], another irrational. It has no discernible pattern.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)