Input vectors to find the orthonormal basis using the Gram-Schmidt process, with a step-by-step breakdown of the process.
Related
Use this Gram-Schmidt calculator to orthonormalize a set of vectors step by step and compute an orthonormal basis in an inner product space. This tool simplifies complex manual calculations and provides accurate, structured results.
The Gram-Schmidt process is a linear algebra method used to convert a set of linearly independent vectors into an orthonormal basis. The resulting vectors span the same subspace as the original set but satisfy:
This method is widely used in mathematics, physics, statistics, machine learning, QR decomposition, and numerical analysis.
The orthogonalization formula is:
ui = vi − Σ ( (vi · uj) / ||uj||² ) uj
Where j runs from 1 to i−1.
Two vectors are orthogonal if their dot product equals zero:
u · v = 0
Orthogonality can be visualized easily in 2D or 3D (perpendicular vectors), but the concept extends to higher-dimensional spaces.
An orthonormal basis consists of vectors that are both orthogonal and normalized (unit length). Using such a basis simplifies many computations, including:
Orthonormalize the vectors:
v₁ = [1, 1] v₂ = [2, 1]
Step 1:
u₁ = v₁ = [1, 1]
||u₁|| = √2
e₁ = [1/√2, 1/√2] ≈ [0.71, 0.71]
Step 2:
Projection of v₂ onto u₁:
proju₁(v₂) = [(v₂ · u₁) / ||u₁||²] u₁
proju₁(v₂) = [1.5, 1.5]
u₂ = v₂ − proju₁(v₂) = [0.5, −0.5]
||u₂|| = √0.5
e₂ = [0.71, −0.71]
Final Orthonormal Basis:
[ [0.71, 0.71], [0.71, −0.71] ]
Apply the Gram-Schmidt process: orthogonalize each vector by subtracting projections, then normalize each resulting vector.
Yes, but dependent vectors produce zero vectors during the process, meaning a full orthonormal basis cannot be formed.
Orthogonal vectors are perpendicular. Orthonormal vectors are perpendicular and have unit length.
The order does not change the subspace spanned but affects the resulting orthonormal vectors.
The Gram-Schmidt calculator allows you to quickly and accurately compute orthonormal bases without manual errors. It is ideal for students, engineers, and researchers working with vector spaces and linear transformations.
Related
Links
Home Conversion Calculator About Calculator Online Blog Hire Us Knowledge Base Sitemap Sitemap TwoEmail us at
Contact Us© Copyrights 2026 by Calculator-Online.net