Wize University Linear Algebra Textbook > Orthogonality
Orthonormal Basis and Gram-Schmidt Process
Popular Courses
Linear Algebra
University Study Guides
MATH 133
McGill University
MATH 1ZC3
McMaster University
MATH 1600
Western University
Linear Algebra
General Course
MAT188H1
University of Toronto
NMM 1411
Western University
Linear Algebra
University Study Guides
APSC 174
Queen's University
MTH 141
Toronto Metropolitan University
MATH 102
University of Alberta
MATH 115
University of Waterloo
MATH 1B03
McMaster University
MATH-1270
University of Windsor
MATH 1210
University of Manitoba
MATH-1250
University of Windsor
MATH 223
McGill University
MATH 1104
Carleton University
MATH 1300
University of Manitoba
MATH 232
Simon Fraser University

0:00 / 0:00
Orthonormal Basis
Orthogonal Set
A set of vectors is said to be an orthogonal set if every pair of vectors in the set is orthogonal.
Wize Concept
Recall that two vectors and are orthogonal if and only if their dot product is 0.
Example
The set is an orthogonal set.
Orthonormal Set
A set of vectors is said to be orthonormal if:
- It is an orthogonal set
- Every vector in the set is a unit vector (a vector of length 1)
Example
is an orthonormal set.
Here we have turned each of the vectors from the previous example into a normal vector.
Create unit vectors by normalizing each vector in the set (divide by its length): .
Wize Concept
The standard basis in every real vector space is an orthonormal basis.
E.g. is an orthornormal basis for .

0:00 / 0:00
Example: Orthonormal Sets
Part A)
Show that is an orthogonal set.
Let , then:
Since each pair or vectors is orthogonal, the given set is orthogonal.
Part B)
Normalize each vector to obtain an orthonormal set.
Each vector in the set has a norm of , so multiply every vector by the scalar .
The orthonormal set is:

0:00 / 0:00
Gram-Schmidt Process
The Gram-Schmidt process transforms any basis into an orthonormal basis using projections.
Wize Concept
Recall: Given two vectors and , the projection of onto is a vector parallel to :
Subtracting this vector from , we can create a vector that is orthogonal to :
Gram-Schmidt Process
Given a basis , we can create an orthonormal basis as follows:
Step 1
Let .
Step 2
- Project onto :
- Subtract the projection from to find the perpendicular component:
Step 3
- Project onto the the previously found vectors and add them all up:
- Subtract this sum of projections from to find the perpendicular component:
- Repeat Step 3 until you've created the vector :
Step 4
Normalize: for every vector , rewrite as

0:00 / 0:00
Example: Gram-Schmidt Process
Let be a subspace of .
Use the Gram-Schmidt process to find an orthonormal basis for .
Define
We now apply the Gram-Schmidt process:
Step 1
Let
Step 2
Project onto , and subtract this projection from :
We can check that this new vector is indeed orthogonal to :
Step 3
Project onto both and , and subtract these projections from :
We now have an orthogonal basis for :
Step 4
To normalize, we need to know the length/norm of each vector:
Divide each vector in the basis by its norm to obtain an orthonormal basis for :
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
Practice: Gram-Schmidt Process
Use the Gram-Schmidt process to create an orthonormal basis for the following subspace of .
where are the columns of the matrix:
Note: is the column space of the matrix .