The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: What am I missing?
Replies: 5   Last Post: Nov 23, 2012 5:30 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Roger Stafford

Posts: 5,929
Registered: 12/7/04
Re: What am I missing?
Posted: Nov 22, 2012 6:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Greg Heath" <> wrote in message <k8m4qf$8de$>...
> >>A1= round(rand(1,5))
> A2 = 1-A1
> A = [ A1 ; A2 ]
> Why isn't rankA = 1?

- - - - - - - - -
For A1 and A2 to be linearly dependent requires that there exist two real or complex numbers, c1 and c2, not both zero, such that c1*A1 + c2*A2 = 0. The equality A2 = 1-A1 doesn't qualify for that. In fact A1 and A2 are linearly independent since no such c1 and c2 exist. Hence the rank of A must be 2.

Another way to see this is that the rank is the size of the largest square submatrix within A whose determinant is nonzero. Clearly this is 2.

Roger Stafford

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.