MHB Order of Operations for Matrices in Scientific Computing

Click For Summary
In scientific computing, the expression $4A + B$ should be interpreted using standard mathematical order of operations, meaning it is calculated as $(4 * A) + B. This indicates that the scalar multiplication of 4 with matrix A occurs first, followed by the addition of matrix B. There is no implication that the expression should be interpreted as $4(A + B)$. Understanding this order is crucial for accurate matrix computations. Clear communication of these operations helps avoid confusion in matrix calculations.
shamieh
Messages
538
Reaction score
0
When I am dealing with matrices and the question says compute: $4A +B$ (where $A$ and $B$ are some matrices..) should I assume that they are implying I use the normal mathematical order of operations or is it different? For example should I assume they are saying $(4*A) + B$ or $4(A+B)$
 
Mathematics news on Phys.org
$4A+B$ means that 4 and $A$ are to be multiplied, and then $B$ added to the result, as you likely suspected. :D
 
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

  • · Replies 18 ·
Replies
18
Views
2K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K