How to Construct an Orthonormal Basis for a 2D Subspace in Linear Algebra?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
vibe3
Messages
39
Reaction score
1
I have two n-vectors [itex]e_1, e_2[/itex] which span a 2D subspace of [itex]R^n[/itex]:
[tex] V = span\{e_1,e_2\}[/tex]
The vectors [itex]e_1,e_2[/itex] are not necessarily orthogonal (but they are not parallel so we know its a 2D and not a 1D subspace). Now I also have a linear map:
[tex] f: V \rightarrow W \\<br /> f(v) = A v[/tex]
where [itex]A[/itex] is a given [itex]n \times n[/itex] invertible matrix.

My question is: how would I construct an orthonormal basis for the space [itex]W[/itex]?

My thinking is to perform a QR decomposition on the [itex]n \times 2[/itex] matrix
[tex] \left(<br /> \begin{array}{cc}<br /> A e_1 & A e_2<br /> \end{array}<br /> \right)[/tex]
and then the columns of [itex]Q[/itex] will be an orthonormal basis for [itex]W[/itex]. Is this a correct solution? I'm not entirely sure since [itex]e_1,e_2[/itex] are not orthonormal.
 
Physics news on Phys.org
How do you define ##W##? Is ##W## the image of ##V## under the map ##A## (as a linear operator in ##R^n##)? In this case ##W## is two dimensional if ##A e_1## and ##A e_2## are linearly independent, and is one dimensional otherwise.

In the case where ##W## is two dimensional, you know ##A e_1## and ##A e_2## form a basis. Use the Gram-Schmidt process to find orthonormal basis.
 
Last edited:
Lucas SV said:
How do you define ##W##? Is ##W## the image of ##V## under the map ##A## (as a linear operator in ##R^n##)? In this case ##W## is two dimensional if ##A e_1## and ##A e_2## are linearly independent, and is one dimensional otherwise.

In the case where ##W## is two dimensional, you know ##A e_1## and ##A e_2## form a basis. Use the Gram-Schmidt process to find orthonormal basis.
Yes, we can think of [itex]W[/itex] as the image of [itex]V[/itex] under the map [itex]A[/itex]