Skip to main content
calcu
.lol
Search
Ctrl K
Language
EN
English
English
EN
简体中文
ZH
Español
ES
العربية
AR
Português (Brasil)
PT
日本語
JA
Français
FR
Deutsch
DE
Home
›
Math & Algebra
›
Gram-Schmidt Orthonormalization
Gram-Schmidt Orthonormalization
Orthonormalize a set of vectors
Favorite
Print
Vectors
1
2
3
4
Dimension
2
3
Input vectors
Vector 1
v₁
Vector 2
v₂
Vector 3
v₃
qₖ = (vₖ − Σⱼ ⟨vₖ, qⱼ⟩ qⱼ) / ‖vₖ − Σⱼ ⟨vₖ, qⱼ⟩ qⱼ‖
Orthonormal basis
q₁ = (0.7071, 0.7071, 0)
q₂ = (0.4082, -0.4082, 0.8165)
q₃ = (-0.5774, 0.5774, 0.5774)
Independent vectors
3 of 3
Orthogonality residual
≈ 0
Verified orthonormal
Gram-Schmidt process
v₁ = (1, 1, 0)
Length ‖u₁‖ = 1.4142
q₁ = (0.7071, 0.7071, 0)
v₂ = (1, 0, 1)
− 0.7071·q₁
Length ‖u₂‖ = 1.2247
q₂ = (0.4082, -0.4082, 0.8165)
v₃ = (0, 1, 1)
− 0.7071·q₁ − 0.4082·q₂
Length ‖u₃‖ = 1.1547
q₃ = (-0.5774, 0.5774, 0.5774)
Copy link
Clear
Gram-Schmidt Orthonormalization
Diagram of 3 input vectors in 3D and the 3 orthonormal basis vectors produced by Gram-Schmidt, drawn as arrows from the origin.
x
y
z
v₁
v₂
v₃
q₁
q₂
q₃
input vᵢ
orthonormal qᵢ