Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
  • Percentages0/6
  • Algebra0/7
  • Coordinate geometry0/7
  • Vectors and the dot product0/7
  • Trigonometry0/7
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
xxxMaths, module 5: Algebra, lesson 4 of 7

Coordinates, and the distance between two points

Pin a point down with two numbers, then find how far apart two points are with a right-angled triangle and Pythagoras.

9 minute readOne thing to try5 questionsFree

Two numbers are enough to pin down any spot on a flat page. Once points have numbers, you can measure the gap between them with a little arithmetic, and that one measurement turns out to sit at the heart of how AI compares things.

Read the whole lesson free

Make a free account to read on, try the interactive parts, answer the 5 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • A point (x,y)(x, y)(x,y) is x across, then y up. Negative means left or down.
  • Points in a row or a column: the distance is the gap between the numbers that differ.
  • Any two points: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}d=(x2​−x1​)2+(y2​−y1​)2​, the long side of a right-angled triangle.
  • The midpoint averages the xxx numbers and the yyy numbers.

More in Algebra

  1. 1Letters for numbers
  2. 2Solving equations
  3. 3Graphs, and what y = mx + c means
  4. 4Coordinates, and the distance between two points
  5. 5Straight lines and slope
  6. 6Two equations at once
  7. 7Gateway to linear algebra