One can consider a binary operation as a function of
two variables, with the value of the function being the result of
applying the operation to an ordered pair of numbers.
To visualize the
operation (function) we use two (ordered) vertical axes for the ordered
pair of numbers to which the operation (function) is applied, and a
third vertical axis where the result is marked.
From a single number on the first and second axes an arrow
emanates meeting together at the number on the third axis corresponding
to the result of the operation.
GeoGebra Mapping Diagram for Arithmetic Operations
$n=1: +, n=2: -,n=3: \times, n=4 : \div$
Change $n$ with the slider.
We apply an arithmetic operation, $O$, to functions,
$f_1$ and $f_2$, to create a new function, $f$. Let $f(x) =
O(f_1(x),f_2(x))$.
For example, if $O(a,b)=a+b$, then $f(x)=f_1(x)+f_2(x)$.
Visualizing this algebra with mapping diagrams requires only the
addition of one more axis
representing the domain of the function $f$ to the diagram for the arithmetic operation,
Each number, $x$, in the
domain of $f$, is visualized by a point on the corresponding axis. Two
arrows are drawn to points on separate axes for the values of $f_1(x)$ and
$f_2(x)$. Arrows are drawn from these two points (values) to a point on
the final axis representing the value of $f(x)=O(f_1(x),f_2(x))$.
Continuing the example, if $O(a,b)=a+b$, and $f_1(x) =\sin(x)$
and $f_2(x)= x$ then $f(x)=f_1(x)+f_2(x)= \sin(x) + x$,
The
corresponding mapping diagram is shown below with a GeoGebra figure
[$n=1$].
Change the functions by entering different functions for
$f_1$ and $f_2$.
Change $n$ with the slider to see other operations applied to the
functions.
$n=1: +, n=2: -,n=3: \times, n=4 : \div$