01 / 21

Vector Magnitude
& Direction

Learn to compute the magnitude and direction angle of any vector using the Pythagorean theorem and inverse tangent: the essential building blocks of statics.

Statics

What Is a Vector?

A vector is a quantity that has both magnitude (size) and direction. In statics, forces, moments, and displacements are all vectors. Unlike a scalar (which has magnitude only), a vector tells you how much and which way.

Scalar
\(5\text{ kg}\)
Vector
\(50\text{ N at }27^\circ\)

Vectors in Component Form

Any 2D vector can be written as an ordered pair of its horizontal and vertical components. If \(\vec{F}\) has components \(F_x\) and \(F_y\), we write:

x y
\(\vec{F}\)
\(F_x\)
\(F_y\)
\(\theta\)

Why Magnitude & Direction Matter

Equilibrium
Sum of all force vectors must equal zero: \(\Sigma \vec{F} = \vec{0}\). You need each magnitude and direction to check this.
Structural Design
Engineers size beams and cables based on the exact magnitude of forces and the angles at which they act.
Free-Body Diagrams
Every arrow on a free-body diagram represents a vector: its length shows magnitude, its angle shows direction.

Computing Magnitude

The magnitude (or length) of a vector \(\vec{v} = \langle v_x,\, v_y \rangle\) comes directly from the Pythagorean theorem applied to its right-triangle of components:

\(v_x\)
\(v_y\)
\(|\vec{v}|\)
\(\theta\)

Computing Direction

The direction angle \(\theta\) is the angle the vector makes with the positive \(x\)-axis, measured counter-clockwise. It is found using the inverse tangent of the component ratio:

However, \(\tan^{-1}\) only returns values in \((-90^\circ, 90^\circ)\). You must adjust based on the quadrant where the vector lies to get the true direction from \(0^\circ\) to \(360^\circ\).

Direction by Quadrant

+x +y Q I
\(\theta = \alpha\)
Q II
\(\theta = 180^\circ - \alpha\)
Q III
\(\theta = 180^\circ + \alpha\)
Q IV
\(\theta = 360^\circ - \alpha\)

Magnitude vs Direction

Magnitude \(|\vec{v}|\) Direction \(\theta\)
What it tells you How strong or long Which way it points
Formula \(\sqrt{v_x^2 + v_y^2}\) \(\tan^{-1}(v_y / v_x)\)
Units Same as components (N, m, etc.) Degrees (\(^\circ\)) or radians
Always positive? Yes No (can be \(0^\circ\) to \(360^\circ\))
Needs quadrant check? No Yes

Going the Other Way

If you know the magnitude \(|\vec{v}|\) and direction \(\theta\), you can recover the components using trigonometry:

Horizontal
$$v_x = |\vec{v}|\cos\theta$$
Vertical
$$v_y = |\vec{v}|\sin\theta$$

How to Apply the Formulas

1
Identify components. Read \(v_x\) and \(v_y\) from the problem (or decompose a given force).
2
Compute magnitude. Plug into \(|\vec{v}| = \sqrt{v_x^2 + v_y^2}\) and simplify.
3
Find reference angle. Calculate \(\alpha = \tan^{-1}\!\left(\frac{|v_y|}{|v_x|}\right)\) to get the acute angle.
4
Determine the quadrant. Check the signs of \(v_x\) and \(v_y\).
5
Adjust the angle. Apply the quadrant rule to convert the reference angle to the true direction \(\theta\).

Example 1: Quadrant I

A force vector has components \(\vec{F} = \langle 3,\, 4 \rangle\) N. Find the magnitude and direction.

x y
\(3\text{ N}\)
\(4\text{ N}\)
\(|\vec{F}| = 5\text{ N}\)
\(53.1^\circ\)

Example 2: Quadrant II

A cable pulls with \(\vec{T} = \langle -5,\, 12 \rangle\) N. Find \(|\vec{T}|\) and \(\theta\).

x y
\(-5\text{ N}\)
\(12\text{ N}\)
\(|\vec{T}| = 13\text{ N}\)
\(112.6^\circ\)

Example 3: Quadrant III

A displacement vector is \(\vec{d} = \langle -7,\, -24 \rangle\) m. Find \(|\vec{d}|\) and \(\theta\).

Extension to 3D Vectors

For a 3D vector \(\vec{v} = \langle v_x,\, v_y,\, v_z \rangle\), the magnitude formula extends naturally:

Direction in 3D is described using direction cosines: the cosines of the angles the vector makes with each axis:

\(\cos\alpha\)
$$\cos\alpha = \frac{v_x}{|\vec{v}|}$$
\(\cos\beta\)
$$\cos\beta = \frac{v_y}{|\vec{v}|}$$
\(\cos\gamma\)
$$\cos\gamma = \frac{v_z}{|\vec{v}|}$$

Common Mistakes

✕ Forgetting the Quadrant
Using \(\tan^{-1}(v_y/v_x)\) directly without adjusting for the correct quadrant gives the wrong direction.
✕ Squaring Negatives
Some students forget that \((-7)^2 = 49\), not \(-49\). Magnitude is always positive.
✕ Degrees vs Radians
Make sure your calculator is in the correct mode. Statics problems typically use degrees.

Summary of Key Formulas

Operation Formula Notes
Magnitude (2D) \(\sqrt{v_x^2 + v_y^2}\) Always \(\geq 0\)
Magnitude (3D) \(\sqrt{v_x^2 + v_y^2 + v_z^2}\) Same idea, one more term
Direction angle \(\tan^{-1}(v_y / v_x)\) Check quadrant!
\(v_x\) from polar \(|\vec{v}|\cos\theta\) Horizontal projection
\(v_y\) from polar \(|\vec{v}|\sin\theta\) Vertical projection

Question 1 of 5

What is the magnitude of the vector \(\vec{v} = \langle 6,\, 8 \rangle\)?

Question 2 of 5

A vector has components \(\langle -3,\, 4 \rangle\). In which quadrant does it lie?

Question 3 of 5

A 50 N force acts at \(\theta = 30^\circ\) from the positive \(x\)-axis. What is its \(x\)-component?

Question 4 of 5

The vector \(\vec{F} = \langle -8,\, -6 \rangle\) N is in Quadrant III. What is the direction angle \(\theta\)?

Question 5 of 5

What is the magnitude of the 3D vector \(\vec{v} = \langle 2,\, 3,\, 6 \rangle\)?