Matrices question

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?
 
3,726
8
Karate Chop said:
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 :

[tex](AB)_{ij} = \Sigma_k a_{ik}b_{kj}[/tex]

try for yourself with an example

Here is some extra info : Matrix Multiplication
marlon
 

HallsofIvy

Science Advisor
41,618
821
Did you consider doing a little experimentation?

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

Is that the same as [tex]\left( \begin{array}{ccc}1&2\\3&2\end{array}\right)\left(\begin{array}{ccc}-1&2\\1&2\end{array}\right)[/tex]?
 
1,087
0
Matrix multiplication is associative but not commutative.

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

The Bob (2004 ©)
 

HallsofIvy

Science Advisor
41,618
821
And that has what to do with the question?
 
3,726
8
HallsofIvy said:
And that has what to do with the question?
:rofl: :rofl: :rofl: :rofl: :rofl:

answer : i dunno :rofl:
marlon
 
E.g. A(BC) equals (AB)C but AB does not equal BA.
Sometimes it does. Such as the square of a matrix.
 

TD

Homework Helper
1,020
0
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

Science Advisor
41,618
821
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.
 
1,087
0
HallsofIvy said:
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 ©)
 

Want to reply to this thread?

"Matrices question" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Top Threads

Top