一点到直线的距离

Before this, know把一个点投影到直线上

Illustrated · 1 min

Let us say we have a point and a line, as shown.

How would we find the distance between the point and the line? Hint: Think about what this means. The distance between a point and a line is defined as the shortest possible distance between the point and a point on the line.

So we, of course drop a perpendicular from the point to the line, because the Pythagorean theorem tells us that this gives the minimum distance. So we do so.

The distance ADAD is our answer! So how would you do that with coordinates? If we are given the equation of the line, we can find the slope of any line perpendicular to it. To find the one that crosses AA, we just substitute the coordinates for AA. Then, we can find the coordinates of DD and we'd just have to use the distance formula to find ADAD.

We leave it as an exercise for the reader to prove that the distance between the line represented ax+by+c=0ax+by+c=0 and (x0,y0)(x_0,y_0) is ∣ax0+by0+c∣a2+b2.\frac {|ax_0+by_0 + c|}{\sqrt{a^2+b^2}}.

Interactive · 1 question

Review of the Cartesian Plane

We all know the coordinate system: (x,y)(x,y) refers to the point that lies xx along the x-axis and yy along the y-axis, lines have certain common forms like y=mx+by=mx+b, even weirder shapes like all the conics (circles, hyperbolas, parabolas, etc.) have nice quadratic representations. So if we can make all these nice shapes, why not try to do some geometry? Common Formulae

Distance from point to a line

What's the distance from the point (0,0)(0,0) to the line x+2y−2=0x+2y-2=0?

Choose one answer

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems