Home
Exponential Functions
Powers
Linera Equations
Simple Trinomials as Products of Binomials
Laws of Exponents and Dividing Monomials
Solving Equations
Multiplying Polynomials
Multiplying and Dividing Rational Expressions
Solving Systems of Linear Inequalities
Mixed-Number Notation
Linear Equations and Inequalities in One Variable
The Quadratic Formula
Fractions and Decimals
Graphing Logarithmic Functions
Multiplication by 111
Fractions
Solving Systems of Equations - Two Lines
Solving Nonlinear Equations by Factoring
Solving Linear Systems of Equations by Elimination
Rationalizing the Denominator
Simplifying Complex Fractions
Factoring Trinomials
Linear Relations and Functions
Polynomials
Axis of Symmetry and Vertices
Equations Quadratic in Form
The Appearance of a Polynomial Equation
Subtracting Reverses
Non-Linear Equations
Exponents and Order of Operations
Factoring Trinomials by Grouping
Factoring Trinomials of the Type ax 2 + bx + c
The Distance Formula
Invariants Under Rotation
Multiplying and Dividing Monomials
Solving a System of Three Linear Equations by Elimination
Multiplication by 25
Powers of i
Solving Quadratic and Polynomial Equations
Slope-intercept Form for the Equation of a Line
Equations of Lines
Square Roots
Integral Exponents
Product Rule for Radicals
Solving Compound Linear Inequalities
Axis of Symmetry and Vertices
Multiplying Rational Expressions
Reducing Rational Expressions
Properties of Negative Exponents
Fractions
Numbers, Factors, and Reducing Fractions to Lowest Terms
Solving Quadratic Equations
Factoring Completely General Quadratic Trinomials
Solving a Formula for a Given Variable
Factoring Polynomials
Decimal Numbers and Fractions
Multiplication Properties of Exponents
Multiplying Fractions
Multiplication by 50


 
Try the Free Math Solver or Scroll down to Tutorials!

 

 

 

 

 

 

 

 
 
 
 
 
 
 
 
 

 

 

 
 
 
 
 
 
 
 
 

Please use this form if you would like
to have this math solver on your website,
free of charge.


We will use the Pythagorean Theorem to find a formula we can use to find the distance between two points in the xy-plane.

Consider any two points in the xy-plane. Let’s label them P1(x1, y1) and P2(x2, y2).

We draw a right triangle with P1 and P2 as the ends of the hypotenuse.

The length of the horizontal side of the triangle is the run from P1 to P2. That run is | x2 - x1 |. We use absolute value because the length cannot be negative.

Likewise, the length of the vertical side of the triangle is the rise between P1 and P2. That rise is | y2 - y1 |.
In the Pythagorean Theorem:

Substitute the run, | x2 - x1 |, for a.

 Substitute the rise, | y2 - y1 |, for b.

When we square a quantity, we get a positive number. So we do not need the absolute value symbols. We replace them with parentheses.

c2 = a2 + b2

 

c2 = | x2 - x1 |2 + | y2 - y1 |2

 

c2 = (x2 - x1)2 + (y2 - y1)2

To find c, we take the square root.

We call this result the distance formula.

 

Formula — The Distance Formula

Let P1(x1, y1) and P2(x2, y2) represent any two points in the xy-plane. The distance, d, between P1 and P2 is given by

 

Example 1

Use the distance formula to find the distance between the points (5, 0) and (-2, -8).

Solution

Let (x1, y1) be (5, 0) and (x2, y2) be (-2, -8).
Substitute these values into the distance formula.
Simplify.
The distance, d, is units.

Note:

We obtain the same answer if we use (5, 0) for (x2, y2) and (-2, -8) for (x1, y1).