如何推导出距离公式?
用来覆盖两点之间长度的导线的长度就是两点之间的距离。如果两点位于同一水平线或同一垂直线上,则可以通过减去不相同的坐标来计算两点之间的距离。
距离公式可用于计算两条线段之间测量的距离。距离公式可用于计算多边形所有边的长度之和、多边形在坐标平面上的周长、多边形的面积等。三角形的边长也可以使用距离公式。三角形、不等边、等腰或等边的类型也可以使用距离公式确定。
两点之间的距离
该点的 x 坐标称为横坐标,而 y 坐标称为纵坐标。距离公式可用于计算 xy 平面两点之间的距离。有序对 (x, y) 表示点的坐标,其中 x 坐标定义为点到 x 轴的距离,y 坐标是点到 y 轴的距离。
以下公式可用于计算 2d 平面中两点之间的距离:
考虑给定坐标轴上的任意两个点 A(x 1 ,y 1 ) 和 B(x 2 ,y 2 )。以下两点之间的距离如下:
d =
如何推导出距离公式?
证明:
In the right-angled triangle ABC, we have,
By the Pythagoras theorem,
AB2 = AC2 + BC2
Since, we have derived the formula of distance calculation between two points, therefore,
The distance between points A and C is calculated as (x2 – x1)2
The distance between points A and C is calculated as (y2 – y1)2
The distance, d is calculated as,
d2 = (x2 – x1)2 + (y2 – y1)2
Now,
Taking the square root on both sides,
d =
This is the called the distance between two points formula.
点到线的距离公式
一个点 (x 1, y 1 ) 和一条线 ax + by + c = 0
d =
两条平行线之间的距离公式
两条平行线 ax + by + c 1 = 0 和 ax + by + c 2 = 0
d =
示例问题
问题 1. 计算点 X(5, 15) 和 Y(4, 14) 之间的距离
解决方案:
Here to find the distance between point A and B
Applying distance formula
d =
d =
Distance between X and Y is √2 or 1.41
问题 2. 求平行线 -6x + 20y + 10 = 0 和 -6x + 20y + 20 = 0 之间的距离。
解决方案:
The general equation of parallel lines is
Ax + By + C1 = 0 and Ax + By + C2 = 0,
Here,
A = -6,
B = 20,
C1 = 10 and
C2 = 20.
Applying formula
d =
d =
d = 10/√436
问题 3. 计算线 4a + 6b – 26 = 0 到点 (2, –4) 之间的距离。
解决方案:
The general equation of parallel lines is
A point (x1, y1) and a line ax + by + c = 0
Here,
A = 4, B = 6 and C = –26
Applying formula
d =
d =
d = -42/√52
问题 4. 计算点 A(-25, -5) 和 B(-16, -4) 之间的距离?
解决方案:
Here to find the distance between point A and B
Applying distance formula
d =
d =
Distance between A and B is √82 or 9.05.