Trace of 3x3 Matrix | Linear Function | Basis Set Representation

In summary: 0 & 0 & 0\end{pmatrix}+ b\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0...0 & 0 & 0\end{pmatrix}+ c\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0...0 & 0 & 1\end{pmatrix}+ d\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0...0 & 0 & 0\end{pmatrix}+ e\begin{pmatrix} 1 &
  • #1
blackbear
41
0

Homework Statement



Let X denote the set of all real symmetric 3x3 matrices. The trace of a matrix, tr(x) is defined as the sum of the diagonal components and is a linear function. Define L(x) = tr(x), where x refers to X. Find the representation of this operator with respect to a basis set for the linear space (X,R) for X denote the set of all real symmetric 3x3 matrices.

2. Homework Equations [

The Attempt at a Solution



Let A= 2 3 4
3 1 0
4 0 5

So, tr(x) = a11+a22+a33
can I define L= 2 0 0
0 1 0
0 0 5

Thanks
 
Last edited:
Physics news on Phys.org
  • #2
No, it's tr(A)=2+1+5=8. The trace isn't another matrix. It's a number.
 
  • #3
Dick said:
No, it's tr(A)=2+1+5=8. The trace isn't another matrix. It's a number.

Thanks Dick...I have added the rest of the question. Eventually I think I have to find a matrix so I can represent this matrix with respect to a defined basis.

According to you L(x)=8; I need to find the representation of L(x) in the specified basis. First of all, can a point in space be represented in a specified basis? Any suggestions?

Thanks
 
  • #4
blackbear said:
Find the representation of this operator with respect to [100],[010],[001] which is a basis set for the linear space (X,R) for X denote the set of all real symmetric 3x3 matrices.
Can you elaborate on your notation here? It doesn't make sense to me. The vector space consisting of real symmetric 3x3 matrices is 6-dimensional. You should have 6 basis vectors, each of which is a 3x3 matrix.
 
  • #5
vela said:
Can you elaborate on your notation here? It doesn't make sense to me. The vector space consisting of real symmetric 3x3 matrices is 6-dimensional. You should have 6 basis vectors, each of which is a 3x3 matrix.

Thanks Vela...you are right there are 6 basis set but unfortunately I am not seeing that. Could you elaborate how you get the 6 vectors. Once I know this then representing into this basis will be clear to me.
 
Last edited:
  • #6
You are supposed to be able to do that.

The most general form of a 3x3 real symmetric matrix is

[tex]\begin{pmatrix} a & b & c \\ b & d & e \\ c & e & f\end{pmatrix}[/tex]

Express this as a linear combination of 6 matrices. Those 6 matrices will be a basis for X.
 
  • #7
vela said:
You are supposed to be able to do that.

The most general form of a 3x3 real symmetric matrix is

[tex]\begin{pmatrix} a & b & c \\ b & d & e \\ c & e & f\end{pmatrix}[/tex]

Express this as a linear combination of 6 matrices. Those 6 matrices will be a basis for X.

If a matrix A:

[tex]\begin{pmatrix} a & b & c \\ b & d & e \\ c & e & f\end{pmatrix}[/tex]

is a linear combination of matrices B, C, D, E, & F then there exist scalars i, j, k, l, m such that A = iB + jC+kD+lE+mF; but how am I solve this...any help? Thanks
 
Last edited:
  • #8
No. Do you know what a linear combination is?
 
  • #9
vela said:
No. Do you know what a linear combination is?

If a matrix A: [tex]
\begin{pmatrix} a & b & c \\ b & d & e \\ c & e & f\end{pmatrix}
[/tex]

is a linear combination of matrices B, C, D, E, & F then there exist scalars i, j, k, l, m such that A = iB + jC+kD+lE+mF; but how am I solve this...any help? Thanks
 
  • #10
This problem ties into the problem in the other thread you started, and you won't get very far in either one until you can come up with a basis for your space of 3X3 symmetric matrices.

From the other thread

These three matrices form part of a basis for your space:
[tex]\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}[/tex]

[tex]\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix}[/tex]

[tex]\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}[/tex]

Can you come up with three more matrices to make a basis for this space?
 
  • #11
Mark44 said:
This problem ties into the problem in the other thread you started, and you won't get very far in either one until you can come up with a basis for your space of 3X3 symmetric matrices.

From the other thread

These three matrices form part of a basis for your space:
[tex]\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}[/tex]

[tex]\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix}[/tex]

[tex]\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}[/tex]

Can you come up with three more matrices to make a basis for this space?

Out of the 9 matrices Mark Doom mentioned, 3 of them as you pointed here and there are symmetric having one element. The other 3 matrices must have minimum 2 elements. So there are as follows:

[tex]\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0\end{pmatrix}[/tex]

[tex]\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}[/tex]

[tex]\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}[/tex]

Is this right?

Comment: I see that these and the other 3 metrics that you pointed are all linearly dependent! I thought in order to be a basis of a liner space, the vectors forming the metrics must be linearly independent. Please explain...thanks
 
Last edited:
  • #12
What does

[tex]a\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix} +
b\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix} +
c\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix} +
d\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0\end{pmatrix} +
e\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix} +
f\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

equal? Can you generate every symmetric matrix with the right choices for a, b, c, d, e, and f?
 
  • #13
One obvious point:
[tex]\begin{pmatrix}1 & 0 & 0 \\ 0 & 0 & 0 \\0 & 0 & 0 \end{pmatrix}+ \begin{pmatrix}0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}= \begin{pmatrix}1 & 0 & 0 \\0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}[/tex]
so those six matrices are not independent.
 
  • #14
vela said:
What does

[tex]a\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix} +
b\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix} +
c\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix} +
d\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0\end{pmatrix} +
e\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix} +
f\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

equal? Can you generate every symmetric matrix with the right choices for a, b, c, d, e, and f?

[tex]\begin
{pmatrix} a+e & f & d \\ f & b & 0 \\d & 0 & c+e \end{pmatrix}
[/tex]Yes...seems like you can generate any symmetric matrix with the proper choices of the scalars. So, coming back to the initial question:

L(x) = (a+e) + b + (c+e) = a+b+c+2e

How can I represent L(x) to the 6 symmetric basis set? I am to use the trivial basis set {1} for the range-space (R,R) to solve the problem.
Is the representation for the 1st basis set is as follows?

[tex]
a\begin{pmatrix}1 & 0 & 0 \\ 0 & 0 & 0 \\0 & 0 & 0 \end{pmatrix}
[/tex] * (a+b+c+2e)

Thanks
 
Last edited:
  • #15
blackbear said:
[tex]\begin
{pmatrix} a+e & f & d \\ f & b & 0 \\d & 0 & c+e \end{pmatrix}
[/tex]Yes...seems like you can generate any symmetric matrix with the proper choices of the scalars.
So take, for example, the symmetric matrix

[tex]\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 2 \\ 0 & 2 & 0 \end{pmatrix}[/tex]

For what values for a, b, c, d, e, and f does the linear combination equal that matrix?
 
  • #16
vela said:
So take, for example, the symmetric matrix

[tex]\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 2 \\ 0 & 2 & 0 \end{pmatrix}[/tex]

For what values for a, b, c, d, e, and f does the linear combination equal that matrix?

One sets of value:

a=0 or any real number
b=0
c=0 or any real number
d=0
e=0 or -a=-c
f=0
 
  • #17
Really? If a=b=c=d=e=f=0, don't you get the 0 matrix? How do you get the 2s?
 
  • #18
vela said:
Really? If a=b=c=d=e=f=0, don't you get the 0 matrix? How do you get the 2s?

vela said:
Really? If a=b=c=d=e=f=0, don't you get the 0 matrix? How do you get the 2s?

I am not sure what you meant!

If a=b=c=d=e=f=0, and you put these values to the following matrix:

[tex]
\begin
{pmatrix} a+e & f & d \\ f & b & 0 \\d & 0 & c+e \end{pmatrix}

[/tex]

Then you do get a 0 matrix.

But, you gave the following matrix which had a 2 so for a=b=c=d=e=f=0, I don't understand how this matrix can become 0!

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 2 \\ 0 & 2 & 0 \end{pmatrix}
[/tex]

2ndly, In the matrix below:

[tex]
\begin
{pmatrix} a+e & f & d \\ f & b & 0 \\d & 0 & c+e \end{pmatrix}

[/tex]

element a23 and a32 equals 0. So if there is a 2 for both the elements then obviously the matrix changes to the following: You are adding the following matrix

[tex]

\begin
{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 2 \\0 & 2 & 0 \end{pmatrix}

[/tex]

[tex]to get this matrix:


\begin
{pmatrix} a+e & f & d \\ f & b & 2 \\d & 2 & c+e \end{pmatrix}

[/tex]

But the rest of the elements remains unchanged and there is no linear relation from this two elements with the rest of the elements. So, I am still confused to your question "How do you get the 2s". Please explain...thanks
 
Last edited:
  • #19
Your claim is that the six matrices form a basis for X. If that's true, then for any symmetric matrix A, you can find a linear combination of those six matrix equal to A. So I gave you a symmetric matrix, the one with the 2s, and asked you to tell me what a, b, c, d, e, and f had to equal so that the linear combination is equal to it. You asserted that a=b=c=d=e=f=0 works. I said it clearly doesn't.

So again, tell me what values of a, b, c, d, e, and f, if any, will result in the given matrix? If the six matrices form a basis, there must be a solution.
 
  • #20
vela said:
Your claim is that the six matrices form a basis for X. If that's true, then for any symmetric matrix A, you can find a linear combination of those six matrix equal to A. So I gave you a symmetric matrix, the one with the 2s, and asked you to tell me what a, b, c, d, e, and f had to equal so that the linear combination is equal to it. You asserted that a=b=c=d=e=f=0 works. I said it clearly doesn't.

So again, tell me what values of a, b, c, d, e, and f, if any, will result in the given matrix? If the six matrices form a basis, there must be a solution.

There is none since elements a23 & a32 is not related to any values of a,b,c,d,e & f. So, following is not the basis matrix:

[tex]
\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}
[/tex]

The following set of basis are:

[tex]
\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix}
[/tex]

Please verify...
 
Last edited:
  • #21
blackbear said:
There is none since elements a23 & a32 is not related to any values of a,b,c,d,e & f. So, following is not the basis matrix:

[tex]
\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}
[/tex]

The following set of basis are:

[tex]
\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix}
[/tex]

Please verify...

a=b=c=d=e=0
f=2
 
  • #22
blackbear said:
There is none since elements a23 & a32 is not related to any values of a,b,c,d,e & f. So, following is not the basis matrix:

[tex]
\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}
[/tex]

The following set of basis are:

[tex]
\begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 1 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0\end{pmatrix}
[/tex]

[tex]
\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{pmatrix}
[/tex]

Please verify...

Sure, that's a fine basis for X.
 
  • #23
How can I represent L(x) to the 6 symmetric basis set? I am to use the trivial basis set {1} for the range-space (R,R) to solve the problem.

The symmetric matrix is:

[tex]
\begin
{pmatrix} a & e & d \\ e & b & f \\d & f & c \end{pmatrix}
[/tex]

Based o the above matrix, is the L(x) representation as follows:

L(x) = [a+b+c] = 1+0+0=1 for the 1st element

L(x) = [a+b+c] = 0+1+0=1 for the 2nd element

L(x) = [a+b+c] = 0+0+1=1 for the 3rd element

L(x) = [a+b+c] = 0+0+0=0 for the 4th 5th & 6th element

Please verify...
 
Last edited:
  • #24
Pretty much, except that you have one basis, the one whose elements you listed in post #21. If x is one of the basis elements, then L(x) = 1 or L(x) = 0.
 
  • #25
Mark44 said:
Pretty much, except that you have one basis, the one whose elements you listed in post #21. If x is one of the basis elements, then L(x) = 1 or L(x) = 0.

is the L(x) operator be as follows:L(x)= [tex]

\begin{pmatrix} 1 & 0 & 0 \\0 & 1 & 0 \\ 0 & 0 & 1\end{pmatrix}

[/tex]

Please confirm...thanks
 
  • #26
Mark44 said:
Pretty much, except that you have one basis, the one whose elements you listed in post #21. If x is one of the basis elements, then L(x) = 1 or L(x) = 0.

blackbear said:
is the L(x) operator be as follows:


L(x)= [tex]

\begin{pmatrix} 1 & 0 & 0 \\0 & 1 & 0 \\ 0 & 0 & 1\end{pmatrix}

[/tex]
No. L(x) is a scalar (a number), not a matrix. If x is any matrix in your basis set, L(x) is either 0 or 1.[/
 

1. What is a trace of a 3x3 matrix?

The trace of a 3x3 matrix is the sum of the elements on the main diagonal of the matrix. It is denoted by the symbol tr(A) or simply by the letter T.

2. How is the trace of a 3x3 matrix calculated?

The trace of a 3x3 matrix can be calculated by simply adding the elements on the main diagonal. For example, if the matrix is A = [a b c; d e f; g h i], then tr(A) = a + e + i.

3. What is a linear function in the context of a 3x3 matrix?

In the context of a 3x3 matrix, a linear function is a mathematical operation that maps a set of inputs to a set of outputs using a matrix transformation. It follows the rules of linearity, where the outputs are proportional to the inputs.

4. What is a basis set representation for a 3x3 matrix?

A basis set representation for a 3x3 matrix is a way of expressing the matrix as a linear combination of basis matrices. These basis matrices are typically chosen to be orthogonal and of unit length, making it easier to manipulate and represent the original matrix.

5. How is a 3x3 matrix represented in a basis set representation?

A 3x3 matrix can be represented in a basis set representation by expressing it as a linear combination of the basis matrices. For example, if A is a 3x3 matrix and B is a basis set, then A can be represented as A = c1*B1 + c2*B2 + c3*B3, where c1, c2, and c3 are coefficients and B1, B2, and B3 are the basis matrices.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
869
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • Calculus and Beyond Homework Help
Replies
0
Views
446
  • Calculus and Beyond Homework Help
Replies
5
Views
10K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
949
  • Calculus and Beyond Homework Help
Replies
3
Views
274
  • Calculus and Beyond Homework Help
Replies
2
Views
980
Back
Top