Coordinate Geometry: Definition, Method and Examples

MathPublished

Coordinate Geometry: Definitions, Methods, and Examples

Coordinate geometry uses numbers and algebra to describe location and geometric relationships on a coordinate plane. With coordinates, learners can calculate distance and midpoint, compare slopes, write line equations, and test properties of figures precisely.

What is coordinate geometry?

Coordinate geometry is a branch of mathematics that uses algebraic equations to represent and analyze geometric shapes on a two-dimensional grid. It bridges the gap between abstract algebra and visual geometry.


The foundation of this system is the coordinate plane, which consists of two intersecting number lines: the horizontal xx-axis and the vertical yy-axis. These lines cross at a central point called the origin, written as (0,0)(0, 0).


Every location on the plane is described by an ordered pair of numbers (x,y)(x, y), known as coordinates. The first number, the abscissa, measures the horizontal position. The second number, the ordinate, measures the vertical position.


The coordinates map the exact horizontal and vertical distance from the origin.


A coordinate plane showing the horizontal x-axis, vertical y-axis, origin at 0, 0, four quadrants, and a point at 4, 3.

Connect coordinates to geometric properties

Plotting coordinates on a grid transforms abstract numbers into visible geometric figures. By graphing points, learners can form lines, angles, polygons, and curves directly on the plane.

The intersecting axes divide the grid into four regions called quadrants.


The signs of the coordinates reveal which quadrant a point occupies:

  • Quadrant I: (+,+)(+, +) Both xx and yy are positive.
  • Quadrant II: (−,+)(-, +) The xx-value is negative, and the yy-value is positive.
  • Quadrant III: (−,−)(-, -) Both xx and yy are negative.
  • Quadrant IV: (+,−)(+, -) The xx-value is positive, and the yy-value is negative.

Plotting the vertices of a shape makes it possible to calculate side lengths, test for parallel lines, or find the exact area without having to measure the shape physically with a ruler.

Use the main coordinate methods

Once points are placed on the plane, several algebraic formulas help analyze their properties.


The distance between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) calculates the exact length of the straight line segment connecting them:

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


The midpoint formula finds the exact center of a line segment by averaging the coordinates of its two endpoints:

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


The slope of a line measures its steepness and direction. It is found by dividing the vertical change by the horizontal change:

m=y2−y1x2−x1m = \dfrac{y_2 - y_1}{x_2 - x_1}


The equation of a line describes all the points that lie on it. The standard slope-intercept form uses the slope mm and the yy-intercept cc:

y=mx+cy = mx + c


For dividing a segment into a specific ratio m:nm:n, coordinate geometry uses the section formula:

(x,y)=(mx2+nx1m+n,my2+ny1m+n)(x, y) = \left( \dfrac{mx_2 + nx_1}{m + n}, \dfrac{my_2 + ny_1}{m + n} \right)

Read diagrams before choosing a formula

Before applying a formula, visually interpret the coordinate grid. By drawing a right-angled triangle between two points on a map, the horizontal and vertical changes become immediately clear.

A right-angled triangle on a coordinate grid with endpoints at 1, 1 and 5, 4. Dashed lines highlight a horizontal change of 4 units and a vertical change of 3 units.


This visual method supports algebraic calculations. The horizontal change and vertical change form the perpendicular legs of a right triangle, allowing the diagonal distance to be calculated or verified using the Pythagorean theorem.


Method Selection Guide

Goal

Method or Formula to Use

Find the length of a segment

Distance formula

Find the center of a segment

Midpoint formula

Compare steepness or parallel lines

Slope formula

Describe a straight path algebraically

Equation of a line

Split a line into a specific ratio

Section formula

Apply coordinate geometry to shapes

Coordinate geometry can prove geometric properties of shapes algebraically. For example, three points are collinear (meaning they lie on the exact same straight line) if the slope calculated between the first two points matches the slope calculated between the last two points.


The exact center of a triangle, known as the centroid, is the intersection of its medians. It can be found by averaging the coordinates of its three vertices A(x1,y1)A(x_1, y_1), B(x2,y2)B(x_2, y_2), and C(x3,y3)C(x_3, y_3):

(x,y)=(x1+x2+x33,y1+y2+y33)(x, y) = \left( \dfrac{x_1 + x_2 + x_3}{3}, \dfrac{y_1 + y_2 + y_3}{3} \right)


The area of a triangle on a coordinate grid can be calculated precisely using a determinant formula, without needing to measure a physical height:

Area = 12∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\dfrac{1}{2} |x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|

Worked examples


Example 1: Finding the distance between two points


Question: What is the distance between the points (2,3)(2, 3) and (5,7)(5, 7)?


Method:

  1. Assign (x1,y1)(x_1, y_1) to (2,3)(2, 3) and (x2,y2)(x_2, y_2) to (5,7)(5, 7).
  2. Substitute the values into the distance formula.
  3. Simplify the horizontal and vertical differences, then square the results.
  4. Add the squares and calculate the square root.

Answer: d=(5−2)2+(7−3)2=32+42=9+16=25=5d = \sqrt{(5 - 2)^2 + (7 - 3)^2} = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5.


Check: A visual right triangle has horizontal and vertical changes of 33 and 44, which forms a standard 3−4−53-4-5 right triangle, confirming the diagonal length is 55.


Example 2: Finding a missing endpoint given the midpoint


Question: One endpoint of a line segment is A(1,4)A(1, 4) and the midpoint is M(3,6)M(3, 6). What are the coordinates of the other endpoint B(x2,y2)B(x_2, y_2)?


Method:

  1. Set up the midpoint equation for the xx-coordinates.
  2. Solve for x2x_2.
  3. Set up the midpoint equation for the yy-coordinates.
  4. Solve for y2y_2.

Answer:

For xx: 3=1+x22  ⟹  6=1+x2  ⟹  x2=53 = \dfrac{1 + x_2}{2} \implies 6 = 1 + x_2 \implies x_2 = 5.

For yy: 6=4+y22  ⟹  12=4+y2  ⟹  y2=86 = \dfrac{4 + y_2}{2} \implies 12 = 4 + y_2 \implies y_2 = 8.

The coordinates of endpoint BB are (5,8)(5, 8).


Check: The midpoint of (1,4)(1, 4) and (5,8)(5, 8) is (1+52,4+82)=(3,6)\left( \dfrac{1+5}{2}, \dfrac{4+8}{2} \right) = (3, 6), which matches the given midpoint.


Example 3: Writing the equation of a line


Question: What is the equation of the line passing through (0,2)(0, 2) and (4,10)(4, 10)?


Method:

  1. Use the slope formula to find the steepness of the line mm.
  2. Identify the yy-intercept cc, which occurs where the xx-coordinate is 00.
  3. Substitute mm and cc into the slope-intercept form y=mx+cy = mx + c.

Answer: m=10−24−0=84=2m = \dfrac{10 - 2}{4 - 0} = \dfrac{8}{4} = 2. Since the line passes through (0,2)(0, 2), the yy-intercept is c=2c = 2. The equation of the line is y=2x+2y = 2x + 2.


Check: Substitute the second point (4,10)(4, 10) into the equation: 10=2(4)+2  ⟹  10=8+2  ⟹  10=1010 = 2(4) + 2 \implies 10 = 8 + 2 \implies 10 = 10. The equation is correct.

Common mistakes

  • Swapping the xx and yy coordinates: Always write the horizontal xx-value first, followed by the vertical yy-value. The point (3,5)(3, 5) represents a completely different location than the point (5,3)(5, 3).
  • Ignoring negative signs: When subtracting a negative coordinate in the distance or slope formulas, it becomes addition. For example, 5−(−2)5 - (-2) must be written as 5+25 + 2.
  • Mixing up formulas: The distance formula adds squared differences, while the slope formula divides the difference in yy by the difference in xx. Using the wrong formula for the task leads to incorrect properties.

Frequently asked questions

What is a coordinate plane?

A coordinate plane is a flat, two-dimensional surface formed by two intersecting number lines: the horizontal xx-axis and the vertical yy-axis. It provides a structured mathematical grid for mapping points, lines, and shapes.


How is coordinate geometry used in real life?

Coordinate systems form the basis of global positioning systems (GPS), digital mapping, computer graphics, and architectural design. They allow software to precisely locate objects, model spaces, and track movement.


What are collinear points?

Collinear points are three or more distinct points that lie on the exact same straight line. In coordinate geometry, points are proven collinear if the slope calculated between any two pairs of these points is exactly equal.

Practice questions

Question

A coordinate plane showing a point P located 3 units to the right of the y-axis and 2 units below the x-axis.

What are the coordinates of point PP shown on the coordinate plane?

  • (3,−2)(3, -2)

  • (−2,3)(-2, 3)

  • (2,−3)(2, -3)

  • (−3,2)(-3, 2)

Answer:

(3,−2)(3, -2)

Question

What is the distance between the points (−1,−1)(-1, -1) and (2,3)(2, 3)?

  • 33

  • 44

  • 55

  • 77

Answer:

55

Question

What is the midpoint of the line segment connecting (−4,8)(-4, 8) and (10,−2)(10, -2)?

  • (3,3)(3, 3)

  • (6,6)(6, 6)

  • (7,5)(7, 5)

  • (−7,5)(-7, 5)

Answer:

(3,3)(3, 3)

Question

What is the slope of the line passing through the points (−2,5)(-2, 5) and (4,−7)(4, -7)?

  • 22

  • −12-\dfrac{1}{2}

  • −2-2

  • 12\dfrac{1}{2}

Answer:

−2-2

Question

Which method correctly proves that two distinct lines on a coordinate plane are parallel?

  • Calculate the distance between their endpoints and show they are equal.

  • Calculate the slope of both lines and show they are equal.

  • Calculate the midpoint of both lines and show they intersect.

  • Multiply their slopes together and show the result is −1-1.

Answer:

Calculate the slope of both lines and show they are equal.