Please wait while we prepare your calculator
Please wait while we prepare your calculator
Institutional vector geometry and inner product workstation. Perform vector addition, scalar multiplication, L1/L2/L∞ norm evaluation, dot products, 3D cross products, orthogonal projection/rejection, and Gram-Schmidt orthonormalization.
Institutional vector geometry and inner product workstation. Perform vector addition, scalar multiplication, L1/L2/L∞ norm evaluation, dot products, 3D cross products, orthogonal projection/rejection, and Gram-Schmidt orthonormalization.
Vector operations, inner and cross products, orthogonal projection, and Gram-Schmidt process.
In linear algebra and mathematical physics, a vector is an element of a vector space over a field (typically the real numbers ℝ). In Euclidean space ℝⁿ, an ordered n-tuple \(v = [v_1, v_2, \dots, v_n]\) represents a directed line segment characterized by both magnitude (Euclidean length) and direction. The algebraic operations of vector addition and scalar multiplication obey the eight core axioms of linear vector spaces: commutativity, associativity, additive identity (the zero vector 0), additive inverse, distributivity over scalar and vector addition, and scalar multiplicative identity.
Geometrically, vector addition corresponds to the parallelogram law and the tip-to-tail triangle rule. When two force vectors act simultaneously on a mechanical joint, or two velocity components influence an aircraft relative to crosswinds, the total resultant displacement is precisely the vector sum \(u + v\).
A norm is a mathematical function ||·||: V → ℝ assigning a strictly positive length to each non-zero vector. Different norm metrics provide critical structural advantages across data science, machine learning regularization, and robotics kinematics:
||v||₂ = √(∑ v_i²). Represents standard spatial straight-line distance. Invariance under orthogonal rotations.
||v||₁ = ∑ |v_i|. Sum of grid-based coordinate distances. Used in Lasso regression to induce parameter sparsity.
||v||_∞ = max |v_i|. Measures the maximum single component deviation. Crucial in CNC milling and uniform error bounding.
The dot product (or scalar inner product) of two vectors u, v ∈ ℝⁿ is defined algebraically as the sum of coordinate-wise products:
Geometrically, by the law of cosines, the inner product equates to \(u \cdot v = \|u\| \|v\| \cos\theta\), where \(\theta\) is the convex angle between the two vectors. This fundamental relationship yields the standard definition of orthogonality:
Unlike the dot product which yields a scalar, the cross product \(u \times v\) is a binary vector operation defined strictly in three dimensions (and seven dimensions via octonions). The cross product produces a vector orthogonal to both \(u\) and \(v\), with its orientation determined by the right-hand rule.
The magnitude \(\|u \times v\| = \|u\| \|v\| \sin\theta\) exactly equals the surface area of the parallelogram spanned by \(u\) and \(v\). In classical mechanics, cross products model angular momentum \(L = r \times p\), magnetic Lorentz force \(F = q(v \times B)\), and torque \(\tau = r \times F\).
Any vector \(v\) can be uniquely decomposed into two mutually orthogonal components relative to a reference vector \(u\):
The orthogonal projection proj_u(v) = [(v · u) / ||u||²] u represents the shadow or parallel component of \(v\) lying along the line spanned by \(u\). The vector rejection oproj_u(v) = v - proj_u(v) represents the perpendicular component. This decomposition forms the mathematical backbone of linear regression (ordinary least squares), computer graphics shadow casting, and radar signal filtering.
In linear algebra, non-orthogonal bases often cause severe numerical instability, ill-conditioned matrices, and roundoff error propagation. The Gram-Schmidt process iteratively converts any linearly independent basis (v₁, v₂, ..., v_k) into an orthonormal basis (e₁, e₂, ..., e_k) satisfying e_i · e_j = δ_ij (the Kronecker delta):
Orthonormal bases guarantee that coordinate representation is as simple as computing inner products: \(x = \sum (x \cdot e_i) e_i\), eliminating the need for expensive matrix inversions.
Vector operations, inner and cross products, orthogonal projection, and Gram-Schmidt process.
In linear algebra and mathematical physics, a vector is an element of a vector space over a field (typically the real numbers ℝ). In Euclidean space ℝⁿ, an ordered n-tuple \(v = [v_1, v_2, \dots, v_n]\) represents a directed line segment characterized by both magnitude (Euclidean length) and direction. The algebraic operations of vector addition and scalar multiplication obey the eight core axioms of linear vector spaces: commutativity, associativity, additive identity (the zero vector 0), additive inverse, distributivity over scalar and vector addition, and scalar multiplicative identity.
Geometrically, vector addition corresponds to the parallelogram law and the tip-to-tail triangle rule. When two force vectors act simultaneously on a mechanical joint, or two velocity components influence an aircraft relative to crosswinds, the total resultant displacement is precisely the vector sum \(u + v\).
A norm is a mathematical function ||·||: V → ℝ assigning a strictly positive length to each non-zero vector. Different norm metrics provide critical structural advantages across data science, machine learning regularization, and robotics kinematics:
||v||₂ = √(∑ v_i²). Represents standard spatial straight-line distance. Invariance under orthogonal rotations.
||v||₁ = ∑ |v_i|. Sum of grid-based coordinate distances. Used in Lasso regression to induce parameter sparsity.
||v||_∞ = max |v_i|. Measures the maximum single component deviation. Crucial in CNC milling and uniform error bounding.
The dot product (or scalar inner product) of two vectors u, v ∈ ℝⁿ is defined algebraically as the sum of coordinate-wise products:
Geometrically, by the law of cosines, the inner product equates to \(u \cdot v = \|u\| \|v\| \cos\theta\), where \(\theta\) is the convex angle between the two vectors. This fundamental relationship yields the standard definition of orthogonality:
Unlike the dot product which yields a scalar, the cross product \(u \times v\) is a binary vector operation defined strictly in three dimensions (and seven dimensions via octonions). The cross product produces a vector orthogonal to both \(u\) and \(v\), with its orientation determined by the right-hand rule.
The magnitude \(\|u \times v\| = \|u\| \|v\| \sin\theta\) exactly equals the surface area of the parallelogram spanned by \(u\) and \(v\). In classical mechanics, cross products model angular momentum \(L = r \times p\), magnetic Lorentz force \(F = q(v \times B)\), and torque \(\tau = r \times F\).
Any vector \(v\) can be uniquely decomposed into two mutually orthogonal components relative to a reference vector \(u\):
The orthogonal projection proj_u(v) = [(v · u) / ||u||²] u represents the shadow or parallel component of \(v\) lying along the line spanned by \(u\). The vector rejection oproj_u(v) = v - proj_u(v) represents the perpendicular component. This decomposition forms the mathematical backbone of linear regression (ordinary least squares), computer graphics shadow casting, and radar signal filtering.
In linear algebra, non-orthogonal bases often cause severe numerical instability, ill-conditioned matrices, and roundoff error propagation. The Gram-Schmidt process iteratively converts any linearly independent basis (v₁, v₂, ..., v_k) into an orthonormal basis (e₁, e₂, ..., e_k) satisfying e_i · e_j = δ_ij (the Kronecker delta):
Orthonormal bases guarantee that coordinate representation is as simple as computing inner products: \(x = \sum (x \cdot e_i) e_i\), eliminating the need for expensive matrix inversions.