Geometry

Coordinate Geometry

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
πŸ“
Carpentry

Measurements, material estimation, cutting calculations

Coordinate geometry is the bridge between algebra and geometry. Instead of working with abstract shapes, you place them on a numbered grid β€” a coordinate plane β€” so you can measure exact distances, find midpoints, and describe positions with numbers.

This skill is essential for standardized tests (SAT, ACT, GED), technical trades (CNC machining, surveying, carpentry layout), and every math course from pre-algebra through calculus. If you can plot a point and apply two formulas, you can solve a huge range of practical problems.

The Coordinate Plane

The coordinate plane is formed by two perpendicular number lines that cross at a point called the origin.

  • The horizontal line is the x-axis
  • The vertical line is the y-axis
  • The point where they cross is the origin, labeled (0,0)(0, 0)

The two axes divide the plane into four quadrants, numbered counterclockwise starting from the upper right:

Quadrantx-signy-signExample Point
I (upper right)++++(3,2)(3, 2)
II (upper left)βˆ’-++(βˆ’4,3)(-4, 3)
III (lower left)βˆ’-βˆ’-(βˆ’3,βˆ’2)(-3, -2)
IV (lower right)++βˆ’-(2,βˆ’3)(2, -3)

The Coordinate Plane β€” Four Quadrants

xy-5-4-3-2-1123454321-1-2-3-40IIIIIIIV(3, 2)(-4, 3)(-3, -2)(2, -3)

How to remember the signs: Start in the upper right and go counterclockwise. Quadrant I is all positive. Then the x-coordinate flips negative in Quadrant II, both are negative in Quadrant III, and only y is negative in Quadrant IV.

Plotting Points

Every location on the coordinate plane is described by an ordered pair (x,y)(x, y). The first number tells you how far to move horizontally from the origin, and the second tells you how far to move vertically.

To plot a point:

  1. Start at the origin (0,0)(0, 0)
  2. Move horizontally β€” right if xx is positive, left if xx is negative
  3. Move vertically β€” up if yy is positive, down if yy is negative
  4. Mark the point

For example, to plot (3,2)(3, 2): start at the origin, move 3 units right, then 2 units up. To plot (βˆ’4,3)(-4, 3): start at the origin, move 4 units left, then 3 units up.

The order matters. The point (3,2)(3, 2) is not the same as the point (2,3)(2, 3). Always read the x-coordinate first.

The Distance Formula

How do you find the straight-line distance between two points on the coordinate plane? You use the distance formula:

d=(x2βˆ’x1)2+(y2βˆ’y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

This formula is not something to memorize blindly β€” it comes directly from the Pythagorean theorem. Here is why it works:

Given two points, you can draw a right triangle by connecting them with a horizontal line and a vertical line. The horizontal distance is ∣x2βˆ’x1∣|x_2 - x_1| (one leg), the vertical distance is ∣y2βˆ’y1∣|y_2 - y_1| (the other leg), and the straight-line distance between the points is the hypotenuse. Applying a2+b2=c2a^2 + b^2 = c^2 gives you the distance formula.

Distance Formula = Pythagorean Theorem on the Coordinate Plane

012345671234564 units3 unitsd = 5(2, 3)(6, 6)Horizontal and vertical legs form a right triangle

The Midpoint Formula

The midpoint of a line segment is the point exactly halfway between two endpoints. To find it, just average the x-coordinates and average the y-coordinates:

M=(x1+x22,Β y1+y22)M = \left(\frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2}\right)

Think of it this way: the midpoint’s x-coordinate is the average of the two x-values, and its y-coordinate is the average of the two y-values. You are finding the center in each direction independently.

Worked Examples

Example 1: Find the distance between (2,3)(2, 3) and (6,6)(6, 6)

Identify the coordinates: x1=2x_1 = 2, y1=3y_1 = 3, x2=6x_2 = 6, y2=6y_2 = 6.

Apply the distance formula:

d=(6βˆ’2)2+(6βˆ’3)2d = \sqrt{(6 - 2)^2 + (6 - 3)^2}

d=42+32=16+9=25=5d = \sqrt{4^2 + 3^2} = \sqrt{16 + 9} = \sqrt{25} = 5

Answer: The distance is 5 units. Notice this is a 3-4-5 right triangle β€” the horizontal distance is 4, the vertical distance is 3, and the hypotenuse is 5.

Example 2: Find the distance between (βˆ’3,4)(-3, 4) and (1,βˆ’2)(1, -2)

Identify the coordinates: x1=βˆ’3x_1 = -3, y1=4y_1 = 4, x2=1x_2 = 1, y2=βˆ’2y_2 = -2.

d=(1βˆ’(βˆ’3))2+(βˆ’2βˆ’4)2d = \sqrt{(1 - (-3))^2 + (-2 - 4)^2}

d=42+(βˆ’6)2=16+36=52d = \sqrt{4^2 + (-6)^2} = \sqrt{16 + 36} = \sqrt{52}

Simplify the radical: 52=4β‹…13=213β‰ˆ7.21\sqrt{52} = \sqrt{4 \cdot 13} = 2\sqrt{13} \approx 7.21

Answer: The distance is 213β‰ˆ2\sqrt{13} \approx 7.21 units.

Example 3: Find the midpoint of (1,5)(1, 5) and (7,βˆ’1)(7, -1)

Average the x-coordinates and the y-coordinates separately:

M=(1+72,Β 5+(βˆ’1)2)=(82,Β 42)=(4,2)M = \left(\frac{1 + 7}{2},\ \frac{5 + (-1)}{2}\right) = \left(\frac{8}{2},\ \frac{4}{2}\right) = (4, 2)

Answer: The midpoint is (4, 2).

Example 4: Working backward from a midpoint

A point is at (3,4)(3, 4), and the midpoint to another unknown point is (5,1)(5, 1). Find the other point.

Let the unknown point be (x,y)(x, y). The midpoint formula gives us:

3+x2=5β‡’3+x=10β‡’x=7\frac{3 + x}{2} = 5 \quad \Rightarrow \quad 3 + x = 10 \quad \Rightarrow \quad x = 7

4+y2=1β‡’4+y=2β‡’y=βˆ’2\frac{4 + y}{2} = 1 \quad \Rightarrow \quad 4 + y = 2 \quad \Rightarrow \quad y = -2

Answer: The other point is (7, -2).

Example 5: Distance between two bolt holes on a machine part

A machinist needs to verify the distance between two bolt holes on a CNC-milled plate. The holes are centered at coordinates (2.5,1.0)(2.5, 1.0) and (5.5,4.0)(5.5, 4.0) (in inches, measured from the plate’s lower-left corner).

d=(5.5βˆ’2.5)2+(4.0βˆ’1.0)2d = \sqrt{(5.5 - 2.5)^2 + (4.0 - 1.0)^2}

d=3.02+3.02=9+9=18d = \sqrt{3.0^2 + 3.0^2} = \sqrt{9 + 9} = \sqrt{18}

d=9β‹…2=32β‰ˆ4.243Β inchesd = \sqrt{9 \cdot 2} = 3\sqrt{2} \approx 4.243 \text{ inches}

Answer: The center-to-center distance is approximately 4.243 inches. If the blueprint calls for exactly 323\sqrt{2} inches (about 4.243”), the holes are correctly placed.

Real-World Application: CNC Machining and Bolt Circles

In CNC machining and metal fabrication, every cut, hole, and feature is specified by coordinates on a work plane β€” exactly like a coordinate grid. The distance formula is used constantly to:

  • Verify hole spacing β€” after drilling, a machinist checks that the center-to-center distance between holes matches the blueprint
  • Calculate tool paths β€” the total distance a cutting tool travels between positions determines machining time and tool wear
  • Lay out bolt circles β€” bolt holes are often arranged in a circle. Each hole position is calculated using the circle’s center coordinate, its radius, and the angle. The distance formula then verifies that adjacent holes are evenly spaced

The midpoint formula is equally practical β€” for example, finding the center point between two existing holes when you need to add a third hole exactly in the middle.

These same principles apply to carpentry layout (plotting cut lines on sheet goods), surveying (measuring distances between reference markers), and any field that uses a coordinate grid for precision work.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Find the distance between the points (0,0)(0, 0) and (5,12)(5, 12).

d=(5βˆ’0)2+(12βˆ’0)2=25+144=169=13d = \sqrt{(5 - 0)^2 + (12 - 0)^2} = \sqrt{25 + 144} = \sqrt{169} = 13

Answer: d=13d = 13 (this is the 5-12-13 Pythagorean triple)

Problem 2: Find the midpoint of (βˆ’6,2)(-6, 2) and (4,βˆ’8)(4, -8).

M=(βˆ’6+42,Β 2+(βˆ’8)2)=(βˆ’22,Β βˆ’62)=(βˆ’1,βˆ’3)M = \left(\frac{-6 + 4}{2},\ \frac{2 + (-8)}{2}\right) = \left(\frac{-2}{2},\ \frac{-6}{2}\right) = (-1, -3)

Answer: The midpoint is (βˆ’1,βˆ’3)(-1, -3)

Problem 3: In which quadrant is the point (βˆ’5,7)(-5, 7) located?

The x-coordinate is negative and the y-coordinate is positive. Negative x means the point is to the left of the y-axis, and positive y means it is above the x-axis.

Answer: Quadrant II (upper left)

Problem 4: Two fence posts are at positions (1,3)(1, 3) and (9,9)(9, 9) on a property survey grid (in meters). How far apart are they?

d=(9βˆ’1)2+(9βˆ’3)2=82+62=64+36=100=10d = \sqrt{(9 - 1)^2 + (9 - 3)^2} = \sqrt{8^2 + 6^2} = \sqrt{64 + 36} = \sqrt{100} = 10

Answer: The fence posts are 10 meters apart (this is the 3-4-5 triple scaled by 2: 6-8-10)

Problem 5: One endpoint of a line segment is (2,βˆ’3)(2, -3) and the midpoint is (6,1)(6, 1). Find the other endpoint.

Let the other endpoint be (x,y)(x, y).

2+x2=6β‡’2+x=12β‡’x=10\frac{2 + x}{2} = 6 \quad \Rightarrow \quad 2 + x = 12 \quad \Rightarrow \quad x = 10

βˆ’3+y2=1β‡’βˆ’3+y=2β‡’y=5\frac{-3 + y}{2} = 1 \quad \Rightarrow \quad -3 + y = 2 \quad \Rightarrow \quad y = 5

Answer: The other endpoint is (10, 5)

Key Takeaways

  • The coordinate plane has two axes (x horizontal, y vertical) that create four quadrants numbered counterclockwise from the upper right
  • Every point is an ordered pair (x,y)(x, y) β€” x first (horizontal), y second (vertical)
  • The distance formula d=(x2βˆ’x1)2+(y2βˆ’y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} is the Pythagorean theorem applied to coordinates
  • The midpoint formula M=(x1+x22,Β y1+y22)M = \left(\frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2}\right) averages the coordinates to find the halfway point
  • You can work backward from a midpoint to find an unknown endpoint by setting up equations
  • These formulas are used daily in trades β€” CNC machining, surveying, carpentry layout, and blueprint reading

Return to Geometry for more topics in this section.

Last updated: March 28, 2026