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.
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.
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:
Why Magnitude & Direction Matter
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:
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
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:
How to Apply the Formulas
Example 1: Quadrant I
A force vector has components \(\vec{F} = \langle 3,\, 4 \rangle\) N. Find the magnitude and direction.
Example 2: Quadrant II
A cable pulls with \(\vec{T} = \langle -5,\, 12 \rangle\) N. Find \(|\vec{T}|\) and \(\theta\).
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:
Common Mistakes
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\)?