← Back

Vector Lab

Operations, 3D visualization, vector fields, and linear maps.

Vector Algebra & 3D Vector Fields Handbook

Mathematical Principles & Theorems

Vector calculus in \(\mathbb{R}^3\): \(\mathbf{u} = (u_x, u_y, u_z), \mathbf{v} = (v_x, v_y, v_z)\). Dot Product: \(\mathbf{u}\cdot\mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\theta = u_x v_x + u_y v_y + u_z v_z\) (scalar projection). Cross Product: \(\mathbf{u}\times\mathbf{v} = (u_y v_z - u_z v_y, u_z v_x - u_x v_z, u_x v_y - u_y v_x)\) (vector normal with magnitude equal to parallelogram area). Vector projection \(\text{proj}_\mathbf{v}\mathbf{u} = \frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{v}|^2}\mathbf{v}\). Vector fields \(\mathbf{F}(x,y) = P(x,y)\mathbf{i} + Q(x,y)\mathbf{j}\) visualize flow fields.

Operating Instructions

  • Enter vector components for \(\mathbf{u}\) and \(\mathbf{v}\) in the numeric parameter inputs.
  • Click Compute to calculate Vector Sum, Dot Product, Cross Product, Angle \(\theta\), and Projections.
  • In Vector Field mode: Enter field functions \(P(x,y), Q(x,y)\) and configure grid density with the value box.
  • Rotate and zoom the 3D vector canvas to inspect geometric vector relationships.

Controls

Vector A

[ ]

Vector B

[ ]

Vector C (for Triple Prod)

[ ]

F(x,y) = [P(x,y), Q(x,y)]

Gram-Schmidt

Vectors in ℝ³ (comma-sep each row)

Linear Independence

2×2 Matrix M

|A|
|B|
A · B (Dot)
Angle θ
A × B (Cross)
Proj A onto B
A + B
A - B
A · (B × C) (Triple)

Pairwise Operations

Gram-Schmidt Output

Linear Independence Check

det(M) =
trace(M) =