College Algebra 2e

# 2.1The Rectangular Coordinate Systems and Graphs

College Algebra 2e2.1 The Rectangular Coordinate Systems and Graphs

### Learning Objectives

In this section, you will:

• Plot ordered pairs in a Cartesian coordinate system.
• Graph equations by plotting points.
• Graph equations with a graphing utility.
• Find x-intercepts and y-intercepts.
• Use the distance formula.
• Use the midpoint formula.
Figure 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 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.

### 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 x-axis and the vertical axis the 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 2

Figure 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). (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 3.

Figure 3

Each point in the plane is identified by its x-coordinate, or horizontal displacement from the origin, and its 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 $( x,y ). ( x,y ).$ 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) (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 4.

Figure 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.

### Cartesian Coordinate System

A two-dimensional plane where the

• x-axis is the horizontal axis
• y-axis is the vertical axis

A point in the plane is defined as an ordered pair, $( x,y ), ( x,y ),$ such that x is determined by its horizontal distance from the origin and y is determined by its vertical distance from the origin.

### Example 1

#### Plotting Points in a Rectangular Coordinate System

Plot the points $( −2,4 ), ( −2,4 ),$ $( 3,3 ), ( 3,3 ),$ and $( 0,−3 ) ( 0,−3 )$ in the plane.

#### Analysis

Note that when either coordinate is zero, the point must be on an axis. If the x-coordinate is zero, the point is on the y-axis. If the y-coordinate is zero, the point is on the x-axis.

### 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. 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 1 lists values of x from –3 to 3 and the resulting values for y.

 $x x$ $y=2x−1 y=2x−1$ $( x,y ) ( x,y )$ $−3 −3$ $y=2(−3)−1=−7 y=2(−3)−1=−7$ $( −3,−7 ) ( −3,−7 )$ $−2 −2$ $y=2(−2)−1=−5 y=2(−2)−1=−5$ $( −2,−5 ) ( −2,−5 )$ $−1 −1$ $y=2(−1)−1=−3 y=2(−1)−1=−3$ $( −1,−3 ) ( −1,−3 )$ $0 0$ $y=2(0)−1=−1 y=2(0)−1=−1$ $( 0,−1 ) ( 0,−1 )$ $1 1$ $y=2(1)−1=1 y=2(1)−1=1$ $( 1,1 ) ( 1,1 )$ $2 2$ $y=2(2)−1=3 y=2(2)−1=3$ $( 2,3 ) ( 2,3 )$ $3 3$ $y=2(3)−1=5 y=2(3)−1=5$ $( 3,5 ) ( 3,5 )$
Table 1

We can plot the points in the table. The points for this particular equation form a line, so we can connect them. See Figure 6. This is not true for all equations.

Figure 6

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.

### How To

Given an equation, graph by plotting points.

1. Make a table with one column labeled x, a second column labeled with the equation, and a third column listing the resulting ordered pairs.
2. Enter x-values down the first column using positive and negative values. Selecting the x-values in numerical order will make the graphing simpler.
3. Select x-values that will yield y-values with little effort, preferably ones that can be calculated mentally.
4. Plot the ordered pairs.
5. Connect the points if they form a line.

### Example 2

#### Graphing an Equation in Two Variables by Plotting Points

Graph the equation $y=−x+2 y=−x+2$ by plotting points.

### Try It #1

Construct a table and graph the equation by plotting points: $y= 1 2 x+2. y= 1 2 x+2.$

### 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=_____. y=_____.$ 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 y=2x−20$ has been entered in the TI-84 Plus shown in Figure 8a. In Figure 8b, 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≤x≤10, −10≤x≤10,$ and $−10≤y≤10. −10≤y≤10.$ See Figure 8c.

Figure 8 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 9a and Figure 9b.

Figure 9 a. This screen shows the new window settings. b. We can clearly view the intercepts in the new window.

### Example 3

#### Using a Graphing Utility to Graph an Equation

Use a graphing utility to graph the equation: $y=− 2 3 x+ 4 3 . y=− 2 3 x+ 4 3 .$

### Finding x-intercepts and y-intercepts

The intercepts of a graph are points at which the graph crosses the axes. The x-intercept is the point at which the graph crosses the x-axis. At this point, the y-coordinate is zero. The 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. y=3x−1.$

To find the x-intercept, set $y=0. y=0.$

$y=3x−1 0=3x−1 1=3x 1 3 =x ( 1 3 ,0 ) x−intercept y=3x−1 0=3x−1 1=3x 1 3 =x ( 1 3 ,0 ) x−intercept$

To find the y-intercept, set $x=0. x=0.$

$y=3x−1 y=3(0)−1 y=−1 (0,−1)y−intercept y=3x−1 y=3(0)−1 y=−1 (0,−1)y−intercept$

We can confirm that our results make sense by observing a graph of the equation as in Figure 11. Notice that the graph crosses the axes where we predicted it would.

Figure 11

### Given an equation, find the intercepts.

• Find the x-intercept by setting $y=0 y=0$ and solving for $x. x.$
• Find the y-intercept by setting $x=0 x=0$ and solving for $y. y.$

### Example 4

#### Finding the Intercepts of the Given Equation

Find the intercepts of the equation $y=−3x−4. y=−3x−4.$ Then sketch the graph using only the intercepts.

### Try It #2

Find the intercepts of the equation and sketch the graph: $y=− 3 4 x+3. y=− 3 4 x+3.$

### 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 , 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 13.

Figure 13

The relationship of sides $| x 2 − x 1 | | x 2 − x 1 |$ and $| y 2 − y 1 | | y 2 − y 1 |$ 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. | −3 |=3.$ ) The symbols $| x 2 − x 1 | | x 2 − x 1 |$ and $| y 2 − y 1 | | y 2 − y 1 |$ 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 →c= a 2 + b 2 c 2 = a 2 + b 2 →c= 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 →d= ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 d 2 = ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 →d= ( 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.

### The Distance Formula

Given endpoints $( x 1 , y 1 ) ( x 1 , y 1 )$ and $( x 2 , y 2 ), ( x 2 , y 2 ),$ the distance between two points is given by

$d= ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 d= ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2$

### Example 5

#### Finding the Distance between Two Points

Find the distance between the points $( −3,−1 ) ( −3,−1 )$ and $( 2,3 ). ( 2,3 ).$

### Try It #3

Find the distance between two points: $( 1,4 ) ( 1,4 )$ and $( 11,9 ). ( 11,9 ).$

### Example 6

#### Finding the Distance between Two Locations

Let’s return to the situation introduced at the beginning of this section.

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 1. Find the total distance that Tracie traveled. Compare this with the distance between her starting and final positions.

### 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, $( x 1 , y 1 ) ( x 1 , y 1 )$ and $( x 2 , y 2 ), ( x 2 , y 2 ),$ the midpoint formula states how to find the coordinates of the midpoint $M. M.$

$M=( x 1 + x 2 2 , y 1 + y 2 2 ) M=( x 1 + x 2 2 , y 1 + y 2 2 )$

A graphical view of a midpoint is shown in Figure 16. Notice that the line segments on either side of the midpoint are congruent.

Figure 16

### Example 7

#### Finding the Midpoint of the Line Segment

Find the midpoint of the line segment with the endpoints $( 7,−2 ) ( 7,−2 )$ and $( 9,5 ). ( 9,5 ).$

### Try It #4

Find the midpoint of the line segment with endpoints $( −2,−1 ) ( −2,−1 )$ and $( −8,6 ). ( −8,6 ).$

### Example 8

#### Finding the Center of a Circle

The diameter of a circle has endpoints $( −1,−4 ) ( −1,−4 )$ and $( 5,−4 ). ( 5,−4 ).$ Find the center of the circle.

### Media

Access these online resources for additional instruction and practice with the Cartesian coordinate system.

### 2.1 Section Exercises

#### Verbal

1.

Is it possible for a point plotted in the Cartesian coordinate system to not lie in one of the four quadrants? Explain.

2.

Describe the process for finding the x-intercept and the y-intercept of a graph algebraically.

3.

Describe in your own words what the y-intercept of a graph is.

4.

When using the distance formula $d= ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 , d= ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 ,$ explain the correct order of operations that are to be performed to obtain the correct answer.

#### Algebraic

For each of the following exercises, find the x-intercept and the y-intercept without graphing. Write the coordinates of each intercept.

5.

$y=−3x+6 y=−3x+6$

6.

$4y=2x−1 4y=2x−1$

7.

$3x−2y=6 3x−2y=6$

8.

$4x−3=2y 4x−3=2y$

9.

$3x+8y=9 3x+8y=9$

10.

$2x− 2 3 = 3 4 y+3 2x− 2 3 = 3 4 y+3$

For each of the following exercises, solve the equation for y in terms of x.

11.

$4x+2y=8 4x+2y=8$

12.

$3x−2y=6 3x−2y=6$

13.

$2x=5−3y 2x=5−3y$

14.

$x−2y=7 x−2y=7$

15.

$5y+4=10x 5y+4=10x$

16.

$5x+2y=0 5x+2y=0$

For each of the following exercises, find the distance between the two points. Simplify your answers, and write the exact answer in simplest radical form for irrational answers.

17.

$(−4,1) (−4,1)$ and $(3,−4) (3,−4)$

18.

$(2,−5) (2,−5)$ and $(7,4) (7,4)$

19.

$(5,0) (5,0)$ and $(5,6) (5,6)$

20.

$(−4,3) (−4,3)$ and $(10,3) (10,3)$

21.

Find the distance between the two points given using your calculator, and round your answer to the nearest hundredth.

$(19,12) (19,12)$ and $(41,71) (41,71)$

For each of the following exercises, find the coordinates of the midpoint of the line segment that joins the two given points.

22.

$(−5,−6) (−5,−6)$ and $(4,2) (4,2)$

23.

$(−1,1) (−1,1)$ and $(7,−4) (7,−4)$

24.

$(−5,−3) (−5,−3)$ and $(−2,−8) (−2,−8)$

25.

$(0,7) (0,7)$ and $(4,−9) (4,−9)$

26.

$(−43,17) (−43,17)$ and $(23,−34) (23,−34)$

#### Graphical

For each of the following exercises, identify the information requested.

27.

What are the coordinates of the origin?

28.

If a point is located on the y-axis, what is the x-coordinate?

29.

If a point is located on the x-axis, what is the y-coordinate?

For each of the following exercises, plot the three points on the given coordinate plane. State whether the three points you plotted appear to be collinear (on the same line).

30.

$( 4,1 )( −2,−3 )( 5,0 ) ( 4,1 )( −2,−3 )( 5,0 )$ 31.

$(−1,2)(0,4)(2,1) (−1,2)(0,4)(2,1)$ 32.

$( −3,0 )( −3,4 )( −3,−3 ) ( −3,0 )( −3,4 )( −3,−3 )$ 33.

Name the coordinates of the points graphed. 34.

Name the quadrant in which the following points would be located. If the point is on an axis, name the axis.

1. $( −3,−4 ) (−3,−4)$
2. $( −5,0 ) (−5,0)$
3. $( 1,−4 ) (1,−4)$
4. $( −2,7 ) (−2,7)$
5. $( 0,−3 ) (0,−3)$

For each of the following exercises, construct a table and graph the equation by plotting at least three points.

35.

$y= 1 3 x+2 y= 1 3 x+2$

36.

$y=−3x+1 y=−3x+1$

37.

$2y=x+3 2y=x+3$

#### Numeric

For each of the following exercises, find and plot the x- and y-intercepts, and graph the straight line based on those two points.

38.

$4x−3y=12 4x−3y=12$

39.

$x−2y=8 x−2y=8$

40.

$y−5=5x y−5=5x$

41.

$3y=−2x+6 3y=−2x+6$

42.

$y= x−3 2 y= x−3 2$

For each of the following exercises, use the graph in the figure below. 43.

Find the distance between the two endpoints using the distance formula. Round to three decimal places.

44.

Find the coordinates of the midpoint of the line segment connecting the two points.

45.

Find the distance that $( −3,4 ) ( −3,4 )$ is from the origin.

46.

Find the distance that $( 5,2 ) ( 5,2 )$ is from the origin. Round to three decimal places.

47.

Which point is closer to the origin?

#### Technology

For the following exercises, use your graphing calculator to input the linear graphs in the Y= graph menu.

After graphing it, use the 2nd CALC button and 1:value button, hit enter. At the lower part of the screen you will see “x=” and a blinking cursor. You may enter any number for x and it will display the y value for any x value you input. Use this and plug in x = 0, thus finding the y-intercept, for each of the following graphs.

48.

$Y 1 =−2x+5 Y 1 =−2x+5$

49.

$Y 1 = 3x−8 4 Y 1 = 3x−8 4$

50.

$Y 1 = x+5 2 Y 1 = x+5 2$

For the following exercises, use your graphing calculator to input the linear graphs in the Y= graph menu.

After graphing it, use the 2nd CALC button and 2:zero button, hit ENTER. At the lower part of the screen you will see “left bound?” and a blinking cursor on the graph of the line. Move this cursor to the left of the x-intercept, hit ENTER. Now it says “right bound?” Move the cursor to the right of the x-intercept, hit ENTER. Now it says “guess?” Move your cursor to the left somewhere in between the left and right bound near the x-intercept. Hit ENTER. At the bottom of your screen it will display the coordinates of the x-intercept or the “zero” to the y-value. Use this to find the x-intercept.

Note: With linear/straight line functions the zero is not really a “guess,” but it is necessary to enter a “guess” so it will search and find the exact x-intercept between your right and left boundaries. With other types of functions (more than one x-intercept), they may be irrational numbers so “guess” is more appropriate to give it the correct limits to find a very close approximation between the left and right boundaries.

51.

$Y 1 =−8x+6 Y 1 =−8x+6$

52.

$Y 1 =4x−7 Y 1 =4x−7$

53.

$Y 1 = 3x+5 4 Y 1 = 3x+5 4$ Round your answer to the nearest thousandth.

#### Extensions

54.

Someone drove 10 mi directly east from their home, made a left turn at an intersection, and then traveled 5 mi north to their place of work. If a road was made directly from the home to the place of work, what would its distance be to the nearest tenth of a mile?

55.

If the road was made in the previous exercise, how much shorter would the person’s one-way trip be every day?

56.

Given these four points: $A(1,3)A(1,3)$, $B(–3,5)B(–3,5)$, $C(4,7)C(4,7)$, and $D(5,–4)D(5,–4)$ find the coordinates of the midpoint of line segments $AB ¯ AB ¯$ and $CD ¯ . CD ¯ .$

57.

After finding the two midpoints in the previous exercise, find the distance between the two midpoints to the nearest thousandth.

58.

Given the graph of the rectangle shown and the coordinates of its vertices, prove that the diagonals of the rectangle are of equal length. 59.

In the previous exercise, find the coordinates of the midpoint for each diagonal.

#### Real-World Applications

60.

The coordinates on a map for San Francisco are $(53,17)(53,17)$ and those for Sacramento are $(128,78)(128,78)$. Note that coordinates represent miles. Find the distance between the cities to the nearest mile.

61.

If San Jose’s coordinates are $(76,–12)(76,–12)$, where the coordinates represent miles, find the distance between San Jose and San Francisco to the nearest mile.

62.

A small craft in Lake Ontario sends out a distress signal. The coordinates of the boat in trouble were $(49,64)(49,64)$ One rescue boat is at the coordinates $(60,82)(60,82)$ and a second Coast Guard craft is at coordinates $(58,47)(58,47)$. Assuming both rescue craft travel at the same rate, which one would get to the distressed boat the fastest?

63.

A person on the top of a building wants to have a guy wire extend to a point on the ground 20 ft from the building. To the nearest foot, how long will the wire have to be if the building is 50 ft tall? 64.

If we rent a truck and pay a $75/day fee plus$.20 for every mile we travel, write a linear equation that would express the total cost per day $y, y,$ using $x x$ to represent the number of miles we travel. Graph this function on your graphing calculator and find the total cost for one day if we travel 70 mi.

Order a print copy

As an Amazon Associate we earn from qualifying purchases.