A question on linear algebra(also Matlab related)

  • Context: MATLAB 
  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    Linear Matlab
Click For Summary

Discussion Overview

The discussion revolves around the division operation in linear algebra as implemented in MATLAB, specifically focusing on the left division operator (A\b) and its interpretation. Participants explore the implications of this operation in solving systems of linear equations and the notation used in MATLAB.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks clarification on the left division operation in MATLAB, questioning how a specific result (-5.1250) is obtained when dividing columns of matrices A and B.
  • Another participant asserts that the operation A\b is not division but rather a method to solve the system Ax = b.
  • A further reply emphasizes that A\b can be viewed as a left division operation and mentions the equivalent function mldivide(A,b) in MATLAB.
  • One participant challenges the use of the term "division," stating that standard notation does not differentiate between left and right division, suggesting that the notation used by the author is non-standard.
  • Another participant points out that if A is invertible, the relationship x = A^{-1}b holds, indicating a distinction between left and right division in mathematical terms.

Areas of Agreement / Disagreement

Participants express differing views on the terminology and notation used in MATLAB for division operations, with no consensus reached on the appropriateness of the term "division" in this context.

Contextual Notes

There are unresolved questions regarding the notation and its standardization in mathematical literature, as well as the implications of using MATLAB's specific functions for solving linear equations.

mech-eng
Messages
826
Reaction score
13
Hi, Can someone explain me the division operation in the picture. First for left division we use (.\ ) not only ( \ ) And it is strange that when we divide first column of A by first column of B( here first column of B is 44) how can we find -5.1250 ?
 

Attachments

  • a question on linear algebra.png
    a question on linear algebra.png
    11.3 KB · Views: 542
Last edited:
Physics news on Phys.org
That just happens to be what MATLAB calls the method that solves the linear system. A person could also write it as mldivide(A,b). Also, in MATLAB A.\B nd A\B are equivalent statements. Try it out.
 
That's NOT standard notation. If Ax= b (and A is invertible) then [itex]x= A^{-1}b[/itex]. if xA= b then [itex]x= bA^{-1}[/itex]. Because standard division (a/b) does not distinguish between "divide on the left" and "divide on the right" we don't normally use that notation.

That particular author (and possibly math lab- I don't use it) is using a special notation to distinguish between "division on the left" ([itex]A^{-1}b[/itex]) and "division on the right" ([itex]bA^{-1}[/itex]).
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K