Fractional Part function
10. Fractional Part f(x) = {x} Every number 'x' can be written as the sum of its integer and fractional parts. x = [x] + {x} Therefore fractional part, {x} = x - [x] For example, 4.7 = 4 + 0.7 or, 0.7 = 4.7 - 4 i.e. fractional part = Number - Integral Part x = 4.7 , [x] = [4.7] = 4 and {x} = {4.7} = 0.7 Consider, {-4.7} {-4.7} = -4.7 - [-4.7] = -4.7 - (-5) or, {-4.7} = 0.3 if the number is integer, its fractional part is obviously zero. {6} = 6 - [6] = 6 - 6 = 0 Note- fractional part is always positive and it never becomes 1. in other words, fractional part of a number is the difference between the number and its integral part. Remember, i.e. fractional part is always less than 1 and greater than or equal to zero. When x will be an integer fractional part will become zero i.e. integer has no fractional part. How to draw the graph, note this, , if because the fractional part is equal to the number if number is between