- Analytic Geometry: Lines and Circles
How to find the distance between two points?
You find the distance between two points (x1, y1) and (x2, y2) by applying the distance formula: d = sqrt((x2 - x1)^2 + (y2 - y1)^2). First, subtract the x-coordinates and square the difference. Next, subtract the y-coordinates and square that difference. Finally, add the two squared results together and calculate the principal square root.
The topic explained
Understanding the distance formula
Measuring the distance between two points on a coordinate plane connects directly to the Pythagorean theorem. Any two points, such as (1, 2) and (4, 6), form the hypotenuse of an imaginary right triangle. The horizontal leg represents the difference between the x-values, and the vertical leg represents the difference between the y-values.
Because a^2 + b^2 = c^2, the straight-line distance d equals sqrt((x2 - x1)^2 + (y2 - y1)^2). Whether the points represent landmarks on a grid or vertices of a polygon, this formula determines the exact spatial interval between them.
Step-by-step calculation with real numbers
Suppose you need to calculate the distance between point A at (-2, 3) and point B at (4, -5). First, identify your coordinate values: x1 = -2, y1 = 3, x2 = 4, and y2 = -5.
Next, calculate the horizontal and vertical differences. The run is 4 - (-2) = 6. The rise is -5 - 3 = -8. Then square both values: 6 squared is 36, and -8 squared is 64. Notice that squaring always yields a positive number.
Finally, add the squares together: 36 + 64 = 100. Take the square root of 100 to get 10. The distance between points A and B is exactly 10 units.
Midpoints and classifying geometric shapes
Analytic geometry also uses coordinates to find the midpoint of a segment: M = ((x1 + x2)/2, (y1 + y2)/2). For example, the midpoint between A(-2, 3) and B(4, -5) is (( -2 + 4 )/2, ( 3 + (-5) )/2), which simplifies to (1, -1). If a problem gives you midpoint M and one end, you can work backward to solve for the missing endpoint coordinates.
You can also use distance calculations to classify triangles. By calculating the lengths of all three sides, you can test if two sides match (isosceles), if all three sides match (equilateral), or if the side lengths satisfy a^2 + b^2 = c^2 (right-angled).
Common calculation mistakes to avoid
The most frequent error is mishandling negative coordinates. When subtracting a negative coordinate, such as 4 - (-2), remember that subtracting a negative value results in addition. Another common slip is omitting parentheses when squaring negative numbers on a calculator: (-8)^2 is always positive 64.
Distance and Midpoint in Analytic Geometry Worksheet
Designed for 11th grade math students. Compute the distance, midpoint, or missing coordinate for each question, then verify your results with the step-by-step answers.
Free, no sign-up. The answer key prints on the second page. Regenerating a new worksheet on the same topic needs a free account.
Find the distance between the origin (0, 0) and the point (6, 8).
Find the midpoint of the line segment joining (2, 7) and (8, 3).
Calculate the distance between point P(-3, 2) and point Q(1, -1).
The midpoint of segment CD is M(3, 4). If point C is at (1, 2), find the coordinates of point D.
A triangle has vertices at A(1, 1), B(4, 5), and C(1, 5). Compute the lengths of sides AB, BC, and AC.
Using the side lengths from the previous item (3, 4, and 5), classify triangle ABC by its sides and angles.
Common questions
Why does the distance formula always produce a positive answer?
Distance represents a geometric length, which cannot be negative. Squaring both differences produces positive numbers, and the principal square root of their sum is always zero or positive.
Does it matter which point is labeled as the first point?
No. The order does not alter the distance because (x2 - x1)^2 equals (x1 - x2)^2. Squaring removes the difference in signs.
How do you find an unknown endpoint when given one endpoint and the midpoint?
Multiply each coordinate of the midpoint by 2, then subtract the coordinates of the known endpoint. For example, xD = 2 * xM - xC and yD = 2 * yM - yC.
How can side lengths prove that a triangle is right-angled?
Calculate the lengths of all three sides: a, b, and the longest side c. If a^2 + b^2 = c^2, the converse of the Pythagorean theorem proves the triangle contains a right angle.

Still have a question? Ask Lessi
Any question about this subject. Lessi answers right here, step by step.
Try asking
Asking needs a free account; your question is kept while you sign up. Answers are written by AI and can contain mistakes. Lessi doesn’t give medical or legal advice.
Learn it with a teacher
Learn this topic live with Lessi
Lessi, the AI teacher, explains it out loud on a board, with short quizzes, at your pace. The first 60 minutes are free.
Private teachers for Mathematics
Teachers on Lessoons, online or face to face. Each profile opens on the Lessoons site.
Featured teacher דביר הראלMathematics teacher₪200 / hourרמת גןבואו להתחיל איתי את השנה החדשה בתחושת ביטחון עצמי והבנה מעמיקה של החומר! אצלי גדלים מנצחים. אני הייטקיסט בעל רקע רב שנים בהוראת מתמטיקה בתיכון, מדעי המחשב ואנגלית.Full profile
אבירם יעקביאןMathematics teacher₪230 / hourראשון לציוןבוגר מתמטיקה בהצטיינות מהטכניון, מרצה ומתרגל מצטיין. בעל ניסיון עשיר ורב שנים. מלמד מתמטיקה בגובה העיניים, סבלני ואיכפתי:)Full profile
יוחאי אMathematics teacherרמת גןסטטיסטיקאי ומוסמך MBA מסייע בעיבודים סטטיסטיים ומעביר שיעורים פרטיים (ליחיד או לקבוצות קטנות).Full profile
גל חכם אהרוןMathematics teacher₪150 / hourירושליםבוגרת תואר ראשון במשפטים ובכלכלה מהאוניברסיטה העברית, ומרצה במכינה האוניברסיטאית של האוניברסיטה העברית.Full profile
אופיר מאגדיMathematics teacher₪200 / hourתל אביב -יפופרונטלי+ZOOM. הכנה מהירה ותכליתית לבחינה! מורה פרטי מצוין!!! רק למקצועות: המימון, ניהול פיננסי, שוק ההון ושמאות מקרקעין. יש מאות המלצות!Full profile
ראובן לוריאMathematics teacher₪145 / hourנתניהנעים מאוד, ראובן :) הייתי מתכנת עד לפני שנתיים, פרשתי כדי להתמקד בהוראה פרטית מותאמת אישית.Full profile
נועם חביהMathematics teacher₪100 / hourחיפהשמי נועם, גרה בקריות, מורה פרטית למתמטיקה מרמת ביסודי עד לרמת הגשה לבגרויות.Full profile
נועה טלMathematics teacher₪130 / hourתל אביב -יפומורה פרטית לביולוגיה, מתמטיקה ומדעי המחשב. BSc בביולוגיה ומדעי המחשב + MSc בהנדסה (אונ׳ תל אביב)Full profile