How to Find the Basis of a 23D Subspace Using Maple or Matlab?

  • Level: Graduate 
  • Thread starter Thread starter uwowizard
  • Start date Start date
  • Tags Tags
    Basis Software Space
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
6 replies · 3K views
uwowizard
Messages
14
Reaction score
0
Hi there,

I have 23D subspace, defined by an equation (hyperplane)
c1*x1 + ... + c24*x24 = 0;

I wonder if there is an automated way to find basis of the subspace? I have access to Maple and Matlab.

Thanks.
 
Physics news on Phys.org
Hi uwowizard! :smile:

You can calcate this easily by hand:

For example, if your hyperplane is [tex]ax+by+cz=0[/tex], then one can assume one of a,b,c to be nonzero. Let's say c. A basis would then be

[tex]\{(1,0,-a/c),(0,1,-b/c)\}[/tex]

For your 23D-subspace, assume that c24 is nonzero, then a basis consists of

[tex]\{ (1,0,0,...,-c_1/c_{24}),(0,1,0,...,-c_2/c_{24}),...,(0,0,0,...,1,-c_{23}/c_{24}) \}[/tex].
 
micromass said:
Hi uwowizard! :smile:

You can calcate this easily by hand:

For example, if your hyperplane is [tex]ax+by+cz=0[/tex], then one can assume one of a,b,c to be nonzero. Let's say c. A basis would then be

[tex]\{(1,0,-a/c),(0,1,-b/c)\}[/tex]

For your 23D-subspace, assume that c24 is nonzero, then a basis consists of

[tex]\{ (1,0,0,...,-c_1/c_{24}),(0,1,0,...,-c_2/c_{24}),...,(0,0,0,...,1,-c_{23}/c_{24}) \}[/tex].
Isn't this basically the https://secure.wikimedia.org/wikipedia/en/wiki/Gram%E2%80%93Schmidt_process" ?
 
Last edited by a moderator:
Not really. For applying the Gram-Schmidt process, you must already have a basis. Here you don't have a basis, you must find one. Secondly, the Gram-Schimdt process outputs an orthonormal basis, but my basis here isn't orthonormal in general...
 
Micromass, is there a name for the process that you described?