This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
Author Message
vic9317


Newbie


Joined: 16 Nov 2008
Posts: 26

Posted: 08 Nov 2010 06:20:05 pm    Post subject:

I was asked a question that I can't seem to figure out concerning the row echelon form of a matrix and the ref( command.

Take the following matrix [A], for example:

[1 3 -5 ]
[4 7 -10]
[-2 2 3 ]

Using ref([A])►Frac on it produces the following:

[1 7/4 -5/2 ]
[0 1   -4/11]
[0 0   1    ]

However, manually finding the row echelon form as well as using online solvers such as this one produces:

[1 3 -5]
[0 1 -2]
[0 0  1]

My question is: why? Does the calculator's method of finding the ref (which I presume is Gaussian elimination) different from the manual method? Are they both correct?

Seems intriguing...
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 09 Nov 2010 04:10:47 pm    Post subject:

Safety measures included, this is the exact algorithm used by that solver to generate its matrices on the right hand side.

dim([A]→L1
[A]
For(U,1,min(L1
If not(Ans(U,U
Pause rowSwap(Ans,U,U+1►Frac
Pause *row(Ans(U,U)‾¹,Ans,U►Frac
For(V,U+1,L1(1
If Ans(V,U
Pause *row+(‾Ans(V,U),Ans,U,V►Frac
End
End

That's all I can provide at this moment. It's been a long time since I've last worked with matrix operations.


Last edited by Guest on 09 Nov 2010 04:11:55 pm; edited 1 time in total
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement