Construct Orthogonal Basis in R^3: Solve Exercise

In summary: an arbitrary vector, you can choose any two of the following to form a basis for it:(a,b), (c,d), (e,f), (g,h), (i,j)where a, c, e, g, and j are non-zero.
  • #1
evinda
Gold Member
MHB
3,836
0
Hello! I am stuck at the following exercise:
"Construct an orthogonal basis of [tex] R^{3} [/tex] (in terms of Euclidean inner product) that contains the vector
[tex] \begin{pmatrix}2\\1 \\-1 \end{pmatrix} [/tex] "

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
  • #2
Re: orthogonal basis!

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

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.
 
  • #3
Re: orthogonal basis!

So is the way I did the exercise correct? :confused:
 
  • #4
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.
 
  • #5
Re: orthogonal basis!

Could you explain me how you mean I should start the hypothesis of the basis?? :)
 
  • #6
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.
 
  • #7
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.
 
  • #8
I thank both of you very much! :D
 
  • #9
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 :eek: .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 :eek: .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 [tex] R^{3} [/tex] (in terms of Euclidean inner product) that contains the vector
[tex] \begin{pmatrix}2\\1 \\-1 \end{pmatrix} [/tex] "

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! :)
 

FAQ: Construct Orthogonal Basis in R^3: Solve Exercise

What does it mean to construct an orthogonal basis in R^3?

Constructing an orthogonal basis in R^3 means finding three vectors that are mutually perpendicular to each other in a three-dimensional space. These vectors form the basis of the space and can be used to represent any vector in that space.

Why is constructing an orthogonal basis important?

Constructing an orthogonal basis is important because it simplifies mathematical calculations and makes it easier to represent and manipulate vectors in a three-dimensional space. It also allows for a clearer understanding of the relationships between different vectors in the space.

How do you construct an orthogonal basis in R^3?

To construct an orthogonal basis in R^3, you can use the Gram-Schmidt process. This involves choosing three linearly independent vectors and using the process to make them mutually perpendicular to each other. Alternatively, you can use the cross product of two vectors to find a third vector that is perpendicular to both of them.

What is the Gram-Schmidt process?

The Gram-Schmidt process is a method for constructing an orthogonal basis from a set of linearly independent vectors. It involves finding the projection of each vector onto the subspace spanned by the previously constructed orthogonal vectors and subtracting this projection from the original vector to obtain a new orthogonal vector.

Can you provide an example of constructing an orthogonal basis in R^3?

Yes, for example, if we have the vectors v1 = (1, 2, 3), v2 = (2, 0, 1), and v3 = (0, 1, 2), we can use the Gram-Schmidt process to construct an orthogonal basis. The resulting orthogonal vectors would be u1 = (1, 2, 3), u2 = (-2, 3, -2), and u3 = (1, -1, 3). These three vectors form an orthogonal basis in R^3.

Back
Top