PDA

View Full Version : matrices question


Karate Chop
Aug6-05, 05:44 AM
when you're multiplying two matrices together does it affect the answer at all if you swap the columns around in one of the matrices?

marlon
Aug6-05, 06:27 AM
when you're multiplying two matrices together does it affect the answer at all if you swap the columns around in one of the matrices?

yes it does, just look at the defnition of matrix multiplication :

(AB)_{ij} = \Sigma_k a_{ik}b_{kj}

try for yourself with an example

Here is some extra info : Matrix Multiplication (http://mathworld.wolfram.com/MatrixMultiplication.html)
marlon

HallsofIvy
Aug6-05, 06:35 AM
Did you consider doing a little experimentation?

What is \left( \begin{array}{ccc}1&2\\3&2\end{array}\right)\left(\begin{array}{ccc}2&-1\\2&1\end{array}\right)?

Is that the same as \left( \begin{array}{ccc}1&2\\3&2\end{array}\right)\left(\begin{array}{ccc}-1&2\\1&2\end{array}\right)?

The Bob
Aug6-05, 03:36 PM
Matrix multiplication is associative but not commutative.

E.g. A(BC) equals (AB)C but AB does not equal BA.

The Bob (2004 ©)

HallsofIvy
Aug6-05, 07:39 PM
And that has what to do with the question?

marlon
Aug7-05, 05:23 AM
And that has what to do with the question?
:rofl: :rofl: :rofl: :rofl: :rofl:

answer : i dunno :rofl:
marlon

primarygun
Aug7-05, 06:05 AM
E.g. A(BC) equals (AB)C but AB does not equal BA.
Sometimes it does. Such as the square of a matrix.

TD
Aug7-05, 06:14 AM
When we say matrix multiplication isn't commutative, we mean in general.
To be commutative it always has to be valid.

As you say though, there are exceptions (multiplying with the identy-matrix or with the inverse too for example) but that doesn't change the fact the multiplication isn't commutative.

HallsofIvy
Aug7-05, 06:35 AM
MY point was that the original question had to do with rearranging the columns in one of the matrices- giving a completely different matrix. It had nothing to do with the commutativity of multiplication.

Wandering off topic is just going to confuse the original poster.

The Bob
Aug7-05, 07:58 AM
And that has what to do with the question?
Apologises for misunderstanding the question. Glad to feel I can make mistakes and not have my gut knotted. :cry:

The Bob (2004 ©)