A f:ABf:A\to B has graph

Γf={(a,f(a)): aA}A×B.\Gamma_f=\{(a,f(a)):\ a\in A\}\subseteq A\times B.
Remarks

The graph is a of the and consists of . Viewing a function as a special kind of , the graph is exactly the corresponding relation.

Examples
  • If f:RRf:\mathbb R\to\mathbb R is f(x)=x2f(x)=x^2, then Γf={(x,x2):xR}\Gamma_f=\{(x,x^2):x\in\mathbb R\}.
  • If AA is any set, the graph of idA\mathrm{id}_A is {(a,a):aA}\{(a,a):a\in A\}.