Ordered Pairs of Real Numbers, the $xy$-Plane, Functions
The set whose members consist of just the two elements [math]a[/math] and [math]b[/math]
is denoted [math]\{ a, b \}[/math].
The notation is not perfect because it suggests that the members [math]a[/math] and [math]b[/math] have been ordered:
[math]a[/math] is written first and [math]b[/math] second. Actually no ordering is present because [math]\{ a, b \} = \{ b, a \}[/math]. Note also that if [math]a = b[/math], then [math]\{ a, b \} = \{ b, a \} = \{ a \}[/math]. It can happen, however, that the ingredient of order is essential. We therefore introduce the notion of an ordered pair [math](a, b)[/math] whose first member is [math]a[/math] and whose second member is [math]b[/math]. The characteristic property of ordered pairs is
In particular [math](a, b) = (b, a)[/math] if and only if [math]a = b[/math]. In Section \secref{1.1} we saw that the set [math]\R[/math] of all real numbers can be thought of as a straight line. We shall now show that every ordered pair [math](a, b)[/math] of real numbers [math]a[/math] and [math]b[/math] can be identified with a point in a plane. This brings up a notational problem: Is [math](5, 7)[/math] the ordered pair of real numbers or is it the open interval consisting of all [math]x[/math] such that [math]5 \lt x \lt 7[/math]? The answer is that it is impossible to tell out of context---just as it is impossible to tell whether the word “well” is the noun or the adverb. Consider two distinct real number lines drawn in a plane so that they intersect at the number [math]0[/math] on each line. One of the lines is traditionally drawn horizontal and called the [math]x[/math]-axis, and the other is made perpendicular to it and called the [math]y[/math]-axis. The orientation is chosen so that the number [math]1[/math] on the [math]x[/math]-axis lies to the right of [math]0[/math], and the number [math]1[/math] on the [math]y[/math]-axis is above [math]0[/math]. It is also customary to use the same scale of distances on both axes. For every ordered pair [math](a, b)[/math] of real numbers, let [math]L_a[/math] be the line parallel to the [math]y[/math]-axis that cuts the [math]x[/math]-axis at [math]a[/math], and let [math]M_b[/math] be the line parallel to the [math]x[/math]-axis that cuts the [math]y[/math]-axis at [math]b[/math]. We assign the point of intersection of [math]L_a[/math] and [math]M_b[/math] to the ordered pair [math](a, b)[/math] (see Figure). The numbers [math]a[/math] and [math]b[/math] are called the coordinates of the point. [math]a[/math] is the [math]x[/math]-coordinate (or abscissa) and [math]b[/math] is the [math]y[/math]-coordinate (or ordinate).
If the pairs [math](a, b)[/math] and [math](c, d)[/math] are not equal, then the points in the plane assigned to them will be different. In addition, every point in the plane has a number pair assigned to it: Starting with a point, draw the two lines through it which are parallel to the [math]x[/math]-axis and the [math]y[/math]-axis. One line cuts the [math]x[/math]-axis at a number [math]a[/math], and the other cuts the [math]y[/math]-axis at [math]b[/math]. The ordered pair [math](a, b)[/math] has the original point assigned to it. It follows that our assignment
is a one-to-one correspondence between the set of all ordered pairs of real numbers, which we denote by [math]\R^2[/math], and the set of all points of the plane. It is convenient simply to identify [math]\R^2[/math] with the plane together with the two axes.
Example
Plot the points
[math](1, 2), (-2, 3), (0, 1), (4, 0), (-2, -3)[/math], and [math](2, -3)[/math]
on the [math]xy[/math]-plane
(see Figure).
The usefulness of the idea of an ordered pair is by no means limited to pairs of real numbers. In plane geometry, for example, we may consider the set of all ordered pairs [math](T, p)[/math] in which [math]T[/math] is a triangle and [math]p[/math] is the point of intersection of its medians. In the three-dimensional extension of the [math]xy[/math]-plane, the set [math]\R^3[/math] of all ordered triples [math](a, b, c)[/math] of real numbers is identified with the set of all points in three-dimensional space. The definition of an ordered triple can be reduced to that of an ordered pair by defining [math](a, b, c)[/math] to be [math]((a, b), c)[/math].
Let [math]P = (a, b)[/math] and [math]Q = (c, d)[/math] be arbitrary elements in the set [math]\R^2[/math] of all ordered pairs of real numbers. We define the distance between [math]P[/math] and [math]Q[/math] by the formula
[math]\dist(P, Q) \geq 0[/math]; i.e., distance is never negative.
[math]\dist(P, Q) = 0[/math] if and only if [math]P = Q[/math].
[math]\dist(P, Q) = \dist (Q, P)[/math].
Another consequence of (1) is that it is no longer simply a matter of tradition and convenience that we draw the [math]y[/math]-axis perpendicular to the [math]x[/math]-axis. It follows from consideration of the Pythagorean Theorem and its converse (see Figure) that the above definition of distance between elements of [math]\R^2[/math] corresponds with our geometric notion of the distance between points in the Euclidean plane if and only if the two coordinate axes are perpendicular and the scales are the same on both.
Example
Let [math]C[/math] be the subset of the [math]xy[/math]-plane
consisting of all points whose distance from (1,1) is equal to 2.
Thus [math]C[/math] is the circle shown in Figure.
If [math](x, y)[/math] is an arbitrary point in the [math]xy[/math]-plane,
its distance from [math](1,1)[/math]
is equal to
[math]\sqrt{(x - 1)^2 + (y - 1)^2}[/math].
Hence, [math](x, y)[/math] belongs to [math]C[/math]
if and only if
The set of all points [math](x, y)[/math] in the plane that satisfy a given equation is called the graph of the equation. Hence, in the above example, the circle [math]C[/math] is the graph of the equation [math](x - 1)^2 + (y - 1)^2 = 4[/math]. Example
Let [math]L[/math] be the set of all ordered pairs [math](x, y)[/math] such that [math]y = 2x - 3[/math]. For each real number [math]x[/math], there is one and only one number [math]y[/math] such that [math](x, y)[/math] belongs to [math]L: y = 2x - 3[/math]. To see what [math]L[/math] looks like, we plot five of its points (see Table). As shown in Figure, all these points lie on a straight line. In Section \secref{1.5} we shall justify the natural conjecture that this straight line is the set [math]L[/math].
[math]x[/math] | [math]y=2x - 3[/math] |
0 | -3 |
1 | -1 |
2 | 1 |
3 | 3 |
Example
The set of all pairs [math](x, y)[/math] such that [math]y^2 = x[/math] is the curve shown in Figure. This curve is a parabola, one of the conic sections, which are studied in greater detail in Chapter Conic Sections. At present we shall be satisfied with plotting a few points and connecting them with a smooth curve (see Table).
[math]y[/math] | [math]x[/math] |
0 | 0 |
[math]\pm1[/math] | 1 |
[math]\pm2[/math] | 4 |
A function [math]f[/math] is any set [math]f[/math] of ordered pairs such that whenever [math](a, b)[/math] and [math](a, c)[/math] belong to [math]f[/math], then [math]b = c[/math]. Note that every subset of the [math]xy[/math]-plane is a set of ordered pairs, but not every subset is a function. In particular, the parabola in Example is not, because it contains both (4, 2) and [math](4, -2)[/math]. On the other hand, the straight line in Example is a function. This condition that a function must never contain two pairs [math](a, b)[/math] and [math](a, c)[/math] with [math]b \neq c[/math] means geometrically that a subset of the [math]xy[/math]-plane is a function if and only if it never intersects a line parallel to the [math]y[/math]-axis in more than one point. Hence it is an easy matter to decide which of the following sets are functions and which are not: (i) The set [math]f[/math] of all pairs [math](x, y)[/math] such that [math]y = x + 1[/math]. (ii) The set [math]g[/math] of all pairs [math](x, y)[/math] such that [math]x^2 + y^2 = 1[/math]. (iii) The set [math]F[/math] of all pairs [math](x, y)[/math] such that [math]y = x^2 + 2x + 2[/math]. (iv) The set [math]h[/math] of all pairs [math](x, y)[/math] such that [math]2x + 3y = 1[/math]. (v) The set [math]G[/math] of all pairs [math](x, y)[/math] such that [math]y = \sqrt {x + 2}[/math]. (vi) The set [math]H[/math] of all pairs [math](x, y)[/math] such that [math]y^4 = x[/math]. The sets [math]f[/math], [math]F[/math], [math]h[/math], and [math]G[/math] are functions, but [math]g[/math] and [math]H[/math] are not. The domain of a function [math]f[/math] is the set of all elements [math]a[/math] for which there is a corresponding [math]b[/math] such that [math](a, b)[/math] belongs to [math]f[/math]. Analogously, the range of [math]f[/math] is the set of all elements [math]b[/math] for which there is an [math]a[/math] such that [math](a, b)[/math] belongs to [math]f[/math]. In (i), the domain of [math]f[/math] is the set [math]\R[/math] of all real numbers and so is the range. On the other hand, in (iii), although the domain of [math]F[/math] is equal to [math]\R[/math], the range is the interval consisting of all real numbers [math]y \geq 1[/math], because we can write [math]x^2 + 2x + 2 = (x + 1)^2 + 1 \geq 1[/math]. If a pair [math](a, b)[/math] belongs to a function [math]f[/math], we call [math]b[/math] the value of [math]f[/math] at [math]a[/math] and write [math]b = f(a)[/math]. Note that the meaning of [math]f(a)[/math] is unambiguous only because the definition of a function forbids having [math](a, b)[/math] and [math](a, c)[/math] both belong to [math]f[/math] if [math]b \neq c[/math]. Therefore the second member of any ordered pair that belongs to [math]f[/math] is determined by the first member.
Example
In (i),
To each element [math]a[/math] in the domain of a function [math]f[/math] there corresponds a value [math]f(a)[/math] in the range. This correspondence between domain and range, which is pictured in Figure,
is the central idea in the definition of a function. Thus the function [math]f[/math] that consists of all ordered pairs [math](x, y)[/math] such that [math]y = x^2[/math] and [math]-1 \leq x \leq 2[/math] is interpreted as the rule of correspondence which assigns to each number in the interval [math][-1, 2][/math] its square. We can describe [math]f[/math] completely and simply by writing
Functions [math]f[/math] and [math]g[/math] are equal if and only if they have the same domain [math]D[/math] and [math]f(x) = g(x)[/math] for every element [math]x[/math] in [math]D[/math].
Thus any complete description of a function must include a description of its domain. Sometimes this information is in fact omitted. We shall adopt the convention that if no explicit description of the domain of a function is given, then its domain is assumed to be the largest set of real numbers that makes sense. For example, the domain of the function [math]H[/math] defined by
One writes a number [math]x[/math] on the input tape and pushes the button. If [math]x[/math] is one of the inputs which the machine will accept, i.e., if [math]x[/math] is in the domain of [math]f[/math], the machine whirs contentedly and prints an output, which we denote [math]f(x)[/math], on the output tape. If [math]x[/math] is not in the prescribed domain, either nothing happens or a red light flashes. We have already seen that one of the best ways of describing a subset of [math]\R^2[/math] is to draw a picture of it. If this subset happens to be a function, we call the picture the graph of the function. More specifically, if a function [math]f[/math] is a subset of [math]\R^2[/math], its graph is the set of all points in the plane that correspond to ordered pairs of the form [math](x, f(x))[/math]. Note that the graph of [math]f[/math] depends on the correspondence between ordered pairs and points; i.e., it depends on the choice of axes. To illustrate this, in Figure
we have drawn the graph of the function [math]f[/math] defined by [math]f(x) = x^3[/math] for two sets of axes. For a single choice of axes, we simply identify ordered pairs and points, and under this identification a function and its graph become the same thing. Most of the functions encountered in an introduction to calculus are defined by means of a single equation; e.g., [math]h(x) = x^3 + 3[/math]. It is a bad mistake, however, to assume that this is always true. The function [math]F[/math] given by
requires two equations for its definition. The graph of [math]F[/math] is shown in Figure.
Another function, which is so wild that it is impossible to draw its graph, is the following:
General references
Doyle, Peter G. (2008). "Crowell and Slesnick's Calculus with Analytic Geometry" (PDF). Retrieved Oct 29, 2024.