Fractional Part
   HOME

TheInfoList



OR:

The fractional part or decimal part of a non‐negative
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
x is the excess beyond that number's
integer part In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
. If the latter is defined as the largest integer not greater than , called floor of or \lfloor x\rfloor, its fractional part can be written as: :\operatorname (x)=x - \lfloor x \rfloor,\; x > 0. For a
positive number In mathematics, the sign of a real number is its property of being either positive, negative, or zero. Depending on local conventions, zero may be considered as being neither positive nor negative (having no sign or a unique third sign), or it ...
written in a conventional
positional numeral system Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any radix, base of the Hindu–Arabic numeral system (or decimal, decimal system). More generally, a positional system is a numeral syste ...
(such as
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
or
decimal The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
), its fractional part hence corresponds to the digits appearing after the
radix point A decimal separator is a symbol used to separate the integer part from the fractional part of a number written in decimal form (e.g., "." in 12.45). Different countries officially designate different symbols for use as the separator. The choi ...
. The result is a real number in the half-open interval x, -\lfloor , x, \rfloor , or by the Weisstein,_Eric_W._"Fractional_Part."_From_MathWorld--A_Wolfram_Web_Resource
/ref> :\operatorname_(x)=\begin x_-_\lfloor_x_\rfloor_&_x_\ge_0_\\ x_-_\lceil_x_\rceil_&_x_<_0 \end with__\lceil_x_\rceil_as_the_smallest_integer_not_less_than_,_also_called_the_ Weisstein,_Eric_W._"Fractional_Part."_From_MathWorld--A_Wolfram_Web_Resource
/ref> :\operatorname_(x)=\begin x_-_\lfloor_x_\rfloor_&_x_\ge_0_\\ x_-_\lceil_x_\rceil_&_x_<_0 \end with__\lceil_x_\rceil_as_the_smallest_integer_not_less_than_,_also_called_the_ceiling_function">ceiling_of_._By_consequence,_we_may_get,_for_example,_three_different_values_for_the_fractional_part_of_just_one_:_let_it_be_−1.3,_its_fractional_part_will_be_0.7_according_to_the_first_definition,_0.3_according_to_the_second_definition,_and_−0.3_according_to_the_third_definition,_whose_result_can_also_be_obtained_in_a_straightforward_way_by :\operatorname_(x)=_x_-_\lfloor_.html" ;"title="ceiling_function.html" ;"title="odd function:Weisstein, Eric W. "Fractional Part." From MathWorld--A Wolfram Web Resource
/ref> :\operatorname (x)=\begin x - \lfloor x \rfloor & x \ge 0 \\ x - \lceil x \rceil & x < 0 \end with \lceil x \rceil as the smallest integer not less than , also called the ceiling function">ceiling of . By consequence, we may get, for example, three different values for the fractional part of just one : let it be −1.3, its fractional part will be 0.7 according to the first definition, 0.3 according to the second definition, and −0.3 according to the third definition, whose result can also be obtained in a straightforward way by :\operatorname (x)= x - \lfloor ">x, \rfloor \cdot \sgn(x). The x - \lfloor x \rfloor and the "odd function" definitions permit for unique decomposition of any real number to the addition, sum of its integer and fractional parts, where "integer part" refers to \lfloor x \rfloor or \lfloor , x, \rfloor \cdot \sgn(x) respectively. These two definitions of fractional-part function also provide idempotence. The fractional part defined via difference from floor function, ⌊ ⌋ is usually denoted by curly braces: :\ := x-\lfloor x \rfloor.


Relation to continued fractions

Every real number can be essentially uniquely represented as a
continued fraction In mathematics, a continued fraction is an expression obtained through an iterative process of representing a number as the sum of its integer part and the reciprocal of another number, then writing this other number as the sum of its integer ...
, namely as the sum of its integer part and the
reciprocal Reciprocal may refer to: In mathematics * Multiplicative inverse, in mathematics, the number 1/''x'', which multiplied by ''x'' gives the product 1, also known as a ''reciprocal'' * Reciprocal polynomial, a polynomial obtained from another pol ...
of its fractional part which is written as the sum of ''its'' integer part and the reciprocal of ''its'' fractional part, and so on.


See also

* Circle group *
Equidistributed sequence In mathematics, a sequence (''s''1, ''s''2, ''s''3, ...) of real numbers is said to be equidistributed, or uniformly distributed, if the proportion of terms falling in a subinterval is proportional to the length of that subinterval. Such sequences ...
* One-parameter group *
Pisot–Vijayaraghavan number In mathematics, a Pisot–Vijayaraghavan number, also called simply a Pisot number or a PV number, is a real algebraic integer greater than 1, all of whose Galois conjugates are less than 1 in absolute value. These numbers were discovered by Axel ...
* Significand


References

{{Reflist Arithmetic Unary operations