Gram-Schmidt Calculator (Orthonormal Basis)

Turn a set of vectors into an orthonormal basis with the Gram-Schmidt process — and spot any that are linearly dependent.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Rows are vectors, separated by semicolons. Each vector has its components along the earlier ones subtracted, then is scaled to length 1.

Example

Example: (1,1,0), (1,0,1), (0,1,1) become (0.70710678, 0.70710678, 0) (0.40824829, -0.40824829, 0.81649658) (-0.57735027, 0.57735027, 0.57735027)

Assumptions

Classical Gram-Schmidt; nearly dependent vectors are dropped below 10⁻¹⁰.

Frequently Asked Questions

What is an orthonormal basis?

Vectors that are mutually perpendicular and each of length 1.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile