Post Reply 
Find a basis from cartesian equations
08-31-2017, 07:06 PM
Post: #1
Find a basis from cartesian equations
I want to find an easier way to find vectors which are a basis of a vector space defined by cartesian equations. For eixample:

So, first I reduce the system (applying Gauss reduction):
I use RREF(matrix of coefficients of the system)
to obtain

So we have two equations which means the subspace represented have 5-2 dimensions. So for a basis of this space we need three independent vectors.

Next I use solve() giving values to find three possible vectors:
solve([[x1+2*x2+x4-2*x5,x3+x4+3*x5,x2 = 1,x4 = 0,x5 = 0]],[x1,x2,x3,x4,x5])
which gives {[-2,1,0,0,0]}

So I will change values for x2=0, x4=1 and X5=0 which gives {[-1,0,-1,1,0]}

And third and last I change x2=0, X4=0 and X5=1 which gives {[2,0,-3,0,1]}

This is a very complicated way, to obtain the three vectors of the basis.
Is there a function to solve this directly?

Thanks for your help

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Find a basis from cartesian equations - Tonig00 - 08-31-2017 07:06 PM

User(s) browsing this thread: 1 Guest(s)