Solved Exercises on Distance Formula

Master the Distance Formula: Calculate distances between points on the coordinate plane using the distance formula and understand its connection to the Pythagorean theorem.

Solution: Exercises 1 to 3
1 Basic Distance Calculation
Exercise 1
Find the distance between points A(2, 3) and B(6, 7) using the distance formula.
Definition:

Distance formula: d = √[(x₂ - x₁)² + (y₂ - y₁)²]

Pythagorean theorem: Foundation for the distance formula

Distance Formula Method:
  1. Identify the coordinates of both points
  2. Assign coordinates to (x₁, y₁) and (x₂, y₂)
  3. Substitute values into the distance formula
  4. Calculate the differences and squares
  5. Take the square root of the sum
Given
A(2, 3) and B(6, 7)
Find
Distance AB
Step 1: Identify coordinates

Point A: (x₁, y₁) = (2, 3)

Point B: (x₂, y₂) = (6, 7)

Step 2: Apply the distance formula

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

d = √[(6 - 2)² + (7 - 3)²]

Step 3: Calculate the differences

d = √[4² + 4²]

d = √[16 + 16]

d = √32

Step 4: Simplify the result

d = √32 = √(16 × 2) = 4√2

d ≈ 5.66 units

Distance AB = 4√2 ≈ 5.66 units
Final answer:

The distance between points A(2, 3) and B(6, 7) is 4√2 units (approximately 5.66 units)

Applied rules:

• Distance formula: d = √[(x₂ - x₁)² + (y₂ - y₁)²]

• Pythagorean theorem: Foundation for the distance formula

• Radical simplification: √32 = 4√2

2 Distance from Origin
Exercise 2
Find the distance from the origin (0, 0) to point P(-3, 4). How does this relate to the distance formula?
Definition:

Origin: The point (0, 0) where the x-axis and y-axis intersect

Special case: When one point is the origin, the distance formula simplifies

Given
Origin (0, 0) and P(-3, 4)
Find
Distance from origin to P
Step 1: Identify coordinates

Origin: (x₁, y₁) = (0, 0)

Point P: (x₂, y₂) = (-3, 4)

Step 2: Apply the distance formula

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

d = √[(-3 - 0)² + (4 - 0)²]

d = √[(-3)² + (4)²]

Step 3: Calculate the squares

d = √[9 + 16]

d = √25

d = 5 units

Step 4: Explain the relationship

When one point is the origin, the formula becomes: d = √(x² + y²)

This is a special case of the general distance formula

Distance = 5 units
Final answer:

The distance from the origin to point P(-3, 4) is 5 units

Applied rules:

• Distance from origin: d = √(x² + y²)

• General distance formula: Special case when one point is (0, 0)

• Perfect square: √25 = 5

3 Horizontal and Vertical Distances
Exercise 3
Find the distance between points C(2, 5) and D(2, -3). Then find the distance between points E(1, 4) and F(7, 4). Explain why these are special cases.
Definition:

Vertical line: Points with the same x-coordinate

Horizontal line: Points with the same y-coordinate

Given
C(2, 5), D(2, -3) and E(1, 4), F(7, 4)
Find
Distances CD and EF
Step 1: Calculate distance CD

Points C(2, 5) and D(2, -3) have the same x-coordinate

This means they lie on a vertical line

d = √[(2-2)² + (-3-5)²] = √[0 + (-8)²] = √64 = 8 units

Step 2: Calculate distance EF

Points E(1, 4) and F(7, 4) have the same y-coordinate

This means they lie on a horizontal line

d = √[(7-1)² + (4-4)²] = √[36 + 0] = √36 = 6 units

Step 3: Explain special cases

For vertical lines: Distance = |y₂ - y₁| (difference in y-coordinates)

For horizontal lines: Distance = |x₂ - x₁| (difference in x-coordinates)

Step 4: Verify with direct calculation

Vertical distance: |5 - (-3)| = |8| = 8 units ✓

Horizontal distance: |7 - 1| = |6| = 6 units ✓

CD = 8 units, EF = 6 units
Final answer:

The distance between C(2, 5) and D(2, -3) is 8 units, and between E(1, 4) and F(7, 4) is 6 units

Applied rules:

• Vertical distance: |y₂ - y₁| when x-coordinates are equal

• Horizontal distance: |x₂ - x₁| when y-coordinates are equal

• Special cases: Simplified calculations for aligned points

Distance Formula Fundamentals
General Formula: d = √[(x₂-x₁)² + (y₂-y₁)²]
From Origin: d = √(x² + y²)
Horizontal: d = |x₂-x₁|
Vertical: d = |y₂-y₁|
General Case
d = √[(x₂-x₁)² + (y₂-y₁)²]
Works for any two points
From Origin
d = √(x² + y²)
When one point is (0,0)
Horizontal
d = |x₂-x₁|
When y-coordinates equal
Vertical
d = |y₂-y₁|
When x-coordinates equal
Key definitions:

Distance formula: A formula that calculates the distance between any two points in a coordinate plane

Pythagorean theorem: The foundation of the distance formula: a² + b² = c²

Coordinate plane: A two-dimensional plane formed by intersecting x and y axes

Ordered pair: A pair of numbers (x, y) that specifies the location of a point

Origin: The point (0, 0) where the axes intersect

Complete methodology:
  1. Identify coordinates: Locate the (x₁, y₁) and (x₂, y₂) values
  2. Substitute values: Plug coordinates into the distance formula
  3. Calculate differences: Find (x₂ - x₁) and (y₂ - y₁)
  4. Square the differences: Square both results
  5. Add the squares: Sum the squared differences
  6. Take the square root: Find the square root of the sum
  7. Simplify if possible: Reduce radicals to simplest form
Tip 1: Always subtract coordinates in the same order: (x₂ - x₁) and (y₂ - y₁).
Tip 2: Distance is always positive, so the order of subtraction doesn't affect the final result.
Tip 3: For horizontal/vertical lines, use the simplified formulas for faster calculations.
Tip 4: Practice radical simplification to express answers in simplest form.
Common errors: Incorrect order of subtraction, sign errors, forgetting to square differences, not simplifying radicals properly.
Exam preparation: Memorize the formula, practice various point combinations, master radical simplification.
Key formulas to know:

• General Distance Formula: d = √[(x₂-x₁)² + (y₂-y₁)²]

• Distance from Origin: d = √(x² + y²)

• Horizontal Distance: d = |x₂-x₁|

• Vertical Distance: d = |y₂-y₁|

• Pythagorean Theorem: a² + b² = c²

Solution: Exercises 4 to 5
4 Real-World Application
Exercise 4
A city map uses a coordinate system where the city center is at (0, 0). A library is located at (-4, 3) and a park is at (5, -2). Find the straight-line distance between the library and the park.
Definition:

Real-world application: Using coordinate geometry to solve practical distance problems

Given
Library at (-4, 3), Park at (5, -2)
Find
Distance between library and park
Step 1: Identify coordinates

Library: (x₁, y₁) = (-4, 3)

Park: (x₂, y₂) = (5, -2)

Step 2: Apply the distance formula

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

d = √[(5 - (-4))² + (-2 - 3)²]

d = √[(5 + 4)² + (-5)²]

d = √[9² + (-5)²]

Step 3: Calculate the squares

d = √[81 + 25]

d = √106

Step 4: Simplify if possible

106 = 2 × 53 (no perfect square factors)

d = √106 ≈ 10.30 units

Step 5: Interpret the result

The straight-line distance between the library and park is √106 units (approximately 10.30 units)

Distance = √106 ≈ 10.30 units
Final answer:

The straight-line distance between the library at (-4, 3) and the park at (5, -2) is √106 units (approximately 10.30 units)

Applied rules:

• Distance formula: For calculating straight-line distance

• Coordinate system: Real-world application of coordinate geometry

• Arithmetic with negatives: Proper handling of signed coordinates

5 Finding Missing Coordinates
Exercise 5
Point A(2, 5) and point B(x, 1) are 5 units apart. Find the possible values of x.
Definition:

Inverse distance problem: Finding unknown coordinates given the distance

Given
A(2, 5), B(x, 1), distance = 5 units
Find
Possible values of x
Step 1: Set up the distance equation

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

5 = √[(x - 2)² + (1 - 5)²]

Step 2: Simplify the equation

5 = √[(x - 2)² + (-4)²]

5 = √[(x - 2)² + 16]

Step 3: Square both sides

5² = (x - 2)² + 16

25 = (x - 2)² + 16

Step 4: Solve for x

25 - 16 = (x - 2)²

9 = (x - 2)²

±3 = x - 2

Step 5: Find both solutions

Case 1: x - 2 = 3 → x = 5

Case 2: x - 2 = -3 → x = -1

Step 6: Verify the solutions

For x = 5: d = √[(5-2)² + (1-5)²] = √[9 + 16] = √25 = 5 ✓

For x = -1: d = √[(-1-2)² + (1-5)²] = √[9 + 16] = √25 = 5 ✓

x = 5 or x = -1
Final answer:

The possible values of x are 5 and -1

Applied rules:

• Distance formula: Setting up equation with known distance

• Solving quadratic equations: Taking square roots of both sides

• Plus-minus solution: Both positive and negative roots

• Verification: Checking both solutions in original equation

Distance Formula: Laws, Methods, Definitions, and Expressions
Distance Formula: d = √[(x₂-x₁)² + (y₂-y₁)²]
Key definitions:

Distance formula: A mathematical formula that calculates the distance between two points in a coordinate plane

Pythagorean theorem: The foundation of the distance formula: a² + b² = c²

Coordinate plane: A two-dimensional plane formed by two perpendicular axes

Ordered pair: A pair of numbers (x, y) that specifies a point's location

Radical expression: An expression containing a square root symbol

Perfect square: A number that is the square of an integer

Complete methodology:
  1. Identify points: Locate the coordinates of both points
  2. Assign coordinates: Designate one point as (x₁, y₁) and the other as (x₂, y₂)
  3. Substitute values: Put coordinates into the distance formula
  4. Calculate differences: Find (x₂ - x₁) and (y₂ - y₁)
  5. Square differences: Square both results separately
  6. Sum squares: Add the two squared values
  7. Take square root: Find the square root of the sum
  8. Simplify: Reduce to simplest radical form if possible
  9. Verify: Check the result makes sense geometrically
Tip 1: The order of subtraction doesn't matter since we square the differences.
Tip 2: For points on the same horizontal line, distance is the absolute difference of x-coordinates.
Tip 3: For points on the same vertical line, distance is the absolute difference of y-coordinates.
Tip 4: Practice simplifying radicals to express answers in simplest form.

Common errors: Sign errors in subtraction, forgetting to square differences, computational errors with radicals, incorrect order of operations.
Key notes: The distance formula is derived from the Pythagorean theorem and works for any two points in a coordinate plane.
Related formulas and properties:

• General Distance Formula: d = √[(x₂-x₁)² + (y₂-y₁)²]

• Distance from Origin: d = √(x² + y²)

• Horizontal Distance: d = |x₂-x₁|

• Vertical Distance: d = |y₂-y₁|

• Pythagorean Theorem: a² + b² = c²

• Relationship: Distance formula is a coordinate version of the Pythagorean theorem

Questions & Answers

Question: Why does the distance formula work? Is it related to the Pythagorean theorem?

Answer: Yes! The distance formula is directly derived from the Pythagorean theorem. When you have two points on a coordinate plane, you can form a right triangle by:

  • Creating a horizontal line segment (change in x)
  • Creating a vertical line segment (change in y)
  • The distance between the points becomes the hypotenuse

The Pythagorean theorem (a² + b² = c²) then gives us: (Δx)² + (Δy)² = d², which leads to d = √[(x₂-x₁)² + (y₂-y₁)²].

Question: Do I always need to simplify radicals in my answer? When is it acceptable to leave the answer in radical form?

Answer: In most cases, you should simplify radicals to their simplest form. However, if the number under the radical has no perfect square factors other than 1, you can leave it in radical form.

For example: √32 = 4√2 (should be simplified), but √106 cannot be simplified further (106 = 2 × 53, no perfect square factors).

Always check if the number under the radical can be factored to include a perfect square.

Question: What if I get a negative number inside the square root when using the distance formula?

Answer: You should never get a negative number inside the square root when using the distance formula correctly! This is because:

  • You're squaring the differences (x₂ - x₁)² and (y₂ - y₁)²
  • Squaring any real number always gives a non-negative result
  • Adding two non-negative numbers gives a non-negative result

If you get a negative under the square root, you likely made an arithmetic error. Check your calculations, especially with negative numbers and order of operations.