Resultant |R|
Direction of R from A
Dot product A·B
Cross product |A×B|
Set the vectors
You can also drag the tip of A or B on the picture. Angles are measured from the +x axis.
Try this
- Set both vectors to the same direction. The resultant is the plain sum A + B.
- Turn B to the opposite direction. The resultant is the difference of the sizes.
- Press “Make A ⊥ B”. Check that |R| = √(A² + B²) and that the dot product is 0.
- Switch to A − B. The second arrow flips, and the resultant is the other diagonal of the parallelogram.
The equations
R = √(A² + B² + 2AB cosθ)
tan α = B sinθ / (A + B cosθ)
A·B = AB cosθ |A×B| = AB sinθ
Components: Ax = A cosφ, Ay = A sinφ
θ is the angle between the two vectors, and α is the angle R makes with A. For A − B the same formulas hold with B reversed.