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, 0 \le \{ x\}  < 1

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,

f(x) = x, if 0 \le x < 1

because the fractional part is equal to the number if number is between 0 and 1

i.e. {0.6} = 0.6, {0.78} = 0.78

or, {x} = x - [x]

if 0 \le x < 1, [x] = 0

therefore, {x} = x , if 0 \le x < 1

As soon as x becomes 1, f(x) drops again to 0, and then start increasing as 'x' increases.

i.e. {x} = x + 1 , 1 \le x < 2 ( since [x] = 1 when 1 \le x < 2)

{x} = x + 2, 2 \le x < 3

....................
.....................


Properties of {x}:

1. {x+I} = {x} ( where I is an integer)

2. {-x} = 1 - {x}

3. {x} = 0, if x \in I

domain and range of a fractional part
consider 1st property,

\{ x + I\}  = \{ x\} , where I is an integer,


i.e. {9.3} = { 1.3} = {2.3} 

or {3.5 + 7} = {3.5} = 0.5


consider 2nd property,


\{  - x\}  = 1 - \{ x\}

{-6.9} = 0.1 = 1 - {6.9} = 0.1

Third is obvious any integer has no fraction part i.e. fraction part is zero


if, y = f(x) = \{ x\}

then , 0 \le y < 1

here y or f(x) = {x} repeats its value after every interval of 1.


i.e. {x} is periodic ,



Graph:


If y = {x} = x - [x]


then, y = x , when 0 \le x < 1


         y = x - 1, when 1 \le x < 2 ( between 1 and 2 the graph of {x} = x - 1 )


         y = x -2 , when  2 \le x < 3


and so on...











Comments

  1. nice work sir. keep posting

    ReplyDelete
  2. Yes It is periodic with period 1.

    ReplyDelete
    Replies
    1. Nice! You replied after 2 years!

      Delete
  3. Second property is not satisfied by integers..????

    ReplyDelete
    Replies
    1. Properties 1st and 2nd are not for integers. Property 3 is for integer as mentioned. As fractional part of integer is zero.

      Delete
  4. As fraction part of any integer equals to zero. 2 is not true for integers.

    ReplyDelete
  5. How to evaluate and plot the graph of {mx} where m is any real number..?
    Any help is appreciated!

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. Just draw a line y=mx.

      Find points, where mx = integers

      i.e. x = 1/m, 2/m, -1/m .... we get integer values.

      implies, on above values we get integer values for mx and therefore {mx} = 0

      Draw vertical lines i.e. parallel to y-axis at the points ..... -2/m, -1/m, 0, 1/m, 2/m .......

      drag the portion of the lines cut by two consecutive vertical lines to the x axis maintaining the orientation i.e. slope and sandwitch between y=0 and y=1. You will get the desired graph.

      Delete
  6. Draw a straight line y=x and shifted its to integral points we get {x} graph

    ReplyDelete
  7. is fractional part of x even function or odd function?

    ReplyDelete
    Replies
    1. Neither even nor odd. For even function the graph should be symmetrical about y axis and for even function it should be symmetrical about origin.

      Delete
  8. do there exist non-integers x and y such that {x+y}={x}.{y}?

    ReplyDelete

Post a Comment

Popular posts from this blog

Properties of Modulus & Argument: Complex Number

Geometrical Meaning of Argument and Modulus - I: Complex Number