Current location - Training Enrollment Network - Mathematics courses - What's the difference between matrix division?
What's the difference between matrix division?
1 and divide by left and divide by right are two forms of matrix division. Because of the particularity of matrix, A*B is usually not equal to B*A, and so is division. So we should distinguish between right and left.

2. if ax = b and x = a \ b, it is called left division; If x*A=B, then x=B/A, which is called right division; There are more departments divided by the left.

(1) Divide formula A/B to the right, which is equivalent to A*inv(B), that is, A times the inverse matrix of B to the right;

(2) divide formula A\B to the left, which is equivalent to inv(A)*B, that is, the inverse matrix of a is multiplied by b to the left.

3. In general, x=a\b is the solution of equation a*x =b, and x=b/a is the solution of equation X * a = b. ..

Examples are as follows:

Example: a = [123; 426; 749]b =[4; 1; 2]; x=a\b

Then display: x=- 1.5000? 2.0000 0.5000

If a is a nonsingular matrix, then a\b and b/a can be obtained from the inverse matrix of a and the matrix of b:

a\b = inv(a)*b

b/a = b*inv(a)

Extended data:

1, the matrix is a two-dimensional array of numbers.

2. In MATLAB, you can create a rectangle by inputting elements in each line, separate numbers with commas or spaces, and mark the end of each line with semicolons.