Distance from a Point to a Line Calculator
Enter the coordinates of the point and the equation of the line to get the distance, the step-by-step solution, and the Cartesian graph.
Result
The distance between the point and the line is:
Quick Examples
What Is the Distance from a Point to a Line?
In analytic geometry, the distance from a point to a line is the length of the perpendicular line segment connecting that point to the line. The general formula to calculate the distance d from a point P(x0, y0) to a line L expressed in its general form, Ax + By + C = 0, is:
\(d=\dfrac{|Ax_0+By_0+C|}{\sqrt{A^{2}+B^{2}}}\)
Solved Exercises
Calculate the distance from point (2, 3) to the straight line x + y + 1 = 0.
Result
The distance between point \( P(2, 3) \) and the line \( x+ y+ 1 = 0 \) is:
Step-by-step solution
The formula to use is the following:
1. Identify the coefficients and the coordinates of the point:
2. Substitute the values into the formula:
3. Calculate the products and powers:
4. Simplify the numerator and denominator:
5. Exact and approximate final result:
Determine the distance between point P(-2, 5) and the line passing through (0, 0) and (3, 4).
Solution
The distance between point \( P(-2, 5) \) and the line with equation \( -4x+ 3y = 0 \) is:
Step-by-step solution
The distance formula is the following:
The general equation of the line passing through the given points is:
1. Identify the coefficients and the coordinates of the point:
2. Substitute the values into the formula:
3. Calculate the products and powers:
4. Simplify the numerator and denominator:
5. Final result:
Find the distance between the point (1, 1) and the straight line 3x + y/2 + 1 = 0.
Result
The distance between point \( P(1, 1) \) and the line \( 3x+ \dfrac{1}{2}y+ 1 = 0 \) is:
Step-by-step solution
The formula to use is the following:
1. Identify the coefficients and the coordinates of the point:
2. Substitute the values into the formula:
3. Calculate the products and powers:
4. Simplify the numerator and denominator:
5. Final result and its decimal approximation:





Leave a Reply