Topic navigation panel

Topic navigation panel

Cambridge (CIE) IGCSE Maths

Revision Notes
(Coordinates & Straight Line Graphs)

Length of a Line

Length of a Line

Distance Formula

The length of a straight line between two points on a coordinate plane can be found using the distance formula. If you have two points with coordinates (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), the distance dd between them is given by:

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

This formula comes from applying Pythagoras' theorem to the horizontal and vertical distances between the points.

For example, if you have points A(3,4)A(3, 4) and B(7,1)B(7, 1), the length of the line ABAB can be calculated by finding the differences in coordinates, squaring them, adding, and then taking the square root.

For instance, if you want to find the length of the line between points A(3,4)A(3, 4) and B(7,1)B(7, 1), first calculate the differences in the x- and y-coordinates:

  • x2x1=73=4x_2 - x_1 = 7 - 3 = 4
  • y2y1=14=3y_2 - y_1 = 1 - 4 = -3

Then square these differences and add:

42+(3)2=16+9=254^2 + (-3)^2 = 16 + 9 = 25

Finally, take the square root:

d=25=5d = \sqrt{25} = 5

So, the length of the line ABAB is 5units5\,\mathrm{units}. Note that "units" depends on the scale of the coordinate plane.

PracticeExample 2

Worked Example

Example: Find the length of the line between points C(2,5)C(-2, 5) and D(3,1)D(3, -1).

Application of Length in Coordinate Geometry

The distance formula is very useful in coordinate geometry problems, especially when working with shapes drawn on the coordinate plane. Here are some common applications:

Finding the Perimeter of Shapes

To find the perimeter of a polygon on a coordinate plane, calculate the length of each side using the distance formula and then add all the lengths together.

For example, to find the perimeter of a triangle with vertices at P(1,2)P(1, 2), Q(4,6)Q(4, 6), and R(7,2)R(7, 2), find the lengths of sides PQPQ, QRQR, and RPRP and sum them.

Checking Equal Lengths in Geometry

You can use the distance formula to check if two line segments are equal in length, which helps in identifying special types of triangles (like isosceles) or verifying if a quadrilateral is a square or rectangle.

For example, if two sides of a triangle have the same length, the triangle is isosceles.

PracticeExample 4

Worked Example

Example: A quadrilateral has vertices A(0,0)A(0, 0), B(4,0)B(4, 0), C(4,3)C(4, 3), and D(0,3)D(0, 3). Find the lengths of all sides and determine if it is a rectangle.

PracticeExample 5

Worked Example

Example: Find the perimeter of triangle XYZXYZ with coordinates X(2,3)X(2, 3), Y(5,7)Y(5, 7), and Z(8,3)Z(8, 3).

  • Remember that the distance formula is just Pythagoras' theorem in disguise, applied to the horizontal and vertical distances between two points.
  • When calculating differences, keep track of signs carefully, but remember squaring removes negative signs.
  • Use the distance formula to check if sides are equal, which helps identify special shapes like squares, rectangles, and isosceles triangles.
PracticeExample 7

Worked Example

Example: Calculate the length of the line between points M(1,2)M(1, -2) and N(3,2)N(-3, 2).

Quick actions

Press Enter to send, Shift+Enter for new line

Choose Your Study Plan

MonthlyAnnualSave 20%

Plus

£4.99/month
  • Everything in Free plus...
  • Unlimited revision resources access
  • AI assistance (Within usage limits)
  • Enhanced progress tracking
  • New features soon...

Pro

£9.99/month
  • Everything in Plus plus...
  • Unlimited AI assistance
  • Unlimited questions marked
  • Detailed feedback and explanations
  • Comprehensive progress tracking
  • New features soon...
Most Popular