Skip to content

Mathematics · Ch 2 — Relations and Functions

Some Functions and Their Graphs

2.4.1

Some Functions and Their Graphs

Some Functions and Their Graphs

The Identity Function

The simplest function you will encounter is the identity function. Let R\mathbb{R} be the set of real numbers. Define f:R→Rf : \mathbb{R} \to \mathbb{R} by

y=f(x)=xfor each x∈R.y = f(x) = x \quad \text{for each } x \in \mathbb{R}.

For every input, the output is exactly the same number. The domain is R\mathbb{R} (all real numbers) and the range is also R\mathbb{R}.

The graph of y=xy = x is a straight line that passes through the origin, making a 45∘45^\circ angle with both axes. Every point on this line has coordinates (a,a)(a, a) for some real aa.

Note

The identity function is the simplest example of a one-to-one and onto function. It maps every real number to itself — nothing is lost or gained.


The Constant Function

Define f:R→Rf : \mathbb{R} \to \mathbb{R} by

y=f(x)=c,x∈R,y = f(x) = c, \quad x \in \mathbb{R},

where cc is a fixed real constant. The domain is R\mathbb{R}, but the range is the single-element set {c}\{c\}.

The graph is a horizontal straight line parallel to the xx-axis, passing through the point (0,c)(0, c). For instance, if f(x)=3f(x) = 3 for every xx, the graph is the line y=3y = 3.

Watch out

A constant function is not one-to-one (many inputs give the same output), but it is a perfectly valid function. Do not confuse "constant" with "identity" — they behave very differently.


Polynomial Functions

A function f:R→Rf : \mathbb{R} \to \mathbb{R} is called a polynomial function if for each x∈Rx \in \mathbb{R},

y=f(x)=a0+a1x+a2x2+⋯+anxn,y = f(x) = a_0 + a_1 x + a_2 x^2 + \dots + a_n x^n,

where nn is a non-negative integer and a0,a1,a2,…,an∈Ra_0, a_1, a_2, \dots, a_n \in \mathbb{R}.

The highest power nn is the degree of the polynomial. The coefficients a0,a1,…,ana_0, a_1, \dots, a_n are real numbers.

Examples of polynomial functions:

  • f(x)=x3−x2+2f(x) = x^3 - x^2 + 2 (degree 3)
  • g(x)=x4+2xg(x) = x^4 + \sqrt{2}x (degree 4)

Non-example: h(x)=23x+2xh(x) = \frac{2}{3}x + 2x is not a polynomial function. Why? Because the term 23x\frac{2}{3}x can be rewritten as 2x−12x^{-1}, and the exponent −1-1 is not a non-negative integer. Polynomials require non-negative integer exponents only.

Example: f(x)=x2f(x) = x^2

Define f:R→Rf : \mathbb{R} \to \mathbb{R} by f(x)=x2f(x) = x^2. Complete the table:

xx−4-4−3-3−2-2−1-10011223344
y=f(x)=x2y = f(x) = x^21616994411001144991616

Domain: {x:x∈R}\{x : x \in \mathbb{R}\} — all real numbers.

Range: {x2:x∈R}\{x^2 : x \in \mathbb{R}\} — all non-negative real numbers [0,∞)[0, \infty).

The graph is a parabola opening upward, symmetric about the yy-axis, with its vertex at the origin (0,0)(0,0).

Example: f(x)=x3f(x) = x^3

Define f:R→Rf : \mathbb{R} \to \mathbb{R} by f(x)=x3f(x) = x^3.

Some values: f(0)=0f(0) = 0, f(1)=1f(1) = 1, f(−1)=−1f(-1) = -1, f(2)=8f(2) = 8, f(−2)=−8f(-2) = -8, f(3)=27f(3) = 27, f(−3)=−27f(-3) = -27.

So f={(x,x3):x∈R}f = \{(x, x^3) : x \in \mathbb{R}\}.

The graph is a cubic curve that passes through the origin. Unlike x2x^2, it is symmetric about the origin — for every point (a,a3)(a, a^3), there is a corresponding point (−a,−a3)(-a, -a^3). The curve increases steeply for positive xx and decreases steeply for negative xx.

Tip

For polynomial functions, the shape of the graph depends heavily on the degree. Even-degree polynomials (like x2x^2) have the same sign for large positive and large negative xx; odd-degree polynomials (like x3x^3) have opposite signs.


Rational Functions

A rational function is a function of the form

f(x)g(x),\frac{f(x)}{g(x)},

where f(x)f(x) and g(x)g(x) are polynomial functions, and the function is defined only where g(x)≠0g(x) \neq 0.

The domain excludes any xx that makes the denominator zero.

Example: f(x)=1xf(x) = \frac{1}{x}

Define f:R−{0}→Rf : \mathbb{R} - \{0\} \to \mathbb{R} by

f(x)=1x,x∈R−{0}.f(x) = \frac{1}{x}, \quad x \in \mathbb{R} - \{0\}.

Complete the table:

xx−2-2−1.5-1.5−1-1−0.5-0.50.250.250.50.5111.51.522
y=1xy = \frac{1}{x}−0.5-0.5−0.67-0.67−1-1−2-24422110.670.670.50.5

Domain: All real numbers except 00 — written as R−{0}\mathbb{R} - \{0\} or (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty).

Range: Also all real numbers except 00 — (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty).

The graph is a rectangular hyperbola with two branches. One branch lies in the first quadrant (positive xx, positive yy) and the other in the third quadrant (negative xx, negative yy). The axes act as asymptotes — the curve approaches the xx-axis and yy-axis but never touches them.

Important

For f(x)=1xf(x) = \frac{1}{x}, as xx approaches 00 from the positive side, f(x)f(x) becomes very large positive. As xx approaches 00 from the negative side, f(x)f(x) becomes very large negative. This is why x=0x = 0 is excluded from the domain.


The Modulus Function

The modulus function (also called the absolute value function) is defined by f:R→Rf : \mathbb{R} \to \mathbb{R} with

f(x)=∣x∣for each x∈R.f(x) = |x| \quad \text{for each } x \in \mathbb{R}.

The definition is piecewise:

f(x)={x,x≥0−x,x<0f(x) = \begin{cases} x, & x \geq 0 \\ -x, & x < 0 \end{cases}

For non-negative xx, the output equals xx itself. For negative xx, the output is the negative of xx — which makes it positive.

Domain: R\mathbb{R} (all real numbers).

Range: [0,∞)[0, \infty) (all non-negative real numbers).

The graph consists of two rays meeting at the origin. For x≥0x \geq 0, it is the line y=xy = x (the identity function). For x<0x < 0, it is the line y=−xy = -x, which has slope −1-1. The graph forms a V-shape with its vertex at (0,0)(0,0).

Note

The modulus function is always non-negative. It measures the distance of a number from zero on the number line, regardless of direction.


The Signum Function

The signum function (from Latin signum meaning "sign") is defined by f:R→Rf : \mathbb{R} \to \mathbb{R} with

f(x)={1,x>00,x=0−1,x<0f(x) = \begin{cases} 1, & x > 0 \\ 0, & x = 0 \\ -1, & x < 0 \end{cases}

This function tells you the sign of a real number: positive numbers give 11, negative numbers give −1-1, and zero gives 00.

Domain: R\mathbb{R} (all real numbers).

Range: {−1,0,1}\{-1, 0, 1\} — just three possible values.

The graph has three distinct parts:

  • For x>0x > 0, a horizontal line at y=1y = 1 (open circle at x=0x = 0)
  • At x=0x = 0, a single point at (0,0)(0, 0)
  • For x<0x < 0, a horizontal line at y=−1y = -1 (open circle at x=0x = 0)
Watch out

The signum function is not continuous at x=0x = 0. There is a jump from −1-1 to 00 to 11 at that point. The open circles on the graph indicate that the endpoints y=1y = 1 and y=−1y = -1 are not attained at x=0x = 0.


The Greatest Integer Function …

Figure 2.8Graph of the identity function f(x) = x
Fig. 2.8 — Graph of the identity function f(x) = x

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The Graph of the Identity Function

The figure shows a standard Cartesian plane with both axes drawn as double-arrowed lines, extending from approximately −8 to 8 on each axis. Even-numbered tick marks are labelled along both axes. A single straight line, coloured indigo, runs through the origin at a 45° angle — it has slope exactly 1. The line has arrowheads at both ends, indicating it continues indefinitely in both directions.

Every point on this line satisfies the condition that its xx-coordinate equals its yy-coordinate. The line passes through (−2,−2)(-2,-2), (−1,−1)(-1,-1), (0,0)(0,0), (1,1)(1,1), (2,2)(2,2), and so on. There are no breaks, no curves, no other lines — just this one diagonal.

What This Figure Teaches

The identity function f(x)=xf(x) = x is the simplest possible function that still does something: it takes each input and returns it unchanged. The graph makes this idea visually obvious. If you pick any xx on the horizontal axis, the corresponding yy on the vertical axis is exactly the same number. The line y=xy = x is the set of all points where the two coordinates are equal.

This is the baseline against which all other functions are compared. When you later study transformations — shifting, stretching, reflecting — the identity function is the starting point. A vertical shift upward by 2 units, for instance, turns y=xy = x into y=x+2y = x + 2. A reflection across the xx-axis turns it into y=−xy = -x. Understanding the identity function's graph first makes those modifications easy to see.

Important

The identity function is the only function whose graph is a straight line through the origin with slope 1. Its domain is R\mathbb{R} (all real numbers) and its range is also R\mathbb{R}.

The Key Formula

The central relationship the figure illustrates is:

f(x)=xfor all x∈Rf(x) = x \quad \text{for all } x \in \mathbb{R}

Here:

  • ff is the function name
  • xx is the input variable (any real number)
  • f(x)f(x) is the output, which equals the input
  • R\mathbb{R} denotes the set of all real numbers …
Figure 2.9Graph of the constant function f(x) = 3
Fig. 2.9 — Graph of the constant function f(x) = 3

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The Graph of a Constant Function

Figure 2.9 shows the simplest possible non-trivial function: a constant function. The axes are the standard Cartesian frame — a horizontal xx-axis and a vertical yy-axis, meeting at the origin. Drawn across this plane is a single horizontal line at height y=3y = 3, running parallel to the xx-axis. The line has arrowheads on both ends, indicating that it extends infinitely in both directions along the xx-axis.

The physical idea is straightforward: no matter what xx-value you choose, the output yy is always the same number. In this case, f(x)=3f(x) = 3 for every real xx. The graph is a horizontal line because the yy-coordinate never changes — it is constant. The line is perfectly flat, with zero slope.

f(x)=c,x∈Rf(x) = c, \quad x \in \mathbb{R}

Here cc is a fixed real number (the constant), and R\mathbb{R} denotes the set of all real numbers. The domain of this function is R\mathbb{R} (every real number is allowed as input), and the range is the single-element set {c}\{c\} — only one output value ever appears.

The line in the figure is at y=3y = 3, so c=3c = 3 for this example. Every point on that line has coordinates of the form (x,3)(x, 3), where xx can be any real number. The line is parallel to the xx-axis because the yy-coordinate is fixed; it never rises or falls as xx changes.

Watch out

A constant function is not the same as a function that is undefined or has no output. It produces exactly one output for every input — it just happens that the output is always identical. The graph is a horizontal line, not a single dot. …

Figure 2.10Graph of the quadratic function f(x) = x squared, an upward-opening parabola symmetric about the y-axis with its vertex at the origin.
Fig. 2.10 — Graph of the quadratic function f(x) = x squared, an upward-opening parabola symmetric about the y-axis with its vertex at the origin.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The Graph of f(x)=x2f(x) = x^2

Figure 2.10 shows the graph of the quadratic function f(x)=x2f(x) = x^2, defined for all real numbers xx. The axes are drawn in the standard Cartesian plane: the horizontal xx-axis and vertical yy-axis intersect at the origin (0,0)(0,0). The curve itself is an upward-opening parabola, coloured indigo in the textbook.

The parabola is symmetric about the yy-axis. This means the left half (x<0x < 0) is a mirror image of the right half (x>0x > 0). The vertex — the lowest point on the curve — sits exactly at the origin. From there, the graph rises smoothly in both directions, becoming steeper as ∣x∣|x| increases.

The table in Example 13 gives the key points plotted: (−4,16)(-4,16), (−3,9)(-3,9), (−2,4)(-2,4), (−1,1)(-1,1), (0,0)(0,0), (1,1)(1,1), (2,4)(2,4), (3,9)(3,9), (4,16)(4,16). These points lie on the parabola and confirm its shape. The curve passes through every such point, forming a continuous, unbroken line.

Note

The parabola never dips below the xx-axis because x2x^2 is never negative. Every output is either zero or positive.

What the Figure Teaches

The graph makes three ideas immediately visible.

First, domain and range. The domain of f(x)=x2f(x) = x^2 is all real numbers R\mathbb{R} — you can square any real xx. The range, however, is only non-negative real numbers: [0,∞)[0, \infty). The graph stays on or above the xx-axis, showing that yy never takes a negative value.

Second, even symmetry. For any xx, f(−x)=(−x)2=x2=f(x)f(-x) = (-x)^2 = x^2 = f(x). This is why the curve is symmetric about the yy-axis. Functions with this property are called even functions.

Third, the shape of a quadratic. The parabola is the simplest non-linear polynomial graph. Its U-shape, with a single minimum at the vertex, is the foundation for understanding all quadratic functions ax2+bx+cax^2 + bx + c.

Watch out

A common mistake is to think the parabola is symmetric about the origin. It is not — that would require f(−x)=−f(x)f(-x) = -f(x), which is false here. The symmetry is about the yy-axis, not the origin.

The Key Formula

The function graphed is

f(x)=x2f(x) = x^2

where:

  • xx is any real number (the input, or independent variable) …
Figure 2.11Graph of the cubic function f(x) = x cubed, an S-shaped curve that passes through the origin and steepens as x moves away from zero in either direction.
Fig. 2.11 — Graph of the cubic function f(x) = x cubed, an S-shaped curve that passes through the origin and steepens as x moves away from zero in either direction.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The figure shows the graph of the function f(x)=x3f(x) = x^{3} drawn on a standard Cartesian plane. The horizontal axis is the xx-axis (the domain, all real numbers), and the vertical axis is the yy-axis (the range, also all real numbers). The curve itself is an S-shaped cubic that passes through the origin (0,0)(0,0). Near the origin the graph is very flat — it hugs the xx-axis for a short stretch — but as xx moves away from zero in either direction, the curve steepens dramatically and rises (or falls) without bound.

The key idea the figure teaches is that the cubic function f(x)=x3f(x) = x^{3} is an odd function: it is symmetric about the origin. For every point (a,a3)(a, a^{3}) on the graph, the point (−a,−a3)(-a, -a^{3}) is also on the graph. This is why the curve goes through the origin and why the left-hand side is a mirror image of the right-hand side, but flipped upside down. The flatness near x=0x = 0 reflects the fact that for small xx, x3x^{3} is much smaller than xx — for example, 0.13=0.0010.1^{3} = 0.001 — so the graph barely rises. The steepness away from the origin shows that x3x^{3} grows faster than any linear or quadratic function for large ∣x∣|x|.

The central formula the textbook develops with this figure is simply the definition of the function itself:

f(x)=x3,x∈Rf(x) = x^{3}, \quad x \in \mathbb{R}

Here ff is a real-valued function from R\mathbb{R} to R\mathbb{R}. The symbol xx represents any real number (the input), and x3x^{3} is the output. The domain is all real numbers, and the range is also all real numbers — every real number has a real cube root, so the graph covers the entire vertical axis.

The textbook uses this figure as part of a sequence introducing basic polynomial functions. After the identity function f(x)=xf(x) = x (a straight line) and the square function f(x)=x2f(x) = x^{2} (a parabola), the cube function f(x)=x3f(x) = x^{3} is the next natural example. The figure makes the contrast clear: unlike the parabola (which is even and U-shaped), the cubic is odd and S-shaped, and unlike the identity line, it is not straight. …

Figure 2.12Graph of the reciprocal function f(x) = 1/x, showing two hyperbolic branches in the first and third quadrants that approach the x-axis and y-axis as asymptotes.
Fig. 2.12 — Graph of the reciprocal function f(x) = 1/x, showing two hyperbolic branches in the first and third quadrants that approach the x-axis and y-axis as asymptotes.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Fig. 2.12 shows the graph of the function f(x)=1xf(x) = \frac{1}{x}, defined for all real numbers except x=0x = 0. The axes are drawn in the usual way: a horizontal xx-axis and a vertical yy-axis, crossing at the origin. The curve consists of two separate branches, each drawn in indigo. One branch lies entirely in the first quadrant (where x>0x > 0 and y>0y > 0), and the other lies in the third quadrant (where x<0x < 0 and y<0y < 0). Both branches are smooth curves that get closer and closer to the xx-axis and the yy-axis but never touch or cross them — those axes are the asymptotes of the graph.

The physical idea the figure teaches is that f(x)=1/xf(x) = 1/x is a reciprocal relationship: as xx grows large and positive, yy becomes very small and positive (the branch hugs the xx-axis far to the right). As xx approaches 00 from the positive side, yy shoots upward without bound (the branch hugs the yy-axis near the top). The same behaviour repeats in the third quadrant but with both coordinates negative: as xx becomes large and negative, yy is a small negative number; as xx approaches 00 from the negative side, yy plunges downward without bound. The graph is symmetric about the origin — if you rotate it 180∘180^\circ, it lands on itself — which reflects the algebraic fact that f(−x)=−f(x)f(-x) = -f(x).

The key formula the textbook develops with this figure is the definition of the function itself:

f(x)=1x,x∈R−{0}f(x) = \frac{1}{x}, \quad x \in \mathbb{R} - \{0\}

Here, R\mathbb{R} denotes the set of all real numbers, and R−{0}\mathbb{R} - \{0\} means all real numbers except 00. The domain of ff is R−{0}\mathbb{R} - \{0\} because division by zero is undefined. The range is also R−{0}\mathbb{R} - \{0\}: no matter what non-zero real number you pick, there is some xx that gives that yy (for example, y=2y = 2 comes from x=1/2x = 1/2), but y=0y = 0 is never achieved because 1/x1/x can never equal zero.

Watch out

A common mistake is to think the graph is continuous across x=0x = 0. It is not — the function is undefined at x=0x = 0, so the two branches are completely separate. The curve does not cross the yy-axis at any point. …

Figure 2.13Graph of the modulus function f(x) = |x|
Fig. 2.13 — Graph of the modulus function f(x) = |x|

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The modulus function is defined piecewise because absolute value behaves differently for non‑negative and negative numbers. The definition is:

f(x)=∣x∣={x,x≥0−x,x<0f(x) = |x| = \begin{cases} x, & x \ge 0 \\[4pt] -x, & x < 0 \end{cases}

For every x≥0x \ge 0, the output is simply xx itself — so on the right half of the graph, the function follows the line y=xy = x. For every x<0x < 0, the output is the positive opposite −x-x, which means the left half follows the line y=−xy = -x. Both are straight lines through the origin, one with slope +1+1 and the other with slope −1-1.

The figure shows a standard Cartesian plane with the xx-axis horizontal and the yy-axis vertical. The graph is a single continuous V‑shaped curve. Its vertex sits exactly at the origin (0,0)(0,0). From the vertex, the left arm rises into the second quadrant (where xx is negative, yy is positive) at a 45∘45^\circ angle to the axes — that is the line y=−xy = -x. The right arm rises into the first quadrant (both xx and yy positive) also at 45∘45^\circ — that is the line y=xy = x. The two arms are symmetric about the yy-axis.

Important

The domain of the modulus function is all real numbers R\mathbb{R}. The range is only non‑negative real numbers: [0,∞)[0, \infty). No matter what xx you plug in, ∣x∣|x| is never negative.

The physical idea the graph teaches is that absolute value measures distance from zero on the number line. Distance is always non‑negative, and the graph’s V‑shape reflects that: as you move away from zero in either direction, the distance (the yy-value) increases at the same rate. The sharp corner at the origin is the key visual clue — the function changes its rule exactly at x=0x=0, and that point is the minimum value of the function.

Watch out

A common mistake is to think the modulus function is the same as the identity function f(x)=xf(x)=x. They are identical only for x≥0x \ge 0. For negative xx, the identity function gives a negative output, while the modulus function flips the sign to give a positive output. The graph of f(x)=xf(x)=x is a single straight line through the origin; the graph of ∣x∣|x| is a V‑shape. …

Figure 2.14Graph of the signum function
Fig. 2.14 — Graph of the signum function

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The signum function is a simple but important piecewise-defined function that tells you the sign of a real number. Its formal definition is:

f(x)=sgn(x)={1,x>00,x=0−1,x<0f(x) = \text{sgn}(x) = \begin{cases} 1, & x > 0 \\[4pt] 0, & x = 0 \\[4pt] -1, & x < 0 \end{cases}

The domain is all real numbers R\mathbb{R}, and the range is the three-point set {−1,0,1}\{-1, 0, 1\}.

What the graph shows. The figure plots y=sgn(x)y = \text{sgn}(x) on a standard Cartesian plane. For every positive xx, the output is exactly 11 — so the graph is a horizontal ray along y=1y = 1 that starts just to the right of the origin and extends infinitely to the right. The starting point at x=0x = 0 is an open circle, because the function does not take the value 11 at x=0x = 0; it takes 00 there. An arrowhead on the right end of the ray indicates it continues without bound.

For every negative xx, the output is −1-1, giving a horizontal ray along y=−1y = -1 that runs from the far left toward the origin. Again, the endpoint at x=0x = 0 is an open circle — the value −1-1 is not assigned at x=0x = 0. An arrowhead on the left end shows the ray extends to −∞-\infty.

At the origin itself, the graph has a single filled dot at (0,0)(0, 0). This solid dot represents the third piece of the definition: f(0)=0f(0) = 0. The open circles on the two rays and the filled dot at the origin together make the graph complete and unambiguous — they show exactly which yy-value belongs to each xx.

Watch out

A common mistake is to connect the two rays or to draw a continuous line through the origin. The signum function is discontinuous at x=0x = 0: the left-hand limit is −1-1, the right-hand limit is 11, but the actual value is 00. The open circles and the separate filled dot are the visual signal of this jump.

The key idea the figure teaches. The signum function is a piecewise constant function that compresses the entire real line into just three outputs. It is often used in later mathematics to express the sign of a quantity without caring about its magnitude. For example, the absolute value function ∣x∣|x| can be written as ∣x∣=x⋅sgn(x)|x| = x \cdot \text{sgn}(x), and the derivative of ∣x∣|x| (for x≠0x \neq 0) is sgn(x)\text{sgn}(x).

sgn(x)=∣x∣x(x≠0)\text{sgn}(x) = \frac{|x|}{x} \quad (x \neq 0)

This alternative form is useful: for x>0x > 0, ∣x∣x=xx=1\frac{|x|}{x} = \frac{x}{x} = 1; for x<0x < 0, ∣x∣x=−xx=−1\frac{|x|}{x} = \frac{-x}{x} = -1. It fails at x=0x = 0 because division by zero is undefined, which is why the piecewise definition is the complete one. …

Figure 2.15Graph of the greatest integer function f(x) = [x]
Fig. 2.15 — Graph of the greatest integer function f(x) = [x]

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

The figure shows the graph of the function f(x)=[x]f(x) = [x], where [x][x] denotes the greatest integer less than or equal to xx. The horizontal axis is labelled xx and runs from −3-3 to 55; the vertical axis is labelled yy and runs from −3-3 to 33. The graph consists of seven horizontal step segments, each exactly one unit wide. Every segment is drawn in indigo.

For each integer nn, the segment corresponding to [x]=n[x] = n lies at height y=ny = n and covers the interval n≤x<n+1n \leq x < n+1. The left endpoint of each segment — the point (n,n)(n, n) — is marked with a filled dot, indicating that the value nn is included at that xx. The right endpoint — the point (n+1,n)(n+1, n) — is marked with an open circle, indicating that the value nn is not attained at x=n+1x = n+1 (because at x=n+1x = n+1, the greatest integer less than or equal to xx jumps to n+1n+1). The graph therefore rises by one unit at every integer value of xx, creating a staircase that climbs to the right and descends to the left.

Watch out

A common mistake is to think [x][x] rounds xx to the nearest integer. It does not — it always takes the integer below (or equal to) xx. For negative numbers this matters: [−1.5]=−2[-1.5] = -2, not −1-1, because −2-2 is the greatest integer less than or equal to −1.5-1.5.

The key idea the figure teaches is that the greatest integer function is a step function — it is constant on intervals between consecutive integers, and it jumps discontinuously at every integer. The filled and open dots make the left‑continuity of the function visible: at each integer x=nx = n, the function value is nn (the closed dot), but just to the right of nn the value is still nn until the next integer is reached.

[x]=nforn≤x<n+1,n∈Z[x] = n \quad \text{for} \quad n \leq x < n+1, \quad n \in \mathbb{Z} …