Matrix Multiplication: Column Swapping Effects

  • Thread starter Karate Chop
  • Start date
  • Tags
    Matrices
In summary, when you're multiplying two matrices together, it affects the answer at all if you swap the columns around in one of the matrices.
  • #1
Karate Chop
18
0
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?
 
Physics news on Phys.org
  • #2
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
 
  • #3
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]?
 
  • #4
Matrix multiplication is associative but not commutative.

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

The Bob (2004 ©)
 
  • #5
And that has what to do with the question?
 
  • #6
HallsofIvy said:
And that has what to do with the question?
:rofl: :rofl: :rofl: :rofl: :rofl:

answer : i don't know :rofl:
marlon
 
  • #7
E.g. A(BC) equals (AB)C but AB does not equal BA.
Sometimes it does. Such as the square of a matrix.
 
  • #8
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.
 
  • #9
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.
 
  • #10
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 ©)
 

1. What is matrix multiplication?

Matrix multiplication is a mathematical operation where two matrices are multiplied together to produce a new matrix. It is used to transform data and solve complex equations in various fields such as engineering, physics, and computer science.

2. How does column swapping affect matrix multiplication?

Column swapping in matrix multiplication refers to the process of exchanging the columns of one matrix with another. This operation can affect the resulting matrix by changing its values and altering the solution to the equation being solved.

3. Why is column swapping used in matrix multiplication?

Column swapping is used in matrix multiplication to simplify calculations and reduce errors. By rearranging the columns, we can transform the original equation into a more manageable form, making it easier to solve and understand.

4. What are the limitations of column swapping in matrix multiplication?

Column swapping can only be performed on square matrices, meaning the number of rows and columns must be equal. Additionally, it can only be done on matrices that are compatible for multiplication, with the number of columns in the first matrix being equal to the number of rows in the second matrix.

5. Can column swapping be applied to all types of matrices?

No, column swapping can only be applied to square matrices. It cannot be used on rectangular or non-square matrices, as they do not have an equal number of rows and columns.

Similar threads

  • Linear and Abstract Algebra
Replies
14
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
686
  • Linear and Abstract Algebra
Replies
12
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
2
Replies
57
Views
3K
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
869
  • Linear and Abstract Algebra
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
721
Replies
8
Views
1K
Back
Top