Cartesian Vectors

Cartesian vector form expresses a vector using components along orthogonal axes. This representation replaces most geometric construction with component-wise algebra, which scales efficiently when many vectors are involved.

Cartesian Vectors

Graphical vector addition methods, such as the parallelogram law or the tip-to-tail method, are useful for visualizing a small number of vectors. As the number of vectors increases, these methods become cumbersome. For example, combining three forces requires applying the parallelogram law twice—first to obtain the resultant of two forces (R1 in the figure below), and then to combine that resultant with the third (R2).

Graphical addition of three forces using the parallelogram law

In Cartesian form, each vector is represented by its components along the \(x\)-, \(y\)-, and \(z\)-axes (\(\hat{\mathbf{i}}, \hat{\mathbf{j}}, \hat{\mathbf{k}}\)). Vector addition is performed by summing the corresponding scalar components along each axis.

Cartesian unit vectors
Cartesian Vector Addition (Component Form)
\[ R_x = \sum F_{x} \] \[ R_y = \sum F_{y} \] \[ R_z = \sum F_{z} \]
Equivalent Vector Form
\[ \vec{R} = \sum \vec{F}_i \]
Textbook ordering. Some statics textbooks introduce Cartesian components only in two dimensions and defer three-dimensional components until equilibrium is discussed. This page presents both 2D and 3D Cartesian vector representations together as a mathematical reference, independent of their later application.

2D Cartesian Components

In two dimensions, a vector is expressed using unit vectors \(\mathbf{i}\) and \(\mathbf{j}\) aligned with the \(x\)- and \(y\)-axes.

2D Cartesian Vector
2D Cartesian vector components
\[ \mathbf{A} = A_x \hat{\mathbf{i}} + A_y \hat{\mathbf{j}} \]
Computing 2D Components Using Trigonometry

When a vector has known magnitude \(A\) and a defined reference angle \(\theta\), its Cartesian components are obtained from right-triangle geometry. The component adjacent to \(\theta\) uses cosine, and the component opposite \(\theta\) uses sine.

Vector components from magnitude and reference angle
\[ A_x = A\cos\theta \]
\[ A_y = A\sin\theta \]
Angle–component rule. Cosine gives the component adjacent to the reference angle, and sine gives the component opposite the angle. The choice depends on the angle definition, not the axes.

Magnitude and Angle in 2D

The magnitude of \(\mathbf{A}\) is obtained from the Pythagorean theorem and the direction angle \(\theta\) (measured from the positive \(x\)-axis) can be computed from: :

Magnitude and Direction Angle (2D)
Vector A with components Ax, Ay and direction angle theta
\[ \|\mathbf{A}\| = \sqrt{A_x^2 + A_y^2} \]
\[ \theta = \tan^{-1}\!\left(\frac{A_y}{A_x}\right) \]
Angle determination. Draw the \(F_x\) component first along the \(x\)-axis, then draw the \(F_y\) component tip-to-tail. The direction of the resultant vector constructed this way uniquely defines the correct angle with respect to the reference axis, without requiring a separate quadrant check.

Worked Example — Cartesian Vector Notation

Example Cartesian Vectors

Problem

Two forces act at a point in the \(x\)-\(y\) plane.

  • \(F_1 = 30\,\text{kN}\) directed \(30^\circ\) from the negative y axis.
  • \(F_2 = 26\,\text{kN}\) directed along a \(5\!-\!12\!-\!13\) direction triangle in the negative x and positive y directions.

Determine the resultant \(\mathbf{R}\) (in Cartesian form), its magnitude, and the angle of \(\mathbf{R}\) measured from the \(+y\)-axis.

Two-force system for Cartesian vector notation example

3D Cartesian Components

In three dimensions, a vector is expressed using \(\mathbf{i}\), \(\mathbf{j}\), and \(\mathbf{k}\), aligned with the \(x\)-, \(y\)-, and \(z\)-axes.

3D Cartesian Vector
3D Cartesian vector components
\[ \mathbf{A}=A_x\mathbf{i}+A_y\mathbf{j}+A_z\mathbf{k} \]

Magnitude, Direction Angles, and Direction Cosines in 3D

The magnitude of a 3D vector and the direction angles \(\alpha\), \(\beta\), and \(\gamma\), the angles between \(\mathbf{A}\) and the positive \(x\)-, \(y\)-, and \(z\)-axes, respectively, are given by:

Magnitude and Direction Angles (3D)
3D vector showing magnitude and direction angles alpha beta gamma
\[ \|\mathbf{A}\|=\sqrt{A_x^2+A_y^2+A_z^2} \]
\[ \cos\alpha=\frac{A_x}{\|\mathbf{A}\|},\quad \cos\beta=\frac{A_y}{\|\mathbf{A}\|},\quad \cos\gamma=\frac{A_z}{\|\mathbf{A}\|} \]

The direction cosines are the normalized components of \(\mathbf{A}\). They describe how the vector is oriented relative to the coordinate axes and are obtained by dividing each component by the vector magnitude.

Unit Direction Vector
\[ \hat{\mathbf{u}}_A=\frac{\mathbf{A}}{\|\mathbf{A}\|} =\left(\frac{A_x}{\|\mathbf{A}\|}\right)\mathbf{i} +\left(\frac{A_y}{\|\mathbf{A}\|}\right)\mathbf{j} +\left(\frac{A_z}{\|\mathbf{A}\|}\right)\mathbf{k} \]

A useful consistency check is that the direction cosines satisfy:

\[ \cos^2\alpha+\cos^2\beta+\cos^2\gamma=1 \]
Consistency check. Since \(\hat{\mathbf{u}}_A\) has unit magnitude, the sum of the squares of the direction cosines must equal one.