- Verberg vooruitgang Hide progress Toon vooruitgang Show progress
- Verwijder je antwoorden (op deze pagina) Remove your answers (on this page)
Up until now in this text, we have been exclusively special kinds of mappings called functions. In this section, we broaden our horizons to study more general mappings called relations. The reader is encouraged to revisit Definition functiondefn in Section FunctionsandtheirRepresentations before proceeding with the definition of relation below.
Given two sets \(A\) and \(B\), a relation from \(A\) to \(B\) is a process by which elements of \(A\) are matched with (or ‘mapped to’) elements of \(B\).
Unlike Definition functiondefn, Definition relationdefn puts no conditions on the process which maps elements of \(A\) to elements of \(B\). This means that while all functions are relations, not all relations need be functions. For example, consider the mappings \(f\) and \(g\) below from Section FunctionsandtheirRepresentations.
Both \(f\) and \(g\) are relations. More specifically, \(f\) is a function from \(N\) to \(T\) while \(g\) is merely relation from \(T\) to \(N\). As with functions, we may describe general relations in a variety of different ways: verbally, as mapping diagrams, or a set of ordered pairs. For example, just as we may describe the function \(f\) above as
we may represent \(g\) as
Note here the grammar ‘\(g\) is a relation from \(T\) to \(N\)’ is evidenced by the elements of \(T\) being listed first in the ordered pairs (i.e., the abscissae) and the elements of \(N\) being listed second (i.e., the ordinates.)
Unlike functions, we do not use function notation when describing the input/output relationship for general relations. For example, we may write ‘\(f(\text {White Paw}) = \text {cat}\)’ since \(f\) maps the input ‘White Paw’ to only one output, ‘cat.’ However, \(g(\text {cat})\) is ambiguous since it could mean ‘White Paw’ or ‘Cooper.’
As with functions, our focus in this course will rest with relations of real numbers. Consider the relation \(R\) described as follows: \(R = \{ (-1,3), (0,-3), (4,-2), (4,1) \}\). Below is a mapping diagram of \(R\).
However, since \(R\) relates real numbers, we can also create the graph of \(R\) in the same way we graphed functions - by interpreting the ordered pairs which comprise \(R\) as points in the plane. Since we have no context, we use the default labels ‘\(x\)’ for the horizontal axis and ‘\(y\)’ for the vertical axis.
Our next example focuses on using relations to describe sets of points in the plane and vice-versa.
Graph the following relations.
Find a roster or set-builder description for each of the relations below.
\(~\)
\(~\)
\(~\)
\(~\)
The relation \(S\) is described using set-builder notation. To generate the ordered pairs which belong to \(S\), we substitute the given values of \(k\), \(k = 0, \pm 1, \pm 2\), into the formula \(\left (k, 2^{k}\right )\).
Starting with \(k=0\), we get \(\left (0, 2^{0} \right ) = (0,1)\). For \(k = 1\), we get \(\left (1, 2^{1} \right ) = (1,2)\), and for \(k = -1\), we get \(\left (-1, 2^{-1} \right ) = \left (-1,\frac {1}{2} \right )\). Continuing, we get \(\left (2, 2^{2} \right ) = (2,4)\) for \(k = 2\) and, finally \(\left (-2, 2^{-2} \right ) = \left (-2,\frac {1}{4} \right )\) for \(k = -2\). Hence, a roster description of \(S\) is \(S = \{ \left (-2,\frac {1}{4} \right ), \left (-1,\frac {1}{2} \right ), \left (0,1 \right ), \left (1,2 \right ), \left (2,4 \right )\}\).
When we graph \(S\), we label the horizontal axis as the \(k\)-axis, since ‘\(k\)’ was the variable chosen used to generate the ordered pairs and keep the default label ‘\(y\)’ for the vertical axis. The graph of \(S\) is below.
To graph the relation \(P = \{ \left (j, j^2\right ) \, | \, \text {$j$ is an integer} \}\), we proceed as above when we graphed the relation \(S\). Here, \(j\) is restricted to being an integer, which means \(j = 0\), \(\pm 1\), \(\pm 2\), etc.
Plugging in these sample values for \(j\), we obtain the ordered pairs \((0,0)\), \((1, 1)\), \((-1,1)\), \((2,4)\), \((-2,4)\), etc. Since the variable \(j\) takes on only integer values, we could write \(P\) using the roster notation: \(P = \{ (0,0), (\pm 1, 1), (\pm 2, 4), \dots \}\).
We plot a few of these points and use some periods of ellipsis to indicate the complete graph contains additional points not in the current field of view. Our graph of the relation \(P\) is below.
Next, we come to the relation \(V\), described, once again, using set-builder notation. In this case, \(V\) consists of all ordered pairs of the form \((3,y)\) where \(y\) is free to be whatever real number we like, without any restriction. For example, \((3,0)\), \((3,-1)\), and \((3,117)\) all belong to \(V\) as do \(\left (3, \frac {1}{2}\right )\), \((3,-1.0342)\), \((3, \sqrt {2})\), etc.
After plotting some sample points, becomes apparent that the ordered pairs which belong to \(V\) correspond to points which lie on the vertical line \(x = 3\), and vice-versa. That is, every point on the line \(x=3\) has coordinates which correspond to an ordered pair belonging to \(V\). The graph of \(V\) is below.
In the relation \(R = \{ (x,y) \, | \, 1 < y \leq 3 \}\), we see \(y\) is restricted by the inequality \(1 < y \leq 3\), but \(x\) is free to be whatever it likes.
Since \(x\) is unrestricted, this means whatever the graph of \(R\) is, it will extend indefinitely off to the right and left. The restriction \(y > 1\) means all points on the graph of \(R\) have a \(y\)-coordinate larger than one, so they are above the horizontal line \(y =1\). The restriction \(y \leq 3\), on the other hand, means all the points on the graph of \(R\) have a \(y\)-coordinate less than or equal to \(3\), meaning they are either on or below the horizontal line \(y = 3\).
In other words, the graph of \(R\) is the region in the plane between \(y=1\) and \(y=3\), including \(y=3\) but not \(y = 1\). We signify this by shading the region between these two horizontal lines.
How do we communicate \(y=1\) is not part of the graph? One way is to visualize putting ‘holes’ all along the line \(y=1\) to indicate this is not part of the graph. In practice, however, this looks cluttered and could be confusing. Instead, we ‘dash’ the line \(y = 1\) as seen below.
Since \(A\) consists of finitely many points, we can describe \(A\) using the roster method:
The graph of \(Q\) appears to be the graph of the function \(s = f(t) = t^2\). Again, as the graph consists of infinitely many points, we will use set-builder notation to describe \(Q\) out of necessity.
There are a couple of different ways to do this. Taking a cue from the relation \(P\) above, we could write \(Q = \{ (t, t^2) \, | \, \text {$t$ is a real number} \}\). Alternatively, we could introduce the dependent variable, \(s\) into the description by writing \(Q = \{ (t, s) \, | \, s = t^2 \}\) where here the assumption is \(t\) takes in all real number values.
As with functions, we can describe relations algebraically using equations. For example, the equation \(v^2+w^3 = 1\) relates two variables \(v\) and \(w\) each of which represent real numbers. More formally, we can express this sentiment by defining the relation \(R = \{ (v,w) \, | \, v^2+w^3 = 1\}\). An ordered pair \((v,w) \in R\) means \(v\) and \(w\) are related by the equation \(v^2+w^3 = 1\); that is, the pair \((v,w)\) satisfy the equation.
For example, to show \((3,-2) \in R\), we check that when we substitute \(v=3\) and \(w=-2\), the equation \(v^2+w^3 = 1\) is true. Sure enough, \((3)^2+(-2)^3 = 9 - 8 = 1\). Hence, \(R\) maps \(3\) to \(-2\). Note, however, that \((-2,3) \notin R\) since \((-2)^2+(3)^3 = -8+27 \neq 1\) which means \(R\) does not map \(-2\) to \(3\).
When asked to ‘graph the equation’ \(v^2+w^3 = 1\), we really have two options. We could graph the relation \(R\) above. In this case, we would be graphing \(v^2+w^3 = 1\) on the \(vw\)-plane. Alternatively, we could define \(S = \{ (w,v) \, | \, v^2+w^3 = 1 \}\) and graph \(S\). This is equivalent to graphing \(v^2+w^3 = 1\) on the \(wv\)-plane. We do both in our next example.
Graphing in the \(vw\)-plane: We begin by finding the axis intercepts of the graph. To obtain a point on the \(v\)-axis, we require \(w = 0\). To see if we have any \(v\)-intercepts on the graph of the equation \(v^2+w^3 = 1\), we substitute \(w=0\) into the equation and solve for \(v\): \(v^2 + (0)^3 = 1\). We get \(v^2 = 1\) or \(v = \pm 1\) so our two \(v\)-intercepts, as described in the \(vw\)-plane, are \((1,0)\) and \((-1,0)\).
Likewise, to find \(w\)-intercepts of the graph, we substitute \(v = 0\) into the equation \(v^2+w^3 = 1\) and get \(w^3 = 1\) or \(w = 1\). Hence, he have only one \(w\)-intercept, \((0,1)\).
One way to efficiently produce additional points is to solve the equation \(v^2+w^3 = 1\) for one of the variables, say \(w\), in terms of the other, \(v\). In this way, we are treating \(w\) as the dependent variable and \(v\) as the independent variable. From \(v^2 + w^3 = 1\), we get \(w^3 = 1 - v^2\) or \(w = \sqrt [3]{1-v^2}\). We can now create a table of values by selecting values for \(v\) and determining the corresponding values for \(w\) to give us points to plot, \((v, w)\).
\(\begin{array}{|r||c|c|} \hline v & w & (v,w) \\ \hline -3 & -2 & (-3, -2) \\ \hline -2 & -\sqrt [3]{3}& (-2,-\sqrt [3]{3}) \\ \hline -1 & 0 & ( -1, 0) \\ \hline 0 & 1& ( 0 , 1) \\ \hline 1 & 0 & ( 1, 0) \\ \hline 2 & -\sqrt [3]{3}& (2,-\sqrt [3]{3}) \\ \hline 3 & -2 & (3, -2) \\ \hline \end{array}\)
By plotting additional points (or getting help from a graphing utility), we produce the graph below.
Graphing in the \(wv\)-plane: To graph \(v^2+w^3 = 1\) in the \(wv\)-plane, all we need to do is reverse the coordinates of the ordered pairs we obtained for our graph in the \(vw\)-plane. In particular, the \(v\)-intercepts are written \((0,1)\) and \((0,-1)\) and the \(w\)-intercept is written \((1,0)\).
\(\begin{array}{|r||c|c|} \hline v & w & (w,v) \\ \hline -3 & -2 & (-2,-3) \\ \hline -2 & -\sqrt [3]{3}& (-\sqrt [3]{3}, -2) \\ \hline -1 & 0 & ( 0,-1) \\ \hline 0 & 1& ( 1 ,0) \\ \hline 1 & 0 & ( 0, 1) \\ \hline 2 & -\sqrt [3]{3}& (-\sqrt [3]{3},2) \\ \hline 3 & -2 & (-2,3) \\ \hline \end{array}\)
Using this table, we produce the graph below.
Note that regardless of which geometric depiction we choose for \(v^2+w^3 = 1\), the graph appears to be symmetric about the \(w\)-axis. To prove this is the case, consider a generic point \((v,w)\) on the graph of \(v^2+w^3 = 1\) in the \(vw\)-plane.
To show the point symmetric about the \(w\)-axis, \((-v,w)\), is also on the graph of \(v^2+w^3 = 1\), we need to show that the coordinates of the point \((-v,w)\) satisfy the equation \(v^2+w^3 = 1\). That is, we need to show \((-v)^2+w^3 = 1\). Since \((-v)^2+w^3 = v^2 + w^3\), and we know by assumption \(v^2 + w^3 = 1\), we get \((-v)^2+w^3 = v^2+w^3 = 1\), proving \((-v,w)\) is also on the graph of the equation.
The key reason our proof above is successful is that algebraically, the equation \(v^2+w^3 = 1\) is unchanged if \(v\) is replaced with \(-v\). Geometrically, this means the graph is the same if it undergoes a reflection across the \(w\)-axis. We generalize this reasoning in the following result. Note that, as usual, we default to the more common \(x\) and \(y\)-axis labels.
To test the graph of an equation in the \(xy\)-plane for symmetry:
Parts of Theorem symmetrytestequations should look familiar from our work with even and odd functions. Indeed if a function \(f\) is even, \(f(-x) = f(x)\). Hence, the equation \(y=f(-x)\) reduces to the equation \(y=f(x)\), so the graph of \(f\) is symmetric about the \(y\)-axis.
Likewise if \(f\) is odd, then \(f(-x) = -f(x)\). In this case, the equation \(-y = f(-x)\) reduces to \(-y = -f(x)\), or \(y = f(x)\), proving the graph is symmetric about the origin.
When it comes to symmetry about the \(x\)-axis, most of the time this indicates a violation of the Vertical Line Test, which is why we haven’t discussed that particular kind of symmetry until now.
We put Theorem symmetrytestequations to good use in the following example.
We begin graphing \(x^2-y^2 = 4\) by checking for axis intercepts. To check for \(x\)-intercepts, we set \(y=0\) and solve \(x^2 - (0)^2 = 4\). We get \(x = \pm 2\) and obtain two \(x\)-intercepts \((-2,0)\) and \((2,0)\).
When looking for \(y\)-intercepts, we set \(x=0\) and get \((0)^2 - y^2 = 4\) or \(y^2 = -4\). Since this equation has no real number solutions, we have no \(y\)-intercepts.
In order to produce more points on the graph, we solve \(x^2-y^2 = 4\) for \(y\) and obtain \(y = \pm \sqrt {x^2-4}\). Since we know \(x^2-4 \geq 0\) in order to produce real number results for \(y\), we restrict our attention to \(x \leq -2\) and \(x \geq 2\). Doing so produces the table below.
\(\begin{array}{|r||c|c|} \hline x & y & (x,y) \\ \hline -4 & \pm 2\sqrt {3} & (-4, \pm 2\sqrt {3}) \\ \hline -3 & \pm \sqrt {5} & (-3,\pm \sqrt {5}) \\ \hline -2 & 0 & ( -2, 0) \\ \hline 2 & 0 & ( 2, 0) \\ \hline 3 & \pm \sqrt {5} & (3,\pm \sqrt {5}) \\ \hline 4 & \pm 2\sqrt {3} & (4, \pm 2\sqrt {3}) \\ \hline \end{array}\)
Using these points as a guide, we produce the graph below.
The graph certainly appears to be symmetric about both axes and the origin. To prove this, we note that the equation \(x^2-(-y)^2 = 4\) quickly reduces to \(x^2-y^2 = 4\), proving the graph is symmetric about the \(x\)-axis. Likewise, the equations \((-x)^2-y^2 = 4\) and \((-x)^2-(-y)^2 = 4\) also reduce to \(x^2-y^2 = 4\), proving the graph is, indeed, symmetric about the \(y\)-axis and origin, respectively.
To determine if there are any \(x\)-intercepts on the graph of \((x-1)^2+4y^2 = 16\), we set \(y=0\) and solve \((x-1)^2+4(0)^2 = 16\). This reduces to \((x-1)^2 = 16\) which gives \(x = -3\) and \(x=5\). Hence, we have two \(x\)-intercepts, \((-3,0)\) and \((5,0)\).
Looking for \(y\)-intercepts, we set \(x=0\) and solve \((0-1)^2+4y^2 = 16\) or \(1 + 4y^2 = 16\). This gives \(y^2 = \frac {15}{4}\) so \(y= \pm \frac {\sqrt {15}}{2}\). Hence, we have two \(y\)-intercepts: \(\left (0, \pm \frac {\sqrt {15}}{2} \right )\).
In this case, it is slightly easier to solve for \(x\) in terms of \(y\). From \((x-1)^2+4y^2 = 16\) we get \((x-1)^2 = 16-4y^2\) which gives \(x = 1 \pm \sqrt {16-4y^2}\).
Since we know \(16-4y^2 \geq 0\) to produce real number results for \(x\), we require \(-2 \leq y \leq 2\). Selecting values in that range produces the table below.
\(\begin{array}{|r||c|c|} \hline y & x & (x,y) \\ \hline -2 & 1 & (1, -2) \\ \hline -1 & 1 \pm 2\sqrt {3} & (1 \pm 2\sqrt {3},-1) \\ \hline 0 & 1 \pm 4 = -3, 5 & (-3, 0), (5,0) \\ \hline 1 & 1 \pm 2 \sqrt {3} & (1 \pm 2\sqrt {3}, 1) \\ \hline 2 & 1 & (1, 2) \\ \hline \end{array}\)
Plotting these points, along with the \(y\)-intercepts produces the following graph.
The graph certainly appears to be symmetric about the \(x\)-axis. To check, we substitute \((-y)\) in for \(y\) and get \((x-1)^2+4(-y)^2 = 16\) which reduces to \((x-1)^2+4y^2 = 16\).
Owing to the placement of the \(x\)-intercepts, \((-3,0)\) and \((5,0)\), the graph is most certainly not symmetric about the \(y\)-axis nor about the origin.
Looking at the graphs of the equations \(x^2-y^2 = 4\) and \((x-1)^2+4y^2 = 16\) in Example graphssymmex, it is evident neither of these equations represents \(y\) as a function of \(x\) nor \(x\) as a function of \(y\). (Do you see why?)
With the concept of ‘function’ being touted in the opening remarks of Section FunctionsandtheirRepresentations as being one of the ‘universal tools’ with which scientists and engineers solve a wide variety of problems, you may well wonder if we can’t somehow apply what we know about functions to these sorts of relations. It turns out that while, taken all at once, these equations do not describe functions, taken in parts, they do.
For example, consider the equation \(x^2 - y^2 = 4\) whose graph is reproduced below.
Solving for \(y\), we obtained \(y = \pm \sqrt {x^2-4}\). Defining \(f_{1}(x) = \sqrt {x^2-4}\), we get a functional description for the ‘upper half’ of this graph.
Likewise, setting \(f_{2}(x) = -\sqrt {x^2-4}\), we get a functional description for the ‘lower half’ of the curve.
If, for instance, we wanted to analyze this curve near \((3, -\sqrt {5})\), we could use the function \(f_{2}\) and all the associated function tools to do just that.
In this way we say the equation \(x^2 - y^2 = 4\) implicitly describes \(y\) as a function of \(x\) meaning that given any point \((x_{0},y_{0})\) on \(x^2 - y^2 = 4\), we can find a function \(f\) defined (on an interval) containing \(x_{0}\) so that \(f(x_{0}) = y_{0}\) and whose graph lies on the curve \(x^2 - y^2 = 4\).
Note that in this case, we are fortunate to have two explicit formulas for functions that cover the entire curve, namely \(f_{1}(x) = \sqrt {x^2-4}\) and \(f_{2}(x) = -\sqrt {x^2-4}\). We explore this concept further in the next example.
Since the maximum number of times a vertical line intersects the graph of \(R\) is three, it stands to reason we need to resolve the graph of \(R\) into at least three pieces.
One strategy is to begin at the far left and begin tracing the graph until it begins to ‘double back’ and repeat \(y\)-coordinates. Doing so we get three functions (represented by the blue segments) below.
Not all equations implicitly define \(y\) as a function of \(x\). For a quick example, take \(x = 117\) or any other vertical line. Even if an equation implicitly describes \(y\) as a function of \(x\) near one point, there’s no guarantee we can find an explicit algebraic representation for that function.
While the theory of implicit functions is well beyond the scope of this text, we will nevertheless see this concept come into play in Section InverseFunctions. For our purposes, it suffices to know that just because a relation is not a function doesn’t mean we cannot find a way to apply what we know about functions to analyze the relation locally through a functional lens.