Matrix Algebra question about identity matricies and scalars

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

User avatar
RockoTDF
Posts: 582
Joined: Thu Oct 18, 2007 6:08 am UTC
Location: Tucson, AZ, US
Contact:

Matrix Algebra question about identity matricies and scalars

Postby RockoTDF » Fri Feb 12, 2010 6:13 am UTC

So I was looking at some matrix algebra the other day when reading up on some AI algorithms, and I realized something.

Lets say you have an n*n matrix, A

A =
[2, 3, 5]
[4, 1, 7]
[4, 9, 6]

Now, you can multiply A by a scalar x, such as 3, and get B. Or, you can multiply that scalar 3 by an identity matrix, and then multiply it by A to get B.

So,
A * 3x = 3B
A * 3I * x = 3B (I = identity matrix)

therefore:

A * 3x = A * 3I * x
multiply both sides by A inverse
3x = 3I * x
multiply both sides by 1/3
x = l*x

3 =
[3, 0, 0]
[0, 3, 0]
[0, 0, 3]

This doesn't seem to make sense. I'm no mathematician and took linear algebra a year ago, so can someone tell me if I'm doing something wrong, this is totally normal, or if I have unlocked some great mathematical paradox that will get me a fields medal despite the fact that I am a psychology/neuroscience grad student and not a mathematician?
Just because it is not physics doesn't mean it is not science.
http://www.iomalfunction.blogspot.com <---- A collection of humorous one liners and science jokes.

Syrin
Posts: 290
Joined: Thu May 24, 2007 7:10 pm UTC
Location: Ontario, Canadia

Re: Matrix Algebra question about identity matricies and scalars

Postby Syrin » Fri Feb 12, 2010 6:19 am UTC

It doesn't make sense because multiplication by a scalar and multiplication on matrices are two different things.

You can actually think of the scalar itself as a function from matrices to matrices.

So you can't just "cancel out" the A's; you'd have to cancel out the scalar function which takes as input the matrix A, which would leave you with Id = Id

User avatar
The Sleeping Tyrant
Posts: 533
Joined: Tue Jan 23, 2007 2:49 am UTC
Location: Ont., Canada
Contact:

Re: Matrix Algebra question about identity matricies and scalars

Postby The Sleeping Tyrant » Fri Feb 12, 2010 7:06 am UTC

Syrin wrote:So you can't just "cancel out" the A's


This is actually exactly your error.
You started with [imath]A(3x) = A(3Ix)[/imath] and multiplied by [imath]A^{-1}[/imath]. But [imath]AA^{-1} = I[/imath], so when you multiply both sides by [imath]A^{-1}[/imath], what you really have is [imath]I(3x) = I(3Ix)[/imath], which is true and makes perfect sense.

User avatar
RockoTDF
Posts: 582
Joined: Thu Oct 18, 2007 6:08 am UTC
Location: Tucson, AZ, US
Contact:

Re: Matrix Algebra question about identity matricies and scalars

Postby RockoTDF » Fri Feb 12, 2010 4:07 pm UTC

Ok, thinking of scalar multiplication as a function on a matrix makes total sense and explains where I went wrong.
Just because it is not physics doesn't mean it is not science.
http://www.iomalfunction.blogspot.com <---- A collection of humorous one liners and science jokes.

User avatar
antonfire
Posts: 1772
Joined: Thu Apr 05, 2007 7:31 pm UTC

Re: Matrix Algebra question about identity matricies and scalars

Postby antonfire » Fri Feb 12, 2010 4:51 pm UTC

On the other hand, abusing notation and making the identification 3 = 3I often makes perfect sense.
Jerry Bona wrote:The Axiom of Choice is obviously true; the Well Ordering Principle is obviously false; and who can tell about Zorn's Lemma?

User avatar
Cleverbeans
Posts: 1378
Joined: Wed Mar 26, 2008 1:16 pm UTC

Re: Matrix Algebra question about identity matricies and scalars

Postby Cleverbeans » Fri Feb 12, 2010 11:11 pm UTC

antonfire wrote:On the other hand, abusing notation and making the identification 3 = 3I often makes perfect sense.


Especially since their is an obvious isomorphism between the scalar field and matrices of the form. In that sense, the OP has at least stumbled upon the idea that the underlying structure is the same.
"Labor is prior to, and independent of, capital. Capital is only the fruit of labor, and could never have existed if labor had not first existed. Labor is the superior of capital, and deserves much the higher consideration." - Abraham Lincoln

User avatar
RockoTDF
Posts: 582
Joined: Thu Oct 18, 2007 6:08 am UTC
Location: Tucson, AZ, US
Contact:

Re: Matrix Algebra question about identity matricies and scalars

Postby RockoTDF » Sat Feb 13, 2010 7:00 am UTC

Cleverbeans wrote:
antonfire wrote:On the other hand, abusing notation and making the identification 3 = 3I often makes perfect sense.


Especially since their is an obvious isomorphism between the scalar field and matrices of the form. In that sense, the OP has at least stumbled upon the idea that the underlying structure is the same.


Hmm...thinking of the scalar X and the matrix X*I as being isomorphic is an interesting way of thinking about it.
Just because it is not physics doesn't mean it is not science.
http://www.iomalfunction.blogspot.com <---- A collection of humorous one liners and science jokes.

User avatar
PM 2Ring
Posts: 3715
Joined: Mon Jan 26, 2009 3:19 pm UTC
Location: Sydney, Australia

Re: Matrix Algebra question about identity matricies and scalars

Postby PM 2Ring » Wed Feb 17, 2010 3:00 am UTC

RockoTDF wrote:
Cleverbeans wrote:
antonfire wrote:On the other hand, abusing notation and making the identification 3 = 3I often makes perfect sense.


Especially since their is an obvious isomorphism between the scalar field and matrices of the form. In that sense, the OP has at least stumbled upon the idea that the underlying structure is the same.


Hmm...thinking of the scalar X and the matrix X*I as being isomorphic is an interesting way of thinking about it.

It's not so much an individual scalar being isomorphic to an individual matrix: it's an isomorphism between the set of scalars & the set of matrices of the form X*I, and the operations of addition & multiplication on these elements.

Token
Posts: 1481
Joined: Fri Dec 01, 2006 5:07 pm UTC
Location: London

Re: Matrix Algebra question about identity matricies and scalars

Postby Token » Wed Feb 17, 2010 11:25 pm UTC

So what you mean is an isomorphism between the field of scalars and the field of matrices of the form λI.
All posts are works in progress. If I posted something within the last hour, chances are I'm still editing it.

User avatar
antonfire
Posts: 1772
Joined: Thu Apr 05, 2007 7:31 pm UTC

Re: Matrix Algebra question about identity matricies and scalars

Postby antonfire » Thu Feb 18, 2010 12:06 am UTC

Note that there is also such an isomorphism between the field of scalars and the matrices with zeros everywhere but the upper left corner. However, you don't want to identify the scalars with those, because they don't interact the way you want with the other matrices.
Jerry Bona wrote:The Axiom of Choice is obviously true; the Well Ordering Principle is obviously false; and who can tell about Zorn's Lemma?

User avatar
NathanielJ
Posts: 882
Joined: Sun Jan 13, 2008 9:04 pm UTC

Re: Matrix Algebra question about identity matricies and scalars

Postby NathanielJ » Thu Feb 18, 2010 1:08 am UTC

antonfire wrote:Note that there is also such an isomorphism between the field of scalars and the matrices with zeros everywhere but the upper left corner.


Meh, while we're doing this, there's also such an isomorphism between the field of scalars and the matrices of the form cP, where c is a scalar and P is any arbitrary (fixed) projection.
Homepage: http://www.njohnston.ca
Conway's Game of Life: http://www.conwaylife.com

Token
Posts: 1481
Joined: Fri Dec 01, 2006 5:07 pm UTC
Location: London

Re: Matrix Algebra question about identity matricies and scalars

Postby Token » Thu Feb 18, 2010 7:52 am UTC

Yes, but the relevant part of the [imath]f: \lambda \mapsto \lambda I[/imath] isomorphism is that [imath]\lambda \times_S A = f(\lambda) \times_M A[/imath] for any scalar [imath]\lambda[/imath] and matrix [imath]A[/imath].
All posts are works in progress. If I posted something within the last hour, chances are I'm still editing it.

letterX
Posts: 535
Joined: Fri Feb 22, 2008 4:00 am UTC
Location: Ithaca, NY

Re: Matrix Algebra question about identity matricies and scalars

Postby letterX » Thu Feb 18, 2010 4:47 pm UTC

Note that in Algebra, this kind of structure is called an Algebra. Therefore, you know that they have to be important.

The precise definition: Say we have a ring R (that is, a set which we can do multiplication and addition on. Think matrix multiplication and addition. Or polynomials with real coefficients and polynomial multiplication and addition), and that this ring is also a vector space* over some field K (that is, we can take elements of K and multiply them by ring elements r so that the usual linear relations hold. Think multiplying a matrix by a scalar, or multiplying a polynomial through by a constant).

Then R is a K-algebra if we can actually find the scalar field inside R. That is, there is a map [imath]f : K \to R[/imath] such that for any k, r, we have
  • [imath]k \cdot r = f(k) \times r[/imath] (where the first multiplication is scalar multiplication, and the second is multiplication in the ring. From the above discussion: it doesn't matter if we view a scalar as [imath]\lambda[/imath] or [imath]\lambda I[/imath])
  • And also [imath]f(k) \times r = r \times f(k)[/imath] (That is, we can multiply by (the representation of) a scalar on either the left or the right, and get the same answer. This is useful if we want things like [imath]A(\lambda B) = \lambda A B[/imath] to work out.)

* really, you just need a general S-module for some ring S, but if you knew that, why are you still reading this? (For everybody else, modules are like vector spaces, but instead of a scalar field, you have a scalar ring. Except we don't call them scalars anymore. And everything gets a different name, just to confuse what would otherwise be a perfectly simple structure (Though please don't ask about Simple modules. They are not simple at all, it turns out.))


Return to “Mathematics”

Who is online

Users browsing this forum: No registered users and 5 guests