Pythagorean theorem and distance Knowledge-Based Study

Math · Geometry · Math · Pythagorean Theorem & Coordinate Geometry

Math topic explanations on Pythagorean theorem and distance.

Study notes

  1. Fundamentals of the Theorem

    In any right-angled triangle, the side opposite the right angle is called the hypotenuse, and it is always the longest side. The two sides that form the right angle are called the legs.

    If the lengths of the legs are denoted by aa and bb, and the length of the hypotenuse is denoted by cc, the Pythagorean theorem states that:

    a2+b2=c2a^2 + b^2 = c^2

    This fundamental geometric relation allows us to find the length of any side of a right triangle when the lengths of the other two sides are known:

    • To find the hypotenuse: c=a2+b2c = \sqrt{a^2 + b^2}
    • To find a missing leg: a=c2−b2a = \sqrt{c^2 - b^2} or b=c2−a2b = \sqrt{c^2 - a^2}

    Constructing Right Triangles on a Grid

    When two points, A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), lie on a Cartesian coordinate plane, the straight-line segment joining them represents the shortest path between them.

    We can construct a right-angled triangle by introducing a third point, C(x2,y1)C(x_2, y_1), which shares the horizontal coordinate of point BB and the vertical coordinate of point AA:

    • The horizontal leg ACAC has length ∣x2−x1∣|x_2 - x_1|.
    • The vertical leg BCBC has length ∣y2−y1∣|y_2 - y_1|.
    • The segment ABAB serves as the hypotenuse of the triangle.

    Because the coordinate axes are perpendicular, triangle ABCABC is guaranteed to be a right triangle with the right angle at vertex CC.

    From Geometric Legs to Coordinate Distance

    Applying the Pythagorean theorem directly to the right triangle formed on the coordinate grid gives:

    (AB)2=(AC)2+(BC)2(AB)^2 = (AC)^2 + (BC)^2

    Substituting the coordinate expressions for the lengths of the legs:

    d2=(x2−x1)2+(y2−y1)2d^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2

    Taking the positive square root of both sides yields the distance formula:

    d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

    Because squaring any real number produces a non-negative result, the order of subtraction does not affect the outcome: (x2−x1)2=(x1−x2)2(x_2 - x_1)^2 = (x_1 - x_2)^2 and (y2−y1)2=(y1−y2)2(y_2 - y_1)^2 = (y_1 - y_2)^2.

    Step-by-Step Calculation

    Calculate the distance between points P(−2,3)P(-2, 3) and Q(4,−5)Q(4, -5).

    1. Identify coordinates: Let x1=−2x_1 = -2, y1=3y_1 = 3, x2=4x_2 = 4, and y2=−5y_2 = -5.
    2. Find horizontal change: Δx=x2−x1=4−(−2)=6\Delta x = x_2 - x_1 = 4 - (-2) = 6.
    3. Find vertical change: Δy=y2−y1=−5−3=−8\Delta y = y_2 - y_1 = -5 - 3 = -8.
    4. Square both differences: (Δx)2=62=36(\Delta x)^2 = 6^2 = 36 and (Δy)2=(−8)2=64(\Delta y)^2 = (-8)^2 = 64.
    5. Sum the squares: 36+64=10036 + 64 = 100.
    6. Take the square root: d=100=10d = \sqrt{100} = 10.

    Thus, the straight-line distance between PP and QQ is exactly 10 units.