"Graphing greatest integer function" is the stuff which is needed to the children who study high school math.

**The Greatest-Integer Function is denoted by y = [x]**

For all real values of *"x" *, the greatest-integer function returns the largest integer less than or equal to "x". In essence, it rounds down to the the nearest integer.

Before learning "Graphing greatest integer function", always it is advisable to know the basic stuff about "Greatest integer function".

**Please click here to know the basic stuff about greatest integer function.**

Let us look at how to graph a greatest integer function

When we try to do graphing greatest integer function, first we have to graph the parent function of any greatest integer function which is y = [x].

Let us see, how to graph the parent function of greatest integer function.

y = [x]

To graph the parent function y = [x], we have to plug some random values for "x" such that x = -3, -2, -1, 0, 1, 2,3

y = [-3] = -3 ------>** (-3, -3)**

y = [-2] = -2 ------> **(-2, -2)**

y = [-1] = -1 ------> **(-1, -1)**

y = [0] = 0 ------> **(0, 0)**

y = [1] = 1 ------>** (1, 1)**

y = [2] = 2 ------>** (2, 2)**

y = [3] = 3 ------> **(3, 3)**

Let us take the point (-3-3).

Mark the point on xy- plane with a filled circle at (-3-3).

Then extend a line for "1" space on the left side of (-3,-3) and end up with empty circle.

Do the same thing for the other points too.

Now you will have a graph as given below.

**Step 1 :**

When you want to graph a greatest integer function, first graph the parent function.(as explained above)

**Step 2 :**

Write any parent function in the form as given below.

y - a = [x - b]

**Step 3 :**

Now equate "y-a" and "x-b" to zero.

That is y - a = 0 ------> y = a

and x - b = 0 ----------> x = b

**Step 4 : (vertical shift)**

(i) If you have y = 0, there is no vertical shift.

(ii) If you have y = a (positive value), then shift the graph up "a" units.

(iii) If you have y = -a (negative value), then shift the graph down "a" units.

**Step 5 : (Horizontal shift)**

(i) If you have x = 0, there is no horizontal shift.

(ii) If you have x = b (positive value), then shift the graph to the right "a" units.

(iii) If you have x = -b (negative value), then shift the graph to the left "a" units.

Let us have some examples to have better understanding on "Graphing greatest integer function".

**Graph : y = [x-2]**

The given function is in the form of y -a = [x-b]

Let y = 0 and x - 2 = 0 (step 3)

We get y = 0 and x = 2.

From y = 0, there is no vertical shift.

From x = 2, we have an horizontal shift of 2 units to the right.

So each point of the parent function to be shifted 2 units to the right.

If we do the above transformation, we will have a graph as given below.

**Graph : y = [x] + 3**

If we write the given function in the form of y -a = [x-b], we will have **y - 3 = [x]**

Let y - 3 = 0 and x = 0 (step 3)

We get y = 3 and x = 2.

From y = 3, we have a vertical shift of 3 units up.

From x = 0, there is no horizontal shift.

So each point of the parent function to be shifted 3 units up.

If we do the above transformation, we will have a graph as given below.

**Graph : y = [x+1] + 2**

If we write the given function in the form of y -a = [x-b], we will have **y - 2 = [x+1]**

Let y - 2 = 0 and x + 1 = 0 (step 3)

We get y = 2 and x = -1.

From y = 2, we have a vertical shift of 2 units up.

From x = - 1, we have an horizontal shift of 1 unit to the left.

So each point of the parent function to be shifted 2 units up and 1 unit to the left.

If we do the above transformations, we will have a graph as given below.

**Please click here to know the basic stuff about greatest integer function.**

**Some more stuff on "Greatest integer function"**

Widget is loading comments...