<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" xmlns:m="http://www.w3.org/1998/Math/MathML" id="new">
  <name>Greatest and least integer functions</name>
  <metadata>
  <md:version>1.4</md:version>
  <md:created>2007/10/27 09:56:19 GMT-5</md:created>
  <md:revised>2007/11/10 11:39:34.609 US/Central</md:revised>
  <md:authorlist>
      <md:author id="Sunil_Singh">
      <md:firstname>Sunil</md:firstname>
      <md:othername>Kumar</md:othername>
      <md:surname>Singh</md:surname>
      <md:email>sunilkr99@yahoo.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="Sunil_Singh">
      <md:firstname>Sunil</md:firstname>
      <md:othername>Kumar</md:othername>
      <md:surname>Singh</md:surname>
      <md:email>sunilkr99@yahoo.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>Cartesian</md:keyword>
    <md:keyword>complements</md:keyword>
    <md:keyword>composition</md:keyword>
    <md:keyword>diagram</md:keyword>
    <md:keyword>difference</md:keyword>
    <md:keyword>domain</md:keyword>
    <md:keyword>even</md:keyword>
    <md:keyword>exponential</md:keyword>
    <md:keyword>greatest</md:keyword>
    <md:keyword>integer</md:keyword>
    <md:keyword>intersection</md:keyword>
    <md:keyword>inverse</md:keyword>
    <md:keyword>logarithmic</md:keyword>
    <md:keyword>odd</md:keyword>
    <md:keyword>operations</md:keyword>
    <md:keyword>proper</md:keyword>
    <md:keyword>range</md:keyword>
    <md:keyword>relation</md:keyword>
    <md:keyword>sets</md:keyword>
    <md:keyword>subsets</md:keyword>
    <md:keyword>trigonometric</md:keyword>
    <md:keyword>union</md:keyword>
    <md:keyword>unions</md:keyword>
    <md:keyword>universal</md:keyword>
    <md:keyword>value</md:keyword>
    <md:keyword>venn</md:keyword>
  </md:keywordlist>

  <md:abstract/>
</metadata>
  <content>
<para id="element-1">In this module, we shall study a family of functions which return integers based on certain rule, corresponding to a real number. Greatest integer function (floor), least integer function (ceiling) and nearest integer function form part of this family. 
</para>
<section id="section-1">
<name>Greatest integer function (Floor function)</name>
<para id="element-2">Greatest integer function returns the greatest integer less than or equal to a real number. In other words, we can say that greatest integer function rounds “down” any number to the nearest integer. This function is also known by the names of “floor” or “step” function. 
</para>
<para id="element-3">Interpretation of Greatest integer function is straight forward for positive number. Consider the values “0.23” and “1.7”. The greatest integers for two numbers are “0” and “1”. Now, consider a negative number “-0.54” and “-2.34”. The greatest integers less than these negative numbers are “-1” and “-3” respectively. 
</para>
<para id="element-4">We can observe here that greater integer function is actually a function that returns the integral part of a positive real number. This interpretation is clear for positive number. Interpretation for negative numbers needs some explanation. We interpret these values in the context of the fact that every real number can be decomposed to have two parts (i) integral and (ii) fractional part. From this point of view, the negative number can be thought as :
</para>
<para id="element-5">
<m:math display="block">
  <m:mrow>
    <m:mtext>-0.54 (real number) = -1 (integral part) + 0.36 (fraction part)</m:mtext>
  </m:mrow>
</m:math>
</para>
<para id="element-6">
<m:math display="block">
  <m:mrow>
    <m:mtext>-2.34 (real number) = -3 (integral part) + 0.66 (fraction part)</m:mtext>
  </m:mrow>
</m:math>
</para>
<para id="element-7">We may be tempted to disagree (why not -2 + -0.34 = -2.34?). But, we should know that this is how greatest integer function treats a negative number. Subsequently, we shall define a function that returns fraction part. We shall find that the function exactly returns the same fraction for negative number as has been worked out.
</para>
<para id="element-8">The greatest integer function is denoted by the symbol “[x]” . Working rules for evaluating greatest integer function are two step process :</para>

<para id="element-10">
<list id="list-10" type="enumerated"><item> If “x” is an integer, then [x] = x. </item>
<item> If “x” is not an integer, then [x] evaluates to greatest integer less than “x”. </item>
</list>
</para>
<para id="element-11">In the nutshell, we can use any of the following interpretations of greatest integer function :
</para>
<para id="element-12">
<list id="list-12" type="bulleted">
<item> [x] = Greatest integer less than equal to “x” </item>
<item> [x] = Greatest integer not greater than “x” </item>
<item> [x] = Integral part of “x” </item>
</list>
</para>
<para id="element-14">The value of "[x]" is an integer (n) such that :
</para>
<para id="element-15"><m:math display="block">
  <m:mrow>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
        <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mi>n</m:mi>
    <m:mo>;</m:mo>
    <m:mspace width="1em"/>
    <m:mtext>if</m:mtext>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mi>n</m:mi>
    <m:mo>+</m:mo>
    <m:mn>1</m:mn>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>∈</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
<section id="section-1a">
<name>Graph of greatest integer function </name>
<para id="element-16">Few initial function values are :
</para>
<para id="element-17">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-18">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>0,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-19">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mn>0</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-20">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mn>1</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-21">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mn>2</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>3,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-22">The graph of the function is shown here :
</para>
<para id="element-23">
<figure id="fig-23">
<name> Greatest integer function </name>
<media type="image/gif" src="fc1.gif"/>
<caption> The domain of the function is R. </caption>
</figure>
</para>
<para id="element-24">This function is known as step function as values of function steps by "1" as we switch values of “x” from one interval to another. We see that there is no restriction on values of "x" and as such its domain has the interval equal to that of real numbers. On the other hand, the step function or greatest integer function evaluates only to integer values. It means that the range of the function is set of integers, denoted by "Z". Hence,
</para>
<para id="element-25">
<m:math display="block">
  <m:mrow>
    <m:mi>D</m:mi>
    <m:mi>o</m:mi>
    <m:mi>m</m:mi>
    <m:mi>a</m:mi>
    <m:mi>i</m:mi>
    <m:mi>n</m:mi>
    <m:mo>=</m:mo>
    <m:mi>R</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-26">
<m:math display="block">
  <m:mrow>
    <m:mi>R</m:mi>
    <m:mi>a</m:mi>
    <m:mi>n</m:mi>
    <m:mi>g</m:mi>
    <m:mi>e</m:mi>
    <m:mo>=</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
</section>
<section id="section-1b">
<name>Important properties </name>
<para id="element-27">Certain properties of greatest integer function is presented here :
</para>
<para id="element-28"><term>1: </term> If and only if at least either “x” or “y” is an integer, then :
</para>
<para id="element-29">
<m:math display="block">
  <m:mrow>
    <m:mo>|</m:mo>
    <m:mi>x</m:mi>
    <m:mo>+</m:mo>
    <m:mi>y</m:mi>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mo>|</m:mo>
    <m:mi>x</m:mi>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mi>y</m:mi>
    <m:mo>|</m:mo>
  </m:mrow>
</m:math>
</para>
<para id="element-30">For example, let x = 2.67 and y = 0.63. Then,
</para>
<para id="element-31">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>|</m:mo>
    <m:mi>x</m:mi>
    <m:mo>+</m:mo>
    <m:mi>y</m:mi>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mo>|</m:mo>
    <m:mn>2.27</m:mn>
    <m:mo>+</m:mo>
    <m:mn>0.63</m:mn>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mo>|</m:mo>
    <m:mn>2.9</m:mn>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-32">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>|</m:mo>
    <m:mi>x</m:mi>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mi>y</m:mi>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mo>|</m:mo>
    <m:mn>2.27</m:mn>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mn>0.63</m:mn>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mn>2</m:mn>
    <m:mo>+</m:mo>
    <m:mn>1</m:mn>
    <m:mo>=</m:mo>
    <m:mn>3</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-33">However, if one of two numbers is integer like x = 2 and y = 0.63, then the proposed identity as above is true.
</para>
<para id="element-34"><term>2: </term> If “x” belongs to integer set, then :
</para>
<para id="element-35">
<m:math display="block">
  <m:mrow>
    <m:mo>|</m:mo>
    <m:mi>x</m:mi>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mo>-</m:mo>
    <m:mi>x</m:mi>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
    <m:mo>;</m:mo>
    <m:mspace width="1em"/>
    <m:mi>x</m:mi>
    <m:mo>∈</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-36">For example, let x = 2.Then
</para>
<para id="element-37">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>|</m:mo>
    <m:mn>2</m:mn>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mn>2</m:mn>
    <m:mo>−</m:mo>
    <m:mn>2</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-38">We can use this identity to test whether “x” is an integer or not?
</para>
<para id="element-39">
<term>3: </term> If “x” does not belong to integer set, then :
</para>
<para id="element-40">
<m:math display="block">
  <m:mrow>
    <m:mo>|</m:mo>
    <m:mi>x</m:mi>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mo>-</m:mo>
    <m:mi>x</m:mi>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
    <m:mo>;</m:mo>
    <m:mspace width="1em"/>
    <m:mi>x</m:mi>
    <m:mo>∉</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-41">For example, let x = 2.7.Then
</para>
<para id="element-42">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>|</m:mo>
    <m:mn>2.7</m:mn>
    <m:mo>|</m:mo>
    <m:mo>+</m:mo>
    <m:mo>|</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2.7</m:mn>
    <m:mo>|</m:mo>
    <m:mo>=</m:mo>
    <m:mn>2</m:mn>
    <m:mo>−</m:mo>
    <m:mn>3</m:mn>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
</section>
<section id="section-1c">
<name>Fraction part of a real number </name>
<para id="element-43">We define a function denoted by “{x}” as :
</para>
<para id="element-44">
<m:math display="block">
  <m:mrow>
    <m:mo>{</m:mo>
    <m:mi>x</m:mi>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
  </m:mrow>
</m:math>
</para>
<para id="element-45">This function returns fraction part of the number, when “x” is not an integer. This exception of non-integral “x” is important. For this reason, we avoid to call it fraction part function. Zero is not a fraction. For integer "x", the function evaluates to zero :
</para>
<para id="element-46">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>{</m:mo>
    <m:mn>5</m:mn>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mn>5</m:mn>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mn>5</m:mn>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>5</m:mn>
    <m:mo>−</m:mo>
    <m:mn>5</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-47">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>{</m:mo>
    <m:mo>−</m:mo>
    <m:mn>5</m:mn>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mo>−</m:mo>
    <m:mn>5</m:mn>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mo>−</m:mo>
    <m:mn>5</m:mn>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mo>−</m:mo>
    <m:mn>5</m:mn>
    <m:mo>+</m:mo>
    <m:mn>5</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-48">Let us, now, work out with numbers that we earlier used for evaluating greatest integer function : 
</para>
<para id="element-49">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>{</m:mo>
    <m:mn>0.23</m:mn>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mn>0.23</m:mn>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mn>0.23</m:mn>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>0.23</m:mn>
    <m:mo>−</m:mo>
    <m:mn>0</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0.23</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-50">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>{</m:mo>
    <m:mn>1.7</m:mn>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mn>1.7</m:mn>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mn>1.7</m:mn>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>1.7</m:mn>
    <m:mo>−</m:mo>
    <m:mn>1</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0.7</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-51">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>{</m:mo>
    <m:mo>-</m:mo>
    <m:mn>0.54</m:mn>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>0.54</m:mn>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mo>-</m:mo>
    <m:mn>0.54</m:mn>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>.54</m:mn>
    <m:mo>−</m:mo>
    <m:mfenced>
      <m:mrow>
        <m:mo>-</m:mo>
        <m:mn>1</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>0.54</m:mn>
    <m:mo>+</m:mo>
    <m:mn>1.0</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0.36</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-52">
<m:math display="block">
  <m:mrow>
    <m:mo>⇒</m:mo>
    <m:mo>{</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2.34</m:mn>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2.34</m:mn>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2.34</m:mn>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2.34</m:mn>
    <m:mo>−</m:mo>
    <m:mfenced>
      <m:mrow>
        <m:mo>-</m:mo>
        <m:mn>3</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2.34</m:mn>
    <m:mo>+</m:mo>
    <m:mn>3.0</m:mn>
    <m:mo>=</m:mo>
    <m:mn>0.66</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-53">We can see that interpretation of fraction for the negative number is consistent with what has been explained earlier.
</para>
</section>
<section id="section-1c1">
<name>Graph of {x} </name>
<para id="element-180"> Few function expressions in different intervals are :
</para>
<para id="element-55">
<m:math display="block">
  <m:mrow>
    <m:mtext>For</m:mtext>
    <m:mspace width="1em"/>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>{</m:mo>
    <m:mi>x</m:mi>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mfenced>
      <m:mrow>
        <m:mo>−</m:mo>
        <m:mn>2</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>+</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-56">
<m:math display="block">
  <m:mrow>
    <m:mtext>For</m:mtext>
    <m:mspace width="1em"/>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>0,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>{</m:mo>
    <m:mi>x</m:mi>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mfenced>
      <m:mrow>
        <m:mo>-</m:mo>
        <m:mn>1</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>+</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-57">
<m:math display="block">
  <m:mrow>
    <m:mtext>For</m:mtext>
    <m:mspace width="1em"/>
    <m:mn>0</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>{</m:mo>
    <m:mi>x</m:mi>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mn>0</m:mn>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-58">
<m:math display="block">
  <m:mrow>
    <m:mtext>For</m:mtext>
    <m:mspace width="1em"/>
    <m:mn>1</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>{</m:mo>
    <m:mi>x</m:mi>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>−</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-59">
<m:math display="block">
  <m:mrow>
    <m:mtext>For</m:mtext>
    <m:mspace width="1em"/>
    <m:mn>2</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>3,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>{</m:mo>
    <m:mi>x</m:mi>
    <m:mo>}</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>-</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mi>x</m:mi>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-60">The graph of the function is shown here :
</para>
<para id="element-61"><figure id="fig-61">
<name> Graph of {x} function </name>
<media type="image/gif" src="fc2.gif"/>
<caption> The domain of the function is R. </caption>
</figure>
</para>
<para id="element-62">We see that there is no restriction on values of x and as such its domain has the interval equal to that of real numbers. The fractional part function can only evaluate to non-negative values between 0≤y&lt;1. Hence,
</para>
<para id="element-63">
<m:math display="block">
  <m:mrow>
    <m:mtext>Domain</m:mtext>
    <m:mo>=</m:mo>
    <m:mi>R</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-64">
<m:math display="block">
  <m:mrow>
    <m:mtext>Range</m:mtext>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
    <m:mo>≤</m:mo>
    <m:mi>y</m:mi>
    <m:mo>&lt;</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
</section>
</section>
<section id="section-2">
<name>Least integer function </name>
<para id="element-65">We have seen that greatest integer function represents the integer, which can be considered to be the floor integral value of a real number. Correspondingly, we define a ceiling function called “least integer function”, which returns the least integer greater than or equal to the number (x). We denote least integer function as “[x)” and interpret it as : 
</para>
<para id="element-66">
<list id="list-66" type="bulleted">
<item> [x) = least integer greater than or equal to the number (x) </item>
<item> [x) = least integer not less than or equal to the number (x) </item>
</list>
</para>
<para id="element-67">Clearly, least integer function returns a value, which is the integral “ceiling” of the number. For this reason, least integer function is also known as “ceiling” function. Working rules for finding least integer function are :
</para>
<para id="element-68">
<list id="list-68" type="enumerated"><item> If “x” is an integer, then [x) = x. </item>
<item> If “x” is not an integer, then [x) evaluates to least integer greater than “x”. </item>
</list>
</para>
<para id="element-69">
The value of f(x) is an integer (n) such that :
</para>
<para id="element-70"><m:math display="block">
  <m:mrow>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mi>n</m:mi>
    <m:mo>;</m:mo>
    <m:mspace width="1em"/>
    <m:mtext>if</m:mtext>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mi>n</m:mi>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>∈</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
<section id="section-2a">
<name>Graph of least integer function </name>
<para id="element-72">Few initial values of the functions are :
</para>
<para id="element-73">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mo>-</m:mo>
    <m:mn>3</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>)</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-74">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mo>-</m:mo>
    <m:mn>2</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>)</m:mo>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-75">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mo>−</m:mo>
    <m:mn>1</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mn>0,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>)</m:mo>
    <m:mo>=</m:mo>
    <m:mn>0</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-76">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mn>0</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>)</m:mo>
    <m:mo>=</m:mo>
    <m:mn>1</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-77">
<m:math display="block">
  <m:mrow>
    <m:mi>F</m:mi>
    <m:mi>o</m:mi>
    <m:mi>r</m:mi>
    <m:mspace width="1em"/>
    <m:mn>1</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>[</m:mo>
    <m:mi>x</m:mi>
    <m:mo>]</m:mo>
    <m:mo>=</m:mo>
    <m:mn>2</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-78">
<figure id="fig-78">
<name> Graph of least integer function </name>
<media type="image/gif" src="fc3.gif"/>
<caption> The domain of the function is R. </caption>
</figure>
</para>
<para id="element-79">We see that there is no restriction on values of “x” and as such its domain has the interval equal to that of real numbers. On the other hand, the least integer function evaluates only to integer values. It means that the range of the function is set of integers, denoted by "Z". Hence,
</para>
<para id="element-80">
<m:math display="block">
  <m:mrow>
    <m:mtext>Domain</m:mtext>
    <m:mo>=</m:mo>
    <m:mi>R</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-81">
<m:math display="block">
  <m:mrow>
    <m:mtext>Range</m:mtext>
    <m:mo>=</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
</section>
</section>
<section id="section-3">
<name>Nearest integer function</name>
<para id="element-82">Nearest integer function, as the name suggests, returns the nearest integer. It is denoted by the symbol, "(x)". 
</para>
<para id="element-83">The value of "(x)" is an integer "n" such that :
</para>
<para id="element-84"><m:math display="block">
  <m:mrow>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>(</m:mo>
    <m:mi>x</m:mi>
    <m:mo>)</m:mo>
    <m:mo>=</m:mo>
    <m:mi>n</m:mi>
    <m:mo>;</m:mo>
    <m:mspace width="1em"/>
    <m:mtext>if</m:mtext>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>≤</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mi>n</m:mi>
    <m:mo>+</m:mo>
    <m:mn>1</m:mn>
    <m:mo>/</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>∈</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-85">
<m:math display="block">
  <m:mrow>
    <m:mi>f</m:mi>
    <m:mfenced>
      <m:mrow>
        <m:mi>x</m:mi>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mi>n</m:mi>
    <m:mo>+</m:mo>
    <m:mn>1</m:mn>
    <m:mo>;</m:mo>
    <m:mspace width="1em"/>
    <m:mtext>if</m:mtext>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>+</m:mo>
    <m:mn>1</m:mn>
    <m:mo>/</m:mo>
    <m:mn>2</m:mn>
    <m:mo>&lt;</m:mo>
    <m:mi>x</m:mi>
    <m:mo>≤</m:mo>
    <m:mi>n</m:mi>
    <m:mo>+</m:mo>
    <m:mn>1,</m:mn>
    <m:mspace width="1em"/>
    <m:mi>n</m:mi>
    <m:mo>∈</m:mo>
    <m:mi>Z</m:mi>
  </m:mrow>
</m:math>
</para>
<para id="element-278">Examples :</para><para id="element-86">
<m:math display="block">
  <m:mrow>
    <m:mfenced>
      <m:mrow>
        <m:mn>2.3</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mfenced>
      <m:mrow>
        <m:mn>2.6</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mn>3</m:mn>
  </m:mrow>
</m:math>
</para>
<para id="element-87">
<m:math display="block">
  <m:mrow>
    <m:mfenced>
      <m:mrow>
        <m:mo>-</m:mo>
        <m:mn>2.3</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>2,</m:mn>
    <m:mspace width="1em"/>
    <m:mfenced>
      <m:mrow>
        <m:mo>-</m:mo>
        <m:mn>2.6</m:mn>
      </m:mrow>
    </m:mfenced>
    <m:mo>=</m:mo>
    <m:mo>-</m:mo>
    <m:mn>3</m:mn>
  </m:mrow>
</m:math>
</para>
</section>

  </content>
  
</document>
