How Do I solve this large linear system???

racing01's picture

Helloo

I'm trying to solve this large system (I attach it) for the variable eqn

It's a vector assigned to the variable and I don't know how!

Thanks  a lot!

 

 FILE:

View 9175_question_.mw on MapleNet or Download 9175_question_.mw
View file details

Axel Vogt's picture

inconsistent

You have 44 equations in 41 variables and Maple would tell you, that in
your case it is inconsistent.

Denote M you matrix matcosdir and v = Fexternas+Rvinculo.

Then you use LinearAlgebra[LinearSolve] to solve the linear equations 
M . x = - v, your 'Normales' then is that x (if there is some, there
may be none and there may be lower-dimensional spaces as solution and
there may be exactly 1).

  with(LinearAlgebra);
  LinearSolve(M,-v);

    Error, (in LinearAlgebra:-LA_Main:-LinearSolve) inconsistent system

Actually you can check it (theoretical):

  interface(rtablesize=50);      # displays larger matrices
  ReducedRowEchelonForm(<M|-v>): # cf. help + Math books (help is vague)
  map(fnormal,%,3):              # you only have 3 Digits
  simplify(%,zero): identify(%);

or 

  GaussianElimination(M);

Your matrix then is zero in the last lines, while your v is not:
it is like solving 0*x=1 for x.


PS: your sheet is another example of the incredible uglyness of
the 'standard' worksheets, it does not even allow to save in a
reasonable format as *.wms ... what a shame for Maple.

This is why I usually refuse too look at *.mw (which unfortunately is
used by beginners).
racing01's picture

I'm sorry thanks very much.

I'm sorry thanks very much. I noticed What you said, I was making a mistake, I have 44 unknowns and 44 equations, the 3 other unknowns are in the Vector "Rvinculo", in consecuence in vector "v:=" that's why I don't know how to solve it....

With the system M.x=-v  I have 41 unknowns in vector x and 3 unknowns more in vector -v

Thanks a lot!

racing01's picture

SOLVED CORRECTLY!!!

Problem SOlved :D 

 

Thanks a lot for your help!!

Axel Vogt's picture

glad to here it helped :-)

.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}