Vector Calculator

Perform operations on 2D and 3D vectors including addition, subtraction, dot product, cross product, magnitude, and angles

Linear Algebra
Grade 10+
Advanced

Features

  • 2D and 3D vector operations
  • Vector addition and subtraction
  • Dot product calculation
  • Cross product for 3D vectors
  • Vector magnitude computation
  • Angle between vectors
  • Real-time error checking
  • Clear and intuitive interface
  • Comprehensive result display
  • Support for Cartesian coordinates

2D Vector Operations

Enter vector components in Cartesian coordinates

Vector A

Vector B

About Vector Operations

Vectors are mathematical objects that have both magnitude and direction. They are fundamental in physics, engineering, computer graphics, and many other fields.

Key Vector Operations:

  • Addition: A + B = (a₁+b₁, a₂+b₂, ...)
  • Subtraction: A - B = (a₁-b₁, a₂-b₂, ...)
  • Dot Product: A·B = a₁b₁ + a₂b₂ + ... (scalar result)
  • Cross Product (3D only): A×B = (a₂b₃-a₃b₂, a₃b₁-a₁b₃, a₁b₂-a₂b₁)
  • Magnitude: |A| = √(a₁² + a₂² + ...)
  • Angle: cos(θ) = (A·B)/(|A|·|B|)

This calculator allows you to perform these operations on 2D and 3D vectors in Cartesian coordinates.