Can You Add a Scalar to a Matrix Directly?

Click For Summary
SUMMARY

The discussion centers on the mathematical operation of applying a scalar function to a matrix, specifically the function ƒ(x)=-x³-2x-3. Participants clarify that when computing ƒ(A) for a matrix A, the expression -3 must be interpreted as -3I, where I is the identity matrix of appropriate size. This interpretation aligns with the principles of matrix algebra, where scalars can be represented as scalar multiples of the identity matrix. The conversation emphasizes that this notation is often seen as a convenience rather than a strict necessity.

PREREQUISITES
  • Understanding of matrix algebra and operations
  • Familiarity with identity matrices and their properties
  • Knowledge of scalar functions and their application to matrices
  • Basic concepts of eigenvalues and eigenvectors
NEXT STEPS
  • Explore the properties of identity matrices in linear algebra
  • Study the implications of scalar multiplication in matrix algebra
  • Learn about the computation of eigenvalues for matrices
  • Investigate the concept of non-commutative algebra in matrix theory
USEFUL FOR

Mathematicians, students of linear algebra, and anyone interested in the application of scalar functions to matrices will benefit from this discussion.

Danijel
Messages
43
Reaction score
1
So, I recently came across this example: let us "define" a function as ƒ(x)=-x3-2x -3. If given a matrix A, compute ƒ(A). The soution proceedes in finding -A3-2A-3I where I is the multiplicative identity matrix.
Now , I understand that you can't add a scalar and a matrix, so the way I see it is that when saying A-3, we really mean A-3I, where the size of the matrix I is determined out of the context. But to me this is really non-intuitive. Actually, I see -3 as a separate function, say h(x)=-3, which is a matrix, so we actually have a constant matrix whose all elements are pairs((i,j),-3), or seeing it as a table, "all -3s". So, what is going on?
 
Physics news on Phys.org
I thought it was a little bit of hand waving the first time I saw that used in computing Eigenvalues.

I guess one thing you could do to think about it is first multiply both sides of ƒ(x)=-x3-2x -3 by an appropriate size Identity matrix.
Now you have Iƒ(x)=I(-x3)-I(2x) -I(3). Then go and use the A matrix instead of x, perhaps?
 
  • Like
Likes   Reactions: Danijel
Danijel said:
So, I recently came across this example: let us "define" a function as ƒ(x)=-x3-2x -3. If given a matrix A, compute ƒ(A). The soution proceedes in finding -A3-2A-3I where I is the multiplicative identity matrix.
Now , I understand that you can't add a scalar and a matrix,...
At least not in this context within a fixed vector space.
... so the way I see it is that when saying A-3, we really mean A-3I, where the size of the matrix I is determined out of the context.
Correct.
But to me this is really non-intuitive. Actually, I see -3 as a separate function, say h(x)=-3, which is a matrix, so we actually have a constant matrix whose all elements are pairs((i,j),3), or seeing it as a table, "all 3s". So, what is going on?
Square matrices of a certain size form a non commutative, associative algebra with ##1##. As ##1 \cdot A = A## has therefore to hold, it is clear that we can identify ##1=I## with the identity matrix. One could also argue by the uniqueness of ##1##. So if we identify all ##\lambda \cdot 1 = \lambda \cdot I## we have a natural embedding of the scalar field in this algebra. It makes sense and is usually assumed, because otherwise we have to be careful how to define scalar multiplication. I haven't checked, whether this identification is actually necessary to have all other axioms in place, or just a matter of convenience. You can try to find out by yourself. So ##\lambda =\lambda \cdot I## is simply a sloppy notation for the embedding. The all ##3## matrix in your example would contradict the algebra axioms (I guess) for the one-element ##I##.

That's the true reason modulo some considerations about necessities. For (very) short: ##\lambda =\lambda \cdot I## is simply a sloppy notation.
 
  • Like
Likes   Reactions: Danijel

Similar threads

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