C.7: Finding the Hypotenuse from the Components

Physics: A Foundation for Scientists and Engineers · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    Read aloud

    How

    Speed: 1×
    Light up
    Highlight

    Symbols: Mulberry Symbols, © 2018–2026 Steve Lee, CC BY-SA 4.0 (licence, the set), the site's own copies.

    From LibreTexts, under CC BY 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    C.7: Finding the Hypotenuse from the Components

    Going the other way, from components back to the vector, is solving a right triangle whose two legs are known. The magnitude is the hypotenuse, from the Pythagorean theorem, and the direction comes from the tangent:

    Key Equation: Magnitude and direction from components

    \[A = \sqrt{A_x^2 + A_y^2}, \qquad \theta = \tan^{-1}\!\left(\frac{A_y}{A_x}\right). \tag{C.4}\]

    These are equations (3.3) and (3.4) of Chapter 3. One warning about the angle. A calculator’s \(\tan^{-1}\) always returns an angle between \(-90^\circ\) and \(+90^\circ\), that is, a direction pointing to the right. If \(A_x\) is negative, the vector points to the left, and you must add \(180^\circ\) to the calculator’s answer. A quick sketch showing which quadrant the vector lies in (Figure 3.4) prevents this error.

    Example C.9: Where did the hiker end up?

    (a) A hiker walks \(3.0\,\mathrm{km}\) east and then \(4.0\,\mathrm{km}\) north. How far is she from her starting point, and in what direction? (b) A puck slides with velocity components \(v_x = -6.0\,\mathrm{m/s}\) and \(v_y = +8.0\,\mathrm{m/s}\). Find its speed and direction.

    Solution

    (a) The east and north legs are the components, and the straight-line distance is the hypotenuse:

    \[d = \sqrt{(3.0)^2 + (4.0)^2}\,\,\mathrm{km} = \sqrt{25}\,\,\mathrm{km} = 5.0\,\mathrm{km},\]

    in the direction

    \[\theta = \tan^{-1}\!\left(\frac{4.0}{3.0}\right) = 53.1^\circ \text{ north of east}.\]

    (b) The speed is the magnitude, \(v = \sqrt{(-6.0)^2 + (8.0)^2} = 10.0\,\mathrm{m/s}\). The calculator gives \(\tan^{-1}\bigl(8.0/(-6.0)\bigr) = -53.1^\circ\), which points down and to the right. But the puck moves up and to the left (\(v_x < 0\), \(v_y > 0\)), so add \(180^\circ\): \(\theta = 126.9^\circ\), measured counterclockwise from the \(+x\) axis. That is, \(53.1^\circ\) above the \(-x\) axis.

    If you know one leg and the angle rather than both legs, use trigonometry for the hypotenuse instead, as in Example C.7: \(\text{hypotenuse} = \text{opposite}/\sin\theta = \text{adjacent}/\cos\theta\). Either route must give the same answer, which makes a handy check.


    This page titled C.7: Finding the Hypotenuse from the Components was last modified on Thu, 12 Nov 2026 04:27:18 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.