Exam 1

  1. Question

    What is the distance between the two points p=(3,4)p = (3, 4) and q=(5,2)q = (5, 2) in a Cartesian coordinate system?


    Solution

    The distance dd of pp and qq is given by d2=(p1q1)2+(p2q2)2d^2 = (p_1 - q_1)^2 + (p_2 - q_2)^2 (Pythagorean formula).

    Hence d=(p1q1)2+(p2q2)2=(35)2+(42)2=2.828d = \sqrt{(p_1 - q_1)^2 + (p_2 - q_2)^2} = \sqrt{(3 - 5)^2 + (4 - 2)^2} = 2.828.