Chapter 3 Functions

3.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 [latex]x[/latex]-intercepts and [latex]y[/latex]-intercepts.
  • Use the distance formula.
  • Use the midpoint formula.

 

 

Road map of a city with street names on an x, y coordinate grid
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 invented the system that has become the foundation of algebra while sick in bed. 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 locating any object in a two-dimensional plane was possible 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, Descartes introduced the components that comprise the Cartesian coordinate system, a grid system with 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.

 

This is an image of an x, y plane with the axes labeled. The upper right section is labeled: Quadrant I. The upper left section is labeled: Quadrant II. The lower left section is labeled: Quadrant III. The lower right section is labeled: Quadrant IV
Figure 2

The center of the plane is the point at which the two axes cross. It is known as the origin, or point [latex]\left(0,0\right).[/latex] 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.

 

This is an image of an x, y coordinate plane. The x and y axis range from negative 5 to 5.
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 [latex]\,\left(x,y\right).\,[/latex] 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 [latex]\,\left(3,-1\right)\,[/latex] 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.

This is an image of an x, y coordinate plane. The x and y axis range from negative 5 to 5. The point (3, -1) is labeled. An arrow extends rightward from the origin 3 units and another arrow extends downward one unit from the end of that arrow to the point
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 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 [latex]\,\left(x,y\right),[/latex] such that x is determined by its horizontal distance from the origin and y is determined by its vertical distance from the origin.

Plotting Points in a Rectangular Coordinate System

Plot the points [latex]\,\left(-2,4\right),[/latex][latex]\left(3,3\right),[/latex] and[latex]\,\left(0,-3\right)\,[/latex] in the plane.

Show Solution

To plot the point [latex]\,\left(-2,4\right),[/latex] begin at the origin. The x-coordinate is –2, so move two units to the left. The y-coordinate is 4, so then move four units up in the positive y direction.

To plot the point [latex]\,\left(3,3\right),[/latex] begin again at the origin. The x-coordinate is 3, so move three units to the right. The y-coordinate is also 3, so move three units up in the positive y direction.

To plot the point [latex]\,\left(0,-3\right),[/latex] begin again at the origin. The x-coordinate is 0. This tells us not to move in either direction along the x-axis. The y-coordinate is –3, so move three units down in the negative y direction. See the graph in  Figure below.

This is an image of a graph on an x, y coordinate plane. The x and y axes range from negative 5 to 5. The points (-2, 4); (3, 3); and (0, -3) are labeled. Arrows extend from the origin to the points.

Analysis

Note that the point must be on an axis when either coordinate is zero. 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 [latex]\,y=2x-1.\,[/latex] 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. The table below lists values of x from –3 to 3 and the resulting values for y.

[latex]x[/latex] [latex]y=2x-1[/latex] [latex]\left(x,y\right)[/latex]
[latex]-3[/latex] [latex]y=2\left(-3\right)-1=-7[/latex] [latex]\left(-3,-7\right)[/latex]
[latex]-2[/latex] [latex]y=2\left(-2\right)-1=-5[/latex] [latex]\left(-2,-5\right)[/latex]
[latex]-1[/latex] [latex]y=2\left(-1\right)-1=-3[/latex] [latex]\left(-1,-3\right)[/latex]
[latex]0[/latex] [latex]y=2\left(0\right)-1=-1[/latex] [latex]\left(0,-1\right)[/latex]
[latex]1[/latex] [latex]y=2\left(1\right)-1=1[/latex] [latex]\left(1,1\right)[/latex]
[latex]2[/latex] [latex]y=2\left(2\right)-1=3[/latex] [latex]\left(2,3\right)[/latex]
[latex]3[/latex] [latex]y=2\left(3\right)-1=5[/latex] [latex]\left(3,5\right)[/latex]

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

This is a graph of a line on an x, y coordinate plane. The x- and y-axis range from negative 8 to 8. A line passes through the points (-3, -7); (-2, -5); (-1, -3); (0, -1); (1, 1); (2, 3); and (3, 5).
Figure 5

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 negative and positive values. There is no rule on how many points to plot, although we need at least two to graph a line. However, remember 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.

Graphing an Equation in Two Variables by Plotting Points

Graph the equation [latex]\,y=-x+2\,[/latex] by plotting points.

Show Solution

First, we construct a table of [latex]x[/latex]  and [latex]y[/latex] values. Choose x values and calculate y.

[latex]x[/latex] [latex]y=-x+2[/latex] [latex]\left(x,y\right)[/latex]
[latex]-5[/latex] [latex]y=-\left(-5\right)+2=7[/latex] [latex]\left(-5,7\right)[/latex]
[latex]-3[/latex] [latex]y=-\left(-3\right)+2=5[/latex] [latex]\left(-3,5\right)[/latex]
[latex]-1[/latex] [latex]y=-\left(-1\right)+2=3[/latex] [latex]\left(-1,3\right)[/latex]
[latex]0[/latex] [latex]y=-\left(0\right)+2=2[/latex] [latex]\left(0,2\right)[/latex]
[latex]1[/latex] [latex]y=-\left(1\right)+2=1[/latex] [latex]\left(1,1\right)[/latex]
[latex]3[/latex] [latex]y=-\left(3\right)+2=-1[/latex] [latex]\left(3,-1\right)[/latex]
[latex]5[/latex] [latex]y=-\left(5\right)+2=-3[/latex] [latex]\left(5,-3\right)[/latex]

Now, plot the points. Connect them if they form a line. See Figure 6

This image is a graph of a line on an x, y coordinate plane. The x-axis includes numbers that range from negative 7 to 7. The y-axis includes numbers that range from negative 5 to 8. A line passes through the points: (-5, 7); (-3, 5); (-1, 3); (0, 2); (1, 1); (3, -1); and (5, -3).
Figure 6

 

Try It

Construct a table and graph the equation by plotting points: [latex]\,y=\frac{1}{2}x+2.[/latex]

Show Solution
[latex]x[/latex] [latex]y=\frac{1}{2}x+2[/latex] [latex]\left(x,y\right)[/latex]
[latex]-2[/latex] [latex]y=\frac{1}{2}\left(-2\right)+2=1[/latex] [latex]\left(-2,1\right)[/latex]
[latex]-1[/latex] [latex]y=\frac{1}{2}\left(-1\right)+2=\frac{3}{2}[/latex] [latex]\left(-1,\frac{3}{2}\right)[/latex]
[latex]0[/latex] [latex]y=\frac{1}{2}\left(0\right)+2=2[/latex] [latex]\left(0,2\right)[/latex]
[latex]1[/latex] [latex]y=\frac{1}{2}\left(1\right)+2=\frac{5}{2}[/latex] [latex]\left(1,\frac{5}{2}\right)[/latex]
[latex]2[/latex] [latex]y=\frac{1}{2}\left(2\right)+2=3[/latex] [latex]\left(2,3\right)[/latex]

This is an image of a graph on an x, y coordinate plane. The x and y-axis range from negative 5 to 5. A line passes through the points (-2, 1); (-1, 3/2); (0, 2); (1, 5/2); and (2, 3).

 

 

Access the online resource below for additional instruction and practice with graphing equations by plotting points.

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 style [latex]\,y\,[/latex]=_____. The TI-84 Plus and many other calculators 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 [latex]\,y=2x-20\,[/latex] has been entered in the TI-84 Plus shown in Figure 7.a. In Figure 7.b, the resulting graph is shown. Notice that we cannot see where the graph crosses the axes on the screen. The standard window screen on the TI-84 Plus shows [latex]\,-10\le x\le 10,[/latex] and [latex]\,-10\le y\le 10.\,[/latex] See Figure 7.c.

This is an image of three side-by-side calculator screen captures. The first screen is the plot screen with the function y sub 1 equals two times x minus twenty. The second screen shows the plotted line on the coordinate plane. The third screen shows the window edit screen with the following settings: Xmin = -10; Xmax = 10; Xscl = 1; Ymin = -10; Ymax = 10; Yscl = 1; Xres = 1.
Figure 7. 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 8.a. and Figure 8.b.

This is an image of two side-by-side calculator screen captures. The first screen is the window edit screen with the following settings: Xmin = negative 5; Xmax = 15; Xscl = 1; Ymin = -30; Ymax = 10; Yscl = 1; Xres =1. The second screen shows the plot of the previous graph, but is more centered on the line.
Figure 8. a. This screen shows the new window settings. b. We can clearly view the intercepts in the new window.

Using a Graphing Utility to Graph an Equation

Use a graphing utility to graph the equation: [latex]\,y=-\frac{2}{3}x-\frac{4}{3}.[/latex]

Show Solution

Enter the equation in the y= function of the calculator. Set the window settings so that both the x- and y- intercepts are showing in the window. See Figure 9.

This image is of a line graph on an x, y coordinate plane. The x-axis has numbers that range from negative 3 to 4. The y-axis has numbers that range from negative 3 to 3. The function y = -2x/3 + 4/3 is plotted.
Figure 9.

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, let’s find the intercepts of the equation [latex]\,y=3x-1.[/latex]

To find the x-intercept, set [latex]\,y=0.[/latex]

[latex]\begin{array}{ll}\,y=3x-1\hfill & \hfill \\ \,0=3x-1\hfill & \hfill \\ \,1=3x\hfill & \hfill \\ \frac{1}{3}=x\hfill & \hfill \\ \left(\frac{1}{3},0\right)\hfill & x\text{−intercept}\hfill \end{array}[/latex]

To find the y-intercept, set [latex]\,x=0.[/latex]

[latex]\begin{array}{l}y=3x-1\hfill \\ y=3\left(0\right)-1\hfill \\ y=-1\hfill \\ \left(0,-1\right)\phantom{\rule{3em}{0ex}}y\text{−intercept}\hfill \end{array}.[/latex]

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

This is an image of a line graph on an x, y coordinate plane. The x and y-axis range from negative 4 to 4. The function y = 3x – 1 is plotted on the coordinate plane
Figure 10.

Given an equation, find the intercepts.

  1. Find the x-intercept by setting [latex]\,y=0\,[/latex] and solving for [latex]\,x.[/latex]
  2. Find the y-intercept by setting [latex]\,x=0\,[/latex] and solving for [latex]\,y.[/latex]

Finding the Intercepts of the Given Equation

Find the intercepts of the equation[latex]\,y=-3x-4.\,[/latex]Then sketch the graph using only the intercepts.

Show Solution

Set [latex]\,y=0\,[/latex] to find the x-intercept.

[latex]\begin{array}{l}\phantom{\rule{1em}{0ex}}y=-3x-4\hfill \\ \phantom{\rule{1em}{0ex}}0=-3x-4\hfill \\ \phantom{\rule{1em}{0ex}}4=-3x\hfill \\ -\frac{4}{3}=x\hfill \\ \left(-\frac{4}{3},0\right)\phantom{\rule{3em}{0ex}}x\text{−intercept}\hfill \end{array}[/latex]

Set [latex]\,x=0\,[/latex] to find the y-intercept.

[latex]\begin{array}{l}y=-3x-4\hfill \\ y=-3\left(0\right)-4\hfill \\ y=-4\hfill \\ \left(0,-4\right)\phantom{\rule{3.5em}{0ex}}y\text{−intercept}\hfill \end{array}[/latex]

Plot both points and draw a line passing through them, as in Figure 11.

This is an image of a line graph on an x, y coordinate plane. The x-axis ranges from negative 5 to 5. The y-axis ranges from negative 6 to 3. The line passes through the points (-4/3, 0) and (0, -4).
Figure 11.

Try It

Find the intercepts of the equation and sketch the graph: [latex]\,y=-\frac{3}{4}x+3.[/latex]

Show Solution

x-intercept is [latex]\,\left(4,0\right);[/latex] y-intercept is [latex]\,\left(0,3\right).[/latex]

This is an image of a line graph on an x, y coordinate plane. The x and y axes range from negative 4 to 6. The function y = -3x/4 + 3 is plotted.

 

Access the online resource below for additional instruction and practice with finding [latex]x[/latex] and [latex]x[/latex] intercepts.

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,[latex]\,{a}^{2}+{b}^{2}={c}^{2},[/latex] 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 12.

This is an image of a triangle on an x, y coordinate plane. The x and y axes range from 0 to 7. The points (x sub 1, y sub 1); (x sub 2, y sub 1); and (x sub 2, y sub 2) are labeled and connected to form a triangle. Along the base of the triangle, the following equation is displayed: the absolute value of x sub 2 minus x sub 1 equals a. The hypotenuse of the triangle is labeled: d = c. The remaining side is labeled: the absolute value of y sub 2 minus y sub 1 equals b.
Figure 12.

The relationship of sides[latex]\,|{x}_{2}-{x}_{1}|\,[/latex]and[latex]\,|{y}_{2}-{y}_{1}|\,[/latex]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,[latex]\,|-3|=3.\,[/latex]) The symbols[latex]\,|{x}_{2}-{x}_{1}|\,[/latex]and[latex]\,|{y}_{2}-{y}_{1}|\,[/latex]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.

[latex]{c}^{2}={a}^{2}+{b}^{2}\to c=\sqrt{{a}^{2}+{b}^{2}}[/latex]

It follows that the distance formula is given as

[latex]{d}^{2}={\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}\to d=\sqrt{{\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}}[/latex]

We do not have to use the absolute value symbols in this definition because any number squared is positive.

The Distance Formula

Given endpoints[latex]\,\left({x}_{1},{y}_{1}\right)\,[/latex]and[latex]\,\left({x}_{2},{y}_{2}\right),[/latex] the distance between two points is given by

[latex]d=\sqrt{{\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}}[/latex]

Finding the Distance between Two Points

Find the distance between the points[latex]\,\left(-3,-1\right)\,[/latex]and[latex]\,\left(2,3\right).[/latex]

Show Solution

Let us first look at the graph of the two points. Connect the points to form a right triangle, as in Figure 13.

This is an image of a triangle on an x, y coordinate plane. The x-axis ranges from negative 4 to 4. The y-axis ranges from negative 2 to 4. The points (-3, -1); (2, -1); and (2, 3) are plotted and labeled on the graph. The points are connected to form a triangle
Figure 13.

Then, calculate the length of d using the distance formula.

[latex]\begin{array}{l}\\ \begin{array}{l}d=\sqrt{{\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}}\hfill \\ d=\sqrt{{\left(2-\left(-3\right)\right)}^{2}+{\left(3-\left(-1\right)\right)}^{2}}\hfill \\ \phantom{\rule{.7em}{0ex}}=\sqrt{{\left(5\right)}^{2}+{\left(4\right)}^{2}}\hfill \\ \phantom{\rule{.7em}{0ex}}=\sqrt{25+16}\hfill \\ \phantom{\rule{.7em}{0ex}}=\sqrt{41}\hfill \end{array}\end{array}[/latex]

Try It

Find the distance between two points: [latex]\,\left(1,4\right)\,[/latex]and[latex]\,\left(11,9\right).[/latex]

Show Solution

[latex]\sqrt{125}=5\sqrt{5}[/latex]

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.

Show Solution

First, we should identify ordered pairs to describe each position. If we set the starting position at the origin, we can identify each of the other points by counting units east (right) and north (up) on the grid. For example, the first stop is 1 block east and 1 block north, so it is at [latex]\,\left(1,1\right).\,[/latex] The next stop is 5 blocks to the east, so it is at [latex]\,\left(5,1\right).\,[/latex] After that, she traveled 3 blocks east and 2 blocks north to [latex]\,\left(8,3\right).\,[/latex] Lastly, she traveled 4 blocks north to [latex]\,\left(8,7\right).\,[/latex] We can label these points on the grid, as in Figure 14.

This is an image of a road map of a city. The point (1, 1) is on North Avenue and Bertau Avenue. The point (5, 1) is on North Avenue and Wolf Road. The point (8, 3) is on Mannheim Road and McLean Street. The point (8, 7) is on Mannheim Road and Schiller Avenue.
Figure 14.

Next, we can calculate the distance. Note that each grid unit represents 1,000 feet.

  • From her starting location to her first stop at[latex]\,\left(1,1\right),[/latex] Tracie might have driven north 1,000 feet and then east 1,000 feet, or vice versa. Either way, she drove 2,000 feet to her first stop.
  • Her second stop is at[latex]\,\left(5,1\right).\,[/latex]So from[latex]\,\left(1,1\right)\,[/latex]to[latex]\,\left(5,1\right),[/latex] Tracie drove east 4,000 feet.
  • Her third stop is at[latex]\,\left(8,3\right).\,[/latex]There are a number of routes from[latex]\,\left(5,1\right)\,[/latex]to[latex]\,\left(8,3\right).\,[/latex]Whatever route Tracie decided to use, the distance is the same, as there are no angular streets between the two points. Let’s say she drove east 3,000 feet and then north 2,000 feet for a total of 5,000 feet.
  • Tracie’s final stop is at[latex]\,\left(8,7\right).\,[/latex]This is a straight drive north from[latex]\,\left(8,3\right)\,[/latex]for a total of 4,000 feet.

Next, we will add the distances listed in the table below.

From/To Number of Feet Driven
[latex]\left(0,0\right)\,[/latex]to[latex]\,\left(1,1\right)[/latex]        2,000
[latex]\left(1,1\right)\,[/latex]to[latex]\left(5,1\right)\,[/latex]        4,000
[latex]\left(5,1\right)\,[/latex]to[latex]\,\left(8,3\right)[/latex]        5,000
[latex]\left(8,3\right)\,[/latex]to[latex]\,\left(8,7\right)[/latex]        4,000
Total        15,000

The total distance Tracie drove is 15,000 feet, or 2.84 miles. This is not, however, the actual distance between her starting and ending positions. To find this distance, we can use the distance formula between the points [latex]\,\left(0,0\right)\,[/latex]and[latex]\,\left(8,7\right).[/latex]

[latex]\begin{array}{l}d=\sqrt{{\left(8-0\right)}^{2}+{\left(7-0\right)}^{2}}\hfill \\ \phantom{\rule{.7em}{0ex}}=\sqrt{64+49}\hfill \\ \phantom{\rule{.7em}{0ex}}=\sqrt{113}\hfill \\ \phantom{\rule{.7em}{0ex}}=10.63\text{ units}\hfill[/latex]

At 1,000 feet per grid unit, the distance between Elmhurst, IL, to Franklin Park is 10,630.14 feet, or 2.01 miles. The distance formula results in a shorter calculation because it is based on the hypotenuse of a right triangle, a straight diagonal from the origin to the point [latex]\,\left(8,7\right).\,[/latex] Perhaps you have heard the saying “as the crow flies,” which means the shortest distance between two points because a crow can fly in a straight line even though a person on the ground has to travel a longer distance on existing roadways.

Access the online resource below for additional instruction and practice with finding distance using the distance formula.

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, [latex]\,\left({x}_{1},{y}_{1}\right)\,[/latex]and[latex]\,\left({x}_{2},{y}_{2}\right),[/latex] the midpoint formula states how to find the coordinates of the midpoint [latex]\,M.[/latex]

[latex]M=\left(\frac{{x}_{1}+{x}_{2}}{2},\frac{{y}_{1}+{y}_{2}}{2}\right)[/latex]

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

This is a line graph on an x, y coordinate plane with the x and y axes ranging from 0 to 6. The points (x sub 1, y sub 1), (x sub 2, y sub 2), and (x sub 1 plus x sub 2 all over 2, y sub 1 plus y sub 2 all over 2) are plotted. A straight line runs through these three points. Pairs of short parallel lines bisect the two sections of the line to note that they are equivalent.
Figure 15.

Finding the Midpoint of the Line Segment

Find the midpoint of the line segment with the endpoints [latex]\,\left(7,-2\right)\,[/latex]and[latex]\,\left(9,5\right).[/latex]

Show Solution

Use the formula to find the midpoint of the line segment.

[latex]\begin{array}{l}\left(\frac{{x}_{1}+{x}_{2}}{2},\frac{{y}_{1}+{y}_{2}}{2}\right)=\left(\frac{7+9}{2},\frac{-2+5}{2}\right)\hfill \\ \phantom{\rule{6.5em}{0ex}}=\left(8,\frac{3}{2}\right)\hfill \end{array}[/latex]

Try It

Find the midpoint of the line segment with endpoints [latex]\,\left(-2,-1\right)\,[/latex] and [latex]\,\left(-8,6\right).[/latex]

Show Solution

[latex]\left(-5,\frac{5}{2}\right)[/latex]

Access these online resources for additional instruction and practice with the midpoint formula.

Key Concepts

  • We can locate or plot points in the Cartesian coordinate system using ordered pairs, which are defined as displacement from the x-axis and displacement from the y-axis.
  • An equation can be graphed in the plane by creating a table of values and plotting points.
  • Using a graphing calculator or a computer program makes graphing equations faster and more accurate. Equations usually have to be entered in the form y=_____.
  • Finding the x- and y-intercepts can define the graph of a line. These are the points where the graph crosses the axes.
  • The distance formula is derived from the Pythagorean Theorem and is used to find the length of a line segment.
  • The midpoint formula provides a method of finding the coordinates of the midpoint by dividing the sum of the x-coordinates and the sum of the y-coordinates of the endpoints by 2.

Section Exercises

Verbal

  1. Can a point plotted in the Cartesian coordinate system not lie in one of the four quadrants? Explain.
Show Solution

Answers may vary. Yes. It is possible for a point to be on the x-axis or on the y-axis and therefore is considered to NOT be in one of the quadrants.

  1. Describe the process for finding the x-intercept and the y-intercept of a graph algebraically.
  1. Describe in your own words what the y-intercept of a graph is.
Show Solution

The y-intercept is the point where the graph crosses the y-axis.

  1. When using the distance formula [latex]\,d=\sqrt{{\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}},[/latex] 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.

  1. [latex]y=-3x+6[/latex]
Show Solution

The x-intercept is [latex]\,\left(2,0\right)\,[/latex] and the y-intercept is [latex]\,\left(0,6\right).[/latex]

  1. [latex]4y=2x-1[/latex]
  1. [latex]3x-2y=6[/latex]
Show Solution

The x-intercept is [latex]\,\left(2,0\right)\,[/latex] and the y-intercept is [latex]\,\left(0,-3\right).[/latex]

  1. [latex]4x-3=2y[/latex]
  1. [latex]3x+8y=9[/latex]
Show Solution

The x-intercept is [latex]\,\left(3,0\right)\,[/latex]  and the y-intercept is [latex]\,\left(0,\frac{9}{8}\right).[/latex]

  1. [latex]2x-\frac{2}{3}=\frac{3}{4}y+3[/latex]

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

  1. [latex]4x+2y=8[/latex]
Show Solution

[latex]y=4-2x[/latex]

  1. [latex]3x-2y=6[/latex]
  1. [latex]2x=5-3y[/latex]
Show Solution

[latex]y=\frac{5-2x}{3}[/latex]

  1. [latex]x-2y=7[/latex]
  1. [latex]5y+4=10x[/latex]
Show Solution

[latex]y=2x-\frac{4}{5}[/latex]

  1. [latex]5x+2y=0[/latex]

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

  1. [latex]\left(-4,1\right)\,[/latex]and[latex]\,\left(3,-4\right)[/latex]
Show Solution

[latex]d=\sqrt{74}[/latex]

  1. [latex]\left(2,-5\right)\,[/latex]and[latex]\,\left(7,4\right)[/latex]
  1. [latex]\left(5,0\right)\,[/latex]and[latex]\,\left(5,6\right)[/latex]
Show Solution

[latex]d=\sqrt{36}=6[/latex]

  1. [latex]\left(-4,3\right)\,[/latex]and[latex]\,\left(10,3\right)[/latex]

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

  1. [latex]\left(19,12\right)\,[/latex]and[latex]\,\left(41,71\right)[/latex]
Show Solution

[latex]d\approx 62.97[/latex]

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

  1. [latex]\left(-5,-6\right)\,[/latex]and[latex]\,\left(4,2\right)[/latex]
  1. [latex]\left(-1,1\right)\,[/latex]and[latex]\,\left(7,-4\right)[/latex]
Show Solution

[latex]\left(3,\frac{-3}{2}\right)[/latex]

  1. [latex]\left(-5,-3\right)\,[/latex]and[latex]\,\left(-2,-8\right)[/latex]
  1. [latex]\left(0,7\right)\,[/latex]and[latex]\,\left(4,-9\right)[/latex]
Show Solution

[latex]\left(2,-1\right)[/latex]

  1. [latex]\left(-43,17\right)\,[/latex]and[latex]\,\left(23,-34\right)[/latex]

Graphical

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

  1. What are the coordinates of the origin?
Show Solution

[latex]\left(0,0\right)[/latex]

  1. If a point is located on the y-axis, what is the x-coordinate?
  1. If a point is located on the x-axis, what is the y-coordinate?
Show Solution

[latex]y=0[/latex]

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

  1. [latex]\left(4,1\right)\left(-2,-3\right)\left(5,0\right)[/latex]

This is an image of a blank x, y coordinate plane with the x and y axes ranging from negative 5 to 5.

 

  1. [latex]\left(-1,2\right)\left(0,4\right)\left(2,1\right)[/latex]

This is an image of a blank x, y coordinate plane with the x and y axes ranging from negative 5 to 5.

 

Show Solution

This is an image of an x, y coordinate plane with the x and y axes ranging from negative 5 to 5. The points (0,4); (-1,2) and (2,1) are plotted and labeled.

not collinear

  1. [latex]\left(-3,0\right)\left(-3,4\right)\left(-3,-3\right)[/latex]

This is an image of a blank x, y coordinate plane with the x and y axes ranging from negative 5 to 5.

 

  1. Name the coordinates of the points graphed.

This is an image of an x, y coordinate plane where the x and y-axis range from negative 5 to 5. Three points are plotted: A, B, and C.

 

Show Solution

[latex]\left(-3,2\right),\left(1,3\right),\left(4,0\right)[/latex]

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

[latex]\begin{array}{l}a.\left(-3,-4\right)\\ b.\left(-5,0\right)\\ c.\left(1,-4\right)\\ d.\left(-2,7\right)\\ e.\left(0,-3\right)\end{array}[/latex]

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

  1. [latex]y=\frac{1}{3}x+2[/latex]
Show Solution
 
[latex]x[/latex] [latex]y[/latex]
[latex]-3[/latex] 1
0 2
3 3
6 4

This is an image of an x, y coordinate plane with the x and y axes ranging from negative 10 to 10. The points (-3, 1); (0, 2); (3, 3) and (6, 4) are plotted and labeled. A line runs through all these points.

 

  1. [latex]y=-3x+1[/latex]
  1. [latex]2y=x+3[/latex]
Show Solution
 
x y
–3 0
0 1.5
3 3

This is an image of an x, y coordinate plane with the x and y axes ranging from negative 10 to 10. The points (-3, 0); (0, 1.5) and (3, 3) are plotted and labeled. A line runs through all of these points.

 

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.

  1. [latex]4x-3y=12[/latex]
  1. [latex]x-2y=8[/latex]
Show Solution

This is an image of an x, y coordinate plane with the x and y axes ranging from negative 10 to 10. The points (8, 0) and (0, -4) are plotted and labeled. A line runs through both of these points.

 

  1. [latex]y-5=5x[/latex]
  1. [latex]3y=-2x+6[/latex]
Show Solution

 

This is an image of an x, y coordinate plane with the x and y axes ranging from negative 10 to 10. The points (0, 2) and (3, 0) are plotted and labeled. A line runs through both of these points.

 

  1. [latex]y=\frac{x-3}{2}[/latex]

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

his is an image of an x, y coordinate plane with the x and y axes ranging from negative 5 to 5. The points (-3, 4) and (5, 2) are plotted. A line connects these two points.

 

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

[latex]d=8.246[/latex]

  1. Find the coordinates of the midpoint of the line segment connecting the two points.
  1. Find the distance that[latex]\,\left(-3,4\right)\,[/latex]is from the origin.
Show Solution

[latex]d=5[/latex]

  1. Find the distance that[latex]\,\left(5,2\right)\,[/latex]is from the origin. Round to three decimal places.
  1. Which point is closer to the origin?
Show Solution

[latex]\left(-3,4\right)[/latex]

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.

  1. [latex]{\text{Y}}_{1}=-2x+5[/latex]
  1. [latex]{\text{Y}}_{1}=\frac{3x-8}{4}[/latex]
Show Solution

[latex]x=0\text{ }y=-2[/latex]

  1. [latex]{\text{Y}}_{1}=\frac{x+5}{2}[/latex]

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 a “guess” is more appropriate to give it the correct limits to find a very close approximation between the left and right boundaries.

  1. [latex]{\text{Y}}_{1}=-8x+6[/latex]
Show Solution

[latex]x=0.75\text{ }y=0[/latex]

  1. [latex]{\text{Y}}_{1}=4x-7[/latex]
  1. [latex]{\text{Y}}_{1}=\frac{3x+5}{4}\,[/latex]Round your answer to the nearest thousandth.
Show Solution

[latex]x=-1.667\text{ }y=0[/latex]

Extensions

  1. A man drove 10 mi directly east from his home, made a left turn at an intersection, and then traveled 5 mi north to his place of work. If a road was made directly from his home to his place of work, what would its distance be to the nearest tenth of a mile?
  1. If the road was made in the previous exercise, how much shorter would the man’s one-way trip be every day?
Show Solution

[latex]\text{15}\text{−11}.\text{2 }=\text{ 3}.8\,[/latex]mi shorter

  1. Given these four points: [latex]\,A\left(1,3\right),\text{}B\left(-3,5\right),\text{}C\left(4,7\right),\text{ and }D\left(5,-4\right),[/latex] find the coordinates of the midpoint of line segments [latex]\,\overline{\text{AB}}\,[/latex]and[latex]\,\overline{\text{CD}}.[/latex]
  1. After finding the two midpoints in the previous exercise, find the distance between the two midpoints to the nearest thousandth.
Show Solution

[latex]\text{6}.0\text{42}[/latex]

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

This is an image of an x, y coordinate plane with the x and y axes ranging from negative 12 to 12. The points (-6, 5); (10, 5); (-6, -1) and (10, -1) are plotted and labeled. These points are connected to form a rectangle. Dotted lines extend from each corner point to their opposite point.

 

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

Midpoint of each diagonal is the same point  [latex]\,\left(2,2\right).\,[/latex] Note this is a characteristic of rectangles, but not other quadrilaterals.

Real-World Applications

  1. The coordinates on a map for San Francisco are [latex]\,\left(53,17\right)\,[/latex], and those for Sacramento are [latex]\,\left(123,78\right).\,[/latex] Note that coordinates represent miles. Find the distance between the cities to the nearest mile.
  1. If San Jose’s coordinates are [latex]\,\left(76,-12\right),[/latex] where the coordinates represent miles, find the distance between San Jose and San Francisco to the nearest mile.
Show Solution

[latex]\text{37}\,[/latex]mi

  1. A small craft in Lake Ontario sends out a distress signal. The coordinates of the boat in trouble were [latex]\,\left(49,64\right).\,[/latex] One rescue boat is at the coordinates [latex]\,\left(60,82\right)\,[/latex], and a second Coast Guard craft is at coordinates [latex]\,\left(58,47\right).\,[/latex] Assuming both rescue craft travel at the same rate, which one would get to the distressed boat the fastest?
  1. A man 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?

A right triangle with its bottom left point sitting on the point (0,0). The upper right hand corner is labeled (20,50). The base has a length of 20 units and the triangle has a height of 50 units.

 

Show Solution

54 ft

  1. 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 [latex]\,y,[/latex] using [latex]\,x\,[/latex] 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.

Glossary

Cartesian coordinate system
a grid system designed with perpendicular axes invented by René Descartes
distance formula
a formula that can be used to find the length of a line segment if the endpoints are known
equation in two variables
a mathematical statement, typically written in x and y, in which two expressions are equal
graph in two variables
the graph of an equation in two variables, which is always shown in two variables in the two-dimensional plane
intercepts
the points at which the graph of an equation crosses the x-axis and the y-axis
midpoint formula
a formula to find the point that divides a line segment into two parts of equal length
ordered pair
a pair of numbers indicating horizontal displacement and vertical displacement from the origin; also known as a coordinate pair, [latex]\,\left(x,y\right)[/latex]
origin
the point where the two axes cross in the center of the plane, described by the ordered pair[latex]\,\left(0,0\right)[/latex]
quadrant
one quarter of the coordinate plane, created when the axes divide the plane into four sections
x-axis
the common name of the horizontal axis on a coordinate plane; a number line increasing from left to right
x-coordinate
the first coordinate of an ordered pair, representing the horizontal displacement and direction from the origin
x-intercept
the point where a graph intersects the x-axis; an ordered pair with a y-coordinate of zero
y-axis
the common name of the vertical axis on a coordinate plane; a number line increasing from bottom to top
y-coordinate
the second coordinate of an ordered pair, representing the vertical displacement and direction from the origin
y-intercept
a point where a graph intercepts the y-axis; an ordered pair with an x-coordinate of zero

Media Attributions

License

Icon for the Creative Commons Attribution 4.0 International License

College Algebra Copyright © 2024 by LOUIS: The Louisiana Library Network is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book