Define the components of the Cartesian coordinate system.
Plot points on the Cartesian coordinate plane.
Use the distance formula to find the distance between two points in the plane.
Use the midpoint formula to find the midpoint between two points.
Plot linear equations in two variables on the coordinate plane.
Use intercepts to plot lines.
Use a graphing utility to graph a linear equation on a coordinate plane.
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 the figure below. 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 Points on the Coordinate Plane
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 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 the figure below.
The Cartesian coordinate system with all four quadrants labeled.
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 the figure below.
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). 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.
An illustration of how to plot the point (3,-1).
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. Consider the rectangular coordinate system primarily as a method for showing the relationship between two quantities.
A General Note: 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), such that x is determined by its horizontal distance from the origin and y is determined by its vertical distance from the origin.
Example: Plotting Points in a Rectangular Coordinate System
Plot the points (−2,4), (3,3), and (0,−3) in the coordinate plane.
Answer:
To plot the point (−2,4), 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 (3,3), 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 (0,−3), 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.
Analysis of the Solution
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.
Distance in the Plane
Derived from the Pythagorean Theorem, the distance formula is used to find the distance between two points in the plane. The Pythagorean Theorem, a2+b2=c2, 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.
The relationship of sides ∣x2−x1∣ and ∣y2−y1∣ 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 ∣x2−x1∣ and ∣y2−y1∣ 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.
c2=a2+b2→c=a2+b2
It follows that the distance formula is given as
d2=(x2−x1)2+(y2−y1)2→d=(x2−x1)2+(y2−y1)2
We do not have to use the absolute value symbols in this definition because any number squared is positive.
A General Note: The Distance Formula
Given endpoints (x1,y1) and (x2,y2), the distance between two points is given by
d=(x2−x1)2+(y2−y1)2
Example: Finding the Distance between Two Points
Find the distance between the points (−3,−1) and (2,3).
Answer:
Let us first look at the graph of the two points. Connect the points to form a right triangle.
Then, calculate the length of d using the distance formula.
Find the distance between two points: (1,4) and (11,9).
Answer:
125=55
Example: 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. Find the total distance that Tracie traveled. Compare this with the distance between her starting and final positions.
Answer:
The first thing we should do is 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 (1,1). The next stop is 5 blocks to the east so it is at (5,1). After that, she traveled 3 blocks east and 2 blocks north to (8,3). Lastly, she traveled 4 blocks north to (8,7). We can label these points on the grid.
Next, we can calculate the distance. Note that each grid unit represents 1,000 feet.
From her starting location to her first stop at (1,1), 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 (5,1). So from (1,1) to (5,1), Tracie drove east 4,000 feet.
Her third stop is at (8,3). There are a number of routes from (5,1) to (8,3). 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 (8,7). This is a straight drive north from (8,3) for a total of 4,000 feet.
Next, we will add the distances listed in the table.
From/To
Number of Feet Driven
(0,0) to (1,1)
2,000
(1,1) to (5,1)
4,000
(5,1) to (8,3)
5,000
(8,3) to (8,7)
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 (0,0) and (8,7).
d=(8−0)2+(7−0)2=64+49=113=10.63 units
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 (8,7). 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.
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, (x1,y1) and (x2,y2), the midpoint formula states how to find the coordinates of the midpoint M.
M=(2x1+x2,2y1+y2)
A graphical view of a midpoint is shown below. Notice that the line segments on either side of the midpoint are congruent.
Example: Finding the Midpoint of a Line Segment
Find the midpoint of the line segment with the endpoints (7,−2) and (9,5).
Answer:
Use the formula to find the midpoint of the line segment.
(2x1+x2,2y1+y2)=(27+9,2−2+5)=(8,23)
Try It
Find the midpoint of the line segment with endpoints (−2,−1) and (−8,6).
Answer:
(−5,25)
Example: Finding the Center of a Circle
The diameter of a circle has endpoints (−1,−4) and (5,−4). Find the center of the circle.
Answer:
The center of a circle is the center or midpoint of its diameter. Thus, the midpoint formula will yield the center point.
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. The table below lists values of x from –3 to 3 and the resulting values for y.
x
y=2x−1
(x,y)
−3
y=2(−3)−1=−7
(−3,−7)
−2
y=2(−2)−1=−5
(−2,−5)
−1
y=2(−1)−1=−3
(−1,−3)
0
y=2(0)−1=−1
(0,−1)
1
y=2(1)−1=1
(1,1)
2
y=2(2)−1=3
(2,3)
3
y=2(3)−1=5
(3,5)
We can plot these points from the table. The points for this particular equation form a line, so we can connect them.This is not true for all equations.
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
Make a table with one column labeled x, a second column labeled with the equation, and a third column listing the resulting ordered pairs.
Enter x-values down the first column using positive and negative values. Selecting the x-values in numerical order will make graphing easier.
Select x-values that will yield y-values with little effort, preferably ones that can be calculated mentally.
Plot the ordered pairs.
Connect the points if they form a line.
Example: Graphing an Equation in Two Variables by Plotting Points
Graph the equation y=−x+2 by plotting points.
Answer:
First, we construct a table similar to the one below. Choose x values and calculate y.
x
y=−x+2
(x,y)
−5
y=−(−5)+2=7
(−5,7)
−3
y=−(−3)+2=5
(−3,5)
−1
y=−(−1)+2=3
(−1,3)
0
y=−(0)+2=2
(0,2)
1
y=−(1)+2=1
(1,1)
3
y=−(3)+2=−1
(3,−1)
5
y=−(5)+2=−3
(5,−3)
Now, plot the points. Connect them if they form a line.
Try It
Construct a table and graph the equation by plotting points: y=21x+2.
Answer:
x
y=21x+2
(x,y)
−2
y=21(−2)+2=1
(−2,1)
−1
y=21(−1)+2=23
(−1,23)
0
y=21(0)+2=2
(0,2)
1
y=21(1)+2=25
(1,25)
2
y=21(2)+2=3
(2,3)
Using Intercepts to Plot Lines in the Coordinate Plane
The intercepts of a graph are points where the graph crosses the axes. The x-intercept is the point where the graph crosses the x-axis. At this point, the y-coordinate is zero. The y-intercept is the point where 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.
y=3x−10=3x−11=3x31=x(31,0)x-intercept
To find the y-intercept, set x=0.
y=3x−1y=3(0)−1y=−1(0,−1)y-intercept
We can confirm that our results make sense by observing a graph of the equation. Notice that the graph crosses the axes where we predicted it would.
How To: Given an equation, find the intercepts
Find the x-intercept by setting y=0 and solving for x.
Find the y-intercept by setting x=0 and solving for y.
Example: Finding the Intercepts of the Given Equation
Find the intercepts of the equation y=−3x−4. Then sketch the graph using only the intercepts.
Answer:
Set y=0 to find the x-intercept.
y=−3x−40=−3x−44=−3x−34=x(−34,0)x-intercept
Set x=0 to find the y-intercept.
y=−3x−4y=−3(0)−4y=−4(0,−4)y-intercept
Plot both points and draw a line passing through them.
Try It
Find the intercepts of the equation and sketch the graph: y=−43x+3.
Answer:
x-intercept is (4,0); y-intercept is (0,3).
Using a Graphing Utility to Plot Lines
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=_____. 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 as shown below. 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, and −10≤y≤10.
(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 (a) and (b) below.
(a) This screen shows the new window settings. (b) We can clearly view the intercepts in the new window.
Example: Using a Graphing Utility to Graph an Equation
Use a graphing utility to graph the equation: y=−32x−34.
Answer:
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.
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.
Glossary
Cartesian coordinate system
a grid system designed with perpendicular axes invented by René Descartes
equation in two variables
a mathematical statement, typically written in x and y, in which two expressions are equal
distance formula
a formula that can be used to find the length of a line segment if the endpoints are known
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, (x,y)
origin
the point where the two axes cross in the center of the plane, described by the ordered pair (0,0)
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
Licenses & Attributions
CC licensed content, Original
Revision and Adaptation.Provided by: Lumen LearningLicense: CC BY: Attribution.
CC licensed content, Shared previously
College Algebra.Provided by: OpenStaxAuthored by: Abramson, Jay et al..Located at: https://openstax.org/books/college-algebra/pages/1-introduction-to-prerequisites.License: CC BY: Attribution. License terms: Download for free at http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2.
Question ID 92752, 92753, 92757.Authored by: Michael Jenck.License: CC BY: Attribution. License terms: IMathAS Community License, CC-BY + GPL.
Question ID 19140.Authored by: Amy Lambert.License: CC BY: Attribution. License terms: IMathAS Community LicenseCC-BY + GPL.
Question ID 2308.Authored by: David Lippman.License: CC BY: Attribution. License terms: IMathAS Community License, CC-BY + GPL.
Question ID 110938, 110939.Authored by: Lumen Learning.License: CC BY: Attribution. License terms: IMathAS Community License CC- BY + GPL.