Vector composition is the process of determining a single vector from its perpendicular components. This is the reverse of vector resolution, which is covered in Rectangular Components of a Vector→. Vector composition allows us to combine horizontal (x-component) and vertical (y-component) influences to find the true magnitude and direction of the resultant vector. This skill is essential for analyzing forces, velocities, and displacements in two dimensions.

Given the perpendicular components of a vector, typically (the x-component) and (the y-component), we can find the original vector by determining its magnitude and direction.
The components and can be visualized as the legs of a right-angled triangle.
The magnitude of a vector is its length. Since the components form a right-angled triangle, we can use the Pythagorean theorem to find the magnitude ().
Formula:
Example: A force has a horizontal component and a vertical component . Find its magnitude.
In three dimensions, the vector is represented as: and its magnitude extends to:
The direction of a vector is the angle it makes with a reference axis, typically the positive x-axis. We can find this angle using the inverse tangent.
Formula:
Important Note on Quadrants: The standard function returns an angle only between and . To find the correct angle in the full system, you must consider the signs of and .
Let be the reference angle.
| Quadrant | Sign of | Sign of | Direction Angle () |
|---|---|---|---|
| I | + | + | |
| II | - | + | |
| III | - | - | |
| IV | + | - |
Example (Quadrant II): A displacement vector has components and . Find its direction.
Find the reference angle :
Determine the correct angle : Since and , the vector is in Quadrant II.
The direction is counter-clockwise from the positive x-axis.
When (both positive), the vector makes an angle of with the x-axis.