두 점 사이의 거리

두 점 사이의 거리

1 1차원 (수직선)

두 점 [math]\displaystyle{ A(x_1) }[/math], [math]\displaystyle{ B(x_2) }[/math] 사이의 거리

[math]\displaystyle{ d=\sqrt{(x_2-x_1)^2}=|x_2-x_1|=|x_1-x_2| }[/math]

2 2차원 (좌표평면)

두 점 [math]\displaystyle{ A(x_1, y_1) }[/math], [math]\displaystyle{ B(x_2, y_2) }[/math] 사이의 거리

[math]\displaystyle{ d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2} }[/math]

3 3차원

두 점 [math]\displaystyle{ A(x_1, y_1, z_1) }[/math], [math]\displaystyle{ B(x_2, y_2, z_2) }[/math] 사이의 거리

[math]\displaystyle{ d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1^2} }[/math]

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}