Am i setting up equations right? Matrices, finding nullspace

  • Thread starter Thread starter mr_coffee
  • Start date Start date
  • Tags Tags
    Matrices Nullspace
mr_coffee
Messages
1,613
Reaction score
1
Hello everyone I'm confused if I'm setting these equations up right:
i have:
1 0 1
0 1 -2
0 0 0

so i said:
x + z = 0;
y - 2z = 0;
z = ? because its a whole row of 0's, so u have no info about what z could be
so i said let z = a;
x + a = 0;
y -2a = 0;
z = a;

x = a;
y = 2a;
z = a;

so let a = 1;
my nullspace is:
1
2
1

am i doing that right?
 
Physics news on Phys.org
You lost a minus sign, it should be x=-a.

The nullspace is given by all solutions to this system, not a specific one. That is all vectors (-a,2a,a) make up the nullspace. You can look at a specific non-zero one if you're after a basis of the nullspace (since it has dimension one in this case).
 
i c, thank u! but the synatx i used is correct? -a, 2a, a correct? so if i factorted out an a i would get
a[-1,21] because my professor got a different answer: he got:

from this matrix:
which is a not simplified version of the matrix i gave above:
2 1 0
0 -1 2
0 0 0

2x + y = 0;
-y + 2z = 0;
x = -a/2;
z = a/2
y = a;

null(A) = [-1/2,1/2]
and i thought he did it wrong.
 
Strictly as written, null(A)=[-1/2,1,1/2] is wrong, the nullspace is not one vector, but a set of vectors (even if it's just the zero vector).

null(A)=span{[-1/2,1,1/2]} would be a way to write it.
 
Yep that makes sense to me, thanks shmoe
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top