0.5 The Rectangular Coordinate Systems and Graphs

Figure 0.5.1:
Tracie set out from Elmhurst, IL, to go to Franklin Park. On the way, she made a few stops to do errands. Each stop is indicated by a red dot in Figure 0.5.1. Laying a rectangular coordinate grid over the map, we can see that each stop aligns with an intersection of grid lines. In this section, we will learn how to use grid lines to describe locations and changes in locations.
0.5.1 Plotting Ordered Pairs in the Cartesian Coordinate System
An old story describes how seventeenth-century philosopher/mathematician René Descartes, while sick in bed, invented the system that has become the foundation of algebra. According to the story, Descartes was staring at a fly crawling on the ceiling when he realized that he could describe the fly’s location in relation to the perpendicular lines formed by the adjacent walls of his room. He viewed the perpendicular lines as horizontal and vertical axes. Further, by dividing each axis into equal unit lengths, Descartes saw that it was possible to locate any object in a two-dimensional plane using just two numbers—the displacement from the horizontal axis and the displacement from the vertical axis.
While there is evidence that ideas similar to Descartes’ grid system existed centuries earlier, it was Descartes who introduced the components that comprise the Cartesian coordinate system, a grid system having perpendicular axes. Descartes named the horizontal axis the \(\mathbf{x}\)-axis and the vertical axis the \(\mathbf{y}\)-axis.
The Cartesian coordinate system, also called the rectangular coordinate system, is based on a two-dimensional plane consisting of the \(x\)-axis and the \(y\)-axis. Perpendicular to each other, the axes divide the plane into four sections. Each section is called a quadrant; the quadrants are numbered counterclockwise as shown in Figure 0.5.2

Figure 0.5.2:
The center of the plane is the point at which the two axes cross. It is known as the origin, or point \((0,0).\) From the origin, each axis is further divided into equal units: increasing, positive numbers to the right on the \(x\)-axis and up the \(y\)-axis; decreasing, negative numbers to the left on the \(x\)-axis and down the \(y\)-axis. The axes extend to positive and negative infinity as shown by the arrowheads in Figure 0.5.3.

Figure 0.5.3:
Each point in the plane is identified by its \(\mathbf{x}\)-coordinate, or horizontal displacement from the origin, and its \(\mathbf{y}\)-coordinate, or vertical displacement from the origin. Together, we write them as an ordered pair indicating the combined distance from the origin in the form \(\left( {x,y} \right).\) An ordered pair is also known as a coordinate pair because it consists of \(x\)- and \(y\)-coordinates. For example, we can represent the point \((3,-1)\) in the plane by moving three units to the right of the origin in the horizontal direction, and one unit down in the vertical direction. See Figure 0.5.4.

Figure 0.5.4:
When dividing the axes into equally spaced increments, note that the \(x\)-axis may be considered separately from the \(y\)-axis. In other words, while the \(x\)-axis may be divided and labeled according to consecutive integers, the \(y\)-axis may be divided and labeled by increments of 2, or 10, or 100. In fact, the axes may represent other units, such as years against the balance in a savings account, or quantity against cost, and so on. Consider the rectangular coordinate system primarily as a method for showing the relationship between two quantities.
0.5.2 Graphing Equations by Plotting Points
We can plot a set of points to represent an equation. When such an equation contains both an x variable and a y variable, it is called an equation in two variables. Its graph is called a graph in two variables. Any graph on a two-dimensional plane is a graph in two variables.
Suppose we want to graph the equation \(y = 2x - 1.\) We can begin by substituting a value for \(x\) into the equation and determining the resulting value of \(y\). Each pair of \(x\)- and \(y\)-values is an ordered pair that can be plotted. Table 0.5.7 lists values of \(x\) from –3 to 3 and the resulting values for \(y\).
| \(x\) | \(y = 2x - 1\) | \(\left( {x,y} \right)\) |
| \(-3\) | \(y = 2(-3) - 1 = -7\) | \(\left( {-3,-7} \right)\) |
| \(-2\) | \(y = 2(-2) - 1 = -5\) | \(\left( {-2,-5} \right)\) |
| \(-1\) | \(y = 2(-1) - 1 = -3\) | \(\left( {-1,-3} \right)\) |
| \(0\) | \(y = 2(0) - 1 = -1\) | \(\left( {0,-1} \right)\) |
| \(1\) | \(y = 2(1) - 1 = 1\) | \(\left( {1,1} \right)\) | |
| \(2\) | \(y = 2(2) - 1 = 3\) | \(\left( {2,3} \right)\) | |
| \(3\) | \(y = 2(3) - 1 = 5\) | \(\left( {3,5} \right)\) | |
Table 0.5.7:
We can plot the points in the table. The points for this particular equation form a line, so we can connect them. See Figure 0.5.8. This is not true for all equations.

Figure 0.5.8:
Note that the \(x\)-values chosen are arbitrary, regardless of the type of equation we are graphing. Of course, some situations may require particular values of \(x\) to be plotted in order to see a particular result. Otherwise, it is logical to choose values that can be calculated easily, and it is always a good idea to choose values that are both negative and positive. There is no rule dictating how many points to plot, although we need at least two to graph a line. Keep in mind, however, that the more points we plot, the more accurately we can sketch the graph.
0.5.3 Graphing Equations with a Graphing Utility
Most graphing calculators require similar techniques to graph an equation. The equations sometimes have to be manipulated so they are written in the style \(y = \operatorname{\_\_\_\_\_}.\) The TI-84 Plus, and many other calculator makes and models, have a mode function, which allows the window (the screen for viewing the graph) to be altered so the pertinent parts of a graph can be seen.
For example, the equation \(y = 2x - 20\) has been entered in the TI-84 Plus shown in Figure 0.5.12a. In Figure 0.5.12b, the resulting graph is shown. Notice that we cannot see on the screen where the graph crosses the axes. The standard window screen on the TI-84 Plus shows \(-10 \leq x \leq 10,\) and \(-10 \leq y \leq 10.\) See Figure 0.5.12c.

Figure 0.5.12: a. Enter the equation. b. This is the graph in the original window. c. These are the original settings.
By changing the window to show more of the positive \(x\)-axis and more of the negative \(y\)-axis, we have a much better view of the graph and the \(x\)- and \(y\)-intercepts. See Figure 0.5.13a and Figure 0.5.13b.

Figure 0.5.13: a. This screen shows the new window settings. b. We can clearly view the intercepts in the new window.
0.5.4 Finding \(x\)-intercepts and \(y\)-intercepts
The intercepts of a graph are points at which the graph crosses the axes. The \(\mathbf{x}\)-intercept is the point at which the graph crosses the \(x\)-axis. At this point, the \(y\)-coordinate is zero. The \(\mathbf{y}\)-intercept is the point at which the graph crosses the \(y\)-axis. At this point, the \(x\)-coordinate is zero.
To determine the \(x\)-intercept, we set y equal to zero and solve for \(x\). Similarly, to determine the \(y\)-intercept, we set x equal to zero and solve for \(y\). For example, lets find the intercepts of the equation \(y = 3x - 1.\)
To find the \(x\)-intercept, set \(y = 0.\)
\[\begin{array}{ll} {\mspace{9mu} y = 3x - 1} & \\ {\mspace{9mu} 0 = 3x - 1} & \\ {\mspace{9mu} 1 = 3x} & \\ {\frac{1}{3} = x} & \\ \left( {\frac{1}{3},0} \right) & {x\text{−intercept}} \end{array}\]
To find the \(y\)-intercept, set \(x = 0.\)
\[\begin{array}{l} {y = 3x - 1} \\ {y = 3(0) - 1} \\ {y = -1} \\ {(0,-1)\mspace{54mu} y\text{−intercept}} \end{array}\]
We can confirm that our results make sense by observing a graph of the equation as in Figure 0.5.15. Notice that the graph crosses the axes where we predicted it would.

Figure 0.5.15:
0.5.5 Using the Distance Formula
Derived from the Pythagorean Theorem, the distance formula is used to find the distance between two points in the plane. The Pythagorean Theorem, \(a^{2} + b^{2} = c^{2},\) is based on a right triangle where a and \(b\) are the lengths of the legs adjacent to the right angle, and \(c\) is the length of the hypotenuse. See Figure 0.5.19.

Figure 0.5.19:
The relationship of sides \(\left| {x_{2} - x_{1}} \right|\) and \(\left| {y_{2} - y_{1}} \right|\) to side \(d\) is the same as that of sides a and b to side \(c\). We use the absolute value symbol to indicate that the length is a positive number because the absolute value of any number is positive. (For example, \(|-3| = 3.\) ) The symbols \(\left| {x_{2} - x_{1}} \right|\) and \(\left| {y_{2} - y_{1}} \right|\) indicate that the lengths of the sides of the triangle are positive. To find the length \(c\), take the square root of both sides of the Pythagorean Theorem.
\[c^{2} = a^{2} + b^{2}\rightarrow c = \sqrt{a^{2} + b^{2}}\]
It follows that the distance formula is given as
\[d^{2} = {(x_{2} - x_{1})}^{2} + {(y_{2} - y_{1})}^{2}\rightarrow d = \sqrt{{(x_{2} - x_{1})}^{2} + {(y_{2} - y_{1})}^{2}}\]
We do not have to use the absolute value symbols in this definition because any number squared is positive.
0.5.6 Using the Midpoint Formula
When the endpoints of a line segment are known, we can find the point midway between them. This point is known as the midpoint and the formula is known as the midpoint formula. Given the endpoints of a line segment, \(\left( {x_{1},y_{1}} \right)\) and \(\left( {x_{2},y_{2}} \right),\) the midpoint formula states how to find the coordinates of the midpoint \(M.\)
\[M = \left( {\frac{x_{1} + x_{2}}{2},\frac{y_{1} + y_{2}}{2}} \right)\]
A graphical view of a midpoint is shown in Figure 0.5.24. Notice that the line segments on either side of the midpoint are congruent.

Figure 0.5.24:







