Lines & Graphs

Plotting Points on the Coordinate Plane

To plot the point (x,y)(x, y), start at the origin, move xx units horizontally (right if positive, left if negative), then yy units vertically (up if positive, down if negative), and mark where you land.

(x, y): move x across, then y up or down(x,\,y):\ \text{move } x \text{ across, then } y \text{ up or down}

Try it with your numbers

Show every step

Every graph in algebra is built from this one move, repeated. The solver above shows each step for any pair you type, and the sections below explain why the method works, where students lose points, and how plotted points connect to slope, distance and midpoint.

How do you plot a point on the coordinate plane?

An ordered pair is a set of travel directions from the origin. The word “ordered” matters: (2,7)(2, 7) means 2 across and 7 up, while (7,2)(7, 2) means 7 across and 2 up. Those are two different locations, which is why the first number is always the horizontal one.

(x, y) ⟶ move x horizontally, then y vertically(x,\,y)\ \longrightarrow\ \text{move } x \text{ horizontally, then } y \text{ vertically}

There is a second way to see the same thing, and it explains why a pair names exactly one point. The equation x=2x = 2 is a vertical line through 2 on the horizontal axis, and y=7y = 7 is a horizontal line through 7 on the vertical axis. Two non-parallel lines cross once, so (2,7)(2, 7) is the single spot where they meet. Drawing those two light pencil lines is a reliable way to plot when a grid is crowded.

A memory hook that holds up under exam pressure: you walk into the building before you ride the elevator. Horizontal first, vertical second, and xx comes before yy in the alphabet too.

Quick check

How far above the x-axis and how far right of the y-axis is the point (2,7)(2, 7)?

Plotting points with negative coordinates and quadrants

A negative coordinate reverses the direction of the move. Negative xx goes left, negative yy goes down. The signs of the two coordinates also tell you which region of the plane the point lies in before you draw anything, which is the quickest sanity check available. The regions are numbered counterclockwise from the top right, as covered on the page about the four quadrants.

Quadrant Sign of xx Sign of yy Example
I positive positive (3,4)(3, 4)
II negative positive (−3,4)(-3, 4)
III negative negative (−3,−4)(-3, -4)
IV positive negative (3,−4)(3, -4)

Worked example 1. Plot A(−4,3)A(-4, 3) and B(2,−5)B(2, -5).

  1. For AA: the x-coordinate −4-4 is negative, so move 4 units left of the origin.
  2. The y-coordinate 33 is positive, so move 3 units up. Mark AA. Left and up means Quadrant II.
  3. For BB: the x-coordinate 22 is positive, so move 2 units right.
  4. The y-coordinate −5-5 is negative, so move 5 units down. Mark BB. Right and down means Quadrant IV.

The trap that costs the most points here is counting the origin as “1”. The first square you step onto is 1, so the origin itself is zero. Start counting from the next grid line, and a point meant to be at −4-4 will not drift to −3-3.

Plotting points on the x-axis and y-axis

When a coordinate is zero, that move simply does not happen. A point (x,0)(x, 0) has no vertical move, so it sits on the x-axis. A point (0,y)(0, y) has no horizontal move, so it sits on the y-axis. Points on an axis belong to no quadrant, and the origin (0,0)(0, 0) lies on both axes.

Which axis is it?

Look at the nonzero number. In (0,−6)(0, -6), the −6-6 is a vertical move, so the point lives on the y-axis, 6 units below the origin.

These axis points are exactly what you hunt for when finding x and y intercepts: set one coordinate to zero and solve for the other. An x-intercept always has the form (a,0)(a, 0), and a y-intercept always has the form (0,b)(0, b).

Shared coordinates give a second shortcut. If two points have the same y-value, such as (1,2)(1, 2) and (5,2)(5, 2), the segment between them is horizontal and its length is ∣5−1∣=4|5 - 1| = 4. If they share an x-value, the segment is vertical. Extend that idea and you get the lines described in horizontal and vertical lines, where y=2y = 2 is simply every point whose height is 2.

Quick check

On which axis does the point (0,−6)(0, -6) lie?

How do you plot fractions and decimals on a graph?

Convert the coordinate to a decimal, then place it between the two nearest grid lines in proportion. A decimal such as 0.750.75 sits three quarters of the way from one line to the next. Mixed numbers and improper fractions work the same way once they are decimals.

Worked example 2. Plot (32,−74)\left(\tfrac{3}{2}, -\tfrac{7}{4}\right).

32=1.5,−74=−1.75\tfrac{3}{2} = 1.5, \qquad -\tfrac{7}{4} = -1.75

Move right to 1.51.5, which is halfway between the lines at 11 and 22. Then move down to −1.75-1.75, which is 0.750.75 of the way from −1-1 toward −2-2. The point lies in Quadrant IV, close to the −2-2 line but not on it.

Irrational coordinates are plotted by approximation. For (2,π)(\sqrt{2}, \pi), use (1.41,3.14)(1.41, 3.14), so the point sits a little under halfway between 1 and 2 on the x-axis and just past 3 on the y-axis.

Axes do not always count by ones. When the labels read 50, 100, 150 (or the two axes use different scales), use this routine:

  1. Read the first two labeled grid lines to find what one square is worth.
  2. Divide each coordinate by that value to get the number of squares to move.
  3. Move that many squares and mark the point.

For (150,−20)(150, -20) with each x-square worth 50 and each y-square worth 10, the moves are 150÷50=3150 \div 50 = 3 squares right and 20÷10=220 \div 10 = 2 squares down.

Try this: On graph paper, plot (−2.5,0.75)(-2.5, 0.75). Before you mark it, predict the quadrant and which two grid lines it falls between on each axis, then check your prediction against the paper.

How do you read and check a plotted point?

Reading a point is plotting in reverse. From the dot, travel straight vertically to the x-axis and read the number there. Then travel straight horizontally to the y-axis and read that number. Write the horizontal reading first. If the dot is 3 squares left of the y-axis and 2 above the x-axis, the pair is (−3,2)(-3, 2).

Three quick checks catch almost every plotting error:

  • Sign test. Match the signs of your pair to the quadrant. A point in the lower left must have two negative coordinates.
  • Swap test. Ask whether reversing the numbers would give the dot you drew. Swapping (a,b)(a, b) to (b,a)(b, a) mirrors a point across the line y=xy = x, so a swapped point lands in a predictable wrong place.
  • Count-back test. Walk from the dot back to the origin, vertical then horizontal, and see whether the counts equal the coordinates.

Reflections follow from the same idea. Reflecting across the x-axis flips the sign of yy, giving (x,−y)(x, -y). Reflecting across the y-axis flips the sign of xx, giving (−x,y)(-x, y). Reflecting through the origin flips both. Knowing these lets you check a symmetric figure without re-plotting every vertex.

Plotting points from an equation or a table

An equation in two variables is a rule that produces pairs. Pick an xx, compute the matching yy, and each pair becomes one point. Plot enough of them and the shape of the graph appears.

Worked example 3. Plot points for y=2x−1y = 2x - 1.

  1. Choose x=−1,0,1,2x = -1, 0, 1, 2.
  2. Compute each yy: 2(−1)−1=−32(-1) - 1 = -3, then 2(0)−1=−12(0) - 1 = -1, then 2(1)−1=12(1) - 1 = 1, then 2(2)−1=32(2) - 1 = 3.
  3. The points are (−1,−3)(-1, -3), (0,−1)(0, -1), (1,1)(1, 1) and (2,3)(2, 3).
  4. Plot them. Each step right of 1 raises the height by 2, so they fall on one straight line.

The pattern is the heart of graphing a line with a table of values. It also shows why slope-intercept form works: the −1-1 in the rule is where the line crosses the y-axis at (0,−1)(0, -1), and the 22 is the rise for each step of run.

Two points determine a line, but always plot a third. If the three do not line up, one of them has an arithmetic slip. This test fails for curves, though. For y=x2y = x^2 the points (−2,4)(-2, 4), (−1,1)(-1, 1), (0,0)(0, 0), (1,1)(1, 1), (2,4)(2, 4) do not lie on a line, and you need several of them, including negative xx-values, before the U-shape and its left-right symmetry are visible.

Quick check

Does the point (3,6)(3, 6) lie on the graph of y=2x−1y = 2x - 1?

Using plotted points to find slope, distance and midpoint

Right triangle between points A(−2, 1) and B(4, 5) giving slope, distance and midpoint
The run of 6 and rise of 4 between A and B give slope 2/3, distance √52 and midpoint (1, 3).

Once two points are on the plane, the horizontal and vertical moves between them contain everything. Slope is the vertical change over the horizontal change. Distance is the hypotenuse of the right triangle those two changes form. The midpoint is the average of each coordinate. These are the slope formula, the distance formula and the midpoint formula, and all three are read off the same sketch.

The hidden right triangle

Draw a horizontal segment and a vertical segment from two points. Their lengths are the legs, and the distance formula is just a2+b2=c2a^2 + b^2 = c^2 in coordinate clothing.

For A(−2,1)A(-2, 1) and B(4,5)B(4, 5), the horizontal change is 4−(−2)=64 - (-2) = 6 and the vertical change is 5−1=45 - 1 = 4.

m=46=23,d=62+42=52=213≈7.21m = \frac{4}{6} = \frac{2}{3}, \qquad d = \sqrt{6^2 + 4^2} = \sqrt{52} = 2\sqrt{13} \approx 7.21

M=(−2+42, 1+52)=(1,3)M = \left(\frac{-2 + 4}{2},\ \frac{1 + 5}{2}\right) = (1, 3)

A rough plot confirms the answers: the midpoint (1,3)(1, 3) sits halfway along the segment, and a slope of 23\tfrac{2}{3} means the line rises gently. Plotting four points and comparing slopes also tells you whether a shape has parallel or perpendicular sides, as explained in slopes of parallel and perpendicular lines. Here, a line perpendicular to ABAB would have slope −32-\tfrac{3}{2}.

Where plotting points is used in real life

Maps are coordinate planes. Longitude plays the role of xx and latitude plays the role of yy, yet addresses are usually written latitude first. That is the swap trap again, in a setting where the mistake puts you in the wrong country.

Screens use the same idea with one twist: pixel coordinates start at the top-left corner and yy increases downward. If a shape you code appears upside down, this is almost always why.

Data work depends on plotting. Each row of a table, such as hours studied and test score, becomes one point on a scatter plot. When the points hug a line through the origin, the relationship is direct variation. The slope between two data points is their average rate of change, so reading a scatter plot is applying the same steps from this page to real numbers.

Practice problems

0 of 5 solved

  1. In which quadrant does (−6,2)(-6, 2) lie?

  2. A point is 4 units to the left of the y-axis and 3 units below the x-axis. Write its coordinates.

  3. Where does (52,−32)\left(\tfrac{5}{2}, -\tfrac{3}{2}\right) sit? Give the quadrant and the two integers each coordinate falls between.

  4. Find the distance between (−3,0)(-3, 0) and (0,4)(0, 4).

  5. Three vertices of a rectangle are (−3,2)(-3, 2), (4,2)(4, 2) and (4,−1)(4, -1). Find the fourth vertex and the area.

Common questions

Which comes first when plotting points, x or y?

The x-coordinate always comes first. It tells you how far to move horizontally from the origin, and the y-coordinate then tells you how far to move vertically.

How do you plot a point with a zero coordinate?

The zero means that move never happens. (4,0)(4, 0) sits on the x-axis, 4 units right of the origin, and (0,4)(0, 4) sits on the y-axis, 4 units above it.

What quadrant is (−3,−7)(-3, -7) in?

Quadrant III. Both coordinates are negative, so the point is left of the y-axis and below the x-axis.

How do you plot a fraction or decimal on a graph?

Convert it to a decimal, then estimate its position between the two nearest grid lines. For 32\tfrac{3}{2}, that is halfway between 11 and 22.

What is the difference between plotting (3,5)(3, 5) and (5,3)(5, 3)?

They are different points. (3,5)(3, 5) is 3 right and 5 up, while (5,3)(5, 3) is 5 right and 3 up. Swapping the coordinates mirrors a point across the line y=xy = x.

How many points do you need to graph a straight line?

Two points determine a line, but plot a third as a check. If the three points do not line up, one of them contains an arithmetic error.

Up next