WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Distance from a Point to a Line

c
0.3
m
-1
1
a
b
In the graph,
d
is the distance from
(a,b)
to the line
y=mx+c
. Because the red and green triangles are similar,
d
1
=
ma+c-b
1+
2
m
.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.