- Analytic Geometry: Lines and Circles
How do you find the distance from a point to a line?
You find the perpendicular distance from a point (x₀, y₀) to a line written in general form Ax + By + C = 0 using the formula d = |Ax₀ + By₀ + C| / √(A² + B²). The absolute value ensures the distance is positive, and the denominator normalizes the measurement along the perpendicular path.
The topic explained
Why the shortest distance is perpendicular
Imagine standing on an open field and wanting to reach a straight paved road as quickly as possible. Walking along an angle makes your trip longer. The quickest route is always a straight line that forms a 90-degree angle with the road.
In analytic geometry, when mathematicians measure the separation between a point and a line, they always mean this shortest perpendicular distance. Any slanted segment from the point to the line forms the hypotenuse of a right triangle, which is strictly longer than the perpendicular leg.
The point-to-line formula step by step
First, rewrite your linear equation into standard form: Ax + By + C = 0. If your line is given as y = 2x + 1, rearrange it to 2x - y + 1 = 0 so that A = 2, B = -1, and C = 1.
Next, plug your point's coordinates (x₀, y₀) into the formula: d = |Ax₀ + By₀ + C| / √(A² + B²). Substitute the coordinates into the numerator, take the absolute value to ensure a positive distance, and divide by the square root of A squared plus B squared.
Finding the height and area of a triangle
A common coordinate geometry problem asks for the area of a triangle with vertices A, B, and C. You can find the base length by taking the distance between A and B using the Pythagorean distance formula.
To find the corresponding height, calculate the perpendicular distance from point C to the line passing through A and B. Once you have the base b and height h, the triangle area is simply 0.5 * b * h.
Distance from a Point to a Line Worksheet
Designed for 11th-grade analytic geometry students. Rewrite all line equations into Ax + By + C = 0 before calculating distances and triangle areas.
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 from the point (0, 0) to the line 3x + 4y - 10 = 0.
Find the distance from the point (2, 3) to the vertical line x = -1.
Calculate the distance from (1, -2) to the line 5x - 12y + 3 = 0.
Convert y = (3/4)x + 2 to general form Ax + By + C = 0, then find the distance from (-2, 4) to this line.
A line has the equation 4x + 3y - 12 = 0. A triangle has its base along this line between points (0, 4) and (3, 0), and its third vertex is (5, 6). Find the height and the area of the triangle.
Common questions
What happens if the calculated distance is zero?
A distance of zero means the point lies directly on the line. When you substitute the point's coordinates into the line expression Ax + By + C, the numerator evaluates to zero.
Can the distance from a point to a line ever be negative?
No. Distance is a geometric length, which is always zero or positive. The absolute value brackets in the numerator ensure that negative values become positive.
What is the most common mistake when using this formula?
The most frequent error is plugging numbers into the formula while the line is still in slope-intercept form (y = mx + b). Always rearrange the line into Ax + By + C = 0 before identifying A, B, and C.
How does this lesson connect to circles in analytic geometry?
If the distance from the center of a circle to a given line equals the circle's radius, the line is tangent to the circle. If the distance is less than the radius, the line cuts through the circle at two points.

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₪150 / hourירושליםבוגרת תואר ראשון במשפטים ובכלכלה מהאוניברסיטה העברית, ומרצה במכינה האוניברסיטאית של האוניברסיטה העברית.Full profile
אופיר מאגדיMathematics teacher₪200 / hourתל אביב -יפופרונטלי+ZOOM. הכנה מהירה ותכליתית לבחינה! מורה פרטי מצוין!!! רק למקצועות: המימון, ניהול פיננסי, שוק ההון ושמאות מקרקעין. יש מאות המלצות!Full profile
אבירם יעקביאןMathematics teacher₪230 / hourראשון לציוןבוגר מתמטיקה בהצטיינות מהטכניון, מרצה ומתרגל מצטיין. בעל ניסיון עשיר ורב שנים. מלמד מתמטיקה בגובה העיניים, סבלני ואיכפתי:)Full profile
יוחאי אMathematics teacherרמת גןסטטיסטיקאי ומוסמך MBA מסייע בעיבודים סטטיסטיים ומעביר שיעורים פרטיים (ליחיד או לקבוצות קטנות).Full profile
שי קמחיMathematics teacher₪200 / hourחיפהבוגר תואר שני עם שנות ניסיון בהוראה , רצון גדול להוביל להצלחות. .Full profile
בנימין דוידובMathematics teacher₪120 / hourאשקלוןמורה פרטי למתמטיקה/פיזיקה מזה כשבע שנים המלמד בצפון ובדרום - מגיש לבגרויות בכל הרמות טלפון - **********Full profile
יובל שפיראMathematics teacher₪80 / hourעתליתיובל, בת 23 מעתלית, בוגרת 5 יח״ל מתמטיקה בציון 95, בעלת ניסיון בהדרכה והוראה. מציעה תגבור, הכנה למבחנים וחיזוק הבסיס. סבלנית, אחראית וניידת עם רכב 😊Full profile