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
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
2K
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K