rank

rank - Messages

#1 Posted: 4/19/2020 8:24:42 AM
haweHofmann

haweHofmann

3 likes in 32 posts.

Group: User

Hallo zusammen,

DimEigenraum: (n-rank(A-λ*E))=1@#
should be 2
some steps of elementary row additions later
is 2

https://de.smath.com/cloud/sheet/vooDFR4FbP

any idea whats wrong?
#2 Posted: 4/19/2020 10:08:10 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

https://de.smath.com/cloud/sheet/vooDFR4FbP



This link doesn't works, be sure to use the share button link (on the right of the save button), because the address bar link is restricted to the author only.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 4/19/2020 10:19:42 AM
haweHofmann

haweHofmann

3 likes in 32 posts.

Group: User

Upps, sorry

Made a link
https://de.smath.com/cloud/worksheet/3BgYDE7e,


Maxima pure
(%i6) A: matrix([1,1,1,-1,0],[0,1,0,0,1],[0,0,0,1,0],[0,0,-1,2,1],[0,0,0,0,1])$
(%i7) A-1*ident(5)$
(%i5) rank(A-1*ident(5));
(%o5) 3
but
Maxima(rank(A-1*identity(5)))=4
or
DimEigenraum: (n-rank(A-λ*E))=1
#4 Posted: 4/19/2020 1:37:27 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

The referenced sheet seems to use Maxima(). This doesn't work, as third party plug-ins aren't available in the cloud version.
It is better to attach such files here.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Posted: 4/19/2020 1:50:54 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

rank(M) ... matrix rank is Smath built-in.
Here is a most precious application.

Matrix PseudoInverse.sm (111 KiB) downloaded 30 time(s).
#6 Posted: 4/19/2020 2:09:48 PM
haweHofmann

haweHofmann

3 likes in 32 posts.

Group: User

Wrote

rank(M) ... matrix rank is Smath built-in.
Matrix PseudoInverse.sm (111 KiB) downloaded 30 time(s).


and in how far do your example explain the incorrect calculation


Wrote

The referenced sheet seems to use Maxima(). This doesn't work, as third party plug-ins aren't available in the cloud version.
It is better to attach such files here.



the Maxima part calculate the single eigenvalue which is set manually in cloud version

SMath Studio 0.99.6884 - [JordanMatrix5x5-5fachEW-HV.1.2.Stufe.sm_]_2020-04-19_19-07-08.jpg

JordanMatrix5x5-5fachEW-HV.1.2.Stufe .sm (47 KiB) downloaded 29 time(s).
#7 Posted: 4/19/2020 11:51:44 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. You're right, it's a bug and there are no way to make this works (numerical nor symbolic):

Clipboard01.jpg

First column is zero and 3th = - 4th columns, so can't be rank = 4.

Best regards.

Alvaro.
#8 Posted: 4/20/2020 11:51:33 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

and in how far do your example explain the incorrect calculation


Just advanced maths above the classroom.
Your example replies bug from incorrectly threaded input.
As given, your [5*5] matrix has no mathematical meaning.

Page1 rank.sm (11 KiB) downloaded 32 time(s).
1 users liked this post
sergio 4/20/2020 12:15:00 PM
#9 Posted: 4/20/2020 2:19:49 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... clean the bugger
What application do you have for "rank(,) ?
Don't confuse with Rank in Data Analysis.
rref [Row Reduce Echelon Function] is a damned long monkey business.
Has it been done in Smath ... Watson ?


rref.PNG
#10 Posted: 4/20/2020 2:51:32 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... Rank(V)
Given a set of data values, the rank of each value is the position
at which that value appears in a sorted list of the data.
When values repeat, the rank is an average of the indices where
the value occurs after sorting.
  • New Posts New Posts
  • No New Posts No New Posts