Changes

Jump to navigation Jump to search
Line 12: Line 12:  
*So the resultant matrix is of the order: Rows of 1st matrix × Columns of 2nd.  
 
*So the resultant matrix is of the order: Rows of 1st matrix × Columns of 2nd.  
 
*For e.g If we multiply a 4x2 matrix with a 2x3 matrix, the product matrix is of order 4x3.
 
*For e.g If we multiply a 4x2 matrix with a 2x3 matrix, the product matrix is of order 4x3.
*Matrix multiplication satisfies the associative and distributive properties.
+
*Matrix multiplication satisfies the associative and distributive properties.But it is not satisfies the commutative property.
*But it is not satisfies the commutative property.   
+
*i.e., Let A,B and C are three matrices, then A(BC)= (AB)C (Associative property)
 +
*A(B+C)= AB+AC and (A+B)C = AC+BC (Distributive properties)
 +
*k(AB)=(kA)B=A(kB)where k is a constant.But <math>AB \ne BA </math> (Commutative property)
 
*This function will give the result as error when:  
 
*This function will give the result as error when:  
 
  The number of columns in the 1st matrix is not equal to number of rows in the 2nd matrix.
 
  The number of columns in the 1st matrix is not equal to number of rows in the 2nd matrix.
writer
6,694

edits

Navigation menu