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

Discussion Overview

The discussion revolves around the exercise of constructing an orthogonal basis in R³ that includes a specified vector, specifically \(\begin{pmatrix}2\\1 \\-1 \end{pmatrix}\). Participants explore various methods and approaches to solve this problem, discussing the implications of having more unknowns than equations in the context of orthogonal vectors.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Homework-related, Mathematical reasoning

Main Points Raised

  • Participants express confusion about how to construct an orthogonal basis given the vector \(\begin{pmatrix}2\\1 \\-1 \end{pmatrix}\) and the resulting equations.
  • Some participants suggest freely choosing values for some variables due to the under-determined nature of the equations.
  • One participant proposes starting with a specific choice of values for the basis vector components to simplify the process.
  • Another participant describes a method to find a second vector that is perpendicular to the given vector and outlines the conditions for a third vector to be orthogonal to both.
  • There is a mention of the Gram-Schmidt process as a standard method for finding an orthonormal basis that includes the specified vector.
  • Questions arise about the number of free variables when extending the problem to R⁴, with participants discussing the implications of having more equations than variables.
  • Participants clarify that in R⁴, a basis consists of four vectors, contrasting with the three vectors in R³.

Areas of Agreement / Disagreement

Participants generally agree on the need to find vectors that are orthogonal to the given vector, but there are differing opinions on the best approach to take and how to manage the variables involved. The discussion remains unresolved regarding the most efficient method to construct the orthogonal basis.

Contextual Notes

Participants note the limitations of their approaches, including the dependence on chosen values for variables and the potential for non-unique solutions in under-determined systems.

Who May Find This Useful

This discussion may be useful for students or individuals learning about linear algebra, specifically those interested in orthogonal bases and vector spaces.

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