Definition · applies to functions

Elementary

Think of a function as a machine that turns each input into an output, and a grid for plotting points. The graph of the function is the picture you get by plotting each input together with its output as a point on the grid.

High school

Consider a function $f$, and the points $(x, f(x))$ in the plane. The graph of $f$ is the set of those points, or a drawing of that set on coordinate axes.

The graph of $f(x) = x^2$, with the point $(x, f(x))$. Drag $x$.

Undergraduate

Consider a function $f : X \to Y$. The graph of $f$ is the set

\[\setdef{(x, f(x)) \suchthat x \in X} \subseteq X \times Y.\]

Examples

Examples

Non-examples
Things that may be mistaken for examples of this term.

  • A bar graph is not the graph of a function, because it is not defined as the set of points $(x, y)$ that satisfy $y = f(x)$.
  • ✗ A flowchart Elementary
    A flowchart is not the graph of a function, because it shows no data.
  • A scatter plot of height vs. weight is not the graph of a function, because its points are data, not values of a function: two people of the same height can have different weights.
  • The dots and lines form a network, whose vertices is not a chart or the graph of a function, because the positions of the dots do not encode numbers.
  • ✗ The unit circle High school
    The unit circle $x^2 + y^2 = 1$ is not the graph of a function of $x$, because it fails the vertical line test.

All definitions · All distinctions · All examples · Notation