1. Distance Between Two Points

Learning outcomes
  • I can determine the horizontal and vertical distance between two points.
  • I can explain how the Pythagorean Theorem is used to find distances in the coordinate plane.
  • I can calculate the distance between two points using the distance formula.
  • I can solve problems involving distance in coordinate geometry.
  • I can interpret the meaning of distance in real-world coordinate systems.

https://images.openai.com/static-rsc-4/dq3Rc5RpLu2HNq0cju8iigndd0OA7QwxrDxdSqYmHUJgdpwAJZXEDocfElgg5ZoUMl6A-7f7725p50wqXNmhJ1_m13vsox9_ye7-zYcLlFBVrP2M549aEGQGJDPc7dOYODhf4wqKPMsh3wENpUh05NKi5Efm08qMM-kSAfRjLPQpPWLWZvhqLN7QndSJj2wz?purpose=fullsize
 
https://images.openai.com/static-rsc-4/-1f-Lt_P132wBx-9DohSiqA567-E46qKG7cN6Z9rcnhUErmoBWQiQp8lMd0uJUqhGzdyMnavhMvWzkOrD3yEvH6JKXJZ4PH10nNp3N5OA0vfJxy7xkWbFdQlNawkC-B_RnSVmcGXHIxMWKiMlN_2RrqOw3ITMwzRIKVqlqFWBbTCqD8IbFlwXCYIohRfS9MM?purpose=fullsize
 
https://images.openai.com/static-rsc-4/JqsN5PIrETx8jzrwptK2VYs71IsjuEyNT8W7rvypB4t39udLfdzQ6DFuUd6XsEr1bJRiQGiennh2gyNfMPBACHZtoR3kWvac1-m81KX-QQTdHvV116arJJirZNln2FToAWdbjV4TnYCysATPx-VUWg4pzLC5LWeeGE0nlcBWFrE1YY_XvxtULvqayojAnqNv?purpose=fullsize
 
5

Distance on the Coordinate Plane

A coordinate plane allows us to describe the position of points using ordered pairs.

A point is written:

(x, y)

where:

  • x gives the horizontal position
  • y gives the vertical position

For example:

A(2, 3)

means that point A is:

  • 2 units horizontally from the origin
  • 3 units vertically from the origin

When two points are given, we can calculate the distance between them.


Horizontal Distance

If two points have the same y-coordinate, the line between them is horizontal.

For example:

A(2, 4)

and:

B(8, 4)

The horizontal distance is:

8 − 2 = 6

Therefore:

AB = 6 units

https://images.openai.com/static-rsc-4/yuiKMAz_nETiQfImHmJKrTe2MmjtGexFxsD0zFe_JYZXEJumDpt_axJdtCbVcJqbYAFMnqTt15a0dpaKtVLUwYjgJO09JkE1u6q5W_GUhiRgvrsQFQIqjmzArBroYZ9lOo9ty5QqezfgyoVaApQhGepzOYiGfirZBkT3--aGNdCnsw4RdfYWaKdbXpVScajl?purpose=fullsize
 
https://images.openai.com/static-rsc-4/JRwPuVymSz8J5mMNTTXDfuEXCaIn1xppwf4xbKFYkGr8aiC92qVkKefv-0CgXQquVmuhfmIPDO2TrowyQn3YQ0KsNluDh_iaKCeuShy1CZOV0ImpjF6gqICb58yi_eqOF0YBSdwNZaiNWr_o_LOhk693-lA9HokAihRpmdfbs3maPsG6P6m1JQD0IdpG3b7M?purpose=fullsize
 
https://images.openai.com/static-rsc-4/6kCoZyrqERKZNxkSC65gUlYgE9vuUbrZ_4XU-qBpBB_yGCooasDKVQ9rwnRc9S8n4UlsC2XKQ3Ltd18QHfQEJ6s_NFrWZnKq9mlw7bYlQ3p7KzBUxzssZRyGn-EARBaf1oLn36BKsvoCsm-JeaWQ-YgD5JZ-s-U-mW8HnbHfALjwDgw7f2pcxbAPUTBTZHyd?purpose=fullsize
 
5

In general, the horizontal distance between two points is:

|x₂ − x₁|

The absolute value ensures that distance is positive.


Vertical Distance

If two points have the same x-coordinate, the line between them is vertical.

For example:

A(3, 2)

and:

B(3, 9)

The vertical distance is:

9 − 2 = 7

Therefore:

AB = 7 units

In general:

vertical distance = |y₂ − y₁|

https://images.openai.com/static-rsc-4/v8NYDRqNQ08EU6mVnNJ25anxUgUW8K-d1AZ2pseRlLWkFJ_lZW05ouNgwO_0wUpu3w_BxSHjdvIrtn79cpOVmjuO55xCPtdj7XkPpN09CLbdVfIxNIcAbCbfeMAff_f4bmgcPHGBCI80OjXty0O1Tf-j4qEjV0uxRpM3XR1DMRMRlUrwkGrQaudfa2UYZOpE?purpose=fullsize
 
https://images.openai.com/static-rsc-4/HT2LVrDwQLF19N2RHQ7zyXaqB63cXdcxOT13SnqWM-3T2XOobaMZKJhA8VFhs50UEXh-7WA13SS0IW4M2Hk6bexW1tX7dFl9Jp2FgsCLdxjXMx5i71b2bMrfYXHUSouhaHVXCnfJ_JOMZErkRQ1ErDMCIMKfFP9bZbdRPVSs34jNYcaR1TkXWOkXVqbUY7OQ?purpose=fullsize
 
https://images.openai.com/static-rsc-4/7wqZPOXXGp7s-dnVpLhQUz1NTEq7T91RWONjS02qrhrZ9B7Ulb-Bk0iU-Ux9oxgnR3lM_qFm7DCy2DKWO5klFwqeTO8MB94HXt4zhzLbCwKc0aClrQS-vSAXt5O52FPFVCdhyjHXzGoXX8cHcskhp62XkXLzLw3RRI9VE0B5wv_QJC2Yo16LVl7Owy4phfCd?purpose=fullsize
 
4

Why We Use Absolute Value

Suppose the points are:

A(8, 4)

and:

B(2, 4)

If we calculate:

2 − 8 = −6

But a distance cannot be negative.

Therefore:

|2 − 8| = 6

Distance represents a magnitude, so it is always zero or positive.


When the Points Are Diagonal

Now consider:

A(1, 2)

and:

B(5, 5)

The points do not share the same x-coordinate or y-coordinate.

We cannot find the direct distance by simply subtracting one pair of coordinates.

Instead, we can construct a right triangle.

https://images.openai.com/static-rsc-4/dq3Rc5RpLu2HNq0cju8iigndd0OA7QwxrDxdSqYmHUJgdpwAJZXEDocfElgg5ZoUMl6A-7f7725p50wqXNmhJ1_m13vsox9_ye7-zYcLlFBVrP2M549aEGQGJDPc7dOYODhf4wqKPMsh3wENpUh05NKi5Efm08qMM-kSAfRjLPQpPWLWZvhqLN7QndSJj2wz?purpose=fullsize
 
https://images.openai.com/static-rsc-4/TTezGtC5OmpQvpnuT0g17HXSKg7GLk9dadmjbjjgtg5J9_w24en9RjRKsLxVGmEV1251kfKulpvxdphaaAFYt5xZ9ExZpkryAfrJO9kDFpGxIdwSUdKOQuj-QVPaHijEJfsjGVhA2nVVNP1Cew2nDUF1tWCpLyf5QIjmbeLR4CVs2yUICj2U-NmC00BH3ZU1?purpose=fullsize
 
https://images.openai.com/static-rsc-4/b-ZTb3kjyXt-4_wwy3GwYoNH-ohJbZwasxoJxFrTvz12IAJu4NS0SByhzqpuNI7uq6TbpOfS7mN_cugRfnZmf3YsJNfaPuAh7rvRQYNmlC4cjAWz6fpg8juHT2CtldyLV2q5yH4x-d-Gr4b1v_UW9-vr6u3gYOjcMu-D6UgzYY_eFff6Zv_PPiOYg6XAZ8XI?purpose=fullsize
 
4

The horizontal and vertical changes become the two shorter sides of the triangle.

The direct distance between the points becomes the hypotenuse.


Finding the Horizontal Change

For:

A(1, 2)

and:

B(5, 5)

the horizontal change is:

Δx = 5 − 1

Δx = 4

The symbol:

Δ

means change in.

Therefore:

Δx

means:

change in x


Finding the Vertical Change

For the same points:

A(1, 2)

and:

B(5, 5)

the vertical change is:

Δy = 5 − 2

Δy = 3

We now have a right triangle with side lengths:

4

and:

3

The direct distance between A and B is the hypotenuse.


The Pythagorean Theorem

The Pythagorean Theorem relates the three sides of a right triangle.

For a right triangle with shorter sides a and b, and hypotenuse c:

a² + b² = c²

In coordinate geometry:

  • horizontal change acts as one shorter side
  • vertical change acts as the other shorter side
  • distance between the points acts as the hypotenuse
https://images.openai.com/static-rsc-4/zkxVQKRQ1SN0ARajXgIidfo-tz50IaHaC6pyEYC1RpZuVEQbjBY08ZQvNu44xnyP8_rij-MNmzUuqawt0IXqYVWdeEdZeOnKsiefblaQT6IA_i6IOTHxbbOpuiteVAS8FdeYlZanQY6-m-ijRwJX9Mg6QDudXfRFzmFpABGDGmkdGjlnfoCJYAK_hHf2WaSa?purpose=fullsize
 
https://images.openai.com/static-rsc-4/oOILm9r_IVosQy5SEdTvEUsZDknqKPSY8bWBipRxOvpUajixNXkn7WC4jl1dwOKktWgtCIaafAJ95oIFhGlJ3GvgSg-gAIblwDm0nWIT-FEWEzru5YAj8uDybkPU4KwkGEazqcqq-9r1ASKShpeq_zvwCZVfacdFvRdcrrUjSp4xpwoSbJRN4DOBunDYAGZF?purpose=fullsize
 
https://images.openai.com/static-rsc-4/428JmWzdMVk9unRGzEQezRb-Vvm1kfJsJA_WBPo6o3WLxE80zbqjY1-Tf29DRVSG5ukzUJtetzKXBQFi3WTlWsRgFDcjUF6uLWUENEo_B7sBeprvQ-hzl33Hvi2ZOXKulGnH8gwvUhVdK83FH2PnF1FK0_59iDY-zpvLhwQvFl_XXtxW05GWYGLdf7y7QWtA?purpose=fullsize
 
5

Applying Pythagoras to Coordinates

Using:

A(1, 2)

and:

B(5, 5)

we found:

horizontal distance = 4

vertical distance = 3

Use Pythagoras:

d² = 4² + 3²

d² = 16 + 9

d² = 25

Take the square root:

d = √25

d = 5

Therefore:

AB = 5 units


From Pythagoras to the Distance Formula

Suppose the two points are:

(x₁, y₁)

and:

(x₂, y₂)

The horizontal change is:

x₂ − x₁

The vertical change is:

y₂ − y₁

Using the Pythagorean Theorem:

d² = (x₂ − x₁)² + (y₂ − y₁)²

Taking the square root gives the distance formula:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]

https://images.openai.com/static-rsc-4/Vh-yFAOsElkLm0c3kuJ_TaTkz7VcwY7RA04q7cLCbShhu2Eolu8AH2u0RsehRf5T5uT1qVAETVbRtoGMqKjoQ9uUhAkBnofeEGW7s32g1zNB8tpPisSaGAp9fwiV01j-W054BjUL-et_PkHg26aEqm3DJLjrJ7dYiMn7qrNROtY3vlVbKzkMedhHmz-R3_4D?purpose=fullsize
 
https://images.openai.com/static-rsc-4/kZEGfDhGY8mH9lQj0_fncugFLezVCidBXAzwDtnHs_BXaZtN7TtR8JITAdi4_Z4WoJGM23EqNsFFs8xI5JFiti9hCqZ8bfxYRMg2nktUXuHcsbtWNnG83k_kcdJtezco0Gz26mW6UTI6qkkJW2pzDfa-oS7WDz8jGMByOwX48_wfvIS9MEm31rP6k6sGNDic?purpose=fullsize
 
https://images.openai.com/static-rsc-4/zYB8-afGyrpufTrq_yP1wGZHbZqATnIEJpQBxmvnRaDLvNxQYQRJvT-5v0IokfLJfgMudFS2nO_971RjZZ1WqbHpYZpVRgOrG675riayxLbz_SsRoG3o0PKq14Z0xBNhRW6sQMMCTkFvhHPJw3ZtRdLTqN6l_yQ9Q7XLIHzEgP9jeEX98jkLuGuSSpAObUhM?purpose=fullsize
 
5

The distance formula is therefore not a completely separate idea.

It comes directly from the:

Pythagorean Theorem


Understanding the Distance Formula

The formula is:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]

where:

(x₁, y₁) = first point

(x₂, y₂) = second point

x₂ − x₁ = horizontal change

y₂ − y₁ = vertical change

d = straight-line distance between the points


A Reliable Method

When finding the distance between two points:

Step 1: Label the coordinates.

Step 2: Find the horizontal difference.

Step 3: Find the vertical difference.

Step 4: Square both differences.

Step 5: Add the squares.

Step 6: Take the square root.

Step 7: Include appropriate units if required.


Worked Example 1: Horizontal Distance

Find the distance between:

A(−3, 5)

and:

B(7, 5)

The y-coordinates are the same.

Therefore, the distance is horizontal.

d = |7 − (−3)|

d = |10|

d = 10

Answer:

10 units


Worked Example 2: Vertical Distance

Find the distance between:

A(4, −2)

and:

B(4, 6)

The x-coordinates are the same.

Therefore:

d = |6 − (−2)|

d = 8

Answer:

8 units


Worked Example 3: A 3-4-5 Triangle

Find the distance between:

A(2, 1)

and:

B(6, 4)

Horizontal change:

6 − 2 = 4

Vertical change:

4 − 1 = 3

Apply Pythagoras:

d² = 4² + 3²

d² = 16 + 9

d² = 25

Therefore:

d = 5

Answer:

5 units

https://images.openai.com/static-rsc-4/gwLc4b6v9jm3k06TtbyJ7JpXzouv0tXsNKMHaXqLxxh4PZAIhVSkicI8kbaB4zID1fGqmnPcjBOy_1o_DHjE8tXqnWVDlvt_kJX0XBHY6rYCZ3OiHbtLm6xpb4MFUOeAgaxgdpTJIYkWszS6t2mCSXYRFfMjLKCR8DteNXH3fi8JBJbBIyxCDenJAnhn2wDV?purpose=fullsize
 
https://images.openai.com/static-rsc-4/auMzRLqx10fcnBoMjLECyr_ueafgwpcGx1QEFkSazVFhip0OHC7UC7ypdLgEWiaZAx3nq_ak23P-YEu8ZgCFMncpEceTzCVNlIt3Iw_P51CIhVyxaEpeq2Ul1awERRM_kA9keb1th_zg9Sq4YxkIZdqJ-nbOpz-TpNDfFqVTYxpcEZwHQUcUFbv7iVGMcfqa?purpose=fullsize
 
https://images.openai.com/static-rsc-4/-1f-Lt_P132wBx-9DohSiqA567-E46qKG7cN6Z9rcnhUErmoBWQiQp8lMd0uJUqhGzdyMnavhMvWzkOrD3yEvH6JKXJZ4PH10nNp3N5OA0vfJxy7xkWbFdQlNawkC-B_RnSVmcGXHIxMWKiMlN_2RrqOw3ITMwzRIKVqlqFWBbTCqD8IbFlwXCYIohRfS9MM?purpose=fullsize
 
5

Worked Example 4: Using the Distance Formula

Find the distance between:

A(1, 3)

and:

B(7, 11)

Use:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]

Substitute:

d = √[(7 − 1)² + (11 − 3)²]

Simplify:

d = √[6² + 8²]

d = √[36 + 64]

d = √100

d = 10

Answer:

10 units


Negative Coordinates

The distance formula works exactly the same way when coordinates are negative.

Suppose:

A(−4, 2)

and:

B(3, 2)

Horizontal difference:

3 − (−4)

Remember:

Subtracting a negative becomes addition.

Therefore:

3 + 4 = 7

Distance:

7 units

https://images.openai.com/static-rsc-4/Dg-mzynOU3mpAANZeyiH4N9qYqmVhP5zRZe1uVgxWmVmBRo6uQXsJFa3bH6bBm-5QLoewQHeYl0dSpd1Ihn7HJTPhhIIArpPqJ4J0C-hYy_PChznOXWYyUOTI0yPwicsRxAx9OQwI-CYSpXc2jGsx-k9f0zUYETelOGxACT4Xs2App3r6dijIQI1TXmQCZMi?purpose=fullsize
 
https://images.openai.com/static-rsc-4/zKDJE9J4gLAgf79zmKg3pSID-LI2tkzpALNAb7K5-gcEXCZOtfcwb1_wDkgPaNDiOiCE0iyL1I2YbSCDRl7Wcp4rlyIojgjUgWR6kmt_m6TB_hdTLJIbv4pDREHR0cH7AKsCfireX_r36oI0pToeIOx6WUOOvAK-v6Kq7NP327ozhlP6kvWWePapBNlGeqGB?purpose=fullsize
 
https://images.openai.com/static-rsc-4/dCuknxHHTFBOG0pi3vFBKABNn1SJS9n1aqKJtZhFDlkH9AoOmEqhuhnf35YJW366kyBFm_UowIt9rtVL0x9dRr8Xt7VFCebKg47UpJdeWkFDOUed8ZbZ055f7CCVOpoh9MAO91PdnzbQYJCqIS2TR6O5wOtu3lk-6MriCe0U4Lh3EKuM3TRQy8961LC5Tabs?purpose=fullsize
 
5

Worked Example 5: Negative Coordinates

Find the distance between:

A(−2, −1)

and:

B(4, 7)

Horizontal change:

4 − (−2) = 6

Vertical change:

7 − (−1) = 8

Distance:

d = √(6² + 8²)

d = √(36 + 64)

d = √100

d = 10

Answer:

10 units


Why Squaring Helps

Suppose:

x₂ − x₁ = −5

When squared:

(−5)² = 25

Suppose instead:

x₂ − x₁ = 5

Then:

5² = 25

Therefore, the distance formula gives the same answer regardless of which point is labeled first.

This makes sense because:

distance from A to B = distance from B to A


Exact and Approximate Distances

Not every distance produces a whole number.

Suppose:

A(1, 1)

and:

B(4, 5)

Then:

d = √[(4 − 1)² + (5 − 1)²]

d = √(3² + 4²)

d = 5

But consider:

A(1, 1)

and:

B(4, 4)

Then:

d = √(3² + 3²)

d = √18

This can be simplified:

d = 3√2

or approximated:

d ≈ 4.24

units.


Exact Form

An answer such as:

√13

is called an exact value.

It has not been rounded.

For example:

d = √13 units

may be the preferred answer when exact form is requested.


Approximate Form

Using a calculator:

√13 ≈ 3.61

Therefore:

d ≈ 3.61 units

is an approximate value.

The symbol:

≈

means:

approximately equal to

Do not use = when giving a rounded approximation.


Worked Example 6: An Irrational Distance

Find the distance between:

A(2, 3)

and:

B(7, 5)

Horizontal change:

7 − 2 = 5

Vertical change:

5 − 3 = 2

Distance:

d = √(5² + 2²)

d = √(25 + 4)

d = √29

Approximate value:

d ≈ 5.39

Answer:

√29 units

or approximately:

5.39 units


Visualizing the Right Triangle

Whenever two points are diagonal from one another, imagine drawing:

  1. a horizontal line from one point
  2. a vertical line toward the other point
  3. the direct line joining the original points

This creates a right triangle.

https://images.openai.com/static-rsc-4/BDn9xJcG_xBtRY-m_AQ4WQiMKLs4jnC1iuJLhOACaTQzc6gaXCX41hd1ZTkJSMz7gwsTWq6akHIAFQ0YT7SVYtLF74spbLPCnxG5akfEd39dJWwd95Fwx6ekp5QcJAJdgQWBMPoltUEQ-GhPjx_iGjC1Fz9_-axAdroK8YPIcS_aaQtAx99enKy-ufyiy44l?purpose=fullsize
 
https://images.openai.com/static-rsc-4/dq3Rc5RpLu2HNq0cju8iigndd0OA7QwxrDxdSqYmHUJgdpwAJZXEDocfElgg5ZoUMl6A-7f7725p50wqXNmhJ1_m13vsox9_ye7-zYcLlFBVrP2M549aEGQGJDPc7dOYODhf4wqKPMsh3wENpUh05NKi5Efm08qMM-kSAfRjLPQpPWLWZvhqLN7QndSJj2wz?purpose=fullsize
 
https://images.openai.com/static-rsc-4/m-0xDmRjzTc8WvpSFQsCtvGEX-_ltxBQK7_PMtyR53L8mqNlHKRXPLnbYwdJNVZSjaFYKi9q-cHpqQijWEhtHgt366yBeDwQvN9hX3If5R9cargLvsDNfzPJcNJxgKzQoasJuuJm584hHUho-PG_zVjHLxi9Z1gEyKkyhUF0Pvw5KuaH56UR7cgR9guUKm_Z?purpose=fullsize
 
5

The horizontal and vertical changes are the legs.

The direct distance is the hypotenuse.

This picture explains the entire distance formula.


Horizontal and Vertical Change

A useful notation is:

Δx = x₂ − x₁

and:

Δy = y₂ − y₁

Then the distance formula can be understood as:

d = √[(Δx)² + (Δy)²]

This emphasizes that distance depends on the horizontal and vertical changes between the points.


Distance Is Not the Same as Horizontal Change

Suppose two points differ by:

6 units horizontally

and:

8 units vertically

The direct distance is not:

6 + 8 = 14

Instead:

d = √(6² + 8²)

d = √100

d = 10

The straight-line distance is:

10 units

https://images.openai.com/static-rsc-4/xgfIqlidrAuEAHZNOJgYvu7yR79d-FR-tHCxlnOs3po75a6F9uq9z9qQNMh-7QDQLRn6zvZpjM9xht_jEHIL3Ua-JAwgeyghXhStJEG9TF7Gz-9f5vkRcMvV-tO_Mw2hNOIhV0-GZ3zjXsPKlCDMcISo5tRTBE-DcuwZ7Z8-qGr0F89tb5_ragvAPIj4Hadk?purpose=fullsize
 
https://images.openai.com/static-rsc-4/aobKVy8JqnAW0VDeFpXSHYDMwlJoySahuluZDvxxQ5LGWBKUzRxwphUkZ4-BfbBs0RGlonDhSMfW4W-4KRmfAIWmdvFC-lroSLd6FTgLdVx4Q68lusXrFG21L_9ihB5ivAOkxzce_yK74ST6gXHmKDbXEudv3OAqeN0tjAmxq-7R9IObJNO7t2FRj_qdcG5K?purpose=fullsize
 
https://images.openai.com/static-rsc-4/bFsfEoPuOKjikqr2UMCjI9aPfchHZzMx6ko_V-FiYpgL6X_5qiSHgJ7kXGbd91FWCIoNj7uIP_U2BdoOTWaMlWvr3ZT3eoq3D339PeiDoiY2JLZK1PDPU3KRI8XQwG3Ovid4Ey8a4zPXTxBV4_dTNoxhq_Qy5edTF_W2Vdd8Rj2lQOR9zCelEQoh4UbTEKE6?purpose=fullsize
 
5

Straight-Line Distance vs Travel Distance

This distinction becomes important in real-world situations.

Suppose a person travels:

6 km east

and then:

8 km north

Total distance travelled:

6 + 8 = 14 km

But the person's straight-line distance from the starting point is:

10 km

These are different quantities.


Distance and the Coordinate Plane

The coordinate plane can represent many real situations.

Coordinates might represent:

  • locations on a map
  • positions of buildings
  • positions of objects
  • locations in a game
  • points on a sports field
  • locations in an engineering design
  • positions measured by sensors
https://images.openai.com/static-rsc-4/GXYIXgQPMqYv7X26vBqoR6usJwT_fxi5ehWOgcBq0oXxwPXVew2VOjyuIKqmFEzV1-XNcMNbqU90Jm30CuyYKzGOq9cQgsiHkWOdMbZrxZ49RbcvdgRBdMKyYTATc0-27XkyCOUO62A29P66GsNkK6gmo0AqFdqDG34eUbGWlyYaxnI523PVVEW11RgpsNVj?purpose=fullsize
 
https://images.openai.com/static-rsc-4/A2u1-Uh6joeJDMh_fGrU9y5Ih_M9GWZnYI0l6HVJDdk2Xx3Cs_2sBFkAxsVYQDtmiJS1cvTNODWqMITfNueQWw-rw6bBI__K6BfuKyNhgGuEioo4dUNWmSjrft67PCaZFQNOfH4GLRSTFjlLKEz7skHA4bseROBXs5awegvSCbY08J28ca9qmqEzGjfHFaQa?purpose=fullsize
 
https://images.openai.com/static-rsc-4/2tRaPD3FaGgiND1teIofK0a506slMSoruTo9YNKj4WatjjQdv6DGWrvQyyLDSb5aLzkx5SCuC1WbpDn22WG1KG0byH4Irin48C8zjqDfnkudCJNPAyjGq2NohrFMAKmfMzZZxr0FW-0xa9ak4S3D92jXbDOJYaidheF-Y8cgLryQ0RaoXyqyX0KQKc_YtQNl?purpose=fullsize
 
4

The distance formula can then be used to calculate the direct distance between two locations.


Real-World Example: A Park Map

Suppose a map uses coordinates measured in kilometres.

A visitor centre is located at:

V(2, 3)

A campsite is located at:

C(8, 11)

Horizontal difference:

8 − 2 = 6 km

Vertical difference:

11 − 3 = 8 km

Straight-line distance:

d = √(6² + 8²)

d = 10 km

Therefore, the visitor centre and campsite are:

10 km apart in a straight line


Real-World Example: City Blocks

Suppose two buildings are located at:

A(1, 2)

and:

B(7, 10)

If each coordinate unit represents:

100 m

then:

Horizontal change:

6 units = 600 m

Vertical change:

8 units = 800 m

Straight-line coordinate distance:

10 units

Therefore:

10 × 100 = 1000 m

The buildings are:

1 km apart in a straight line


Scale Matters

A coordinate answer of:

5 units

does not always mean:

5 metres

The meaning depends on the scale.

For example:

1 coordinate unit = 2 km

Then:

5 coordinate units = 10 km

Always check what each coordinate unit represents.


Real-World Example: Computer Graphics

Computer screens and digital images use coordinate systems to identify locations.

https://images.openai.com/static-rsc-4/Wa12_pDewYPkwdM7RiHL04FuI_rvEoEKbvhZ5TFQOVFMSdImUls95iRKaYMvsvDMnaK3FkFufYAirfKdHi4fCKSk4kC0gCpPWToFP5G0F0OIOBRw2rkBvVIr9-3k2s045CTyaKjwZhMnF0Upi2DomnQRDtkAiuNNWQibZifsaRhtb_HqC7Sh35sKyUSiPhLw?purpose=fullsize
 
https://images.openai.com/static-rsc-4/axt6_erzLu6IyWhYWGanZJxfzZA6qsaM2XXaXZiIOE7wkLCwIwd6UWaSYj1CuqEVDyRhiljdAeUZ7H7O1qKUIas57ucUk-6cGH2YTzd8oPzoCA4C2kze563teLIkRPM2oBq8Y4Vqy8Xn-WFIyhxmRjXg4L6jfa8--JYBO69kRa7AexAElJSMIhfcg7q5SbcT?purpose=fullsize
 
https://images.openai.com/static-rsc-4/J5mWMk8Kr1lSsVZuqxJg1fCKg7zhcP8BjfybU6Vw9Jk5Yho38QEukihqQFcHA1P3LnJCoq1_5TXBgy3cmQv85VZ9dYlLS8DutzdqgXg8zqVbfYUAdl-RS-xxvWmYP_8DNJd5ReWacT2I-VCzlfu9RldMC5gIkaaXAYHfOTQ80valvMRXXv2-oHvHCOAPk7-L?purpose=fullsize
 
5

If two objects are located at different coordinates, software can calculate the distance between them.

This can be useful for:

  • collision detection
  • animation
  • games
  • mapping
  • robotics
  • image processing

The same mathematical idea is being used:

horizontal difference + vertical difference → straight-line distance


Real-World Example: Robotics

Imagine a robot is at:

(2, 4)

and needs to move directly to:

(8, 12)

Horizontal change:

6

Vertical change:

8

Direct distance:

d = √(6² + 8²)

d = 10

If each unit represents one metre:

the robot must travel 10 m

assuming it can move directly between the points.


Real-World Example: Sports

A sports field can also be represented using coordinates.

Suppose two players are at:

P(5, 4)

and:

Q(17, 9)

Horizontal difference:

12

Vertical difference:

5

Distance:

d = √(12² + 5²)

d = √169

d = 13

If coordinates are measured in metres:

the players are 13 m apart.

https://images.openai.com/static-rsc-4/cxm14NsD-LvJY-h2x9fhRc1TDT1chbMZilDPcl6xadCGkDtUfvzjMVUgm3rKSM96W_CkPvBWHxxUgsCAAKGBJTcussgG-vS6vRUQ6iaFj2SK7io9wfHCpKi6CfOd7lk8IyCenMDfJVbUvWPZ4K8ycjiqIGyr_YhzBx4SiEZhFbRSC24pHndtJm_EKupWqrce?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Dlzr0iYQ46EY5RoPzAetvsth8GSTiVLqpn8kgoMWSyT-UfEOGpIk6VPTy4FvyBGhyMn1TClRVTzzQlF0vMTSc5GmBQthc3KIrB93Xxt7IIiUtPcq3ufWhElBaraktJR6RRiCU9sb0lP-ZGvBJUB0fpKTwDtnKGJmoFbWHtT8u6U2h6kVVpdLSvrRDUMgP_uS?purpose=fullsize
 
https://images.openai.com/static-rsc-4/DFD9dtV2AlW_70B20ig_2MZaoOMMKVCtCXhisQcY_aGq1eRNNS94WomR3zoPT4xX2_x3OQqAkfICXYW9Rg9zV5l3ZjQBoFElhyPg6Di5f7UGbBc1Ju58w5CTMPsQn73m2Rv6n0wTPOylWiG0-BpxxNDudw0dbQ24jH60HWWUoB3J9_KwmeaDmIyq9aUYHBYQ?purpose=fullsize
 

Worked Example 7: Across Quadrants

Find the distance between:

A(−5, 3)

and:

B(4, −9)

Horizontal change:

4 − (−5) = 9

Vertical change:

−9 − 3 = −12

Square the changes:

9² = 81

(−12)² = 144

Add:

81 + 144 = 225

Square root:

√225 = 15

Answer:

15 units


Worked Example 8: Decimal Coordinates

Find the distance between:

A(1.5, 2)

and:

B(5.5, 5)

Horizontal change:

5.5 − 1.5 = 4

Vertical change:

5 − 2 = 3

Distance:

d = √(4² + 3²)

d = 5

Answer:

5 units

The distance formula works with decimal coordinates as well.


Worked Example 9: Finding a Missing Distance

A triangle on a coordinate grid has a horizontal change of:

9 units

and a vertical change of:

12 units

Find the direct distance.

d = √(9² + 12²)

d = √(81 + 144)

d = √225

d = 15

Answer:

15 units


Worked Example 10: Real-World Scale

Two points on a map are:

A(−1, 2)

and:

B(5, 10)

Each coordinate unit represents:

250 m

Coordinate distance:

d = √[(5 − (−1))² + (10 − 2)²]

d = √(6² + 8²)

d = 10 units

Convert:

10 × 250 = 2500 m

Therefore:

distance = 2500 m

or:

2.5 km


Checking Whether an Answer Is Reasonable

Suppose the horizontal difference is:

4 units

and the vertical difference is:

7 units

The direct distance must be:

  • greater than 7 units
  • less than 11 units

Why?

It must be longer than either individual leg of the right triangle.

But it must be shorter than travelling the full horizontal and vertical path:

4 + 7 = 11

So an answer such as:

8.1 units

could be reasonable.

An answer such as:

3 units

could not be correct.


Estimating Before Calculating

Consider:

Δx = 6

and:

Δy = 7

The distance must be slightly greater than:

7

but less than:

13

Calculate:

d = √(6² + 7²)

d = √85

d ≈ 9.22

The result fits our estimate.

Estimation is a useful way to detect calculator or substitution errors.


Distance and Units

Always include units when the coordinate system represents a real measurement.

Examples:

8 m

14 km

5.6 cm

250 pixels

If the coordinate system has no specified measurement unit, write:

8 units


Using a Calculator

For:

d = √[(8 − 2)² + (9 − 4)²]

calculate the differences first:

d = √(6² + 5²)

Then square:

d = √(36 + 25)

Add:

d = √61

Then calculate:

d ≈ 7.81

Keeping the work organized reduces calculator mistakes.


Distance Formula and Pythagorean Theorem

The distance formula should not simply be memorized without understanding where it comes from.

https://images.openai.com/static-rsc-4/MPJqL7qLVhaJHJ4DmLOs6P-ejlFtdgj650Q0jiKOBhgTD5w6Snhn6mLyzZC5FEuwwVDmyk7ssUpa_dPz82nM28IKHGElDF_ZxYi-IZzWctb5hEYfPwzg7prpHnGK8Eb4_yo40AOqdE98WJOpI7ELwtdDkLxl87D2320-hbGgON13988_Y96yCYuuiq11pQga?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Vh-yFAOsElkLm0c3kuJ_TaTkz7VcwY7RA04q7cLCbShhu2Eolu8AH2u0RsehRf5T5uT1qVAETVbRtoGMqKjoQ9uUhAkBnofeEGW7s32g1zNB8tpPisSaGAp9fwiV01j-W054BjUL-et_PkHg26aEqm3DJLjrJ7dYiMn7qrNROtY3vlVbKzkMedhHmz-R3_4D?purpose=fullsize
 
https://images.openai.com/static-rsc-4/kZEGfDhGY8mH9lQj0_fncugFLezVCidBXAzwDtnHs_BXaZtN7TtR8JITAdi4_Z4WoJGM23EqNsFFs8xI5JFiti9hCqZ8bfxYRMg2nktUXuHcsbtWNnG83k_kcdJtezco0Gz26mW6UTI6qkkJW2pzDfa-oS7WDz8jGMByOwX48_wfvIS9MEm31rP6k6sGNDic?purpose=fullsize
 
4

The relationship is:

horizontal difference = one leg

vertical difference = second leg

distance = hypotenuse

Therefore:

Pythagorean Theorem → Distance Formula

Understanding this relationship makes the formula much easier to remember.


A Problem-Solving Strategy

For coordinate-distance problems:

1. Identify both points.

2. Label x₁, y₁, x₂, and y₂.

3. Determine Δx.

4. Determine Δy.

5. Use Pythagoras or the distance formula.

6. Simplify the square root if possible.

7. Approximate if required.

8. Include appropriate units.

9. Interpret what the answer means in context.

10. Check whether the answer is reasonable.


Common Mistakes

Mistake 1: Adding the horizontal and vertical distances

If the question asks for the direct straight-line distance, use Pythagoras.

Do not simply calculate:

Δx + Δy


Mistake 2: Forgetting negative signs

For example:

5 − (−3)

equals:

8

not:

2


Mistake 3: Mixing the coordinates

If you calculate:

x₂ − x₁

then compare x-coordinates.

If you calculate:

y₂ − y₁

then compare y-coordinates.

Do not subtract an x-coordinate from a y-coordinate.


Mistake 4: Forgetting to square

Incorrect:

d = √[(x₂ − x₁) + (y₂ − y₁)]

Correct:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]


Mistake 5: Forgetting the square root

If:

d² = 100

then:

d = 10

not:

100


Mistake 6: Reporting a negative distance

Distance cannot be negative.


Mistake 7: Rounding too early

Keep exact values during intermediate calculations.

Round only at the end unless instructed otherwise.


Mistake 8: Ignoring the scale

A distance of:

6 coordinate units

might represent:

6 m

600 m

12 km

or another value depending on the scale.


Key Terms

  • Coordinate plane: Two-dimensional system using perpendicular x- and y-axes.
  • Ordered pair: Pair of coordinates written as (x, y).
  • x-coordinate: Horizontal position of a point.
  • y-coordinate: Vertical position of a point.
  • Horizontal distance: Difference between x-coordinates.
  • Vertical distance: Difference between y-coordinates.
  • Distance: Length of the straight-line segment joining two points.
  • Pythagorean Theorem: Relationship between the side lengths of a right triangle.
  • Hypotenuse: Longest side of a right triangle, opposite the right angle.
  • Δx: Change in the x-coordinate.
  • Δy: Change in the y-coordinate.
  • Distance formula: Formula used to calculate the straight-line distance between two coordinate points.
  • Exact value: Value that has not been rounded, such as √13.
  • Approximation: Rounded value close to the exact value.
  • Scale: Relationship between coordinate units and real-world measurements.
  • Magnitude: Size or amount of a quantity without direction.

Key Formulas

Horizontal distance:

|x₂ − x₁|

Vertical distance:

|y₂ − y₁|

Pythagorean Theorem:

a² + b² = c²

Distance Formula:

d = √[(x₂ − x₁)² + (y₂ − y₁)²]


Key Takeaways

  • Coordinates describe positions using x and y values.
  • Horizontal distance is found from the difference between the x-coordinates.
  • Vertical distance is found from the difference between the y-coordinates.
  • Absolute value can be used when calculating purely horizontal or vertical distances because distance cannot be negative.
  • Two points that differ in both x and y can be connected using a right triangle.
  • The horizontal and vertical differences form the two shorter sides of that triangle.
  • The straight-line distance forms the hypotenuse.
  • The Pythagorean Theorem is therefore the basis of the distance formula.
  • The distance formula is d = √[(x₂ − x₁)² + (y₂ − y₁)²].
  • Negative coordinates do not change the method.
  • Squaring the coordinate differences ensures their signs do not produce a negative distance.
  • Some distances are whole numbers, while others are irrational numbers that can be left in radical form or approximated.
  • Distance from A to B is the same as distance from B to A.
  • Straight-line distance is different from the total distance travelled along horizontal and vertical paths.
  • Coordinate distance can represent real distances on maps, sports fields, computer screens, engineering plans, and other coordinate systems.
  • The scale of a coordinate system must be considered when interpreting a distance.
  • A strong solution should include the calculation, appropriate units, and an interpretation of what the distance means.