Construct Orthogonal Basis in R^3: Solve Exercise

  • Context: MHB 
  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Basis Orthogonal
Click For Summary
SUMMARY

The discussion focuses on constructing an orthogonal basis in R^3 that includes the vector (2, 1, -1). Participants clarify that with three equations and six unknowns, certain variables can be freely chosen. The recommended approach involves selecting specific values for variables to derive additional orthogonal vectors. The Gram-Schmidt process is suggested as a systematic method to obtain an orthonormal basis, which can then be converted to an orthogonal basis.

PREREQUISITES
  • Understanding of Euclidean inner product
  • Familiarity with vector spaces and bases
  • Knowledge of the Gram-Schmidt process
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the Gram-Schmidt process for constructing orthonormal bases
  • Explore linear independence and its role in vector spaces
  • Learn about orthogonal projections in R^n
  • Investigate applications of orthogonal bases in computational mathematics
USEFUL FOR

Students and educators in linear algebra, mathematicians working with vector spaces, and anyone needing to construct orthogonal bases for practical applications in mathematics and engineering.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! I am stuck at the following exercise:
"Construct an orthogonal basis of R^{3} (in terms of Euclidean inner product) that contains the vector
\begin{pmatrix}2\\1 \\-1 \end{pmatrix} "

What I've done so far is:
Let {(a,b,c), (k,l,m), (2,1,-1)} be the basis.
Then since the basis has to be orthogonal:
(a,b,c)*(k,l,m)=0 => a*k+b*l+c*m=0
(a,b,c)*(2,1,-1)=0 => 2a+b-c=0
(k,l,m)*(2,1,-1)=0 => 2k+l-m=0
But I have three equations and six unknown variables.

What did I do wrong??What should I do?
 
Physics news on Phys.org
Re: orthogonal basis!

evinda said:
Hello! I am stuck at the following exercise:
"Construct an orthogonal basis of R^{3} (in terms of Euclidean inner product) that contains the vector
\begin{pmatrix}2\\1 \\-1 \end{pmatrix} "

What I've done so far is:
Let {(a,b,c), (k,l,m), (2,1,-1)} be the basis.
Then since the basis has to be orthogonal:
(a,b,c)*(k,l,m)=0 => a*k+b*l+c*m=0
(a,b,c)*(2,1,-1)=0 => 2a+b-c=0
(k,l,m)*(2,1,-1)=0 => 2k+l-m=0
But I have three equations and six unknown variables.

What did I do wrong??What should I do?

Hey evinda! ;)

Well, if you have more unknowns than you have equations, that just means that you can freely pick a couple of them.
Suppose you pick a=1 and b=0, what should c be?
Btw, I picked a=1, since you need at least one non-zero entry in a basisvector.
And I picked b=0, since I prefer to have as many zero entries as possible.
 
Re: orthogonal basis!

So is the way I did the exercise correct? :confused:
 
Re: orthogonal basis!

evinda said:
So is the way I did the exercise correct? :confused:

Yes.
I wouldn't introduce so many variables myself, since you're going to set most of them to 1 or 0 anyway.
 
Re: orthogonal basis!

Could you explain me how you mean I should start the hypothesis of the basis?? :)
 
Re: orthogonal basis!

evinda said:
Could you explain me how you mean I should start the ypothesis of the basis?? :)

You're starting with (2,1,-1) and you need a vector that is perpendicular.
So try (1, 0, something).
When you have it, you need another vector that is perpendicular to both.
Try (something, something, 1) and start making it perpendicular to the 2nd vector, since that one already has a 0 in it.
 
I would do this completely naively, as I often don't think far enough ahead.

We have to start with (2,1,-1). So now we need to find a vector (a,b,c) perpendicular to it. This means that:

2a + b - c = 0.

We have a LOT of possible choices, at this point. In fact, we can choose ANY vector of the form:

(a,b,2a+b) since:

2a + b - (2a+b) = 0.

So we really need to just pick a and b at this point. 1's and 0's usually make good choices. Of course, picking a = b = 0 is a BAD choice since (0,0,0) is not linearly independent from (2,1,-1).

So let's just go with a = 1, b = 0. this gives us the 2nd vector (1,0,2). Now we have to find a 3rd vector perpendicular to: (2,1,-1) and (1,0,2). let's call this vector (x,y,z). Then:

2x + y - z = 0
x + 2z = 0

We can solve this (under-determined) system in the usual way, obtaining:

x = -2z
y = z - 2x = z - 2(-2z) = 5z

so any vector of the form (-2z,5z,z) will be perpendicular to both. Again, z = 0 is a spectacularly BAD choice, but z = 1 works well, giving us (-2,5,1) as our 3rd vector.

Now verify that {(2,1,-1),(1,0,2),(-2,5,1)} is indeed a basis and that all these vectors are pairwise orthogonal.
 
I thank both of you very much! :D
 
If ,instead of R^3,I have R^4 and I know a vector then I have six equations and 12 unknown variables.At the beginning for how many variables can I assume their value??3 or more?? :confused:
 
  • #10
evinda said:
If ,instead of R^3,I have R^4 and I know a vector then I have six equations and 12 unknown variables.At the beginning for how many variables can I assume their value??3 or more?? :confused:

With 6 equations and 12 variables you will have 6 free choices and 6 forced choices.
Btw, you're free choices are not entirely free in the sense that you're not supposed to accept a null vector.
 
  • #11
I have also an other question :o .In the case of R^4,how many vectors are in the basis??3 or 4??
 
  • #12
evinda said:
I have also an other question :o .In the case of R^4,how many vectors are in the basis??3 or 4??

The standard basis is {(1,0,0,0), (0,1,0,0), (0,0,1,0), (0,0,0,1)}.
Yep. There are 4 basis vectors in $\mathbb R^4$.
 
  • #13
Nice!Thank you very much! :rolleyes:
 
  • #14
evinda said:
Hello! I am stuck at the following exercise:
"Construct an orthogonal basis of R^{3} (in terms of Euclidean inner product) that contains the vector
\begin{pmatrix}2\\1 \\-1 \end{pmatrix} "

What I've done so far is:
Let {(a,b,c), (k,l,m), (2,1,-1)} be the basis.
Then since the basis has to be orthogonal:
(a,b,c)*(k,l,m)=0 => a*k+b*l+c*m=0
(a,b,c)*(2,1,-1)=0 => 2a+b-c=0
(k,l,m)*(2,1,-1)=0 => 2k+l-m=0
But I have three equations and six unknown variables.

What did I do wrong??What should I do?

Not to interrupt the flow of the helpers on this thread, I think this will help you tremendously with these questions.

Given a vector $v$, there's a standard procedure to find an orthonormal basis which contains $v/||v||$. This procedure is the Gram-Schmidt procedure. See this Gram?Schmidt process - Wikipedia, the free encyclopedia

Once you get your orthonormal basis, you can easily get the orthogonal basis you seek.
 
  • #15
Nice..Thank you! :)
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 52 ·
2
Replies
52
Views
4K
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
2K