Skip to content

Graph of a Function

Definition

Let XX be a subset of R,\mathbb{R}\text{,} and let f ⁣:X→Rf\colon X\to\mathbb{R} be a function. The graph of ff is

{(x,f(x))∈R2 ⁣:x∈X},\{(x,f(x))\in\mathbb{R}^2\colon x\in X\},

which is a subset of the Cartesian product X×R⊆R2.X\times\mathbb{R}\subseteq\mathbb{R}^2\text{.}


Interpretation

The graph turns a function into a picture. It collects the pairs (x,f(x))(x,f(x)) as points of the coordinate plane R2\mathbb{R}^2, so that the behaviour of ff can be read off by eye: the Cartesian coordinate system places each input on the horizontal axis and its output on the vertical axis.

The graph is a set of points with exactly one point above each xx in the domain XX. So every vertical line x=cx=c meets the graph once when c∈Xc\in X and not at all when c∉Xc\notin X. This vertical line test decides which curves in the plane are graphs of functions of xx: the unit circle x2+y2=1x^2+y^2=1 is not one, since the line x=0x=0 meets it at (0,1)(0,1) and at (0,−1)(0,-1).

Horizontal lines describe outputs: the line y=cy=c meets the graph exactly above the inputs with f(x)=cf(x)=c. In particular, the zeros of ff are where the graph meets the xx-axis, the range of ff is the projection of the graph onto the yy-axis, and ff is injective if and only if no horizontal line meets the graph more than once. Likewise, the graph of an increasing monotone function never falls from left to right.

A plot is a guide, not a proof. It shows finitely many sampled points, so a single missing point or very fast oscillation can be invisible, and a claim read off a picture still has to be checked from the formula. The idea returns later for functions of two variables, whose graphs are surfaces in space.


Key Results

  • Each input corresponds to exactly one point on the graph.
  • The graph encodes continuity and monotonicity visually.
  • Many analytical properties can be inferred from the graph.

Examples

  • The graph of f(x)=x2f(x)=x^2 is a parabola.
  • The graph of f(x)=exf(x)=\mathrm{e}^x grows rapidly.

Graphs of x, x squared, x cubed, 1/x, the square root of x and e to the x; the graph of 1/x has two branches because 0 is not in its domain.

The graph of ff is the set of points (x,f(x))(x,f(x)); the graph of x↦1/xx\mapsto1/x has two branches, as 00 is not in its domain.


Prerequisites

Sources

Aliases: function graph Symbols: element of, real numbers, subset

Last updated: 27 October 2026 11:52