Understanding Matrix Multiplication _ Matrix

Source: Internet
Author: User

Most people in high school, or junior college, have had a course in linear algebra. This course is actually a teaching matrix.

Just learn, it is quite simple, matrix addition is the same position of the number plus.

Matrix subtraction is similar.

The matrix is multiplied by a constant, that is, all positions are multiplied by this number.

But when the matrix times the Matrix, everything is different.

How the result is calculated.

The textbook tells you that the rule of calculation is, each number (2 and 1) of the first row of the first matrix is multiplied by the number (1 and 1) corresponding to the first column of the second matrix, then the product is added (2 x 1 + 1 x 1), and the value of the upper-left corner of the result matrix is 3.

That is, the value of the result matrix M row and the intersection position of nth column is equal to the sum of the product of each value of the first matrix M row and the second matrix nth column, corresponding position.

How can there be such a strange rule.

I have never understood the meaning of this rule, leading to the course "linear algebra" is not understood. Graduate students found that linear algebra is the basis of vector computing, many important mathematical models have to use vector computing, so I can not do complex models. It's been a little sad for me.

Some days ago, inspired by an article, I finally figured out, matrix multiplication in the end is what thing. The key is a sentence, the essence of the matrix is a linear equation, the two are one by one corresponding relationship. There is no difficulty in understanding matrix multiplication from the point of view of linear equations.

Here is a set of linear equations.

The original purpose of the matrix is simply to provide a shorthand form for a linear equation group.

To be honest, from the above, we can see the rule of matrix multiplication: 2 and 1 of the first row of the coefficient matrix, and the sum of the product of the x and Y, equals 3. However, this is not strictly proof, only the linear equation into the matrix of the writing rules.

Here is the strict proof. There are three unknowns x, Y and T, where the relationship between x and Y is as follows.

The relationship between X and T is as follows.

With these two sets of equations, we can ask for the relationship between Y and T. Judging from the matrix, it is obvious that the second matrix can be put into the first matrix.

From the equation, we can also substitute the second equation group into the first Equation group.

The equation set above can be sorted into the following form.

The final matrix equation, in contrast to the previous matrix equation, will get the following relationship.

The calculation rules of matrix multiplication are proved.

=========================================


From:http://www.ruanyifeng.com/blog/2015/09/matrix-multiplication.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.