Careers360 Logo
Trace of a matrix and properties

Trace of a matrix and properties

Edited By Komal Miglani | Updated on Feb 14, 2025 11:14 AM IST

Before we start with the concept of a trace of matrices, let’s first understand what is a matrix. A rectangular arrangement of objects (numbers or symbols or any other objects) is called a matrix (plural: matrices). A matrix is only a representation of the symbol, number, or object. It does not have any value. Usually, a matrix is denoted by capital letters. Matrix of order m × n, (read as m by n matrix) means that the matrix has m number of rows and n number of columns. In real life, we can use a trace of the matrix to construct Hamiltonians for quantum systems with discrete and finite sets of energy equivalence.

This Story also Contains
  1. Square matrix
  2. Trace of the matrix:
  3. Properties of a trace of the matrix:
  4. Solved Examples Based on Trace of Matrices
Trace of a matrix and properties
Trace of a matrix and properties

In this article, we will cover the concept trace of matrices. This category falls under the broader category of Matrices, which is a crucial Chapter in class 12 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination(JEE Main) and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. A total of eight questions have been asked on this topic in Jee mains (2013 to 2023), one in 2013, one in 2021.

Background wave

Square matrix

The square matrix is the matrix in which the number of rows = number of columns. So a matrix A=[aij]m×n is said to be a square matrix when m=n. E.g.
[a11a12a13a21a22a23a31a32a33]3×3 or, [2473]2×2

Trace of the matrix:

The sum of all diagonal elements of a square matrix is called the trace of a matrix. Lying along the principal diagonal is called the trace of A.

The trace of the matrix is denoted by Tr(A) or tr.A.

Tr(A)=i=1naii

Let us consider the square matrix of order 3×3 as shown below. The elements of the matrix are a11,a12,a13 , a33. The principal diagonal elements are a11,a22,a33. So trace of the matrix is the sum of all principal diagonal elements.
A=[a11a12a13a21a22a23a31a32a33]Tr(A)=a11+a22+a33

Eg.
For a given matrix A,
A=[247831569],Tr(A)=2+3+9=10

Properties of a trace of the matrix:

Given below are some properties of the trace of a matrix. Let us consider two square matrices A and B

A=[aij]n×n;B=[bij]n×n and k be a scalar, then

i) If A is a square matrix of order ‘n’ and k is a scalar quantity then the trace of multiplication of k and A is equal to the Multiplication of k into the trace of A.

Tr(kA)=k·Tr(A)

ii)If A is the square matrix of order ‘n x m’ and B be square matric of order ‘m x n then, the trace of the sum( or subtraction) of Matrix A and B is equal to the sum (or subtraction) of Trace of A and Trace of B.

Tr(A ± B) = Tr(A) ± Tr(B)

iii) If A is the square matrix of order ‘n x m’ and B be square matric of order 'm x n' then, the Trace of Matrix AB is equal to the Trace of matrices B A.

Tr(AB) = Tr(BA)

iv) If A is square matrices of order ‘n’ then, the Trace of Matrix A is equal to the Trace of the transpose of Matrix A.

Tr(A) = Tr(A’)

v) If A is the square matrix of order ‘n x m’ and B be square matric of order ‘m x n’ then, the trace of Matrix AB is not equal to the Trace of Matrix A multiplied by the Trace of Matrix B.

Tr(AB) ≠ Tr(A).Tr(B)

vi) if I is the Identity matrix of order ‘n’ then the trace of the identity matrix is equal to n.

Tr(I) =n

vii) Trace of zero or null matrix is always zero.

Tr(0)=0 S

Recommend Video Based on Trace of a Matrix:

Solved Examples Based on Trace of Matrices

Example 1: Let and 2AB=[215216012]. If Tr(A) denotes the sum of all diagonal elements of the matrix A, then Tr(A)Tr(B) has a value equal to [JEE MAIN 2021]

1) 1

2) 2

3) 0

4) 3

Solution:

A+2B=(120633531)2AB=(215216012)4A2B=(42104212024)

Add (1) and (2), we get

5 A=(501010515555)A=(102213111) and 2A=(204426222)B=(204426222)(215216012)B=(011210210)tr(A)=11+1=1tr(B)=1tr(A)=1 and tr(B)=1tr(A)tr(B)=2

Hence, the answer is the option 2.

Example 2 The number of all 3×3 matrices A, with entries from the set {1,0,1} such that the sum of the diagonal elements of AAT is

1) 672

2)512

3)1024

4)256

Solution

Let matrix A be
A=[abcdefghi]AT=[adgbehcfi]trace(AAT)=a2+b2+c2+d2+e2+f2+g2+h2+i2=3

So out of 9 elements, 3 elements must be equal to 1 or −1, and the rest elements must be 0.

Possible causes

0,0,0,0,0,0,1,1,1 Total possibilities =9C60,0,0,0,0,0,1,1,1 Total possibilities =9C60,0,0,0,0,0,1,1,1 Total possibilities =9C6×30,0,0,0,0,0,1,1,1 Total possibilities =9C6×3 Total number of cases =9C6×8=672

Hence, the answer is the option 1

Example 3 Let A, other than l or l, be a 2×2 real matrix such that a2=l,lbeing the unit matrix. Let Tr(A) be the sum of diagonal elements of A. [JEE MAIN 2013]

Statement 1: Tr(A)=0
Statement 2: det(A)=1

1)statement 1 is true; statement 2 is false.

2) statement 1 is true; statement 2 is true; statement 2 is not the correct explanation for statement 1

3)statement 1 is true; statement 2 is true; statement 2 is the correct explanation for statement 1

4)statement 1 is false; statement 2 is true;

Solution:

[abcd][abcd]=[1001][a2+bcab+bdac+cdbc+d2]=[1001]b(a+d)=0,b=0 or a=dc(a+d)=0,c=0 or a=da2+bc=1,bc+d2=1
' a ' and 'd' are the diagonal element, a+d=0
Statement 1 is true
Now, det(A)=adbc
Now, from (3) a2+bc=1 and d2+bc=1
So, a2d2=0
Adding a2+d2+2bc=2
=(a+d)22ad+2bc=2
or 02(adbc)=2
So, adbc=1det(A)=1

So, statement -2 is also true.
But statement -2 is not the correct explanation of statement-I

Hence, the answer is option 2

Example 4: If the element of a matrix A is defined by aij=i2j2 and A is a square matrix of order 3×3. Then tr(A)=

1) 14

2) 28

3) 0

4) 5

Solution:

Trace of a Matrix -

tr(A)=i=1naii
if A=[aij]n×n
The sum of the elements of a square matrix A lying along the principal diagonal
Since a11=0=a22=a33
tr(A)=a11+a22+a33=0

Hence, the answer is option 3.

Example 5: Let A be a 2×2 real matrix with entries from {0,1} and |A|0 Consider the following two statements :
(P) If AI2, then |A|=1
(Q) If |A|=1, then tr(A)=2, where denotes 2 × 2 identity matrix and tr(A) denotes the sum of the diagonal entries of A. Then:

1) (P) is false and (Q) is true

2) Both (P) and (Q) are false

3) (P) is true and (Q) is false

4) Both (P) and (Q) are true

Solution:

|A|0 For (P):AI2

So, A=[0110] or [1110] or [0111] or [1101] or [1011] |A| can be -1 or 1

So (P) is false
For (Q):|A|=1
A=[1000] or [1101] or [1011]tr(A)=2Q is true 

Hence, the answer is the option 1

Unitary matrix

15 Feb'25 11:01 AM

Idempotent matrix

15 Feb'25 10:43 AM

Singular Matrix

14 Feb'25 12:44 PM

Elementary Row Operations

14 Feb'25 12:41 PM

Conjugate of a Matrix

14 Feb'25 11:02 AM

Transpose of a Matrix

14 Feb'25 10:58 AM

Matrix Operations

14 Feb'25 10:55 AM

Triangular Matrix

14 Feb'25 10:43 AM

Articles

Back to top