# Graph of a function

In mathematics, the graph of a function f(x1, x2, ..., xn) is the collection of all tuples (x1, x2, ..., xn, f(x1, ..., xn)). In particular, graph means the graphical representation of this collection, in the form of a curve or surface, together with axes, etc. Graphing on a Cartesian plane is sometimes referred to as curve sketching.

The graph of the function

[itex]f(x)=\left\{\begin{matrix} a, & \mbox{if }x=1 \\ d, & \mbox{if }x=2 \\ c, & \mbox{if }x=3. \end{matrix}\right.[itex]

is {(1,a), (2,d), (3,c)}.

The graph of the cubic polynomial on the real line

[itex]f(x)=x^3-9x[itex]

is {(x,x3-9x) : x is a real number}. If the set is plotted on a Cartesian plane, the result is

Missing image
Cubicpoly.png
Image:cubicpoly.png

Therefore the graph of a function on real numbers is identical to the graphic representation of the function. For general functions, the graphic representation cannot be applied and the formal definition of the graph of a function suits the need of mathematical statements, e.g., the closed graph theorem in functional analysis.

The concept of the graph of a function is generalised to the graph of a relation. Note that although a function is always identified with its graph, they are not the same because it will happen that two functions with different codomain could have the same graph. For example, the cubic polynomial mentioned above is a surjection if its codomain is the real numbers but it is not if its codomain is the complex field.

## Tools for plotting function graphs

Dedicated hardware:

Multi-purpose software that can be used for function plotting:

Dedicated function plotting software:

• descartes (http://descartes.sourceforge.net/), open-source, primarily for use in schools

• Art and Cultures
• Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
• Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
• Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
• United States (http://www.academickids.com/encyclopedia/index.php/United_States)
• World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
• Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
• Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
• Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
• Space and Astronomy
• Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)