Order of Operations for Matrices in Scientific Computing

  • Context:
  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Matrices Operations
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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)$
 
Physics 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