Opening the book…
A direction in the \(xy\)-plane is most economically described by giving an angle, but for calculation it is almost always easier to break the vector into pieces aligned with the coordinate axes. The components of \(\vec{A}\) are the signed projections of \(\vec{A}\) onto the axes: the “shadows” the vector casts on the \(x\)- and \(y\)-axes. We call them \(A_x\) and \(A_y\). The word signed is essential: \(A_x\) is positive when the shadow points in the \(+x\) direction and negative when it points in the \(-x\) direction, and likewise for \(A_y\). A component is a scalar, not a vector, but it carries a sign that records which way along the axis the vector leans.
Note: Component vectors versus scalar components
Two closely related objects share almost the same name, and confusing them is a common source of trouble.
The scalar component \(A_x\) is a signed number: for a vector pointing up and to the left, \(A_x\) might be \(-3\,\mathrm{m}\). The component vector \(\vec{A}_x = A_x\,\hat\imath\) is the arrow that this number describes: it has length \(|A_x|\) and points along the \(x\)-axis. In Figure 3.3 the blue arrows are the component vectors; the labels \(A_x\) and \(A_y\) name their signed lengths.
The two are related by \(\vec{A} = \vec{A}_x + \vec{A}_y\), which is a vector equation, and by \(A_x = |\vec{A}_x|\) only when \(A_x\) happens to be positive. Whenever this book writes \(A_x\) without an arrow, a signed number is meant.
To find the components, drop a perpendicular from the head of \(\vec{A}\) to each axis. This builds a right triangle whose hypotenuse has length \(A\) and whose two legs have lengths \(|A_x|\) and \(|A_y|\), as in Figure 3.3. Trigonometry then gives the lengths of the legs. The reliable way to do this (one that works no matter how the direction was specified) is:
- Sketch the vector on the axes, roughly to scale, so you can see which way it points.
- Identify the acute angle the vector makes with one of the axes, and call it \(\phi\). It does not matter which axis you measure from, and \(\phi\) need not be measured from the \(+x\)-axis, but it must be the acute angle inside the right triangle you just drew, so that \(0^\circ < \phi < 90^\circ\).
- Compute the leg lengths from that angle. The leg lying along the axis you measured from is adjacent to \(\phi\), so its length is \(A\cos\phi\); the leg perpendicular to that axis is opposite to \(\phi\), so its length is \(A\sin\phi\).
- Attach the signs by looking at your sketch. If a component points along \(+x\) (or \(+y\)) it is positive; if it points along \(-x\) (or \(-y\)) it is negative.
Step 4 is the one that makes the method general. The lengths from step 3 are never negative (they come from a right triangle), so the sign of each component is something you supply, by reading the picture, not something a formula hands you. Figure 3.4 shows the four possible sign patterns at a glance.
It is worth seeing how the familiar textbook formulas fit into this scheme. Let \(\theta\) be the vector’s standard-position angle: the angle measured counterclockwise from the \(+x\)-axis, running from \(0^\circ\) to \(360^\circ\). For a vector in the first quadrant, \(\theta\) coincides with the acute angle \(\phi\) measured from the \(+x\)-axis, the \(x\)-leg is adjacent and the \(y\)-leg is opposite, and both components come out positive, so
\begin{align}A_x &= A \cos\theta, \tag{3.1} \\ A_y &= A \sin\theta. \tag{3.2}\end{align}
In fact equations (3.1) and (3.2) remain correct in every quadrant, provided \(\theta\) is the standard-position angle: the cosine and sine of an obtuse or reflex angle are already negative where they need to be, so the signs take care of themselves. That is a real convenience, and we will use it.
The catch is that a problem almost never hands you \(\theta\). It hands you something like “\(24^\circ\) north of west” or “\(40^\circ\) below the horizontal,” and converting that into a standard-position angle is itself an error-prone step. So there are two honest routes:
- Convert to a standard-position angle \(\theta\), then apply (3.1) and (3.2) and let the trigonometric functions supply the signs.
- Build the right triangle on the acute angle you were actually given, compute the leg lengths, and supply the signs yourself from the sketch.
Both are correct, and both appear in the examples that follow. The second is usually faster and is far more forgiving when the axes are not horizontal and vertical. What is not safe is memorizing “\(x\) gets cosine, \(y\) gets sine” and applying it to whatever angle appears in the problem statement: that recipe is only valid for a standard-position angle, and it will betray you the first time an angle is measured from the \(y\)-axis. Either sketch the triangle, or make sure your \(\theta\) really is measured counterclockwise from \(+x\).
Going the other way (recovering the magnitude and direction from the components), the magnitude is always
Key Equation: Magnitude from components
\[A = \sqrt{A_x^2 + A_y^2} \quad \text{(two dimensions)}, \qquad A = \sqrt{A_x^2 + A_y^2 + A_z^2} \quad \text{(three dimensions)}. \tag{3.3}\]
In two dimensions this is just the Pythagorean theorem applied to the right triangle of Figure 3.3; in three dimensions it is the Pythagorean theorem applied twice, first in the \(xy\)-plane and then in the vertical plane containing \(\vec{A}\). Notice that squaring erases all the signs, so the magnitude comes out nonnegative no matter which quadrant (or octant) the vector points into, exactly as it must.
In two dimensions the direction is fixed by
\[\tan\theta = \frac{A_y}{A_x}, \tag{3.4}\]
but this one requires care. A calculator’s inverse tangent returns an angle only in the range \(-90^\circ\) to \(+90^\circ\), so by itself it cannot distinguish a vector in the second quadrant from one in the fourth, or first from third. Always use the signs of \(A_x\) and \(A_y\) (equivalently, a glance at your sketch) to place the angle in the correct quadrant. In practice: compute \(\tan^{-1}(A_y/A_x)\), look at your sketch, and if the calculator’s answer points the wrong way, add \(180^\circ\).
This projection idea is more general than it may first appear: it works for any pair of perpendicular axes, not only the horizontal and vertical ones. In Chapter 5, for example, we will tilt the axes to lie along and perpendicular to a ramp and resolve gravity into components in exactly the same way; build the right triangle on the angle you are given, then read off the signs.
Example 3.1: Resolving a force into components
A force of magnitude \(50\,\mathrm{N}\) acts at \(20^\circ\) above the horizontal. Find its \(x\) and \(y\) components.
Solution
Sketch the force: it points up and to the right, making a \(20^\circ\) angle with the horizontal (\(x\)) axis. Drop perpendiculars to the axes to form the right triangle. The leg along \(x\) is adjacent to the \(20^\circ\) angle and the leg along \(y\) is opposite it, so the leg lengths are
\[F\cos 20^\circ = (50)\cos 20^\circ \approx 47.0\,\mathrm{N}, \qquad F\sin 20^\circ = (50)\sin 20^\circ \approx 17.1\,\mathrm{N}.\]
From the sketch the force points in \(+x\) and \(+y\), so both components are positive:
\[F_x \approx +47.0\,\mathrm{N}, \qquad F_y \approx +17.1\,\mathrm{N}.\]
Example 3.2: Components from a compass direction
A car travels at \(14\,\mathrm{m/s}\) in a direction \(24^\circ\) north of west. Find the eastward and northward components of its velocity, taking east as \(+x\) and north as \(+y\).
Solution
“North of west” means: start pointing due west, then swing \(24^\circ\) toward north. Sketching this, the velocity points up and to the left (into the second quadrant) and makes a \(24^\circ\) angle with due west, that is, with the negative half of the \(x\)-axis. Build the right triangle on that \(24^\circ\) angle. The leg along the east–west (\(x\)) axis is adjacent, and the leg along the north–south (\(y\)) axis is opposite, so the leg lengths are
\[(14)\cos 24^\circ \approx 12.8\,\mathrm{m/s}, \qquad (14)\sin 24^\circ \approx 5.7\,\mathrm{m/s}.\]
Now read the signs from the sketch: the velocity points west (\(-x\)) and north (\(+y\)), so
\[v_x \approx -12.8\,\mathrm{m/s}, \qquad v_y \approx +5.7\,\mathrm{m/s}.\]
Notice that we used the \(24^\circ\) we were actually given and never had to convert the heading into an angle measured from the \(+x\)-axis. (Had we insisted on the standard-position angle \(180^\circ - 24^\circ = 156^\circ\), then \(14\cos 156^\circ\) and \(14\sin 156^\circ\) would return the same two components, signs included, but the projection method gets there faster and with far less room for a sign error.)
Checkpoint 3.1
A vector \(\vec{B}\) has \(B_x = -3\) and \(B_y = -4\). Without computing an inverse tangent, in which quadrant of the \(xy\)-plane does \(\vec{B}\) lie? What is its magnitude? If you did feed \(\tan\theta = B_y/B_x = (-4)/(-3)\) into a calculator’s inverse tangent, why would the angle it returns be misleading?
Answers to Checkpoints
Checkpoint 3.1. Both components are negative, so \(\vec{B}\) points to the left and down: it lies in the third quadrant. Its magnitude is \(B = \sqrt{(-3)^2 + (-4)^2} = \sqrt{9 + 16} = 5\). The two minus signs cancel in the ratio, \((-4)/(-3) = +4/3\), so the calculator’s inverse tangent returns \(53.1^\circ\), a first-quadrant angle. That is the direction of a vector with components \((+3, +4)\), pointing exactly opposite to \(\vec{B}\). The true direction is \(53.1^\circ + 180^\circ = 233.1^\circ\) from the \(+x\)-axis, or \(53.1^\circ\) below the \(-x\)-axis. A sketch catches the error at once.
This page titled 3.2: Components of a Vector was last modified on Thu, 12 Nov 2026 04:26:42 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.
The book could not be loaded just now.