Exam 1
Question
What is the distance between the two points
p
=
(
2
,
4
)
and
q
=
(
5
,
4
)
in a Cartesian coordinate system?
Solution
The distance
d
of
p
and
q
is given by
d
2
=
(
p
1
-
q
1
)
2
+
(
p
2
-
q
2
)
2
(Pythagorean formula).
Hence
d
=
(
p
1
-
q
1
)
2
+
(
p
2
-
q
2
)
2
=
(
2
-
5
)
2
+
(
4
-
4
)
2
=
3
.