Back To Course

Math 102: College Mathematics15 chapters | 122 lessons | 13 flashcard sets

Are you a student or a teacher?

Try Study.com, risk-free

As a member, you'll also get unlimited access to over 75,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-freeWhat teachers are saying about Study.com

Already registered? Login here for access

Your next lesson will play in
10 seconds

Lesson Transcript

Instructor:
*Luke Winspur*

Luke has taught high school algebra and geometry, college calculus, and has a master's degree in education.

You can't always rely on your smartphone to tell you how far you need to travel to get from point A to point B. The distance formula will tell you the distance between any two points on a graph. In this lesson, you'll learn where it comes from and how to use it!

Now, I like technology as much as the next guy and have been known to use my smartphone to tell me how to get to the grocery store just four blocks away, but even so, every once in a while, I enjoy going camping and getting out of cell phone range for a few days to get away from it all. I actually recently went hiking up and over the Continental Divide close to Boulder, Colorado with a good friend of mine.

We were planning our route for the day, and we picked a spot on our map that looked like a cool place to spend the night. Thing was, it looked kind of far away, and we weren't sure if we'd be able to make it in one day. On top of that, our phones weren't working and couldn't tell us how far away it was. On the map, it was diagonal from us, which meant we couldn't just count over how many boxes over it was.

That meant it was time for some good, old-fashioned Pythagorean Theorem: *a*^2 + *b*^2 = *c*^2. By counting straight over and then straight up, we had a right triangle, and the distance between us and the campsite was just the side length *c*. A few quick calculations later, and we found that we were about 8.5 miles away - not close, but doable!

Now, at this point in the lesson, you might be wondering, 'Isn't this supposed to be about the distance formula?' Why are we using the Pythagorean Theorem? Well, the reason I show you this is because the distance formula is really just a condensed version of the Pythagorean Theorem. It takes all the steps we just did and combines them into one formula.

Because it turns so many steps into one line of math, it's actually a pretty messy formula and can be easy to make mistakes on. So, before I show you the formula, I wanted you to see where it comes from. Think of the distance formula as just a shortcut. If you ever forget the shortcut or feel like the shortcut isn't for you, you can always just use the Pythagorean Theorem - like the way I showed you.

So here it is, **the distance formula**:

Now, although it seems like one big mess of letters and math, just think of it as *c* = sqrt(*a*^2 + *b*^2). The way we find *a* in the distance formula is just doing (*x*2 - *x*1), and the way we find *b* is just (*y*2 - *y*1). This is basically what we just did previously by counting on the map.

So, if we were to find the distance to the campsite with the formula this time, it would look like this:

(*x*2 - *x*1) would just be (1 - 8), and (*y*2 - *y*1) would be (7 - 2). Those two little problems give us -7 and 5, and then squaring both those numbers gives us 49 and 25. Look familiar? Adding those two together gives us 74, and then taking the square root finally leaves us with 8.6, just like before.

The only difference between this way and the Pythagorean Theorem was that we had a -7 for a few steps doing it this way, whereas it was a +7 before. That will happen a lot of the time, but it doesn't matter, because when we multiply it by itself (when we square it), it turns positive anyway; the negative goes away.

And, that's it! That's the distance formula. Let's just try a few quick examples with the formula to give you a little practice.

You'll usually see the problems stated like this: Find the distance between the points (5, 9) and (-2, 3). Now, we could just graph these two points, go straight over and straight up to make a triangle, and then use *a*^2 + *b*^2 to find *c*^2, like the Pythagorean Theorem, but let's get some practice using the distance formula instead.

We'll start by identifying *x*1, *x*2, *y*1 and *y*2. *x*1 is the first *x* value and *x*2 the second; same thing for the *y*s. Now we plug these values into their places in the formula, giving us this: *d* = sqrt((5 - (-2))^2 + (9 - 3)^2). Doing the subtraction leaves us with 7 and 6. Then, squaring these numbers turns them into 49 and 36. Adding them together makes 85, and then taking the square root gives us our answer as around 9.2.

Not too bad, right? Let's do one more for good measure. Find the distance between (-2, -1) and (2, -4). Again, start by identifying *x*1, *x*2, *y*1 and *y*2. Then, substitute them into the formula: *d* = sqrt((2 - (-2))^2 + ((-4) - (-1))^2). This time, we've got to be extra careful with our negatives. 2 - (-2) is like 2 + 2, so that gives us 4, and -4 - (-1) is like -4 + 1, which is -3. That leaves us here, with 4 squared and -3 squared on the inside of the square root. These turn into 16 and 9, which add together to 25, and the square root of 25 is just plain old 5.

And, that's **the distance formula**! Let's quickly review what we've learned. The distance formula is a condensed version of the Pythagorean Theorem (*a*^2 + *b*^2 = *c*^2) and looks like this: *d* = sqrt((*x*2 - *x*1)^2 + (*y*2 - *y*1)^2). *x*1, *x*2, *y*1 and *y*2 are just the *x* and *y* coordinates of these two points. And finally, be careful when you have to plug negatives into the distance formula. Sometimes two negatives make a positive.

At the end of this lesson, you will be able to:

- Explain how the distance formula relates to the Pythagorean Theorem
- Identify the distance formula
- Calculate the distance between points using the distance formula

To unlock this lesson you must be a Study.com Member.

Create your account

Are you a student or a teacher?

Already a member? Log In

BackWhat teachers are saying about Study.com

Already registered? Login here for access

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

You are viewing lesson
Lesson
7 in chapter 1 of the course:

Back To Course

Math 102: College Mathematics15 chapters | 122 lessons | 13 flashcard sets

- What are the Different Types of Numbers? 6:56
- How to Find the Prime Factorization of a Number 5:36
- How to Find the Greatest Common Factor 4:56
- How to Find the Least Common Multiple 5:37
- What Are the Different Parts of a Graph? 6:21
- How to Use The Midpoint Formula 3:33
- How to Use The Distance Formula 5:27
- Go to Math Foundations

- Go to Logic

- Go to Sets

- Go to Geometry

- Computer Science 109: Introduction to Programming
- Introduction to HTML & CSS
- Introduction to JavaScript
- Computer Science 332: Cybersecurity Policies and Management
- Introduction to SQL
- Early Civilizations & The Ancient Near East
- Fundamental Overview of World War I
- The Virginia Dynasty & Jacksonian America
- 1920's America and the Great Depression
- Building the United States After the American Revolution
- CEOE Test Cost
- PHR Exam Registration Information
- Claiming a Tax Deduction for Your Study.com Teacher Edition
- What is the PHR Exam?
- Anti-Bullying Survey Finds Teachers Lack the Support They Need
- What is the ASCP Exam?
- ASCPI vs ASCP

- Subtraction in Java: Method, Code & Examples
- Hydrogen Chloride vs. Hydrochloric Acid
- Extraction of Aluminum, Copper, Zinc & Iron
- Iroquois Culture, Traditions & Facts
- Noun Clauses Lesson Plan
- Adverb of Manner Lesson Plan
- Timeline Project Ideas for High School
- Quiz & Worksheet - Multi-Dimensional Arrays in C
- Quiz & Worksheet - What is a Diastereoisomer?
- Quiz & Worksheet - Mauryan Empire Art & Culture
- Quiz & Worksheet - What is a Convergent Sequence?
- Flashcards - Measurement & Experimental Design
- Flashcards - Stars & Celestial Bodies
- Special Education in Schools | History & Law
- Lesson Plans for Teachers

- AP Physics C Textbook
- Explorations in Core Math - Grade 8: Online Textbook Help
- Psychology, Sociology & Anthropology Study Guide
- Explorations in Core Math - Grade 6: Online Textbook Help
- Roll of Thunder, Hear My Cry Study Guide
- TASC Science: Evidence of Common Ancestry & Diversity
- Praxis Middle School Science: Chemical Bonding & Compounds
- Quiz & Worksheet - Supply Chain Management & Information Technology
- Quiz & Worksheet - Buddhism's Spread in Tang China
- Quiz & Worksheet - Patterns in Pascal's Triangle
- Quiz & Worksheet - Analysis of Poe's A Valentine
- Quiz & Worksheet - Analyzing All Summer in a Day

- Just in Time Inventory: Definition, Advantages & Examples
- Variation Functions: Definition & Examples
- Best Free Online English Courses
- How to Learn English Online
- How to Pass Algebra 2
- Measurement Games for Kids
- How to Pass Microbiology
- Study.com's Academic Integrity Policy
- FTCE Math 5-9: Passing Score
- Do Homeschoolers Have to take Standardized Tests?
- How to Prep for the NYS Spanish Regents Exam
- What is Professional Development?

- Tech and Engineering - Videos
- Tech and Engineering - Quizzes
- Tech and Engineering - Questions & Answers

Browse by subject