Skip to content

Vector Operations (v1.5.0)

Define 2D vectors and perform vector operations on the "Define Vector" page.

Define Vectors

  • Vector name: defaults to v, customizable.
  • Vector x/y coordinates: enter the x and y components respectively, supporting SymPy expressions (e.g. sqrt(3), pi/2).
  • Click Save to add the vector to the list; click Delete to remove the selected vector.

Vector Properties

  • Expression: displays the vector in coordinate form.
  • Norm: vector length sqrt(x² + y²).
  • Direction angle: the angle between the vector and the positive x-axis.
  • Unit vector: a vector in the same direction with norm 1.

Vector Operations

  1. Select two defined vectors from the dropdown.
  2. Select an operation type: Addition, Subtraction, Dot product, Angle.
  3. Click Compute; the result is displayed both as LaTeX and plain text.

Example

Define v1 = (1, 0), v2 = (0, 1); addition gives (1, 1), dot product is 0, angle is π/2.

Tips