Linear Algebra: Orthogonal basis ERG HELP

In summary: The equation you got wasw[-2 1 0 0] + x[0 0 3 0] + y[0 0 0 1]vela says that that's not perpendicular to <1, 2, 3, 4>. So this isn't the answer. But we know that the dot product must be 0, so we can fix this. We want it to bew[-2 1 0 0] + x[0 0 3 0] + y[0 0 0 1] = [1 2 3 4]So we just need to do some algebra to solve for the vector [w x y
  • #1
kickthemoon
10
0

Homework Statement


Consider the vector V= [1 2 3 4]' in R4, find a basis of the subspace of R4 consisting of all vectors perpendicular to V.


Homework Equations


I mean, I'm just completely stumped by this one. I know that in R2, any V can be broken down to VParallel + VPerp, which represents a unique solution, but how does this apply to R4.

I'm interested in the process to finding the basis, more so than the answer. What steps would you use in general, to find the basis of a vector, that satisfy the conditions that the basis must be perpendicular to the vector.

Thanks,
 
Last edited:
Physics news on Phys.org
  • #2
If x is some vector in R4, what equation must it satisfy if it is perpendicular to V?
 
  • #3
Do you know this theorem?

If A := {v1,...,vn} is an orthonormal set in an n-dim inner product space V, then A can be extended to an orthonormal basis for V { v1,..., vn, v n+1 ,..... vz }

and if W = Span(A) , then B : = { v n+1 ,..... vz } is an orthonormal basis for A perp
 
  • #4
kickthemoon said:

Homework Statement


Consider the vector V= [1 2 3 4]' in R4, find a basis of the subspace of R4 consisting of all vectors perpendicular to V.


Homework Equations


I mean, I'm just completely stumped by this one. I know that in R2, any V can be broken down to VParallel + VPerp, which represents a unique solution, but how does this apply to R4.
That is true in any dimension. In this case, since [1 2 3 4] itself, being a single vector spans a 1 dimensional subspace of R4. R4 can be written as as a direct sum of that and a 3 dimensional subspace. I recommend vela's suggestion: What must be true of [w x y z] in order that it be perpendicular to [1 2 3 4]? Specifically, what does "perpendicular" mean in a general Rn?

Use that equation to write one of w, x, y, or z in terms of the other three.

I'm interested in the process to finding the basis, more so than the answer. What steps would you use in general, to find the basis of a vector, that satisfy the conditions that the basis must be perpendicular to the vector.

Thanks,
 
  • #5
vela said:
If x is some vector in R4, what equation must it satisfy if it is perpendicular to V?

X dot V = 0 right?
 
  • #6
Yup!
 
  • #7
Okay, so you mean that:

[w x y z]' dot [1 2 3 4]' = [0 0 0 0]
 
  • #8
whoooaaa wait a minute, hold up. what wizvuze said...

can you explain that to me? I'm not sure where that comes from...?
 
  • #9
kickthemoon said:
Okay, so you mean that:

[w x y z]' dot [1 2 3 4]' = [0 0 0 0]
The dot product does not produce a vector; it produces a number (scalar). So [w x y z]' dot [1 2 3 4]' = 0. Now work with that.
 
  • #10
kickthemoon said:
whoooaaa wait a minute, hold up. what wizvuze said...

can you explain that to me? I'm not sure where that comes from...?
You don't need an orthonormal basis. Any old basis for your three-dimensional subspace of R4 will do just fine. Heed the advice from HallsOfIvy.
 
  • #11
whoops. I was trying to be smart and let that slip.
 
  • #12
okay, so if i wrote X in terms of y,z,w (e.g. x= -2y-3z-4w) and substituted that into X, which then becomes [-2y-3z-4w 2y 3z 4w], then that is basis consisting of the span of all perpendicular vectors to [1 2 3 4]? In other words, if I took the dot product of those, then it would be zero?
 
  • #13
A basis is a set of linearly independent vectors. In this case, you need to specify three linearly independent such that any linear combination of those vectors is perpendicular to V. So far you have

[tex]\vec{x}=\begin{pmatrix}-2y-3z-4w\\y\\z\\w\end{pmatrix}[/tex]

You want to rewrite that as a linear combination of three vectors. Those three vectors will form the basis you're trying to find.
 
Last edited:
  • #14
No, those aren't correct. If you multiply any of those by V, you won't get 0.

Start by writing x as a sum of three vectors, one involving just y, one involving just z, and one involving just w. Then pull the variables out of each one so you end up with

x = y(vector 1)+z(vector 2)+w(vector 3)

Those three vectors are a basis for the subspace.
 
  • #15
So then X= y[-2 2 0 0] + z[-3 0 3 0] + w[ -4 0 0 4] ?

and each of those vectors represents the basis?
 
  • #16
* mean the three vectors are a basis for R3, the subspace of R4 that are all perpendicular to V
 
  • #17
A basis is a set of linearly independent vectors that span a vector space. In this problem, you have a three-dimensional space, so a basis consists of a set of three vectors. Each of the vectors isn't a basis; the three vectors together are a basis.
 
  • #18
kickthemoon said:
* mean the three vectors are a basis for R3, the subspace of R4 that are all perpendicular to V
The three vectors might be a basis for a three-dimensional subspace of R4. (I say "might be" because I didn't check your work.)
Since the vectors are in R4, they can't possibly have anything to do with R3.
 
  • #19
kickthemoon said:
So then X= y[-2 2 0 0] + z[-3 0 3 0] + w[ -4 0 0 4] ?

and each of those vectors represents the basis?
No, you have an error. None of these vectors is perpendicular to <1, 2, 3, 4>.

Edit: I didn't realize that vela had already spotted the error in post 14. Look carefully at what vela is showing in post 13.
 
Last edited:
  • #20
Mark44 said:
No, you have an error. None of these vectors is perpendicular to <1, 2, 3, 4>.

so, um, i don't understand then...yes i see that they're not perpendicular...i followed all of the outlined steps...what happened?
 
  • #22
kickthemoon said:
so, um, i don't understand then...yes i see that they're not perpendicular...i followed all of the outlined steps...what happened?
Sorry, I led you astray in post #13. I went back and fixed it. Just do what you did before starting from the corrected expression.

EDIT: Well, now that I read the thread again, you led me astray in post #12! Do you see why your expression in post #12 isn't correct, and the one in #13 (now) is?
 
  • #23
ah, so it's got an identity matrix on the bottom...

curious: would Gram-Schmidt Orthonormalization work to get these vectors too? Say, if I just arbitrarily picked: [1 0 0 0], [0 1 0 0] and [ 0 0 1 0] and put them together to the vector [ 1 2 3 4] to get an arbitrary basis for R4 and then used GSO to adjust them, would that be "kosher"? GSO is supposed to make all bases orthonormal-- therefore, anything made by the later 3 vectors would result in them being perpendicular to the 1st?
 
  • #24
Yup, that would work too as long as your four vectors are linearly independent to start with and you begin the process with (1,2,3,4). It's a lot more work though.
 

FAQ: Linear Algebra: Orthogonal basis ERG HELP

What is a basis in linear algebra?

A basis in linear algebra is a set of vectors that can be used to represent any other vector in the vector space. It is a fundamental concept in linear algebra and is used to define the dimensions of a vector space.

What is an orthogonal basis?

An orthogonal basis is a set of vectors that are all perpendicular (or orthogonal) to each other. This means that the dot product of any two vectors in the basis is equal to 0. In other words, the basis vectors are linearly independent and span the entire vector space.

Why is it useful to have an orthogonal basis?

Having an orthogonal basis allows for easier calculations and simplification of equations in linear algebra. It also makes it easier to find solutions to systems of linear equations and to perform operations such as finding the inverse of a matrix.

How do you find an orthogonal basis?

One way to find an orthogonal basis is by using the Gram-Schmidt process. This involves taking a set of linearly independent vectors and using orthogonal projections to find new vectors that are orthogonal to each other. This process can be repeated until a complete orthogonal basis is obtained.

Can an orthogonal basis have more than 3 vectors?

Yes, an orthogonal basis can have any number of vectors, as long as they are all orthogonal to each other. In fact, a basis for an n-dimensional vector space will have n orthogonal vectors. However, it is more common to work with 2 or 3-dimensional vector spaces, which is why orthogonal bases with 2 or 3 vectors are more frequently used.

Similar threads

Back
Top