• Analytic Geometry: Lines and Circles

How do you find the distance from a point to a line?

Quick answer

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.

Free printable worksheet

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.

Free printable worksheetlessoons.com
Distance from a Point to a Line WorksheetName:
  1. Find the distance from the point (0, 0) to the line 3x + 4y - 10 = 0.

  2. Find the distance from the point (2, 3) to the vertical line x = -1.

  3. Calculate the distance from (1, -2) to the line 5x - 12y + 3 = 0.

  4. Convert y = (3/4)x + 2 to general form Ax + By + C = 0, then find the distance from (-2, 4) to this line.

  5. 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.

More topics and worksheets at lessoons.com© 2026 Lessons

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.

Prefer a private teacher?

Private teachers for Mathematics

Teachers on Lessoons, online or face to face. Each profile opens on the Lessoons site.

See all 5,572 teachers