Skip to main content

Gate-ECE- properties of trace

In linear algebra, the trace of an n-by-n square matrix A is defined to be the sum of the elements on the main diagonal (the diagonal from the upper left to the lower right) of A, i.e.,
where aii denotes the entry on the ith row and ith column of A. The trace of a matrix is the sum of the (complex) eigenvalues, and it is invariant with respect to a change of basis. This characterization can be used to define the trace of a linear operator in general. Note that the trace is only defined for a square matrix (i.e., n × n).

Properties

Basic properties

The trace is a linear mapping. That is,
.
for all square matrices A and B, and all scalars c.
A matrix and its transpose have the same trace:
.
This follows immediately from the fact that transposing a square matrix does not affect elements along the main diagonal.

Trace of a product

The trace of a product can be rewritten as the sum of entry-wise products of elements:
.
This means that the trace of a product of matrices functions similarly to a dot product of vectors. For this reason, generalizations of vector operations to matrices (e.g. in matrix calculus and statistics) often involve a trace of matrix products.
For real matrices, the trace of a product can also be written in the following forms:
(using the Hadamard product, i.e. entry-wise product).
(using the vectorization operator).
The matrices in a trace of a product can be switched without changing the result: If A is an m × n matrix and B is an n × m matrix, then
.[1]
More generally, the trace is invariant under cyclic permutations, i.e.,
.
This is known as the cyclic property.
Note that arbitrary permutations are not allowed: in general,
.
However, if products of three symmetric matrices are considered, any permutation is allowed. (Proof: tr(ABC) = tr(AT BT CT) = tr(AT(CB)T) = tr((CB)TAT) = tr((ACB)T) = tr(ACB), where the last equality is because the traces of a matrix and its transpose are equal.) For more than three factors this is not true.
Unlike the determinant, the trace of the product is not the product of traces, that is:
What is true is that the trace of the Kronecker product of two matrices is the product of their traces:
.

Other properties

The following three properties:
,
characterize the trace completely in the sense that follows. Let f be a linear functional on the space of square matrices satisfying f(x y) = f(y x). Then f and tr are proportional.[2]
The trace is similarity-invariant, which means that A and P−1AP have the same trace. This is because
.
If A is symmetric and B is antisymmetric, then
.
The trace of the identity matrix is the dimension of the space; this leads to generalizations of dimension using trace. The trace of an idempotent matrix A (for which A2 = A) is the rank of A. The trace of a nilpotent matrix is zero.
More generally, if f(x) = (x − Î»1)d1···(x − Î»k)dk is the characteristic polynomial of a matrix A, then
.
When both A and B are n-by-n, the trace of the (ring-theoretic) commutator of A and B vanishes: tr([AB]) = 0; one can state this as "the trace is a map of Lie algebras  from operators to scalars", as the commutator of scalars is trivial (it is an abelian Lie algebra). In particular, using similarity invariance, it follows that the identity matrix is never similar to the commutator of any pair of matrices.
Conversely, any square matrix with zero trace is a linear combinations of the commutators of pairs of matrices.[3] Moreover, any square matrix with zero trace is unitarily equivalent to a square matrix with diagonal consisting of all zeros.
The trace of any power of a nilpotent matrix is zero. When the characteristic of the base field is zero, the converse also holds: if  for all , then  is nilpotent.
The trace of a Hermitian matrix is real, because the elements on the diagonal are real.
The trace of a projection matrix is the dimension of the target space.
.
Note that  is idempotent, and more generally the trace of any idempotent matrix equals its rank.

Comments

Popular posts from this blog

Electronic Engineer at Thinture Technologies Pvt. Ltd

Hello Dear Readers, Currently, at Thinture Technologies Pvt. Ltd vacancy for Electronic Engineer role. Thinture Technologies Pvt. Ltd. is a vehicle control systems manufacturer, with a primary focus on road speed limitation and GPS-based tracking systems. All of our products are designed in-house from basic circuit designing to firmware, algorithm to PCB designing, online software platforms to mechanical assembly drawings, and standard operating procedures for aftermarket usage. Role Description: This is a full-time on-site role for an Electronic Engineer located in Bengaluru. The Electronic Engineer will be responsible for the day-to-day tasks associated with electronic engineering, including electronics, electrical engineering, circuit design, testing, and more. Qualifications: Strong electronic engineering skills Sound knowledge of circuit design and electrical engineering Experience with electronics testing and quality assurance Proficient in using software tools for schematic capt

R&D Intern (Electronics Engineering) at Greaves Electric Mobility

Hello Dear Readers, Currently, at Greaves Electric Mobility vacancy for an R&D Intern (Electronics Engineering) role. At Greaves Electric Mobility, we build products and solutions that are designed to democratize smart and sustainable mobility and do our bit to heal the Planet. Backed by the 164 year engineering legacy of Greaves, our portfolio of electric two and three wheelers are made in India at manufacturing sites across Tamil Nadu, Telangana and Uttar Pradesh. Key Responsibilities: Collaborate with experienced engineers in the research and development of electric mobility technologies. Participate in the design, prototyping, and testing of electronic and electrical systems for electric vehicles. Contribute to the analysis and improvement of automotive electrical systems, ensuring compliance with industry standards. Assist in troubleshooting and problem-solving activities related to electric vehicle components. Stay updated on the latest advancements in the electric mobility s

Hardware Design Engineer at TSC Tech Labs

  Hello Dear Readers, Currently, at TSC Tech Labs  vacancy for a Hardware Design Engineer role. Company Description: TSC Tech Labs is a Space and Defence Startup based in Bengaluru. The company has a legacy of developing three Satellites with Space Heritage and holds five active Defence Contracts with the Indian Navy. Role Description: This is a Senior Hardware Design Engineer role and is a full-time on-site position located in Bengaluru. The Senior Hardware Design Engineer will be responsible for designing and developing electronics hardware, circuit design, hardware architecture and hardware development for satellite and defense systems. Responsibilities: Review and understand electrical schematic designs Perform design reviews with other team members Perform layout design based on these schematic designs, complying with product requirements Close collaboration with other project members (system, mechanical, hardware, and firmware engineers, etc.) Prepare PCB/PCBA production document