{"id":665136,"date":"2023-07-19T13:50:07","date_gmt":"2023-07-19T08:20:07","guid":{"rendered":"https:\/\/infinitylearn.com\/surge\/?p=665136"},"modified":"2025-06-03T15:26:18","modified_gmt":"2025-06-03T09:56:18","slug":"665136-2","status":"publish","type":"post","link":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/","title":{"rendered":"Matrix multiplication"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_37 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><label for=\"item\" aria-label=\"Table of Content\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><input type=\"checkbox\" id=\"item\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' style='display:block'><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Introduction_to_Matrix_multiplication\" title=\"Introduction to Matrix multiplication\">Introduction to Matrix multiplication<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Definition_of_Matrix_multiplication\" title=\"Definition of Matrix multiplication\">Definition of Matrix multiplication<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Matrix_multiplication_by_a_scalar\" title=\"Matrix multiplication by a scalar\">Matrix multiplication by a scalar<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Limitations_for_matrix_multiplication\" title=\"Limitations for matrix multiplication\">Limitations for matrix multiplication<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Steps_to_find_the_multiplication_of_two_matrices\" title=\"Steps to find the multiplication of two matrices\">Steps to find the multiplication of two matrices<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Properties_of_matrix_multiplication\" title=\"Properties of matrix multiplication\">Properties of matrix multiplication<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Problems_on_Matrix_multiplication\" title=\"Problems on Matrix multiplication\">Problems on Matrix multiplication<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#FAQs_on_Matrix_multiplication\" title=\"FAQs on Matrix multiplication\">FAQs on Matrix multiplication<\/a><ul class='ez-toc-list-level-3'><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#What_is_meant_by_matrix_multiplication\" title=\"What is meant by matrix multiplication? \">What is meant by matrix multiplication? <\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#How_to_multiply_two_given_matrices\" title=\"How to multiply two given matrices?\">How to multiply two given matrices?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Is_it_possible_to_combine_any_two_matrices\" title=\"Is it possible to combine any two matrices? \">Is it possible to combine any two matrices? <\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Is_commutative_matrix_multiplication_possible\" title=\"Is commutative matrix multiplication possible? \">Is commutative matrix multiplication possible? <\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#What_role_does_matrix_multiplication_play\" title=\"What role does matrix multiplication play? \">What role does matrix multiplication play? <\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Using_a_calculator_or_software_how_do_I_multiply_matrices\" title=\"Using a calculator or software, how do I multiply matrices? \">Using a calculator or software, how do I multiply matrices? <\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Is_multiplying_any_two_matrices_always_possible\" title=\"Is multiplying any two matrices always possible? \">Is multiplying any two matrices always possible? <\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#Is_it_possible_for_the_final_matrix_to_differ_in_size_from_the_initial_matrices\" title=\"Is it possible for the final matrix to differ in size from the initial matrices? \">Is it possible for the final matrix to differ in size from the initial matrices? <\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p>Matrix multiplication<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Introduction_to_Matrix_multiplication\"><\/span>Introduction to Matrix multiplication<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A fundamental operation in linear algebra called matrix multiplication involves multiplying two matrices to create a new matrix. It enables many applications in disciplines including mathematics, computer science, physics, and engineering by facilitating the systematic modification and combining of data..<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Definition_of_Matrix_multiplication\"><\/span>Definition of Matrix multiplication<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A new matrix is created by multiplying two existing ones using a binary process called matrix multiplication. It is defined for matrices when the first matrix&#8217;s column&#8217;s number equals the second matrix&#8217;s row number.<\/p>\n<p>Given two matrices, say matrix A with m rows and n columns and matrix B with n rows and p columns, the resulting matrix C will have a dimension of m rows and p columns when A and B are multiplied.<\/p>\n<p>In more detail, each element in the i-th row of matrix A is multiplied by the corresponding element in the j-th column of matrix B, and the products are added to obtain the element at the i-th row and j-th column of matrix C.<\/p>\n<p>Where C = A * B, the general formula for matrix multiplication is:<\/p>\n<p>For , k = 1, 2, 3, &#8230;, n,  c<sub>ij<\/sub> = sum( a<sub>ik<\/sub> x b<sub>kj <\/sub>)<\/p>\n<p>Here the element c<sub>ij<\/sub> at the i-th row and j-th column of matrix C, the element a<sub>ik<\/sub> is at the i-th row and k-th column of matrix A, and the element b<sub>kj<\/sub> is at the k-th row and j-th column of matrix B.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Matrix_multiplication_by_a_scalar\"><\/span>Matrix multiplication by a scalar<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The process of multiplying each element of a matrix by a scalar value is known as scalar multiplication. Any real number or complex number can be the scalar. Each component is multiplied by the scalar value, creating a new matrix with the same dimensions as the original matrix.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Limitations_for_matrix_multiplication\"><\/span>Limitations for matrix multiplication<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Only matrices where the first matrix&#8217;s column&#8217;s number equals the second matrix&#8217;s row&#8217;s number are those for which matrix multiplication is defined.<\/li>\n<li>The sequence of multiplication has an impact on the outcome since matrix multiplication is not commutative.<\/li>\n<li>The size of the input matrices affects the dimensions of the final matrix. The resulting matrix will have an equal number of rows to the first matrix&#8217;s rows and an equal number of columns to the second matrix&#8217;s columns.<\/li>\n<li>Given that matrix multiplication necessitates a sizable number of scalar multiplications and additions, it can be computationally expensive, especially for big matrices.<\/li>\n<li>If you try to multiply a matrix with incompatible dimensions, an error will occur because matrix multiplication is not defined for such matrices.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Steps_to_find_the_multiplication_of_two_matrices\"><\/span>Steps to find the multiplication of two matrices<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The stages involved in multiplying two matrices, commonly designated as A and B, are as follows:<\/p>\n<ul>\n<li>Verify whether the matrices may be multiplied: The number of rows in matrix B and the number of columns in matrix A must match.<\/li>\n<li>The size of the final matrix should be determined. The number of rows from matrix A and the number of columns from matrix B will be present in the final matrix.<\/li>\n<li>Compute the total of the products of the respective elements from the row in matrix A and the column in matrix B for each element in the resulting matrix C. This is known as element-wise multiplication and summation.<\/li>\n<li>Once all of the components of the resulting matrix C have been determined, repeat the procedure for each component.<\/li>\n<li>The combination of matrices A and B yields matrix C.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/infinitylearn.com\/surge\/articles\/math-articles\"><button class=\"btn btn-dark mx-2 my-2 px-4\" style=\"border-radius: 50px;\" type=\"button\">Math Articles<\/button><\/a> <a href=\"https:\/\/infinitylearn.com\/surge\/formulas\/math-formulas\"><button class=\"btn btn-dark mx-2 my-2 px-4\" style=\"border-radius: 50px;\" type=\"button\">Math Formulas<\/button><\/a> <a href=\"https:\/\/infinitylearn.com\/surge\/articles\/trigonometry-formulas\/\"><button class=\"btn btn-dark mx-2 my-2 px-4\" style=\"border-radius: 50px;\" type=\"button\">Trigonometry Formulas<\/button><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Properties_of_matrix_multiplication\"><\/span>Properties of matrix multiplication<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Associative property : For matrices A, B, and C of compatible dimensions, associativity states that (A * B) * C = A * (B * C). It is possible to rearrange the matrix multiplication order without impacting the outcome.<\/li>\n<li>Distributive property : A * (B + C) = A * B + A * C for matrices A, B, and C with compatible dimensions. Matrix addition is distributed over via matrix multiplication.<\/li>\n<li>Scalar Multiplication: If the matrices A and B are of compatible dimensions and the scalar value k is used, then (k * A) * B = k * (A * B) = A * (k * B). It is possible to use scalar multiplication either before or after matrix multiplication.<\/li>\n<li>Identity Matrix: Where I is the identity matrix, for any matrix A of suitable dimensions, A * I = I * A = A. When a matrix is multiplied by the identity matrix, the matrix remains intact.<\/li>\n<li>A * 0 = 0 * A = 0, where 0 is the zero matrix, for any matrix A of the proper dimensions. The zero matrix is obtained by multiplying a matrix by the zero matrix.<\/li>\n<li>Non-commutativity: In general, Matrix multiplication does not commutate., A * B does not always equal B * A.<\/li>\n<li>Dimension compatibility: For matrix multiplication to be defined, the first matrix&#8217;s number of columns must match the second matrix&#8217;s number of rows.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Problems_on_Matrix_multiplication\"><\/span>Problems on Matrix multiplication<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Linear Function f(x) = 2x + 3. To generate the output, this function takes an input value x, multiplies it by 2, and then adds 3.<\/li>\n<li>The quadratic function is defined as f(x) =  x<sup>2<\/sup> -4x + 5. This function includes the square of the input value x, as well as linear and constant terms.<\/li>\n<li>f(x) = 2<sup>x <\/sup>is an exponential function. To compute the output, this function raises the base (2) to the power of the input value x.<\/li>\n<li>f(x) = sin(x) is a trigonometric function. The sine of the input value x is computed using this function.<\/li>\n<li>f(x) = x is the identity function. Without any alteration, this function just returns the input value as the output value.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"FAQs_on_Matrix_multiplication\"><\/span>FAQs on Matrix multiplication<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"What_is_meant_by_matrix_multiplication\"><\/span>What is meant by matrix multiplication? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tWhen two matrices are multiplied, a new matrix is produced. This operation is known as matrix multiplication. In order to do this, relevant items from the first matrix's rows and the second matrix's columns must be multiplied by one another and then added. Based on the sizes of the original matrices, the final matrix has the following dimensions. \t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"How_to_multiply_two_given_matrices\"><\/span>How to multiply two given matrices?<span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tMake sure the number of columns in the first matrix and the number of rows in the second matrix match before multiplying the two matrices. Add the matching elements from the rows and columns after multiplying them. To obtain the resulting matrix dimensions, repeat for each element. \t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"Is_it_possible_to_combine_any_two_matrices\"><\/span>Is it possible to combine any two matrices? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tNo, the number of columns in the first matrix must match the number of rows in the second matrix in order for matrix multiplication to be defined. \t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"Is_commutative_matrix_multiplication_possible\"><\/span>Is commutative matrix multiplication possible? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tThe multiplication of matrices is not commutative. In most cases, . AB \u2260 BA. It concerns what order the matrices are in. \t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"What_role_does_matrix_multiplication_play\"><\/span>What role does matrix multiplication play? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tSolving systems of linear equations, linear algebra, computer graphics, and other disciplines all depend on matrix multiplication. It makes transformations, compositions, and mathematical operations involving several variables effectively representable and manipulable.\t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"Using_a_calculator_or_software_how_do_I_multiply_matrices\"><\/span>Using a calculator or software, how do I multiply matrices? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tMatrix multiplication functions are available in the majority of calculators and software programmes. Simply enter the matrices, and the programme will multiply them and output the final matrix for you.\t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"Is_multiplying_any_two_matrices_always_possible\"><\/span>Is multiplying any two matrices always possible? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tNo, it is only possible to multiply two matrices if the number of columns in the first matrix and the number of rows in the second matrix are equal. The matrices cannot be multiplied in any other case. \t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"sc_fs_faq sc_card \">\n\t\t\t<div>\n\t\t\t\t<h3><span class=\"ez-toc-section\" id=\"Is_it_possible_for_the_final_matrix_to_differ_in_size_from_the_initial_matrices\"><\/span>Is it possible for the final matrix to differ in size from the initial matrices? <span class=\"ez-toc-section-end\"><\/span><\/h3>\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\tThe final matrix can indeed be of a different size than the underlying matrices. The first matrix establishes the number of rows, and the second matrix establishes the number of columns. \t\t\t\t\t<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"What is meant by matrix multiplication? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"When two matrices are multiplied, a new matrix is produced. This operation is known as matrix multiplication. In order to do this, relevant items from the first matrix's rows and the second matrix's columns must be multiplied by one another and then added. Based on the sizes of the original matrices, the final matrix has the following dimensions.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"How to multiply two given matrices?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"Make sure the number of columns in the first matrix and the number of rows in the second matrix match before multiplying the two matrices. Add the matching elements from the rows and columns after multiplying them. To obtain the resulting matrix dimensions, repeat for each element.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Is it possible to combine any two matrices? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"No, the number of columns in the first matrix must match the number of rows in the second matrix in order for matrix multiplication to be defined.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Is commutative matrix multiplication possible? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"The multiplication of matrices is not commutative. In most cases, . AB \u2260 BA. It concerns what order the matrices are in.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"What role does matrix multiplication play? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"Solving systems of linear equations, linear algebra, computer graphics, and other disciplines all depend on matrix multiplication. It makes transformations, compositions, and mathematical operations involving several variables effectively representable and manipulable.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Using a calculator or software, how do I multiply matrices? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"Matrix multiplication functions are available in the majority of calculators and software programmes. Simply enter the matrices, and the programme will multiply them and output the final matrix for you.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Is multiplying any two matrices always possible? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"No, it is only possible to multiply two matrices if the number of columns in the first matrix and the number of rows in the second matrix are equal. The matrices cannot be multiplied in any other case.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Is it possible for the final matrix to differ in size from the initial matrices? \",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"The final matrix can indeed be of a different size than the underlying matrices. The first matrix establishes the number of rows, and the second matrix establishes the number of columns.\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Matrix multiplication Introduction to Matrix multiplication A fundamental operation in linear algebra called matrix multiplication involves multiplying two matrices to [&hellip;]<\/p>\n","protected":false},"author":53,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Matrix multiplication","_yoast_wpseo_title":"Matrix Multiplication - How to Multiply Matrices, Definition & Properties","_yoast_wpseo_metadesc":"Matrix multiplication is an operation in linear algebra where two matrices are multiplied to produce a new matrix by combining their respective elements.","custom_permalink":"articles\/matrix-multiplication\/"},"categories":[8442,8443],"tags":[],"table_tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Matrix Multiplication - How to Multiply Matrices, Definition &amp; Properties<\/title>\n<meta name=\"description\" content=\"Matrix multiplication is an operation in linear algebra where two matrices are multiplied to produce a new matrix by combining their respective elements.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Matrix Multiplication - How to Multiply Matrices, Definition &amp; Properties\" \/>\n<meta property=\"og:description\" content=\"Matrix multiplication is an operation in linear algebra where two matrices are multiplied to produce a new matrix by combining their respective elements.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/\" \/>\n<meta property=\"og:site_name\" content=\"Infinity Learn by Sri Chaitanya\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/InfinityLearn.SriChaitanya\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-19T08:20:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-03T09:56:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/infinitylearn.com\/surge\/wp-content\/uploads\/2025\/04\/infinitylearn.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1008\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InfinityLearn_\" \/>\n<meta name=\"twitter:site\" content=\"@InfinityLearn_\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ankit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Matrix Multiplication - How to Multiply Matrices, Definition & Properties","description":"Matrix multiplication is an operation in linear algebra where two matrices are multiplied to produce a new matrix by combining their respective elements.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/","og_locale":"en_US","og_type":"article","og_title":"Matrix Multiplication - How to Multiply Matrices, Definition & Properties","og_description":"Matrix multiplication is an operation in linear algebra where two matrices are multiplied to produce a new matrix by combining their respective elements.","og_url":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/","og_site_name":"Infinity Learn by Sri Chaitanya","article_publisher":"https:\/\/www.facebook.com\/InfinityLearn.SriChaitanya\/","article_published_time":"2023-07-19T08:20:07+00:00","article_modified_time":"2025-06-03T09:56:18+00:00","og_image":[{"width":1920,"height":1008,"url":"https:\/\/infinitylearn.com\/surge\/wp-content\/uploads\/2025\/04\/infinitylearn.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_creator":"@InfinityLearn_","twitter_site":"@InfinityLearn_","twitter_misc":{"Written by":"Ankit","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/infinitylearn.com\/surge\/#organization","name":"Infinity Learn","url":"https:\/\/infinitylearn.com\/surge\/","sameAs":["https:\/\/www.facebook.com\/InfinityLearn.SriChaitanya\/","https:\/\/www.instagram.com\/infinitylearn_by_srichaitanya\/","https:\/\/www.linkedin.com\/company\/infinity-learn-by-sri-chaitanya\/","https:\/\/www.youtube.com\/c\/InfinityLearnEdu","https:\/\/twitter.com\/InfinityLearn_"],"logo":{"@type":"ImageObject","@id":"https:\/\/infinitylearn.com\/surge\/#logo","inLanguage":"en-US","url":"","contentUrl":"","caption":"Infinity Learn"},"image":{"@id":"https:\/\/infinitylearn.com\/surge\/#logo"}},{"@type":"WebSite","@id":"https:\/\/infinitylearn.com\/surge\/#website","url":"https:\/\/infinitylearn.com\/surge\/","name":"Infinity Learn by Sri Chaitanya","description":"Surge","publisher":{"@id":"https:\/\/infinitylearn.com\/surge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/infinitylearn.com\/surge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#webpage","url":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/","name":"Matrix Multiplication - How to Multiply Matrices, Definition & Properties","isPartOf":{"@id":"https:\/\/infinitylearn.com\/surge\/#website"},"datePublished":"2023-07-19T08:20:07+00:00","dateModified":"2025-06-03T09:56:18+00:00","description":"Matrix multiplication is an operation in linear algebra where two matrices are multiplied to produce a new matrix by combining their respective elements.","breadcrumb":{"@id":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/infinitylearn.com\/surge\/"},{"@type":"ListItem","position":2,"name":"Matrix multiplication"}]},{"@type":"Article","@id":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#article","isPartOf":{"@id":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#webpage"},"author":{"@id":"https:\/\/infinitylearn.com\/surge\/#\/schema\/person\/d647d4ff3a1111ff8eeccdb6b12651cb"},"headline":"Matrix multiplication","datePublished":"2023-07-19T08:20:07+00:00","dateModified":"2025-06-03T09:56:18+00:00","mainEntityOfPage":{"@id":"https:\/\/infinitylearn.com\/surge\/articles\/matrix-multiplication\/#webpage"},"wordCount":1285,"publisher":{"@id":"https:\/\/infinitylearn.com\/surge\/#organization"},"articleSection":["Articles","Math Articles"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/infinitylearn.com\/surge\/#\/schema\/person\/d647d4ff3a1111ff8eeccdb6b12651cb","name":"Ankit","image":{"@type":"ImageObject","@id":"https:\/\/infinitylearn.com\/surge\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/b1068bdc2711bd9c9f8be3b229f758f6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b1068bdc2711bd9c9f8be3b229f758f6?s=96&d=mm&r=g","caption":"Ankit"},"url":"https:\/\/infinitylearn.com\/surge\/author\/ankit\/"}]}},"_links":{"self":[{"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/posts\/665136"}],"collection":[{"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/comments?post=665136"}],"version-history":[{"count":0,"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/posts\/665136\/revisions"}],"wp:attachment":[{"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/media?parent=665136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/categories?post=665136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/tags?post=665136"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/infinitylearn.com\/surge\/wp-json\/wp\/v2\/table_tags?post=665136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}