01 / 21

Vector Components
2D & 3D

Learn to resolve any vector into its perpendicular components using trigonometry and extend the technique into three dimensions.

Statics

What Is a Vector?

A vector is a quantity that has both magnitude (size) and direction. Unlike a scalar (which is just a number), a vector tells you how much and which way.

Scalar
Magnitude only: temperature, mass, speed
Vector
Magnitude + direction: force, velocity, displacement

Why Resolve into Components?

Forces rarely act along a single axis. By decomposing a vector into perpendicular components, you can apply equilibrium equations independently along each axis.

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

Vector Notation

Vectors can be written in multiple ways. In statics and engineering, you will see both scalar component notation and unit vector notation.

Scalar Form
\( \mathbf{F} = (F_x,\, F_y) \) or \( (F_x,\, F_y,\, F_z) \)
Unit Vector Form
\( \mathbf{F} = F_x\,\hat{\mathbf{i}} + F_y\,\hat{\mathbf{j}} + F_z\,\hat{\mathbf{k}} \)

2D Component Formulas

Given a vector \( \mathbf{F} \) with magnitude \( F \) at angle \( \theta \) measured from the positive \( x \)-axis:

Key insight: the component along the axis you measure the angle from always uses cosine; the component along the other axis uses sine.

Visualizing 2D Resolution

x y
\( \mathbf{F} = 100\,\text{N} \)
\( 29.2^\circ \)
\( F_x \approx 87.3\,\text{N} \)
\( F_y \approx 48.8\,\text{N} \)

Extending to 3D Space

In three dimensions, a vector has components along the \(x\), \(y\) and \(z\) axes. The approach is the same: project the vector onto each axis.

z x y
\( \mathbf{F} \)
\( F_x \)
\( F_y \)
\( F_z \)

Direction Cosines in 3D

In 3D, the angles \( \alpha, \beta \) and \( \gamma \) between the vector and each coordinate axis are called coordinate direction angles. Their cosines give the component ratios.

This identity is extremely useful for checking your work: if the sum does not equal 1, there is an error in your angles.

2D vs 3D Comparison

2D 3D
Axes \( x,\, y \) \( x,\, y,\, z \)
Unit Vectors \( \hat{\mathbf{i}},\, \hat{\mathbf{j}} \) \( \hat{\mathbf{i}},\, \hat{\mathbf{j}},\, \hat{\mathbf{k}} \)
Angle(s) One angle \( \theta \) Three angles \( \alpha, \beta, \gamma \)
Components \( F\cos\theta,\; F\sin\theta \) \( F\cos\alpha,\; F\cos\beta,\; F\cos\gamma \)
Magnitude \( \sqrt{F_x^2 + F_y^2} \) \( \sqrt{F_x^2 + F_y^2 + F_z^2} \)

How to Apply the Method

1
Sketch the vector and choose a coordinate system with clearly labeled axes.
2
Identify the angle(s) the vector makes with each axis. Note which axis the angle is measured from.
3
Apply the formulas: the component along the reference axis uses \( \cos \); the perpendicular axis uses \( \sin \).
4
Assign signs: components pointing in the negative axis direction are negative.
5
Check: verify that \( \sqrt{F_x^2 + F_y^2} = F \) (2D) or use the direction cosine identity (3D).

Example 1: 2D Resolution

A force of 250 N acts at \( 40^\circ \) above the positive \( x \)-axis. Find \( F_x \) and \( F_y \).

x y
\( 250\,\text{N} \)
\( 191.5\,\text{N} \)
\( 160.7\,\text{N} \)
\( 40^\circ \)

Example 2: Negative Components

A force of 300 N points at \( 130^\circ \) from the positive \( x \)-axis (second quadrant). Find the components.

+x +y
\( 300\,\text{N} \)
\( -192.8\,\text{N} \)
\( 229.8\,\text{N} \)
\( 130^\circ \)

Example 3: 3D Resolution

A 500 N force has direction angles \( \alpha = 60^\circ \), \( \beta = 45^\circ \), \( \gamma = 120^\circ \). Verify the angles and find each component.

1
\( F_x = 500\cos 60^\circ = 500 \times 0.5 = \) 250 N
2
\( F_y = 500\cos 45^\circ = 500 \times 0.7071 \approx \) 353.6 N
3
\( F_z = 500\cos 120^\circ = 500 \times (-0.5) = \) -250 N

The Position Vector Method

When you know the two endpoints of a force (or where it acts from point A to point B), you can find the unit vector along AB and then multiply by the magnitude.

Common Mistakes

✕ Swapping Sin and Cos
Using \( \sin \) for the axis the angle is measured from and \( \cos \) for the other. Remember: cosine goes with the reference axis.
✕ Forgetting Signs
A component pointing in the negative axis direction must carry a negative sign. Always check the quadrant.
✕ Wrong Angle Reference
Measuring the angle from the \( y \)-axis but using the \( x \)-axis formula. Always identify which axis the given angle is measured from.

Summary of Key Formulas

Formula Expression When to Use
2D Components \( F\cos\theta,\; F\sin\theta \) Single angle from axis
2D Magnitude \( \sqrt{F_x^2 + F_y^2} \) Rebuild from components
3D Components \( F\cos\alpha,\; F\cos\beta,\; F\cos\gamma \) Direction angles given
Dir. Cosine Check \( \cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1 \) Verify 3D angles
Unit Vector \( \hat{\mathbf{u}} = \mathbf{r}/|\mathbf{r}| \) Endpoints known

Question 1 of 5

A 200 N force acts at \( 35^\circ \) above the positive \( x \)-axis. What is \( F_x \)?

Question 2 of 5

A vector has components \( F_x = -80 \) N and \( F_y = 60 \) N. What is the magnitude?

Question 3 of 5

In 3D, a force has direction angles \( \alpha = 60^\circ \), \( \beta = 60^\circ \). What must \( \gamma \) be?

Question 4 of 5

A force acts from point \( A(1, 0, 3) \) toward point \( B(4, 4, 3) \) with magnitude 100 N. What is \( F_z \)?

Question 5 of 5

A 400 N force acts at \( 150^\circ \) from the positive \( x \)-axis. Which statement about its components is correct?