Difference between revisions of "Fractional part"
m |
|||
Line 1: | Line 1: | ||
The '''fractional part''' of a real number <math>x</math>, usually denoted <math>\{x\}</math>, is equvalent to removing the integer part of <math>x</math>. Thus <math>\{x\} = x - [x]</math>, where <math>[x]</math> denotes the [[floor function]]. For [[positive number]]s, this is equivalent to taking "everything after the decimal point," but this is ''not true'' in general for [[negative number]]s. For example, | The '''fractional part''' of a real number <math>x</math>, usually denoted <math>\{x\}</math>, is equvalent to removing the integer part of <math>x</math>. Thus <math>\{x\} = x - [x]</math>, where <math>[x]</math> denotes the [[floor function]]. For [[positive number]]s, this is equivalent to taking "everything after the decimal point," but this is ''not true'' in general for [[negative number]]s. For example, | ||
− | + | <math>\{3.14\} = 0.14</math> | |
− | + | <math>\{5\} = 0</math> | |
− | + | <math>\{-3.2\} = 0.8</math> | |
The fractional part function has the [[real number]]s as its [[domain]] and the [[interval]] <math>[0, 1)</math> as its [[range]]. | The fractional part function has the [[real number]]s as its [[domain]] and the [[interval]] <math>[0, 1)</math> as its [[range]]. |
Latest revision as of 12:49, 29 June 2006
The fractional part of a real number , usually denoted
, is equvalent to removing the integer part of
. Thus
, where
denotes the floor function. For positive numbers, this is equivalent to taking "everything after the decimal point," but this is not true in general for negative numbers. For example,
The fractional part function has the real numbers as its domain and the interval as its range.