One of the common techniques for representing a function is a graph, which is constructed of intersecting coordinate axes, where the intersection is valued zero for all axes, referred to as the origin. The vertical coordinate axis is named the y-axis, and the horizontal axis is named the x-axis.
Note: the scale of the x and y axes do not have to be the same, and neither do the units.
We can use this to represent a pair of values like so: if we let a be the independent variable x, and b be the dependent variable y/y=f(x), then we see b=f(a).
We can extend a line parallel to the y-axis, at distance a from that axis, and extend another line parallel to the x-axis, at distance b, and the point P at which these lines intersect is designated by the pair of values (a,b) for (x,y).
The number a is the x-coordinate of P, and the number b is the y-coordinate of P. In more technical language, the value a is referred to as the abscissa, and the value b is referred to as the ordinate.
The simplest way of plotting the graph of some function y=f(x), is to calculate a table of values of x, and the corresponding values of y=f(x).
There are also special kinds of functions, which have dependent variables which do not fluctuate with independent variables, referred to as constant functions, such as this function which assigns a fixed number c to every variable x, meaning f(x)=c.
Another simple function is the absolute value function, which is defined by a value surrounded by a pair of bars: ∣x∣, which determines the value of a number regardless of its sign.
$$|x| = \begin{cases} x\; \text{if}\; x \geqslant \; 0, \
-x\; \text{if}\; x \lt 0 \end{cases} $$