Solved Exercises on Distance Formula in College Algebra

Master the distance formula: calculating distances between points, applications, and geometric interpretations through these 5 detailed exercises with comprehensive explanations.

Solution: Exercises 1 to 3
1 Basic Distance Calculation
Exercise 1
Find the distance between:
\(A(3, 4)\) and \(B(7, 1)\)
Definition:

Distance Formula: The distance between two points \((x_1, y_1)\) and \((x_2, y_2)\) is:

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

Origin: Derived from the Pythagorean theorem

Distance Formula Rules:

• Subtraction Order: Always subtract coordinates in the same order

• Squaring: Squared differences are always non-negative

• Positive Result: Distance is always positive

Distance Calculation Method:
  1. Identify coordinates: \((x_1, y_1)\) and \((x_2, y_2)\)
  2. Calculate horizontal difference: \(x_2 - x_1\)
  3. Calculate vertical difference: \(y_2 - y_1\)
  4. Square both differences
  5. Add the squared differences
  6. Take the square root
Points
\(A(3, 4)\), \(B(7, 1)\)
Differences
\(x_2 - x_1 = 4\), \(y_2 - y_1 = -3\)
Distance
\(\sqrt{25} = 5\)
Step 1: Identify coordinates

Point A: \((x_1, y_1) = (3, 4)\)

Point B: \((x_2, y_2) = (7, 1)\)

Step 2: Calculate coordinate differences

Horizontal: \(x_2 - x_1 = 7 - 3 = 4\)

Vertical: \(y_2 - y_1 = 1 - 4 = -3\)

Step 3: Square the differences

Horizontal squared: \(4^2 = 16\)

Vertical squared: \((-3)^2 = 9\)

Step 4: Add squared differences

\(16 + 9 = 25\)

Step 5: Take the square root

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

Distance between A(3, 4) and B(7, 1) = 5 units
Final answer:

5 units

Tip 1: Always subtract in the same order (x₂ - x₁, y₂ - y₁).
Tip 2: Negative differences become positive when squared.
2 Geometric Applications
Exercise 2
Show that triangle with vertices A(0, 0), B(3, 4), C(6, 0) is isosceles.
Definition:

Isosceles Triangle: A triangle with at least two sides of equal length

Equilateral Triangle: A triangle with all three sides equal

Scalene Triangle: A triangle with all sides of different lengths

Side AB
\(\sqrt{(3-0)^2 + (4-0)^2} = 5\)
Side BC
\(\sqrt{(6-3)^2 + (0-4)^2} = 5\)
Side AC
\(\sqrt{(6-0)^2 + (0-0)^2} = 6\)
Step 1: Calculate distance AB

\(d_{AB} = \sqrt{(3-0)^2 + (4-0)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)

Step 2: Calculate distance BC

\(d_{BC} = \sqrt{(6-3)^2 + (0-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)

Step 3: Calculate distance AC

\(d_{AC} = \sqrt{(6-0)^2 + (0-0)^2} = \sqrt{36 + 0} = \sqrt{36} = 6\)

Step 4: Compare side lengths

\(d_{AB} = 5\), \(d_{BC} = 5\), \(d_{AC} = 6\)

Since \(d_{AB} = d_{BC}\), triangle ABC is isosceles

Triangle ABC is isosceles since AB = BC = 5 units
Final answer:

The triangle is isosceles because two sides are equal in length.

Applied rules:

• Triangle Classification: Based on side length relationships

• Distance Formula: Used to calculate each side length

• Comparison: Compare all three side lengths

Tip 1: Calculate all three side lengths to classify triangles.
Tip 2: Check if the triangle could also be right-angled using Pythagorean theorem.
3 Real-World Application
Exercise 3
A city park has corners at A(2, 1), B(8, 5), C(6, 9), and D(0, 5). Find the perimeter of the park.
Definition:

Perimeter: The sum of all side lengths of a polygon

Quadrilateral: A four-sided polygon with four vertices

Distance Formula: Applied to consecutive vertices

Side AB
\(\sqrt{(8-2)^2 + (5-1)^2} = \sqrt{52}\)
Side BC
\(\sqrt{(6-8)^2 + (9-5)^2} = \sqrt{20}\)
Side CD
\(\sqrt{(0-6)^2 + (5-9)^2} = \sqrt{52}\)
Side DA
\(\sqrt{(2-0)^2 + (1-5)^2} = \sqrt{20}\)
Step 1: Calculate side AB

\(d_{AB} = \sqrt{(8-2)^2 + (5-1)^2} = \sqrt{6^2 + 4^2} = \sqrt{36 + 16} = \sqrt{52}\)

Step 2: Calculate side BC

\(d_{BC} = \sqrt{(6-8)^2 + (9-5)^2} = \sqrt{(-2)^2 + 4^2} = \sqrt{4 + 16} = \sqrt{20}\)

Step 3: Calculate side CD

\(d_{CD} = \sqrt{(0-6)^2 + (5-9)^2} = \sqrt{(-6)^2 + (-4)^2} = \sqrt{36 + 16} = \sqrt{52}\)

Step 4: Calculate side DA

\(d_{DA} = \sqrt{(2-0)^2 + (1-5)^2} = \sqrt{2^2 + (-4)^2} = \sqrt{4 + 16} = \sqrt{20}\)

Step 5: Calculate perimeter

Perimeter = \(d_{AB} + d_{BC} + d_{CD} + d_{DA}\)

= \(\sqrt{52} + \sqrt{20} + \sqrt{52} + \sqrt{20}\)

= \(2\sqrt{52} + 2\sqrt{20}\)

= \(2\sqrt{4 \times 13} + 2\sqrt{4 \times 5}\)

= \(2 \times 2\sqrt{13} + 2 \times 2\sqrt{5}\)

= \(4\sqrt{13} + 4\sqrt{5}\)

Perimeter = \(4\sqrt{13} + 4\sqrt{5} \approx 22.9\) units
Final answer:

\(4\sqrt{13} + 4\sqrt{5}\) units (approximately 22.9 units)

Applied rules:

• Perimeter: Sum of all side lengths

• Distance Formula: Applied to each pair of consecutive vertices

• Simplification: Factor out perfect squares when possible

Tip 1: Follow vertices in order to calculate all sides correctly.
Tip 2: Simplify radical expressions when possible for exact answers.
Distance Formula: Complete Guide
\(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\)
Distance Formula
Pythagorean
\(c^2 = a^2 + b^2\)
Foundation
Midpoint
\(\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)\)
Center Point
Special Case
\(d = |x_2 - x_1|\) or \(d = |y_2 - y_1|\)
Horizontal/Vertical
Key Definitions:

Distance: The length of the straight line connecting two points

Coordinate Plane: A two-dimensional plane with x and y axes

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

Euclidean Distance: The shortest path between two points in a plane

Complete Solution Process:
  1. Identify Points: Label coordinates as \((x_1, y_1)\) and \((x_2, y_2)\)
  2. Calculate Differences: Find \(x_2 - x_1\) and \(y_2 - y_1\)
  3. Square Differences: Square both coordinate differences
  4. Sum Squares: Add the squared differences
  5. Take Root: Calculate the square root of the sum
  6. Simplify: Express in simplest radical form if needed
Applications: Navigation, mapping, engineering, physics, computer graphics.
Benefits: Precise measurements, geometric proofs, spatial analysis.
Essential Rules to Remember:

• Always Positive: Distance is always non-negative

• Order Doesn't Matter: \((x_2 - x_1)^2 = (x_1 - x_2)^2\)

• Pythagorean Foundation: Based on right triangle relationships

• Units Consistent: All coordinates must use the same units

Memory Aid: "Difference of x's, difference of y's, square and add, then take root."
Common Error: Forgetting to square the differences before adding.
Solution: Exercises 4 to 5
4 Circle Applications
Exercise 4
Find the radius of a circle with center at (2, 3) that passes through point (5, 7).
Definition:

Circle: Set of all points equidistant from a fixed center point

Radius: Distance from center to any point on the circle

Equation: \((x-h)^2 + (y-k)^2 = r^2\) where (h,k) is center

Center
\((2, 3)\)
Point on Circle
\((5, 7)\)
Radius
\(\sqrt{(5-2)^2 + (7-3)^2} = 5\)
Step 1: Identify center and point

Center: \((h, k) = (2, 3)\)

Point on circle: \((x, y) = (5, 7)\)

Step 2: Apply distance formula

Radius = distance from center to point on circle

\(r = \sqrt{(x-h)^2 + (y-k)^2}\)

= \(\sqrt{(5-2)^2 + (7-3)^2}\)

Step 3: Calculate differences

\(x - h = 5 - 2 = 3\)

\(y - k = 7 - 3 = 4\)

Step 4: Square and sum

\(r^2 = 3^2 + 4^2 = 9 + 16 = 25\)

Step 5: Take square root

\(r = \sqrt{25} = 5\)

Radius = 5 units
Final answer:

5 units

Applied rules:

• Circle Definition: All points on circle are equidistant from center

• Distance Formula: Measures radius directly

• Circle Equation: \((x-h)^2 + (y-k)^2 = r^2\)

5 Three-Dimensional Extension
Exercise 5
Find the distance between points A(1, 2, 3) and B(4, 6, 8) in 3D space.
Definition:

3D Distance: Extension of 2D formula to three dimensions

Formula: \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}\)

Points
A(1, 2, 3), B(4, 6, 8)
Differences
Δx = 3, Δy = 4, Δz = 5
Distance
\(\sqrt{50} = 5\sqrt{2}\)
Step 1: Identify coordinates

Point A: \((x_1, y_1, z_1) = (1, 2, 3)\)

Point B: \((x_2, y_2, z_2) = (4, 6, 8)\)

Step 2: Calculate differences

\(x_2 - x_1 = 4 - 1 = 3\)

\(y_2 - y_1 = 6 - 2 = 4\)

\(z_2 - z_1 = 8 - 3 = 5\)

Step 3: Square all differences

\((x_2 - x_1)^2 = 3^2 = 9\)

\((y_2 - y_1)^2 = 4^2 = 16\)

\((z_2 - z_1)^2 = 5^2 = 25\)

Step 4: Sum the squares

\(9 + 16 + 25 = 50\)

Step 5: Take the square root

\(d = \sqrt{50} = \sqrt{25 \times 2} = 5\sqrt{2}\)

Distance = \(5\sqrt{2}\) units (approximately 7.07 units)
Final answer:

\(5\sqrt{2}\) units

Applied rules:

• 3D Extension: Add third dimension term to 2D formula

• Generalization: Works for any number of dimensions

• Pythagorean Theorem: Extended to three dimensions

Complete Theory: Distance Formula Applications
\(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\)
2D Distance Formula
2D Formula
\(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\)
Cartesian Plane
3D Formula
\(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}\)
Three Dimensions
n-D Formula
\(d = \sqrt{\sum_{i=1}^{n}(x_{2i} - x_{1i})^2}\)
n Dimensions
Core Definitions:

Distance: The length of the shortest path between two points

Euclidean Metric: The standard way to measure distance in Euclidean space

Coordinate Geometry: Using algebra to study geometric properties

Pythagorean Theorem: The foundation of the distance formula

Complete Application Process:
  1. Identify Points: Locate coordinates in the problem
  2. Select Formula: Choose appropriate dimensional formula
  3. Substitute: Plug coordinates into the formula
  4. Calculate: Perform arithmetic operations
  5. Simplify: Express in simplest form
  6. Interpret: Relate to the problem context
Tip 1: Always subtract in the same order to maintain consistency.
Tip 2: The order of subtraction doesn't matter due to squaring.
Tip 3: For horizontal lines, distance is \(|x_2 - x_1|\); for vertical, \(|y_2 - y_1|\).
Tip 4: Always check that your answer is positive and reasonable.
Common Mistakes: Forgetting to square differences, sign errors, computational mistakes.
Real Applications: GPS systems, architecture, physics, computer graphics, surveying.
Essential Properties:

• Non-Negative: \(d \geq 0\) for all points

• Symmetric: Distance from A to B equals distance from B to A

• Triangle Inequality: Sum of any two sides > third side

• Zero Distance: \(d = 0\) if and only if points are identical

Advanced Concepts and Restrictions:

Unit Consistency: All coordinates must use the same measurement units

Dimension Matching: Use appropriate dimensional formula for given space

Approximation: Irrational distances may require decimal approximation

Geometric Context: Understand the spatial relationship being measured

Questions & Answers

Question: Why does the distance formula work? What's the connection to the Pythagorean theorem?

Answer: The distance formula is derived directly from the Pythagorean theorem:

  • Given two points \((x_1, y_1)\) and \((x_2, y_2)\), imagine a right triangle
  • The horizontal leg has length \(|x_2 - x_1|\)
  • The vertical leg has length \(|y_2 - y_1|\)
  • The hypotenuse is the distance between the points

By the Pythagorean theorem: \(c^2 = a^2 + b^2\)

So: \(d^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2\)

Taking the square root: \(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\)

The formula essentially calculates the hypotenuse of a right triangle formed by the coordinate differences.

Question: In the distance formula, does it matter which point I call \((x_1, y_1)\) and which I call \((x_2, y_2)\)?

Answer: No, it doesn't matter which point you designate as \((x_1, y_1)\) or \((x_2, y_2)\) because of the squaring operation:

  • \((x_2 - x_1)^2 = (x_1 - x_2)^2\) because squaring eliminates the sign
  • \((y_2 - y_1)^2 = (y_1 - y_2)^2\) for the same reason

For example, with points A(2, 3) and B(5, 7):

  • Method 1: \(\sqrt{(5-2)^2 + (7-3)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)
  • Method 2: \(\sqrt{(2-5)^2 + (3-7)^2} = \sqrt{(-3)^2 + (-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\)

Both methods give the same result. However, always subtract in the same order for both x and y coordinates to maintain consistency.

Question: How do I handle distance problems when points are in different quadrants?

Answer: The distance formula works the same way regardless of which quadrants the points are in:

  • The formula automatically handles negative coordinates through subtraction
  • Squaring eliminates any negative signs
  • Distance is always positive

For example, distance between A(-3, -2) and B(4, 5):

\(d = \sqrt{(4-(-3))^2 + (5-(-2))^2} = \sqrt{(7)^2 + (7)^2} = \sqrt{49 + 49} = \sqrt{98}\)

The negative coordinates are handled naturally by the subtraction operation, and the result is always positive.

Just apply the formula consistently: subtract the first point's coordinates from the second point's coordinates.