Every real num­ber can be split into an inte­ger part and a left­over part between 00 and 11. The great­est inte­ger func­tion gives the inte­ger part; this les­son is about the left­over, called the frac­tional part. Its graph has a strik­ing saw­tooth shape, and it is the first exam­ple you meet of a func­tion that repeats itself reg­u­larly, an idea that becomes cen­tral when you study trigono­met­ric func­tions.

Inte­gral part and frac­tional part

For a pos­i­tive num­ber the split is obvi­ous:

1.7=1+0.71.7 = 1 + 0.7

Here 11 is the inte­gral part and 0.70.7 is the frac­tional part.

For a neg­a­tive num­ber we insist that the frac­tional part is not neg­a­tive: it must lie in [0,1)[0, 1). So −1.7-1.7 is not split as −1−0.7-1 - 0.7. Instead, bor­row one whole unit:

−1.7=−1−0.7=−1−1+1−0.7=−2+0.3-1.7 = -1 - 0.7 = -1 - 1 + 1 - 0.7 = -2 + 0.3

The inte­gral part is −2-2 and the frac­tional part is 0.30.3. Notice that the inte­gral part −2-2 is exactly [−1.7][-1.7].

An inte­ger has frac­tional part 00: 2=2+02 = 2 + 0.

The frac­tional part func­tion

Def­i­n­i­tion. For x∈Rx \in \mathbb{R}, the func­tion

f(x)=x−[x]f(x) = x - [x]

is called the frac­tional part of xx. It is writ­ten {x}\{x\} (some books write ]x[]x[). So

{x}=x−[x],x=[x]+{x}\{x\} = x - [x], \qquad x = [x] + \{x\}

Exam­ple 1

Find {1.7}\{1.7\}, {−1.7}\{-1.7\}, {2.3}\{2.3\}, {−2.3}\{-2.3\} and {2}\{2\}.

{1.7}=1.7−[1.7]=1.7−1=0.7\{1.7\} = 1.7 - [1.7] = 1.7 - 1 = 0.7

{−1.7}=−1.7−[−1.7]=−1.7−(−2)=−1.7+2=0.3\{-1.7\} = -1.7 - [-1.7] = -1.7 - (-2) = -1.7 + 2 = 0.3

{2.3}=2.3−2=0.3\{2.3\} = 2.3 - 2 = 0.3

{−2.3}=−2.3−(−3)=0.7,since −2.3=−3+0.7\{-2.3\} = -2.3 - (-3) = 0.7, \quad \text{since } -2.3 = -3 + 0.7

{2}=2−2=0\{2\} = 2 - 2 = 0

A use­ful short­cut: for a neg­a­tive non-inte­ger, {−x}=1−{x}\{-x\} = 1 - \{x\}. For exam­ple, {−2.3}=1−0.3=0.7\{-2.3\} = 1 - 0.3 = 0.7.

Domain, range and graph

Every real num­ber has a frac­tional part, and by its def­i­n­i­tion the frac­tional part always lies in [0,1)[0, 1):

Domain of x−[x]=R,Range of x−[x]=[0,1)\text{Domain of } x - [x] = \mathbb{R}, \qquad \text{Range of } x - [x] = [0, 1)

To draw the graph, make a table.

xx 00 0.30.3 0.70.7 0.90.9 0.99990.9999 11 1.31.3 1.71.7 1.91.9 1.99991.9999
x−[x]x - [x] 00 0.30.3 0.70.7 0.90.9 0.99990.9999 00 0.30.3 0.70.7 0.90.9 0.99990.9999

Between 00 and 11 the graph is the line y=xy = x, climb­ing from (0,0)(0, 0) towards (1,1)(1, 1). Just before x=1x = 1 the value is almost 11, but at x=1x = 1 it drops back to 00 and starts climb­ing again. So the graph is a row of par­al­lel line seg­ments, each ris­ing from a point (n,0)(n, 0) on the xx-axis towards height 11, with a filled dot at the bot­tom and an open cir­cle at the top. This shape is called a saw­tooth.

The pat­tern repeats every 11 unit: {x+1}={x}\{x + 1\} = \{x\} for every xx. We say the frac­tional part func­tion has period 11.

Exam­ple 2

Find the range of [x]−x[x] - x.

Start from the known range and mul­ti­ply by −1-1, revers­ing the inequal­i­ties:

0≤x−[x]<10 \leq x - [x] < 1

0≥[x]−x>−10 \geq [x] - x > -1

−1<[x]−x≤0-1 < [x] - x \leq 0

So the range of [x]−x[x] - x is (−1,0](-1, 0].

Exam­ple 3

Find {5.25}\{5.25\} and {−5.25}\{-5.25\}.

{5.25}=5.25−5=0.25\{5.25\} = 5.25 - 5 = 0.25.

−5.25-5.25 lies between −6-6 and −5-5, so [−5.25]=−6[-5.25] = -6 and {−5.25}=−5.25+6=0.75\{-5.25\} = -5.25 + 6 = 0.75.

Exam­ple 4

Solve 2[x]=x+{x}2[x] = x + \{x\}.

Replace xx by [x]+{x}[x] + \{x\}:

2[x]=[x]+{x}+{x}  ⟹  [x]=2{x}2[x] = [x] + \{x\} + \{x\} \implies [x] = 2\{x\}

Since 0≤{x}<10 \leq \{x\} < 1, we have 0≤2{x}<20 \leq 2\{x\} < 2, so the inte­ger [x][x] can only be 00 or 11.

  • If [x]=0[x] = 0, then {x}=0\{x\} = 0, so x=0+0=0x = 0 + 0 = 0.
  • If [x]=1[x] = 1, then {x}=12\displaystyle \{x\} = \frac{1}{2}, so x=1+12=32\displaystyle x = 1 + \frac{1}{2} = \frac{3}{2}.

So x∈{0,32}\displaystyle x \in \left\{0, \frac{3}{2}\right\}. Check x=32\displaystyle x = \frac{3}{2}: 2[1.5]=22[1.5] = 2 and 1.5+0.5=21.5 + 0.5 = 2.

Exam­ple 5

For which xx is {x}=0\{x\} = 0?

{x}=0\{x\} = 0 means x−[x]=0x - [x] = 0, that is, [x]=x[x] = x, which hap­pens exactly when xx is an inte­ger. So x∈Zx \in \mathbb{Z}.

Prac­tice

  1. Find {4.6}\{4.6\}.
  2. Find {−4.6}\{-4.6\}.
  3. Find {7}\{7\}.
  4. Find {−0.25}\{-0.25\}.
  5. Find {x}+{−x}\{x\} + \{-x\} when x=2.3x = 2.3, and when x=3x = 3.
  6. Find the range of 2−{x}2 - \{x\}.
  7. Find the range of {x}+3\{x\} + 3.
  8. Find all xx with 2≤x<42 \leq x < 4 and {x}=0.4\{x\} = 0.4.
  9. Solve [x]=3{x}[x] = 3\{x\}.
  10. For x=−6.3x = -6.3, find [x][x], {x}\{x\} and [x]+{x}[x] + \{x\}.

Answers

Show answers
  1. 4.6−4=0.64.6 - 4 = 0.6.
  2. [−4.6]=−5[-4.6] = -5, so {−4.6}=−4.6+5=0.4\{-4.6\} = -4.6 + 5 = 0.4.
  3. 00, since 77 is an inte­ger.
  4. [−0.25]=−1[-0.25] = -1, so {−0.25}=−0.25+1=0.75\{-0.25\} = -0.25 + 1 = 0.75.
  5. For x=2.3x = 2.3: 0.3+0.7=10.3 + 0.7 = 1. For x=3x = 3: 0+0=00 + 0 = 0.
  6. From 0≤{x}<10 \leq \{x\} < 1: 0≥−{x}>−10 \geq -\{x\} > -1, so 2≥2−{x}>12 \geq 2 - \{x\} > 1. The range is (1,2](1, 2].
  7. [3,4)[3, 4).
  8. x=2.4x = 2.4 and x=3.4x = 3.4.
  9. Since 0≤3{x}<30 \leq 3\{x\} < 3, [x][x] is 00, 11 or 22. Then {x}=0,13,23\displaystyle \{x\} = 0, \frac{1}{3}, \frac{2}{3}, giv­ing x=0x = 0, x=43\displaystyle x = \frac{4}{3}, x=83\displaystyle x = \frac{8}{3}.
  10. [−6.3]=−7[-6.3] = -7, {−6.3}=0.7\{-6.3\} = 0.7, and −7+0.7=−6.3-7 + 0.7 = -6.3, the num­ber itself.