Content deleted Content added
m Duplicate word removed |
Reverted 1 edit by Farkle Griffen (talk): In most sources, the graph is the set of the pairs, and it is distinguished from its plot (see the end of the paragraph) |
||
(67 intermediate revisions by 42 users not shown) | |||
Line 1:
{{Short description|Representation of a mathematical function}}
{{About||graph-theoretic representation of a function|Functional graph}}
{{
[[File:Polynomial of degree three.svg|class=skin-invert-image|thumb|250x250px|Graph of the function <math>f(x)=\frac{x^3+3x^2-6x-8}{4}.</math>]]
{{functions}}
In [[mathematics]], the '''graph
The graphical representation of the graph of a [[Function (mathematics)|function]] is also known as a ''[[Plot (graphics)|plot]]''.
In the case of [[Bivariate function|functions of two variables
A graph of a function is a special case of a [[relation (mathematics)|relation]]. ▼
In [[science]], [[engineering]], [[technology]], [[finance]], and other areas, graphs are tools used for many purposes. In the simplest case one variable is plotted as a function of another, typically using [[Rectangular coordinate system|rectangular axes]]; see ''[[Plot (graphics)]]'' for details.
▲{{anchor|graph of a relation}}A graph of a function is a special case of a [[
In the modern [[foundations of mathematics]], and, typically, in [[set theory]], a function is actually equal to its graph.<ref name="Pinter2014">{{cite book|author=Charles C Pinter|title=A Book of Set Theory|url=https://books.google.com/books?id=iUT_AwAAQBAJ&pg=PA49|year=2014|
[[File:X^4 - 4^x.PNG|class=skin-invert-image|350px|thumb|Graph of the function
== Definition ==
Given a
which is a subset of the [[Cartesian product]] <math>X\times Y</math>. In the definition of a function in terms of [[set theory]], it is common to identify a function with its graph, although, formally, a function is formed by the triple consisting of its ___domain, its codomain and its graph.
== Examples ==
Line 29 ⟶ 26:
=== Functions of one variable ===
[[File:Three-dimensional graph.png|right|thumb|250px|Graph of the [[
The graph of the function <math>f : \{1,2,3\} \
\begin{cases}
a, & \text{if }x=1, \\ d, & \text{if }x=2, \\ c, & \text{if }x=3,
\end{cases}
</math>
is the subset of the set <math>\{1,2,3\} \times \{a,b,c,d\}</math>
From the graph, the ___domain <math>\{1,2,3\}</math> is recovered as the set of first component of each pair in the graph <math>\{1,2,3\} = \{x :\ \
Similarly, the [[Range
The codomain <math>\{a,b,c,d\}</math>, however, cannot be determined from the graph alone.
The graph of the cubic polynomial on the [[real line]]
▲: <math>f(x) = x^3 - 9x \, </math>
is
If this set is plotted on a [[Cartesian plane]], the result is a curve (see figure).▼
▲: <math> \{ (x, x^3 - 9x) : x \text{ is a real number} \}. \, </math>
▲If this set is plotted on a Cartesian plane, the result is a curve (see figure).
{{clear}}
=== Functions of two variables ===
[[File:F(x,y)=−((cosx)^2 + (cosy)^2)^2.PNG|class=skin-invert-image|thumb|250px|Plot of the graph of
The graph of the [[trigonometric function]]
▲: <math> f(x,y) = \sin(x^2)\cos(y^2) \, </math>
is
▲: <math> \{ (x, y, \sin(x^2) \cos(y^2)) : x \text{ and } y \text{ are real numbers} \}. </math>
If this set is plotted on a [[Cartesian coordinate system#Cartesian coordinates in three dimensions|three dimensional Cartesian coordinate system]], the result is a surface (see figure).
Oftentimes it is helpful to show with the graph, the gradient of the function and several level curves. The level curves can be mapped on the function surface or can be projected on the bottom plane. The second figure shows such a drawing of the graph of the function:
▲: <math> f(x,y) = -(\cos(x^2) + \cos(y^2))^2 \, </math>
== See also ==
Line 81 ⟶ 67:
* [[Asymptote]]
* [[Chart]]
* [[Plot (graphics)|Plot]]
* [[Concave function]]
* [[Convex function]]
Line 95 ⟶ 82:
{{div col end}}
== References ==
{{reflist}}
== Further reading ==
{{refbegin}}
* {{Zălinescu Convex Analysis in General Vector Spaces 2002}} <!-- {{sfn|Zălinescu|2002|pp=}} -->
{{refend}}
== External links ==
{{Commons category|Function plots}}
* Weisstein, Eric W. "[http://mathworld.wolfram.com/FunctionGraph.html Function Graph]." From MathWorld—A Wolfram Web Resource.
{{Calculus topics}}
{{Visualization}}
{{Authority control}}
[[Category:Charts]]
|