Vector Addition Simulator
Add two vectors graphically and analytically. Adjust magnitudes and angles to see the resultant vector update in real time.
About Vector Addition
A vector is a quantity that has both magnitude and direction — examples include displacement, velocity, force, and acceleration. Adding two vectors means combining their effects to find a single equivalent vector called the resultant.
Key Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| A | Magnitude of Vector A | dimensionless / m | Length of vector A |
| θA | Angle of Vector A | ° | Angle from positive x-axis, counterclockwise positive |
| B | Magnitude of Vector B | dimensionless / m | Length of vector B |
| θB | Angle of Vector B | ° | Angle from positive x-axis, counterclockwise positive |
| Ax, Ay | Components of A | same as A | Ax = A cosθA, Ay = A sinθA |
| Bx, By | Components of B | same as B | Bx = B cosθB, By = B sinθB |
| |R| | Magnitude of Resultant | same as A, B | |R| = √(Rx² + Ry²) |
| θR | Angle of Resultant | ° | θR = atan2(Ry, Rx) |
Component Method — Worked Example
Suppose A = 5 at θA = 30° and B = 3 at θB = 120°. Resolve into components:
Graphical (Tip-to-Tail) Method
Draw vector A from the origin. Then draw vector B starting from the tip of A. The resultant R goes from the tail of A to the tip of B. The simulator draws A (blue) and B (green) head-to-tail with R (red) closing the triangle.
Special Cases
- Parallel vectors (same angle): |R| = A + B (maximum possible resultant).
- Anti-parallel vectors (opposite angles): |R| = |A − B| (minimum possible resultant).
- Perpendicular vectors: |R| = √(A² + B²), θR = atan(B/A).
Vector Addition Formulas
Component Decomposition
Resultant Components
Resultant Magnitude and Angle
Law of Cosines (Alternative)
where α is the angle between the two vectors. This is equivalent to the component method.
| Formula | Description | Notes |
|---|---|---|
| Rx = Ax + Bx | x-component of resultant | Sum of x-components |
| Ry = Ay + By | y-component of resultant | Sum of y-components |
| |R| = √(Rx²+Ry²) | Magnitude of resultant | Pythagorean theorem on components |
| θR = atan2(Ry, Rx) | Direction of resultant | Use atan2 to get correct quadrant |
| |R|max = A + B | Maximum resultant | When vectors are parallel |
| |R|min = |A − B| | Minimum resultant | When vectors are anti-parallel |
Frequently Asked Questions
Why do we add components separately?
x and y are perpendicular (orthogonal) directions, so they are independent. The x-component of the resultant is only affected by x-components of the added vectors, and similarly for y. This independence is the foundation of the component method.
What is the maximum possible resultant of two vectors?
The maximum resultant is A + B, achieved when both vectors point in the same direction (parallel). The minimum is |A − B|, achieved when they point in opposite directions.
Does the order of addition matter?
No. Vector addition is commutative: A + B = B + A. The resultant is the same regardless of which vector you draw first.
What is the angle convention used in this simulator?
Angles are measured counterclockwise from the positive x-axis (East). So 0° = East, 90° = North, 180° = West, 270° = South.
Can I add more than two vectors?
Yes, using the same component method. Add more x-components and more y-components together, then find the resultant magnitude and direction. The simulator shows two vectors for clarity.